I’m programming a little sound generator on my Arduino Due and want to control parameters like pitch, volume and envelope times via Midi. So, I’m using Native Instruments Reaktor to send Midi Control Change messages and Hairless Midi-Serial-Bridge to transmit the Midi data to the USB programming port of the Arduino.
The Arduino, however, seems to receive only the first byte (status byte) correctly. The two following data bytes seem to get lost.
I set the baud rate on both the Hairless Midi-Serial-Bridge and the Arduino to 115200 (also tried other values) but it doesn’t work.
For testing I wrote this little sketch where I simply tried to change the LED brightness on pin 13 via midi control change. But after sending a midi CC message the LED is turned fully on and doesn’t react to further changes.
Can anybody help me with this? I would appreciate any tips.
Test_Receive_Midi.ino (905 Bytes)