MusPy
=====
[![GitHub workflow](https://img.shields.io/github/workflow/status/salu133445/muspy/Testing)](https://github.com/salu133445/muspy/actions)
[![Codecov](https://img.shields.io/codecov/c/github/salu133445/muspy)](https://codecov.io/gh/salu133445/muspy)
[![GitHub license](https://img.shields.io/github/license/salu133445/muspy)](https://github.com/salu133445/muspy/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/v/release/salu133445/muspy)](https://github.com/salu133445/muspy/releases)
MusPy is an open source Python library for symbolic music generation. It provides essential tools for developing a music generation system, including dataset management, data I/O, data preprocessing and model evaluation.
Features
--------
- Dataset management system for commonly used datasets with interfaces to PyTorch and TensorFlow.
- Data I/O for common symbolic music formats (e.g., MIDI, MusicXML and ABC) and interfaces to other symbolic music libraries (e.g., music21, mido, pretty_midi and Pypianoroll).
- Implementations of common music representations for music generation, including the pitch-based, the event-based, the piano-roll and the note-based representations.
- Model evaluation tools for music generation systems, including audio rendering, score and piano-roll visualizations and objective metrics.
Why MusPy
---------
A music generation pipeline usually consists of several steps: data collection, data preprocessing, model creation, model training and model evaluation. While some components need to be customized for each model, others can be shared across systems. For symbolic music generation in particular, a number of datasets, representations and metrics have been proposed in the literature. As a result, an easy-to-use toolkit that implements standard versions of such routines could save a great deal of time and effort and might lead to increased reproducibility.
Installation
------------
To install MusPy, please run `pip install muspy`. To build MusPy from source, please download the [source](https://github.com/salu133445/muspy/releases) and run `python setup.py install`.
Documentation
-------------
Documentation is available [here](https://salu133445.github.io/muspy) and as docstrings with the code.
Citing
------
Please cite the following paper if you use MusPy in a published work:
Hao-Wen Dong, Ke Chen, Julian McAuley, and Taylor Berg-Kirkpatrick, "MusPy: A Toolkit for Symbolic Music Generation," in _Proceedings of the 21st International Society for Music Information Retrieval Conference (ISMIR)_, 2020.
[[homepage](https://salu133445.github.io/muspy/)]
[[video](https://youtu.be/atdHMEuAYno)]
[[paper](https://salu133445.github.io/muspy/pdf/muspy-ismir2020-paper.pdf)]
[[slides](https://salu133445.github.io/muspy/pdf/muspy-ismir2020-slides.pdf)]
[[poster](https://salu133445.github.io/muspy/pdf/muspy-ismir2020-poster.pdf)]
[[arXiv](https://arxiv.org/abs/2008.01951)]
[[code](https://github.com/salu133445/muspy)]
[[documentation](https://salu133445.github.io/muspy/)]
Disclaimer
----------
This is a utility library that downloads and prepares public datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have license to use the dataset. It is your responsibility to determine whether you have permission to use the dataset under the dataset's license.
If you're a dataset owner and wish to update any part of it (description, citation, etc.), or do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thanks for your contribution to the community!
Raw data
{
"_id": null,
"home_page": "https://github.com/salu133445/muspy",
"name": "muspy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "music,audio,music-generation,music-information-retrieval",
"author": "Hao-Wen Dong",
"author_email": "salu.hwdong@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d8/c7/5eabf9fb0d753bda18ed9e5358efcf79932b50c7345f663b028b59f6204d/muspy-0.5.0.tar.gz",
"platform": null,
"description": "MusPy\n=====\n\n[![GitHub workflow](https://img.shields.io/github/workflow/status/salu133445/muspy/Testing)](https://github.com/salu133445/muspy/actions)\n[![Codecov](https://img.shields.io/codecov/c/github/salu133445/muspy)](https://codecov.io/gh/salu133445/muspy)\n[![GitHub license](https://img.shields.io/github/license/salu133445/muspy)](https://github.com/salu133445/muspy/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/v/release/salu133445/muspy)](https://github.com/salu133445/muspy/releases)\n\n\nMusPy is an open source Python library for symbolic music generation. It provides essential tools for developing a music generation system, including dataset management, data I/O, data preprocessing and model evaluation.\n\n\nFeatures\n--------\n\n- Dataset management system for commonly used datasets with interfaces to PyTorch and TensorFlow.\n- Data I/O for common symbolic music formats (e.g., MIDI, MusicXML and ABC) and interfaces to other symbolic music libraries (e.g., music21, mido, pretty_midi and Pypianoroll).\n- Implementations of common music representations for music generation, including the pitch-based, the event-based, the piano-roll and the note-based representations.\n- Model evaluation tools for music generation systems, including audio rendering, score and piano-roll visualizations and objective metrics.\n\n\nWhy MusPy\n---------\n\nA music generation pipeline usually consists of several steps: data collection, data preprocessing, model creation, model training and model evaluation. While some components need to be customized for each model, others can be shared across systems. For symbolic music generation in particular, a number of datasets, representations and metrics have been proposed in the literature. As a result, an easy-to-use toolkit that implements standard versions of such routines could save a great deal of time and effort and might lead to increased reproducibility.\n\n\nInstallation\n------------\n\nTo install MusPy, please run `pip install muspy`. To build MusPy from source, please download the [source](https://github.com/salu133445/muspy/releases) and run `python setup.py install`.\n\n\nDocumentation\n-------------\n\nDocumentation is available [here](https://salu133445.github.io/muspy) and as docstrings with the code.\n\n\nCiting\n------\n\nPlease cite the following paper if you use MusPy in a published work:\n\nHao-Wen Dong, Ke Chen, Julian McAuley, and Taylor Berg-Kirkpatrick, \"MusPy: A Toolkit for Symbolic Music Generation,\" in _Proceedings of the 21st International Society for Music Information Retrieval Conference (ISMIR)_, 2020.\n\n[[homepage](https://salu133445.github.io/muspy/)]\n[[video](https://youtu.be/atdHMEuAYno)]\n[[paper](https://salu133445.github.io/muspy/pdf/muspy-ismir2020-paper.pdf)]\n[[slides](https://salu133445.github.io/muspy/pdf/muspy-ismir2020-slides.pdf)]\n[[poster](https://salu133445.github.io/muspy/pdf/muspy-ismir2020-poster.pdf)]\n[[arXiv](https://arxiv.org/abs/2008.01951)]\n[[code](https://github.com/salu133445/muspy)]\n[[documentation](https://salu133445.github.io/muspy/)]\n\n\nDisclaimer\n----------\n\nThis is a utility library that downloads and prepares public datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have license to use the dataset. It is your responsibility to determine whether you have permission to use the dataset under the dataset's license.\n\nIf you're a dataset owner and wish to update any part of it (description, citation, etc.), or do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thanks for your contribution to the community!\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A toolkit for symbolic music generation",
"version": "0.5.0",
"split_keywords": [
"music",
"audio",
"music-generation",
"music-information-retrieval"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ae85f8da354bfc42cc0b95df30a28d96733644cecd7d7dab0293ef0cbfa93257",
"md5": "079dd25cfec91df1b4d958bdb15f0262",
"sha256": "6f0e614476f92f5a573755117a959b660f120ca2838f05f88e8422ec2744d4fd"
},
"downloads": -1,
"filename": "muspy-0.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "079dd25cfec91df1b4d958bdb15f0262",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 119073,
"upload_time": "2022-04-16T19:33:50",
"upload_time_iso_8601": "2022-04-16T19:33:50.145870Z",
"url": "https://files.pythonhosted.org/packages/ae/85/f8da354bfc42cc0b95df30a28d96733644cecd7d7dab0293ef0cbfa93257/muspy-0.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d8c75eabf9fb0d753bda18ed9e5358efcf79932b50c7345f663b028b59f6204d",
"md5": "8066944de2f1701070d05f7d16a3001c",
"sha256": "35b9ed102d83040968a95604505b3e47ee165e05f112a215dfa22a75ffae8f6c"
},
"downloads": -1,
"filename": "muspy-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "8066944de2f1701070d05f7d16a3001c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 90429,
"upload_time": "2022-04-16T19:33:51",
"upload_time_iso_8601": "2022-04-16T19:33:51.617994Z",
"url": "https://files.pythonhosted.org/packages/d8/c7/5eabf9fb0d753bda18ed9e5358efcf79932b50c7345f663b028b59f6204d/muspy-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-04-16 19:33:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "salu133445",
"github_project": "muspy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "muspy"
}