ctrlsaveReal-time MIDI:Inputctrlsavectrlsave
Recovers the current values of MIDI controllers.
Description
Recovers the current values of MIDI controllers to a k-array.
Syntaxkconnt[] ctrlsave ichnl, ictlno1, [ictlno2] [, ictlno3] ...Initializationichnl -- MIDI channel number (1-16)
ictlno1, ictlno1, etc. -- MIDI controller numbers (0-127)
Performance
Sets the array kcontrl to the current values of MIDI controllers indicated.
Examples
Here is an example of the ctrlsave opcode. It uses the file ctrls.csd.
Example of the ctrlsave opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoMIDI input and InitializationCreditsAuthors: &namejohn; and Richard BoulangerNew in Csound version 6.16