kr peak ksig kr peak asig
These opcodes maintain the output k-rate variable as the peak absolute level so far received.
kr - Output equal to the highest absolute value received so far. This is effectively an input to the opcode as well, since it reads kr in order to decide whether to write something higher into it.
ksig - k-rate input signal.
asig - a-rate input signal.
Prior to Csound version 3.63, the k-rate version of peak was called peakk. peak is now used with either k- or a-rate input.
Robin Whittle
Australia
May 1997