Reply To: simple way to pass the changed value in a midi cc formula

Home Forums General Programming simple way to pass the changed value in a midi cc formula Reply To: simple way to pass the changed value in a midi cc formula

#118926
damien
Participant
  • Topics: 15
  • Replies: 62
  • Total: 77

I’ll try with LUA as well with just the 3x hex according to goodweather’s guide:

Control Change messages (CC) belongs to the Channel Voice family of messages. They are made of 3 bytes with n=channel number (0-15), c=controller number (0-127) and v=controller value (0-127) as:
Some controllers may use values 0-16383 instead of 0-127.

Status byte 1011nnnn
Data byte 0ccccccc
Data byte 0vvvvvvv

They will then need 2 messages as above where the CC# of the first message will be 1 to 31 while the CC# of the second message will be 33 to 63.
The value will be the combination of the value bytes of the two messages (value byte message 1 = MSB Most Significant Byte; value byte message 2 = LSB Least Significant Byte)
Example1: setting the Amp EG attack time on Midi channel 1 to 43 will require sending B0 1C 2B hex or 10110000 00011100 00101011 (Midi channel 1 has channel number 0)

  • This reply was modified 6 months, 4 weeks ago by damien. Reason: typo
Do NOT follow this link or you will be banned from the site!