Open Help
average~
Maintain a running average of incoming values
Description
Performs an average on the input signal based on a given window size. The resulting output not only represents the mean value over a window of samples, but also the output of a basic low-pass FIR filter.
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]
resetOutlets
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 |