hi,
if both the time-interval, and the sample rate, are fixed and known, then use [env~ <npoints> <period>], which sends an rms value measured for an <npoints>-window, and converted to db, every <period> number of samples.
Otherwise, you might use an [env~] with a shorter window and the arithmetic mean driven by a [metro] (counting and accumulating each [env]'s output value, dividing and resetting for every [metro] bang).
Krzysztof
David Jonsson (II) wrote:
I want to get the mean value of the intensity of a signal for a specific time-interval, typically 100 ms.