You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not all PrettyMIDI objects will be writeable as type 0 files since they can have more than 16 instruments. You could implement this and throw an error if there are too many instruments. I do not plan on implementing this.
@gburlet I also had the use case of writing type 0 files. However, instead of extending the writing functionalities of pretty_midi, I just used mido to convert from type 1 to type 0.
Currently the write function only writes Type 1 MIDI files. Allow parameter in write function to also save Type 0 MIDI files.
The text was updated successfully, but these errors were encountered: