min
Produces a signal that is the minimum of any number of input signals.
The min opcode takes any number of a-rate, k-rate or i-rate signals as input (all of the same rate), and outputs a signal at the same rate that is the minimum of all of the inputs. For a-rate signals, the inputs are compared one sample at a time (i.e. min does not scan an entire ksmps period of a signal for its local minimum as the max_k opcode does).
Syntax
amin min ain1, ain2 [, ain3] [, ain4] [...]
kmin min kin1, kin2 [, kin3] [, kin4] [...]
imin min iin1, iin2 [, iin3] [, iin4] [...]
Performance
ain1, ain2, ... -- a-rate signals to be compared.
kin1, kin2, ... -- k-rate signals to be compared.
iin1, iin2, ... -- i-rate signals to be compared.
Examples
Here is an example of the min opcode. It uses the file min.csd.
See also
Credits
Author: Anthony Kozar
March 2006
New in Csound version 5.01; i-rate version new in 6.04