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
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 Distribution
bliss_audio-0.1.6.tar.gz
(80.1 MB
view hashes)
Built Distributions
Close
Hashes for bliss_audio-0.1.6-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba2bf483ffc7998347c339ebf7bcfaf933ba1a4b5d7e769e183ad5f424ff2ce3 |
|
MD5 | 5e7f616168c06d1d84ef092a11bab070 |
|
BLAKE2b-256 | 760067ee995dc8e98efaaf71a1ee5a332f7dde65723ab5e87bfa7f2b51f21974 |
Close
Hashes for bliss_audio-0.1.6-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea76c9b4b6bd3eb4d3838d4fa7d564085378bd121c2db84127eb9282d3c4c985 |
|
MD5 | f8d6d152f9c71259e0a0fa306107017d |
|
BLAKE2b-256 | 98237da1805c66b877f4673b4a2b7d0e188f52c028d90c3c71342411fd7b34a6 |
Close
Hashes for bliss_audio-0.1.6-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2672c81017847a9af493d6021fa09418b081e7bc81c74c27b0f1f828b7bb745 |
|
MD5 | 7da68aa5f40f05a0a8b40d4138bbd58a |
|
BLAKE2b-256 | 48bec4319f5fc03e6eff4efae6ceeeed7be6ed9fcb61e793395cda18fe9ddf86 |
Close
Hashes for bliss_audio-0.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c478b25438d7f956fdd56b0db7ea60b41b559831242c4f200c9d4897e39d172 |
|
MD5 | 961ac3a78a0ce44a2a54ecc9e1d5f9b4 |
|
BLAKE2b-256 | f2e1ef80cf4b8a56da070939e911c87b15ca8381fc8b25fcbd8a6d87e1277015 |
Close
Hashes for bliss_audio-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88134a47199acf0fccf69d992f1e88138bc111236504ac1f5de9cfe613415a39 |
|
MD5 | 82cf2fd992e9905e204653b1d756123e |
|
BLAKE2b-256 | b224b594186ad4ed08476bee6bb12c3ea0b21f061aea7391383c746328b648ad |
Close
Hashes for bliss_audio-0.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3fc98abf30ee7ffa8f9f6024976f24e07af990db9a2980927aec3fa1e29406e |
|
MD5 | 4a7b08d6ece6a498b511091bf120cb9d |
|
BLAKE2b-256 | 7d05eb8755c702e7cc194cff320381254044b1baf6fdd5227df5a1a6a625a65f |
Close
Hashes for bliss_audio-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c14e4968863b2b6b104be5a755dc95a14b8a9fe38364ab54c8ef1c7c5961a59e |
|
MD5 | d476013ac88fbc6e89885a58764d2e5e |
|
BLAKE2b-256 | 4c9cfe9ea5981de9552ed250950ecfe0dcfc1ac995e29b5c954b7fd2b51203a7 |
Close
Hashes for bliss_audio-0.1.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f67b43da08d55260527198ea9f3d08ae9561c989c0aefb2927c82ce9a45b275 |
|
MD5 | d8906b61c5ce6d68a2e74fc5b6f07f70 |
|
BLAKE2b-256 | 9daa8e3bc76db67e4ca7f047f3d3f6c6ee0f8c6e518792ae63da27983a68226a |