ctrlinit
Sets the initial values for a set of MIDI controllers.
Syntax
Initialization
ichnl -- MIDI channel number (1-16)
ictlno1, ictlno1, etc. -- MIDI controller numbers (0-127)
ival1, ival2, etc. -- initial value for corresponding MIDI controller number, in the range 0 to 127.
Note
If this opcode is to be used with a scaling opcode such as ctrl7 the ival1.. should be 127*(initial-min)/(max-min)
Performance
Sets the initial values for a set of MIDI controllers.
Examples
Here is an example of the ctrlinit opcode. It uses the file ctrlinit.csd.
Example of the ctrlinit opcode. | |
---|---|
See also
Credits
Author: Barry L. Vercoe - Mike Berry
MIT, Cambridge, Mass.
New in Csound version 3.47
Thanks goes to Rasmus Ekman for pointing out the correct MIDI channel and controller number ranges.