Hello all,
I assume that if env~ exists in a patch, it is active whether or not a signal is passing through it. This means that env~ is using CPU even though it's input might be "zero"?
Is there some method of turning off env~ or perhaps change its window size dynamically so that it's not taking up so much CPU?
For example, I'm using [env~ 8192] to send a level to VU meters. I've then created a spigot-like object that will cut the signal going to that [env~] in an attempt to save CPU power so that PD doesn't have to continually update the VU meters. Like this:
[osc~] > [*~ 1/0 (depending on toggle)] > [env~ 8192] > [- 100] > [Vu meter]
However, even if the [osc~] is multiplied by "zero", CPU usage is still too high because [env~ 8192] is computing all the time (zero x whatever? over and over 5 times per second). Is there some method of actually 'turning-off' the [env~] or perhaps change its windows size to [env~ 131072] for example when I don't need to see the VU?
Thanks
Dave S