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.
Metadata
Release files for bliss-audio 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 87.5 MB
Release files / bliss_audio-0.2.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bliss_audio-0.2.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.11 PyPy 3.11 7.3 |
|
SHA-256 checksum How to use checksums |
a3fc5f14ce89161ab6715a12b3c15c568142c1c288c62f7ea341c53751911d10
|
|
BLAKE2b-256 checksum How to use checksums |
1cc9ec334167e9f3bbceb06c679c1bfbc6da5320600c43cbb1544ab6a41fc42a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / bliss_audio-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bliss_audio-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7ee124ce7f664332bfb2d30312767b85b687a8d2f67c1ee45edc30865b340e78
|
|
BLAKE2b-256 checksum How to use checksums |
869317a5334a94baab786bbbf45078fcdf4ce0fec6879620d6631050251db32e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / bliss_audio-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bliss_audio-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
556ed54d42df65b89bc6005956476793b4e87f9185944ffb57a1a697d3ec72a5
|
|
BLAKE2b-256 checksum How to use checksums |
92bdd3c4aae864eebed3bd5fca82c2161aeb80e407d1484866eb821e010575c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / bliss_audio-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bliss_audio-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7e2cb9206d657981adce34af87b7e17e2c9a81b9bf445ac4890f78e239e57f5b
|
|
BLAKE2b-256 checksum How to use checksums |
fb3232db11d25a269f069c5c55392c1e713d75ee65eb3aa4d6ff6797875adead
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / bliss_audio-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bliss_audio-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e2bd2d3dac969f2593bdcd969ce9ca5f00c254e35dd573a37d007250c12f3319
|
|
BLAKE2b-256 checksum How to use checksums |
412aed2b03aaf239e9c813f54c8da5bf505f1c45bf8bb175b2f2612d66378f05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / bliss_audio-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bliss_audio-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7fc8527fb14103fb5eefb8a2695baddec3e99e2b3c85c6d996a435344100852b
|
|
BLAKE2b-256 checksum How to use checksums |
cf87b200403a824f049322910fd1913425143222d4e1ce41df9041fadf8e6cde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / bliss_audio-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bliss_audio-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
58150b0859c82fe416ca2c87a652e33c40ca91011d7c1db93072af339b592536
|
|
BLAKE2b-256 checksum How to use checksums |
8eb813ffd606c177afcb4a1f4d1f5dbe2b8561c2a97ae586b0ae3c4b090f20e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / bliss_audio-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bliss_audio-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
00417c9af47dce5f80482cb360e42c42f2a7eb89d354ef3bb502876d80e5f8ce
|
|
BLAKE2b-256 checksum How to use checksums |
eba7f6f6cacdd4d04779e4ad07d4fcdb17f5839ff638b8d88e2e138c511ab1b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|