chanctrlReal-time MIDI:Inputchanctrlchanctrl
Get the current value of a MIDI channel controller.
Description
Get the current value of a controller and optionally map it onto specified range.
Syntaxival chanctrl ichnl, ictlno [, ilow] [, ihigh]kval chanctrl ichnl, ictlno [, ilow] [, ihigh]Initializationichnl -- the MIDI channel (1-16).
ictlno -- the MIDI controller number (0-127).
ilow, ihigh -- low and high ranges for mapping
Examples
Here is an example of the chanctrl opcode. It uses the file chanctrl.csd.
Example of the chanctrl opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoMIDI input and InitializationCreditsAuthor: &namemike;Mills CollegeMay, 1997Thanks goes to &namerasmus; for pointing out the correct MIDI channel and controller number ranges.