Skip to main content

No project description provided

Project description

Python bindings for bliss-rs.

Audio library used as a building block to make playlists from songs.

Installation

bliss-audio is available for Python 3.5+ via pip:

$ pip install bliss-audio

Usage

from bliss_audio import Song
import numpy as np

song1 = Song("/path/to/song1")
song2 = Song("/path/to/song2")

distance = np.linalg.norm(np.array(song1.analysis) - np.array(song2.analysis))

print('Distance between song1 and song2 is {}'.format(distance))

Then you most likely want to analyze a bunch of songs like that, store the result somewhere, and generate playlists on the fly by taking a song and finding the next one by computing the one with the smallest distance to it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

bliss_audio-0.1.4-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (53.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

bliss_audio-0.1.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (53.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

bliss_audio-0.1.4-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (53.6 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

bliss_audio-0.1.4-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (53.6 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page