One to rule them all or...
-
I have 4 LFO's, as it is now I read their levels inside a Synth.timer callback with the timer set to 1/100, so every 10ms I read the values.
Is this the best way to read them or should I use 4 different timer callbacks, one for each LFO? -
@ulrik as I understand it, the Synth.timer is more precise and stable than a timerObject, but what about performance and demands on the cpu?
-
It depends on what you want to do with the values.
- Display them on the interface? Use a UI timer.
- Control some parameters in realtime as accurately as possible? Don't use a UI timer object but either the synth callback, or even more accurate, the processBlock callback of a ScriptFX - this is guaranteed to be executed for each buffer and should give you the best "resolution" (in fact the same resolution as the macro container route).
-
@Christoph-Hart Ok, good to know things :)
Thanks!