I am trying to send pitchbend data mapped from a pot connected to A0 input.
I have my sketch looping reading the pot and then remapping the value to be inside 127. Then I output 3 bytes, 1st byte is the pitchbend command 224, MSB and LSB are set to be the same.
But when i use Hairless Midi to convert serial to MIDI to be used in Cubase, I am recieving program changes and no pitch bend data. What could be the problem?
Here is my sketch file:
Thanks for the reply PaulS.
So from your reply, I have understood that you are saying toreplace the Serial.print() functions with Serial.write() as shown:
PaulS, I thank you greatly. I was such an idiot, I had Cubase filtering pitchbend data so that's why it was not recieving it. Indeed after trying your suggestion of using the serial.write function, IT WORKS A CHARM! Many thanks.