craffel / pretty-midi

Utility functions for handling MIDI data in a nice/intuitive way.
MIT License
859 stars 151 forks source link

Instrument.get_piano_roll() does not work with drums #188

Closed Godsinred closed 3 years ago

Godsinred commented 3 years ago

Unable to convert a piano roll from the instrument class when the instrument is a drum

craffel commented 3 years ago

This is intended; there is no meaningful way to represent drum patterns with a piano roll. https://github.com/craffel/pretty-midi/issues/180