ctrlinit Real-time MIDI:Input ctrlinit ctrlinit Sets the initial values for a set of MIDI controllers. Description Sets the initial values for a set of MIDI controllers. Syntax ctrlinit ichnl, ictlno1, ival1 [, ictlno2] [, ival2] [, ictlno3] \ [, ival3] [,...ival32] 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. 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 the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also MIDI input and Initialization Orchestra Header Statements Credits Author: &namebarry; - &namemike; MIT, Cambridge, Mass. New in Csound version 3.47 Thanks goes to &namerasmus; for pointing out the correct MIDI channel and controller number ranges.