CC output via Table - Output is too early in DAW
-
So we are using the Scriptnode table to output CC, which seems to work fine so far.
We are reading the Global Cable with a Synth.startTimer set to 8ms (for now)
But there is a problem related to DAW buffer size.The larger the buffer , the more the CC output is early.
Seems like there is a mismatch between reported latency and actual latency so I need a method to know the reported latency and delay the cc stream by that amount.128 buffer - 38ms
512 Buffer - 164ms
The plugin will throughput MIDI events so I tested MIDI notes on the plugin channel , then routing that to another channel and record .
MIDI notes have no latency no matter the buffer but the CCoutput is affected - too early.
Any thoughts ?
-
@lalalandsynth is there a way to have the controller event delayed by the latency ?
get.Latency and getBuffersize dont seem to work ?