2 summary:: Running sum over n frames
3 categories:: UGens>Analysis, UGens>Maths
6 A running sum over a user specified number of samples, useful for running RMS power windowing.
13 How many samples to take the running sum over (initialisation time only, not modulatable. default: 40)
18 // distorts of course - would need scaling
19 { RunningSum.ar(SoundIn.ar) }.play
21 // Running Average over x samples
25 RunningSum.ar(LFSaw.ar, x) * (x.reciprocal)
39 (RunningSum.ar(input.squared, numsamp) / numsamp).sqrt
46 { RunningSum.rms(SoundIn.ar) }.play
53 var input, numsamp, power;
56 power = MouseX.kr(0.1, 4);
58 (RunningSum.ar(input ** power, numsamp)/numsamp) ** (power.reciprocal)