# 🎷 medleydb-instruments
[![Supported Python Versions](https://img.shields.io/pypi/pyversions/medleydb-instruments)](https://pypi.org/project/medleydb-instruments/)
[![PyPI version](https://badge.fury.io/py/medleydb-instruments.svg)](https://badge.fury.io/py/medleydb-instruments)
[![Linter Actions Status](https://github.com/Seon82/medleydb_instruments/actions/workflows/lint.yml//badge.svg?branch=master)](https://github.com/Seon82/medleydb_instruments/actions)
`medleydb-instruments` is a tool used to seemlessly query MedleyDB annotations and instrument metadata.
The [MedleyDB 1.0 and 2.0](https://medleydb.weebly.com/) datasets don't provide annotations or metadata, only raw audio files. The authors provide [an official github repo](https://github.com/marl/medleydb) 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
```python
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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Seon82/medleydb_instruments",
"name": "medleydb-instruments",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4",
"maintainer_email": "",
"keywords": "medleydb,instruments,music",
"author": "Dylan Sechet",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/c8/ff/46ca8d78c745d1923d94ded9367820b22f7d6fa326050b4fda27e2bc7f8f/medleydb_instruments-1.0.1.tar.gz",
"platform": null,
"description": "# \ud83c\udfb7 medleydb-instruments\n[![Supported Python Versions](https://img.shields.io/pypi/pyversions/medleydb-instruments)](https://pypi.org/project/medleydb-instruments/)\n [![PyPI version](https://badge.fury.io/py/medleydb-instruments.svg)](https://badge.fury.io/py/medleydb-instruments)\n [![Linter Actions Status](https://github.com/Seon82/medleydb_instruments/actions/workflows/lint.yml//badge.svg?branch=master)](https://github.com/Seon82/medleydb_instruments/actions)\n\n`medleydb-instruments` is a tool used to seemlessly query MedleyDB annotations and instrument metadata.\n\nThe [MedleyDB 1.0 and 2.0](https://medleydb.weebly.com/) datasets don't provide annotations or metadata, only raw audio files. The authors provide [an official github repo](https://github.com/marl/medleydb) containing metadata, but it is painful to install and can be quite complex to use. \n\n## Installing\nInstall with `pip` or your favorite PyPI package manager.\n\n```python -m pip install medleydb-instruments```\n\n## Example\n```python\nimport medleydb_instruments as mdb\n\ntrack = mdb.MultiTrack(\"AcDc_BackInBlack\")\n# Get a list of instruments present in the track\ninstrument_list = track.instruments\n# Determine if the recording has bleed\nhas_bleed = track.has_bleed\n# Get a dataframe of instrument activations\nactivations_df = track.activations\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A tool to query MedleyDB annotations and metadata.",
"version": "1.0.1",
"split_keywords": [
"medleydb",
"instruments",
"music"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "272f7f4181437a5912311af83f8ad9e30efa11c719b1b34340cf647b7347c125",
"md5": "5cfa0fafc7030dfbc16ee0d9820e0b78",
"sha256": "9609646864d358a14d43c14da17cd62f8f1c569b4a9b2eff370392295890f67f"
},
"downloads": -1,
"filename": "medleydb_instruments-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5cfa0fafc7030dfbc16ee0d9820e0b78",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4",
"size": 13917912,
"upload_time": "2023-01-26T11:24:23",
"upload_time_iso_8601": "2023-01-26T11:24:23.638213Z",
"url": "https://files.pythonhosted.org/packages/27/2f/7f4181437a5912311af83f8ad9e30efa11c719b1b34340cf647b7347c125/medleydb_instruments-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c8ff46ca8d78c745d1923d94ded9367820b22f7d6fa326050b4fda27e2bc7f8f",
"md5": "a9d22635b02b4c26054ea98bdd58661a",
"sha256": "1cbad304caad414844f20319bb18fc8cfc3e972cbfeb14b9f809db8c38e16543"
},
"downloads": -1,
"filename": "medleydb_instruments-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "a9d22635b02b4c26054ea98bdd58661a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4",
"size": 13003780,
"upload_time": "2023-01-26T11:24:35",
"upload_time_iso_8601": "2023-01-26T11:24:35.686682Z",
"url": "https://files.pythonhosted.org/packages/c8/ff/46ca8d78c745d1923d94ded9367820b22f7d6fa326050b4fda27e2bc7f8f/medleydb_instruments-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-26 11:24:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Seon82",
"github_project": "medleydb_instruments",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "medleydb-instruments"
}