Skip to main content

A tool to query MedleyDB annotations and metadata.

Project description

🎷 medleydb-instruments

Supported Python Versions PyPI version Linter Actions Status

medleydb-instruments is a tool used to seemlessly query MedleyDB annotations and instrument metadata.

The MedleyDB 1.0 and 2.0 datasets don't provide annotations or metadata, only raw audio files. The authors provide an official github repo containing metadata, but it is painful to install and can be quite complex to use.

Installing

Install with pip or your favorite PyPI package manager.

python -m pip install medleydb-instruments

Example

import medleydb_instruments as mdb

track = mdb.MultiTrack("AcDc_BackInBlack")
# Get a list of instruments present in the track
instrument_list = track.instruments
# Determine if the recording has bleed
has_bleed = track.has_bleed
# Get a dataframe of instrument activations
activations_df = track.activations

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

medleydb_instruments-1.0.1.tar.gz (13.0 MB view hashes)

Uploaded Source

Built Distribution

medleydb_instruments-1.0.1-py3-none-any.whl (13.9 MB view hashes)

Uploaded Python 3

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