FortySevenEffects/arduino_midi_library

Midi note input gets reflect on midi out

amritgenius opened this issue · 2 comments

im trying to get midi note on/off on an Arduino pro micro and turn on/off leds according to note on off and pitch, its working but whatever the Arduino gets over midi in port it send also to midi out port, this is calling feedback loop or something, i have tried also arduino uno instead of pro micro, same story.

This is called soft Thru, and you can turn it off this way (in your setup function):

void setup() {
  MIDI.begin();
  MIDI.turnThruOff();
}

void setup() {
MIDI.turnThruOff();
MIDI.begin();
}

i was using in this order and that was not working. Now with your code its working well. Thankyou so much.