midictrl Real-time MIDI:Input midictrl midictrl Get the current value (0-127) of a specified MIDI controller. Description Get the current value (0-127) of a specified MIDI controller. Syntax ival midictrl inum [, imin] [, imax] kval midictrl inum [, imin] [, imax] 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 Example of the midictrl opcode. See also MIDI input and Initialization Credits Author: &namebarry; - &namemike; MIT - Mills May 1997 Thanks goes to &namerasmus; for pointing out the correct controller number range.