hello :-)<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
They seem to reach the list. At least I received this and your previous<br>
mail.<br></blockquote><div>Thanks for that! <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
What I still don&#39;t understand: Why do you want to compare those?<br>
[vsnapshot~] and [env~] do completely different things.<br></blockquote><div><div>Im trying to find a good way to monitor a signal. Since they both 
take signals and output messages that makes them candidates. The fact is that i use both env~ and vsnapshot~ anyway in a &quot;channel strip&quot; abstraction to feed the inputs of a [vu ] with the rms and peak level respectively. However, i need another instance of one of them to determine whether there is a (non-constant-zero)signal present at all. And i&#39;m trying to find out which one should i duplicate.<br>

</div><br>
</div></div>I did the cpu test and it shows that env~ is lighter. However, a snapshot~ triggered every 1024 samples (same rate as env~) is even lighter, which makes sense, since snapshot does no computing. I just thought that vsnapshot~ triggered at samplerate would be lighter than an env~, which seems to be a false assumption.<br>
<br>Thanks for the tip :-).<br>It would be nice though, to know also on a theoretical level. Which one should be more expensive and (maybe) why.<br><br>(...)<br><br>Anyways, while writing this email, it came to me that i don&#39;t really need an extra object(!)<br>
Instead of switching between pre and post fader mode in audio level, i do that in message level so i can use one of the two existing objects to determine if an active signal is present.<br><br>The question remaining is:<br>
Is there a better way to feed a [vu ] in pd vanilla?<br><br>(<br>just in case someone missed it:<br><br>signal<br>|<br>[env ~ 4096]<br>|<br>[-100]<br>|<br>vu left input for rms<br><br>and<br><br>signal<br>|<br>|  [bang~ ]      [block~ 1]<br>
|  /<br>[vsnapshot~ ]<br>|<br>(some speed limiting with care taken not to lose highest amplitude..)<br>|<br>vu right input for peak<br>)<br><br><br>ciao<br><br>-- <br>ypatios<br>