Home › Forums › General › Programming › how to send program change with LUA › Reply To: how to send program change with LUA
Hi all,
Not sure what you are intending to do.
0xB initiates a control change message, so I guess 0xB8= control change on channel 8 followed by 2 data bytes (one with a controller number and one with a value);
So the first 6 bytes of your message seem to represent 2 control change messages each of 3 bytes.
0xC initiates a program change message, so I guess your seventh byte 0xC8 is a program change on channel 8 followed by one data byte 0x05 containing the program number.
These three messages are not of the sysex type (initiated by 0xF0 and ending with 0xF7).
I don’t think you need lua to send these control change and program change messages in Ctrlr, but others on this forum are more experienced about the subtlities of this types of messages in ctrlr.