I am trying to take variable names from the XML code for use in the modulator. I am working from the following assumptions about the MIDI parameter panel:
“MIDI Message type” determines the upper nybble of the midi command byte
“MIDI Channel” determines the lower nybble of the midi command byte
“MIDI Controller number” determines the value of midi data byte 1
“MIDI Controller value” should somehow (directly or indirectly via a modulator) determine the value of midi data byte 2.
Question: Are these assumptions correct? (The 1st 3 seem to correspond with the way ctrlr works, but I am not sure about the 4th assumption.)
Working from these assumptions, I put “midiMessageCtrlrValue” into the “Expression to evaluate when calculating midi message value from the modulator” parameter. The default was “modulatorValue.” However, that just made both the on and off velocity 0x01.
I have the “Maximum value the modulator can have . . .” set to 127.00000 in the Modulator parameter panel. The tip says “should be set from the UI component” so I looked in the Component parameter panel. The only thing that seems possible related is the “Value for ON state” parameter. However changing that value to anything other than 1 makes both the ON state and the OFF state send a velocity of 0x01.
Any suggestions to get the button to output user defined velocity (either directly through a MIDI or Component parameter or indirectly through a modulator)?
Thanks.
Steve