A python package for handling multi-track piano-rolls.
- handle piano-rolls of multiple tracks with metadata
- utilities for manipulating piano-rolls
- save to and load from .npz files using efficient sparse matrix format
- parse from and write to MIDI files
To install Pypianoroll from PYPI:
$ pip install pypianoroll
$ python setup.py install
Documentation is provided as docstrings with the code. An online version is also available here.
Please cite the following paper if you use Pypianoroll in a published work:
Hao-Wen Dong, Wen-Yi Hsiao, and Yi-Hsuan Yang, "Pypianoroll: Open Source Python Package for Handling Multitrack Pianorolls," in Late-Breaking Demos of the 18th International Society for Music Information Retrieval Conference (ISMIR), 2018.