BTW what device are you going to control with midi ? If it would be a VST instrument it would probably work nicely with Christof’s VSTPlugin class – unfortunately its use with patterns seems to be broken in the recent version ( VSTPlugin Event Pattern examples broken in v0.3.1? ), but I’m hoping for an easy fix. Otherwise Jack – or do you have a hardware device ?