midictrl
Get the current value (0-127) of a specified MIDI controller.
Syntax
Initialization
inum -- MIDI controller number (0-127)
imin, imax -- set minimum and maximum limits on values obtained.
Performance
Get the current value (0-127) of a specified MIDI controller.
Warning
midictrl should only be used in notes that were triggered from MIDI, so that an associated channel number is available. For notes activated from the score, line events, or orchestra, the ctrl7 opcode that takes an explicit channel number should be used instead.
Examples
Here is an example of the midictrl opcode. It uses the file midictrl.csd
See also
Credits
Author: Barry L. Vercoe - Mike Berry
MIT - Mills
May 1997
Thanks goes to Rasmus Ekman for pointing out the correct controller number range.