DISTRHO / Cardinal

Virtual modular synthesizer plugin
https://cardinal.kx.studio/
GNU General Public License v3.0
2.22k stars 153 forks source link

Timing can be affected by certain external effects on the channel's fx chain #567

Open rafaelferreiraql opened 1 year ago

rafaelferreiraql commented 1 year ago

(Cardinal 23.07 on Windows 10, but I'm pretty sure it happens in earlier versions too)

I'm using Reaper, though I'm not sure if this is a Reaper-exclusive issue; but whenever there's a certain effect* on the same FX chain before Cardinal, some outputs in the Host Time module (like Playing and Reset) get desynced with the host tempo. I noticed the desync before, but could never point out the source of my troubles, but now I found out that if I bypass the offending plugin, reset triggers at the same time as the beat.

Also, one thing that I found is that there seems to be a three-trigger lead in at the Bar/Beat/Step outputs, which I think is related to the desync... but these outputs are well synchronized with the host, so not sure what goes on.

image

*So far I've only seen it happen with voice of snow, but I can't tell what made that happen and which other plugins could trigger the issue; I tried other 32-bit fx, as well as more CPU-taxing effects, but couldn't reproduce it with anything else yet. I suspect it might have something to do with lookahead, but that's just a hypothesis and I'm not sure how to test it.

falkTX commented 1 year ago

a wild guess from my side would be that plugin introducing latency, and reaper compensating for it on the audio side but not on the timeline/tempo side.