avg~ Reference

Keep track of average (absolute) amplitude over a period of time.

avg~

Examples

Inlets

input [signal, bang]

The inlet of avg~ takes both a signal to be averaged over time, and a bang that marks the point at which the cummulative average of the signal should be taken.

Outlets

output [number]

The absolute value of the average amplitude of the input signal.

Dynamic Attributes

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

input [signal, bang]

The inlet of avg~ takes both a signal to be averaged over time, and a bang that marks the point at which the cummulative average of the signal should be taken.

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