I’ve refactored portmidi-rs to make it more rustic.
Some changes are, that you don’t have to explicitly initialize and terminate the portmidi library anymore and it’s now possible to read and write a vector of Midi events/messages.
This means that the API has changed slight a bit and the previous versions
0.1.* are incompatible with
Some things that are left to do:
- parse Midi messages and return a special event like
NoteOffinstead of the raw midi message
- test SysEx support
If you’re using the
portmidi crate already in some projects and don’t want to use the new API then make sure to use a
0.1.* version setting in your