|
|
|
|
initc7 ichan, ictlno, ivalue
initc14 ichan, ictlno1, ictlno2, ivalue
initc21 ichan, ictlno1, ictlno2, ictlno3, ivalue
Initializes MIDI controller ictlno with ivalue
ichan – MIDI channel
ictlno – controller number (initc7)
ictlno1 – most significant byte controller number
ictlno2 – in initc14 least significant byte controller number; in initc21 Medium Significant Byte controller number
ictlno3 – least significant byte controller number
ivalue – floating point value (must be within 0 to 1)
initc7, initc14, initc21 can be used together with both midicXX and ctrlXX opcodes for initializing the first controller's value. ivalue argument must be set with a number within 0 to 1. An error occurs if it is not. Use the following formula to set ivalue according with midicXX and ctrlXX min and max range:
ivalue = (initial_value - min) / (max - min)
Gabriel Maldonado
Italy
New in Csound version 3.47
|
|
|
|