Skip to content

Seon82/medleydb_instruments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎷 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

About

A tool to query MedleyDB annotations and instrument metadata

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages