Best way to assign LFO to two places in an FX plugin
-
@Lindon thanks! The problem is that it's an FX plugin and last time I checked, Global Modulators were not exporting in this case? I may be wrong, it was a while ago.
-
@tomekslesicki actually no, the global modulators (and macro modulation source container) will not be processed in an FX plugin, but that was requested multiple times and makes sense so I‘ll probably fix it soon.
In the meantime you might try your luck with the (undeferred)
onTimer
callback, this should give you at least some real time predictability (the other timers run on the UI thread and have no guaranteed timing). -
@Christoph-Hart sounds promising! I can't find a way to implement it in the docs. Should be a pretty simple call I guess?
-
-
@tomekslesicki said in Best way to assign LFO to two places in an FX plugin:
@Lindon @d-healey I guess you’ve used this call before. Could you please tell me how to use it? It seems different than the standard timer...
Go to HISE, open the APICollection panel, and type Timer into the search box....
-
@Lindon I got that part, just not sure how to assign the function to it :-)
-
Timer.setTimerCallback()
-
Christoph is referring to the synth timer callback, not to timer objects. It's just a callback like the note on/off callbacks. Select it from the drop down menu and put your code in there. Start/stop it with
Synth.startTimer()
andSynth.stopTimer()
- do this in a non-deferred script. -
@d-healey what is a non-deffered script? Sorry for so many questions, it’s just new to me.
-
-
This post is deleted! -
Thank you!