Skip to main content

A tool to query MedleyDB annotations and metadata.

Project description

medleydb_instruments

Linter Actions Status

medleydb_instruments is a tool 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.

Installation

Simply run: pip install medleydb_instruments

Quickstart

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.0.tar.gz (13.0 MB view hashes)

Uploaded Source

Built Distribution

medleydb_instruments-1.0.0-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