Skip to main content

audiologic logo

Python Module to process and predict on music attributes

PyPI Latest Release

Two Models were built and trained to predict valence given an audio sample. One uses a feature pipeline on top of librosa to make a number of predictors that go into a Random Forest model to determine a valence prediction. The other uses OpenAI's whisper model to transcribe lyrics, then tokenize the words, and again a trained Random Forest model makes the prediction based on lyrics.

Model RMSE
Audio 1.56
Lyrics 1.28

Data Used:

Package Requirements

pip install -r requirements.txt

  • make sure to download whisper from openai (not currently included in requirements.txt)
  • Also must install ffmpeg (using brew, choco, etc.)

Release files for audiologic 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for audiologic 0.1.1
File Size Uploaded
audiologic-0.1.1.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for audiologic 0.1.1
File Interpreter ABI Platform
audiologic-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / audiologic-0.1.1.tar.gz

Download URL audiologic-0.1.1.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c481eb0336923406ac7e00689fd5c414dcbfb1e64230e63a60ac5b3dd6b7c286
BLAKE2b-256 checksum
How to use checksums
a47757cce8bb2de67f364e0be12730e9e21da084f731e464b8eb3a8ea35be316
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / audiologic-0.1.1-py3-none-any.whl

Download URL audiologic-0.1.1-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9cae3a0129b1bed34b9e111d22c22e60c8ed924d990991e360e2071257b2617
BLAKE2b-256 checksum
How to use checksums
54a88928b5246247705dcdefc1e43448e31e97038695524c7725517bc3cc9b09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page