I am investigating creating MIDI sequencer-type sketch. I would like to queue patterns to be played in real-time. The patterns could be of different length and are chosen while a previous pattern is running. These patterns would simply output midi messages.
I'd prefer not to handle lower level NoteOn and NoteOff messages and scheduling. What library would be recommended? proMIDI, themidibus, rwmidi, or some other I'm unaware of?
If I need to roll my own scheduling, are there any examples on how something like that is accomplished?