Generating a midi clock
I'm looking for code to produce a midi clock to be sent out a HW midi port from within an IPlug plugin.
Some sort of timer driven process that sends 0xF8 regularly onto the midi port based on host tempo is what is required, I gather.
This is a common requirement for controlling hardware synths (e.g syncing LFO, arpeggiators, delay times, etc) so I'm hoping I don't have to reinvent this wheel.
|