Open
Description
I think that a stream-based API would work well for MIDI, and would work for both file I/O and reading/writing from devices.
Related to #31, load
ing a MIDI file (or connecting to a MIDI device) would give you a MIDIStream
, from which you could read/write vectors of MIDIEvent
s
One question is how to handle multi-track files. I'm not sure whether it makes more sense to have them be separate streams, or whether the MIDIEvent
s should just have a track ID as a field.
Right now I'm just spit-balling some ideas, so feel free to ignore (of course). Sometime in the next few weeks I'm actually hoping to interface with some MIDI hardware, so I'll be able to contribute some PRs then.
Metadata
Metadata
Assignees
Labels
No labels