scook
azslow3
Try different values, like >= 500ms and <=100ms.
I am sure this should be between 500 and 1000. Some do need more than 1000 ms but I would suggest starting with 500 and increment the value until SONAR stops dropping notes.
Till someone can prove my theory wrong, no VST synth in the world "need" more then 50ms to play notes correctly:
1) VST receive MIDI events exactly for one buffer/block size:
VST SDK 2.4
Events are always related to the current audio block. For each process cycle, processEvents() is called once before a processReplacing() call (if new events are available).
2) 44.1kHz / 2048 samples means ~46ms buffer
3) all VST instruments are ready to be used live. Everything over ~30ms is not "playable" live. I mean nothing can be "prepared" in such situation.
4) VST event/audio processing does not distinguish between live and recorded.
So for several years I try to understand why black magic with huge numbers works. If my theory is right, that is .... just a workaround for a bug

In this case, 50, 100, 300, 1000 are "magic" numbers, which under particular conditions avoid that bug. I mean that is nothing with physical meaning (in ms).
PS. Note that my theory is for VST only. DX (f.e. TTS-1) has different logic.