2 summary:: Track peak and power of a signal for GUI applications.
3 related:: Classes/Peak, Classes/PeakFollower, Classes/OSCFunc
4 categories:: UGens>Analysis>Amplitude
9 The SendPeakRMS unit generator computes peak and power of a signal and sends the
10 computed values back to the clients. It does not produce any output.
20 Unlike with other unit generators, the code::ar:: and code::kr:: methods do not
21 specify the rate of the computation, but the granularity. When the SendPeakRMS ugen
22 is instantiated with code::kr::, the reply rate id quantized to control-rate
31 Float or Integer. Specifies the number of replies that are sent to the clients
36 Float or Integer. Lag time, which is applied to the peak values. This option is
37 commonly used for GUI VU meters.
41 Symbol or String. Address pattern for reply message.
45 Integer ID (similar to link::Classes/SendTrig::).
48 private:: numOutputs, writeOutputSpecs
56 SendPeakRMS.kr(Dust.ar(20), 20, 3, "/replyAddress")
62 "rms: %, peak: %".format(msg[3], msg[4]).postln