Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.29 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.29 KB

🎷 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