<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2713.1100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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"?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[osc~] > [*~ 1/0 (depending on
toggle)] > [env~ 8192] > [- 100] > [Vu meter]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>Dave S</FONT></DIV></BODY></HTML>