Codebox Operators average_rms

average_rms

Maintain a running RMS average of incoming values

new average_rms()

Methods

next(x, windowSize, reset): out1

Arguments

NameTypeDefaultDescription
xnumber
windowSizenumber
resetbool

Returns

NameTypeDescription
out1number

The RMS averaged output

reset(): void