RNBO Objects & Operators average_rms
Open Help

average_rms

Maintain a running RMS average of incoming values

Description

Performs an RMS (root mean square) average on the input values 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 [number]

Optional

The number of values to be averaged together at once

reset [number]

Optional

reset

Inlets

x [number]

The values to be averaged

windowSize [number]

The number of values to be averaged together at once

reset [number]

reset

Outlets

out1 [number]

The RMS averaged output

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: false)

Trigger computation on all inlets.

Dynamic Attributes

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

reset [number]

reset

windowSize [number]

The number of values to be averaged together at once

x [number]

The values to be averaged

See Also

Name Description
buffer~ A data buffer for holding audio (or potentially some other) data.
average Maintain a running 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