Use Non-Frames Version Previous Page Next Page
Instrument Control: Sensing and Control

peak

  kr      peak       ksig
  kr      peak       asig

Description

These opcodes maintain the output k-rate variable as the peak absolute level so far received.

Performance

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.

Deprecated Name

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.

Author

Robin Whittle
Australia
May 1997


Use Non-Frames Version Previous Page Next Page
Instrument Control: Sensing and Control