AverageOutput


The mean average output since the last received trigger.


Class methods


*ar(in, trig, mul, add)

*kr(in, trig, mul, add)



in - input signal.


trig -  if changes from <= 0 to > 0, resets average and count to zero.



Examples


// sine oscillator, average slowly settles to zero

a = { AverageOutput.ar(SinOsc.ar(10000)).poll }.play;


a.free;