A package containing helpers to make audio playlists.
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")
print(f'Song "{song1.title}" has the following analysis:')
for key, value in sorted(song1.analysis_dict.items()):
print(f"{key}: {value}")
song2 = Song("/path/to/song2")
distance = np.linalg.norm(np.array(song1.analysis) - np.array(song2.analysis))
print(f'\nDistance between song1 and song2 is {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
Release history Release notifications | RSS feed
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
Close
Hashes for bliss_audio-0.1.11-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79989102932e6a86ed82687dd20f4ac98765eeb3869f07e2dcb5dfd30313c658 |
|
MD5 | d9c91de8f5d15504fc2b3f8b91a8c2ae |
|
BLAKE2b-256 | 674627d83fd1893d81c61e724b5db1e7da177429264bcc69c3776cbabafcdf97 |
Close
Hashes for bliss_audio-0.1.11-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c232724699ee0edc5570b389088679c9f00e32e227935428df40d0cffab0cf5 |
|
MD5 | 9f2de2edc762f49654e19f48ccfb71b2 |
|
BLAKE2b-256 | 03b29d4b21f868c113d81b5cff4d8c051b7bf8283d7273dd10e682bd6026e11a |
Close
Hashes for bliss_audio-0.1.11-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a3d79a4115be6d4d362152603a1215a5cf759003916268b4d57204d42445ec |
|
MD5 | 7cf9437eb99705af5ceb08e377875c0d |
|
BLAKE2b-256 | bbb8f68121dff232c9c99837f5a0d2e4c2b2487ceeb2e90a40c19eee718b9e18 |
Close
Hashes for bliss_audio-0.1.11-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c3fb1543514d0518250487c8680ab507c769a5c766198ab0a3a2cb5fe307cc5 |
|
MD5 | 9aea16cee992a0dda22507602d517a7c |
|
BLAKE2b-256 | b15d9428346b250789175b944681114f00fb04d32d338ea208ebd12134ccbd64 |
Close
Hashes for bliss_audio-0.1.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80bb341f4ccdcccfbb4963c8a1072d1553c154fbe8f56d768c4b602133569386 |
|
MD5 | f3c1680ac8890e55d239e92c7d0362c9 |
|
BLAKE2b-256 | 7a0fb5f99a7adce00e4b35be09c91153d4cece32354e14c44fcc37a89c07f271 |
Close
Hashes for bliss_audio-0.1.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 393ca6014a28c73e3dc8eade437bb72443af0a3fc7633c75fb4b19f86af19165 |
|
MD5 | c4512ffaa9e074f44caa9a2ff0554734 |
|
BLAKE2b-256 | 3ce5d7c5d6f683ef3ec0835e110ac25a6fbf427216e8f46ca80bd2dd84b88718 |
Close
Hashes for bliss_audio-0.1.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc99ff30cd897fe7df1d67687d355f33985e1c409a54e066d8a00fa99f010f7 |
|
MD5 | d07ce18b58a91af7af4e917ce8b7997b |
|
BLAKE2b-256 | 028c8582654e7df815699688161bf6235df2062dfc06db561c3944a8969b1cce |
Close
Hashes for bliss_audio-0.1.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be5d57d7e3b18acbfa9c52f4e481f09c361f1eabf6789782d378cddda17cf55 |
|
MD5 | 60309f859df8731696782007f61dd017 |
|
BLAKE2b-256 | d072a4b61a6c6acc968cda22691aee0d3515b8b2ea4301af6a451656ce83a2c8 |
Close
Hashes for bliss_audio-0.1.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d73f51034840af212e525a13bf842e6fbb28f7b6b5a59e8c8c24a513436975 |
|
MD5 | aca0ae5076f1f51b6ceaf0821a28dc57 |
|
BLAKE2b-256 | bf48a2d83b3440693d6942d7d60f3fc2dcd94abee3c276f0ba241bf4e19eaff9 |
Close
Hashes for bliss_audio-0.1.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d90fd5811d4016e594af47f0dafb300107b550c956487efd852c3f704a2e338 |
|
MD5 | 62c9ca22d831f509dd6298e0567de907 |
|
BLAKE2b-256 | 4ccb06c60ff394b071515aafb89eef7c354020d4339567bf8d4a1991e3e3bdc5 |