Skip to main content

A python package for handling multi-track piano-rolls.

Project description

Pypianoroll

A python package for handling multi-track piano-rolls.

https://badge.fury.io/py/pypianoroll.svg https://img.shields.io/badge/License-MIT-blue.svg

Features

  • 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

Installation

To install Pypianoroll from PYPI:

$ pip install pypianoroll

To install Pypianoroll manually (please download the source code from either PYPI or Github first):

$ python setup.py install

Citing

Please cite the following paper if you use Pypianoroll in a published work:

Hao-Wen Dong, Wen-Yi Hsiao, Li-Chia Yang and Yi-Hsuan Yang, “MuseGAN: Multi-track Sequential Generative Adversarial Networks for Symbolic Music Generation and Accompaniment,” in AAAI Conference on Artificial Intelligence (AAAI), 2018.

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

pypianoroll-0.1.3.tar.gz (18.9 kB view hashes)

Uploaded Source

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