Re: Midi delay compensation
Posted: Thu Jun 23, 2016 2:24 am
idea.
If you 'time stamped' each MIDI event, and sent them to a holding BUFFER. Then with a RUBY timer, poll the buffer for the [ts]event ... then output that MIDI event when matched to the RUBY Timer.
The buffered events insure that all the MIDI data is ready/available. The RUBY TIMER determines when they get released to the MIDI OUTPUT.
Additionally ... maybe the RUBY TIMER could be synched/slaved to the 'Audio Clock' stream.
Yeah ... easy for me to say.
If you 'time stamped' each MIDI event, and sent them to a holding BUFFER. Then with a RUBY timer, poll the buffer for the [ts]event ... then output that MIDI event when matched to the RUBY Timer.
The buffered events insure that all the MIDI data is ready/available. The RUBY TIMER determines when they get released to the MIDI OUTPUT.
Additionally ... maybe the RUBY TIMER could be synched/slaved to the 'Audio Clock' stream.
Yeah ... easy for me to say.