MovingSum:
Filter:
sc3-plugins/Classes (extension) | UGens > Analysis | UGens > Maths

MovingSum
ExtensionExtension

The sum of samples over a variable number of frames.

Description

A running sum over a variable number of samples. Useful for time averaging operations. Also see MovingAverage.

Class Methods

.ar

.kr

Output the sum of audio or control rate samples.

Arguments:

in

An input signal.

numsamp

Size of the summing window, in samples. Modulatable between 1 and maxsamp. Default: 40.

maxsamp

Maximum size of the summing window. Pre-allocates memory up to this size and your numsamp will be clipped at this value. maxsamp cannot be modulated.

Examples