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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bliss_audio-0.2.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: bliss_audio-0.2.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3fc5f14ce89161ab6715a12b3c15c568142c1c288c62f7ea341c53751911d10
|
|
| MD5 |
2c8453d9554eea55108f9d3c35ee5961
|
|
| BLAKE2b-256 |
1cc9ec334167e9f3bbceb06c679c1bfbc6da5320600c43cbb1544ab6a41fc42a
|
File details
Details for the file bliss_audio-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: bliss_audio-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.14, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ee124ce7f664332bfb2d30312767b85b687a8d2f67c1ee45edc30865b340e78
|
|
| MD5 |
be3d9d32cda99c99f8ff100498006e35
|
|
| BLAKE2b-256 |
869317a5334a94baab786bbbf45078fcdf4ce0fec6879620d6631050251db32e
|
File details
Details for the file bliss_audio-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: bliss_audio-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
556ed54d42df65b89bc6005956476793b4e87f9185944ffb57a1a697d3ec72a5
|
|
| MD5 |
7a1b6f003b100432872784e76156ea5f
|
|
| BLAKE2b-256 |
92bdd3c4aae864eebed3bd5fca82c2161aeb80e407d1484866eb821e010575c3
|
File details
Details for the file bliss_audio-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: bliss_audio-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e2cb9206d657981adce34af87b7e17e2c9a81b9bf445ac4890f78e239e57f5b
|
|
| MD5 |
1e42bfb4ac3903a121ca1c8e4181faaa
|
|
| BLAKE2b-256 |
fb3232db11d25a269f069c5c55392c1e713d75ee65eb3aa4d6ff6797875adead
|
File details
Details for the file bliss_audio-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: bliss_audio-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2bd2d3dac969f2593bdcd969ce9ca5f00c254e35dd573a37d007250c12f3319
|
|
| MD5 |
6f48575769620bf26709c497907a168f
|
|
| BLAKE2b-256 |
412aed2b03aaf239e9c813f54c8da5bf505f1c45bf8bb175b2f2612d66378f05
|
File details
Details for the file bliss_audio-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: bliss_audio-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fc8527fb14103fb5eefb8a2695baddec3e99e2b3c85c6d996a435344100852b
|
|
| MD5 |
c261385de7d003964eb6c1d58d8892d9
|
|
| BLAKE2b-256 |
cf87b200403a824f049322910fd1913425143222d4e1ce41df9041fadf8e6cde
|
File details
Details for the file bliss_audio-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: bliss_audio-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58150b0859c82fe416ca2c87a652e33c40ca91011d7c1db93072af339b592536
|
|
| MD5 |
cbd62bce045025ed05fc488b4d86dece
|
|
| BLAKE2b-256 |
8eb813ffd606c177afcb4a1f4d1f5dbe2b8561c2a97ae586b0ae3c4b090f20e2
|
File details
Details for the file bliss_audio-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: bliss_audio-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00417c9af47dce5f80482cb360e42c42f2a7eb89d354ef3bb502876d80e5f8ce
|
|
| MD5 |
4f59285025ecb6e297509dece7725f9c
|
|
| BLAKE2b-256 |
eba7f6f6cacdd4d04779e4ad07d4fcdb17f5839ff638b8d88e2e138c511ab1b1
|