After a long debug session yesterady I realized that there is a problem with the event duration in combination with the ~dirt.server.makeBundle
. But the solution could be a little bit complicated.
I think it's needed to re-build the SuperDirt midi event type to a vst-midi event type. There is a proxy interface that I could use.
And work with a thread scheduler with the event latency and the sustain value to manually trigger noteOn and noteOffs in sync with the rest of the event. I hoped there is a simpler solution (like I played a vst_midi
event triggered by a dirt
event.).
This in combination with an envelope in the VSTPlugin SynthDef should remove the clipping.
Btw. I tested everything with the Dexed Plugin. I will try to fix it asap because I would like to try a "one synthesizer challenge" with Dexed and this Tidal-VST. Sooo my motivation is huge to fix this.