average~ Reference

Maintain a running average of incoming values

average~

Examples

Arguments

windowSize [auto]

Optional

The number of samples to be averaged together at once

reset [auto]

Optional

reset

Inlets

x [auto]

The signal to be averaged

windowSize [auto]

The number of samples to be averaged together at once

reset [auto]

reset

Outlets

out1 [signal]

The averaged output

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

reset [auto]

reset

windowSize [auto]

The number of samples to be averaged together at once

x [auto]

The signal to be averaged

See Also

Name Description
buffer~ A data buffer for holding audio (or potentially some other) data.
average_rms~ Maintain a running RMS average of incoming values
average_absolute~ Maintain a running average of the absolute value of incoming values
avg~ Keep track of average (absolute) amplitude over a period of time.
hamming~ Provides a Hamming windowing function
hann~ Provides a Hanning windowing function
blackman~ Provides a Blackman windowing function
welch~ Provides a Welch windowing function