avg~ vs snapshot~

Sep 12, 2006 at 4:21pm

avg~ vs snapshot~

could someone take a second to explain which one of these two objects (or any other for that matter) is better for envelope following and why? I have always used snapshot~ but recently started using avg~ and it seems to work/sound better…but I am not sure why…

thank you

sg

#27594
Sep 12, 2006 at 6:30pm

avg~ reports a float (control-rate) of the mean average of the amplitude that it has received between bangs that you give it.
this is very different from snapshot~, which outputs a float of whatever signal it is receiving at a millisecond interval that you set via it’s arg.

still different is average~, which outputs a signal average based on its input signal in sample intervals that you designate via its argument, or an integer message. this object is more flexible, having 3 different modes at which it can average- bipolar/rms/absolute.

all this is covered in the documentation/help files.
for an explanation of averaging, check out:

http://en.wikipedia.org/wiki/Average

the preferred method for envelope following would generally be average~, or you could check out rampsmooth~.

jl

#83572
Sep 13, 2006 at 1:15am

Quote: simoneghetti@yahoo.co wrote on Tue, 12 September 2006 10:21
—————————————————-
> could someone take a second to explain which one of these two objects (or any other for that matter) is better for envelope following and why? I have always used snapshot~ but recently started using avg~ and it seems to work/sound better…but I am not sure why…
>
> thank you
>
> sg

because snapshot does not measure power at all, it outputs
the value of the current sample.

if you want messages, meter~ can be a possible equivalent
to avg~/average~

#83573
Sep 13, 2006 at 5:58am

for envelope following, you can also use slide~.

#83574

You must be logged in to reply to this topic.