I’m working on a vst plug effect (my first) and I’m wondering how I will know when the user changes the tempo.
So far, I see that I could just call getTimeInfo() over and over again, but that kind of “busy waiting” feels wrong. Is there some kind of event notification coming from the host (Renoise) into my plug so I can cleanly know when the tempo changes?
Not much more to add that hasn’t already been said here. Basically you have to manually call getTimeInfo() as regularly as you need to and then write your own code to handle whatever you’re doing. It’s quite an intensive function so it’s not recommended to do it every sample. Once once per processing block is considered to be enough: