time to make a little pause and clarify where we are, and what we want to do
usually when you are using midi message you send a triplet ( AA , BB , CC)
AA is the type of signal : 144=144+0 (90 in hexadecimal) for a note on on channel and 128 ( 80 ) for a note off
it can be decompose this way : 144 is the note on message and 0 is the channel ( first channel
a note on message on the second channel has a value of 145
BB is the tone ( 0 - 127)
CC is the velocity ( 0-127)
In a perfect world, the midi normalization has been made to make everything easy
Here it is note the same.
The spark uses two different way to work
----------From the spark to the computer :
for pads ( the 8 big buttons) it is note event from C2 to G2 ( with velocities )
for button it is different : the note sent by the spark is a F-1 ( 17 in decimal, 11 in hexadecimal) and the value of the velocity is related to one button from 1 to
<127
encoder->we will see this later, it seems to work in a normal way
---------From the computer to the spark
For pads > it works just like buttons
for buttons : the note sent is E1 ( 16 in decimal , 10 in hexa ) and the note off signal (128,16,0) for exemple to turn off the light of the pattern button 1
Do you agree with me ?