Skip to main content

Python utilities to process and predict on audio attributes

Project description

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.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audiologic-0.1.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

audiologic-0.1.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file audiologic-0.1.1.tar.gz.

File metadata

  • Download URL: audiologic-0.1.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for audiologic-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c481eb0336923406ac7e00689fd5c414dcbfb1e64230e63a60ac5b3dd6b7c286
MD5 842f53db18fadcb14a8f9355bb5eb3b7
BLAKE2b-256 a47757cce8bb2de67f364e0be12730e9e21da084f731e464b8eb3a8ea35be316

See more details on using hashes here.

File details

Details for the file audiologic-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: audiologic-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for audiologic-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9cae3a0129b1bed34b9e111d22c22e60c8ed924d990991e360e2071257b2617
MD5 f5811ed83e1c63fe01c5df84b7f50bb6
BLAKE2b-256 54a88928b5246247705dcdefc1e43448e31e97038695524c7725517bc3cc9b09

See more details on using hashes here.

Supported by

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