Cantabile Development Blog

Follow the development of music software Cantabile

Articles | Full Index | RSS Feed


MIDI Routing Table Finished

Cantabile's MIDI Routing Table is now finished, including the ability to control MIDI routings with sub-sessions.

The most interesting part of this is making it smart enough to avoid leaving stuck notes when enabling or disabling routings. To solve this, each routing entry keeps track of which notes it knows are on (and a few special controllers such as the sustain controller) and when a new MIDI event comes in, if it matches one of these known events, the routing will steal and route it - even if it's disabled.

I haven't tested this extensively yet, but it seems to work quite well. There's a few odd situations where it may still result in stuck notes, but I'm pretty sure for any sensible routing table it should work fine.

So that's another item struck off the list... just sending of MIDI clock, and sub-session support in Quick Sessions to go!

Posted on September 29, 2008

Share This

Leave A Comment

All comments will be reviewed for spam before being displayed.