mc.peakamp~
Description
Use the peakamp~ object to monitor an incoming signal and reports the absolute value of the peak amplitude of the signal it has received since the last time it was reported.
Arguments
ms-output-interval [int]
Sets the internal clock interval, in milliseconds. If it is 0, the internal clock is not used, so peakamp~ will only output data when it receives a bang message. If it is non-zero, peakamp~ will repeatedly send out the peak amplitude received in that interval of time. By default, the interval is 0.
Attributes
signed [int]
When the signed attribute is set to 1, the peak amplitude of the incoming signal in the specified interval is reported, rather than the absolute value of the peak amplitude.
Common Box Attributes
Multichannel Group Attributes
Messages
bang
signal
Multichannel Group Messages
Output
float
When peakamp~ receives a or its internal clock is on, the absolute value of the peak signal value from the input signal is sent out its outlet.
See Also
Name | Description |
---|---|
meter~ | |
snapshot~ |