MovingSum:
Filter:
Classes (extension) | UGens > Analysis | UGens > Maths

MovingSum : UGen : AbstractFunction : Object
ExtensionExtension

The sum of samples over a variable number of frames.
Source: MovingSum.sc

Description

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

Class Methods

MovingSum.ar(in, numsamp: 40, maxsamp: 400)

MovingSum.kr(in, numsamp: 40, maxsamp: 400)

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.

Inherited class methods

Instance Methods

Inherited instance methods

Examples