Skip to main content

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


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

If you're not sure about the file name format, learn more about wheel file names.

bliss_audio-0.2.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

bliss_audio-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

bliss_audio-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

bliss_audio-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

bliss_audio-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

bliss_audio-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

bliss_audio-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

bliss_audio-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

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

File hashes

Hashes for bliss_audio-0.2.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a3fc5f14ce89161ab6715a12b3c15c568142c1c288c62f7ea341c53751911d10
MD5 2c8453d9554eea55108f9d3c35ee5961
BLAKE2b-256 1cc9ec334167e9f3bbceb06c679c1bfbc6da5320600c43cbb1544ab6a41fc42a

See more details on using hashes here.

File details

Details for the file bliss_audio-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bliss_audio-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ee124ce7f664332bfb2d30312767b85b687a8d2f67c1ee45edc30865b340e78
MD5 be3d9d32cda99c99f8ff100498006e35
BLAKE2b-256 869317a5334a94baab786bbbf45078fcdf4ce0fec6879620d6631050251db32e

See more details on using hashes here.

File details

Details for the file bliss_audio-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bliss_audio-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 556ed54d42df65b89bc6005956476793b4e87f9185944ffb57a1a697d3ec72a5
MD5 7a1b6f003b100432872784e76156ea5f
BLAKE2b-256 92bdd3c4aae864eebed3bd5fca82c2161aeb80e407d1484866eb821e010575c3

See more details on using hashes here.

File details

Details for the file bliss_audio-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bliss_audio-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e2cb9206d657981adce34af87b7e17e2c9a81b9bf445ac4890f78e239e57f5b
MD5 1e42bfb4ac3903a121ca1c8e4181faaa
BLAKE2b-256 fb3232db11d25a269f069c5c55392c1e713d75ee65eb3aa4d6ff6797875adead

See more details on using hashes here.

File details

Details for the file bliss_audio-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bliss_audio-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2bd2d3dac969f2593bdcd969ce9ca5f00c254e35dd573a37d007250c12f3319
MD5 6f48575769620bf26709c497907a168f
BLAKE2b-256 412aed2b03aaf239e9c813f54c8da5bf505f1c45bf8bb175b2f2612d66378f05

See more details on using hashes here.

File details

Details for the file bliss_audio-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bliss_audio-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7fc8527fb14103fb5eefb8a2695baddec3e99e2b3c85c6d996a435344100852b
MD5 c261385de7d003964eb6c1d58d8892d9
BLAKE2b-256 cf87b200403a824f049322910fd1913425143222d4e1ce41df9041fadf8e6cde

See more details on using hashes here.

File details

Details for the file bliss_audio-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bliss_audio-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58150b0859c82fe416ca2c87a652e33c40ca91011d7c1db93072af339b592536
MD5 cbd62bce045025ed05fc488b4d86dece
BLAKE2b-256 8eb813ffd606c177afcb4a1f4d1f5dbe2b8561c2a97ae586b0ae3c4b090f20e2

See more details on using hashes here.

File details

Details for the file bliss_audio-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bliss_audio-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 00417c9af47dce5f80482cb360e42c42f2a7eb89d354ef3bb502876d80e5f8ce
MD5 4f59285025ecb6e297509dece7725f9c
BLAKE2b-256 eba7f6f6cacdd4d04779e4ad07d4fcdb17f5839ff638b8d88e2e138c511ab1b1

See more details on using hashes here.

Supported by

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