Hello everyone, I'm trying to get my DM5 to accept MIDI messages from an Arduino. This is the sketch I'm running, basically the example sketch with some minor changes
void setup() {
Serial.begin(31250);
}
void loop {
for (int note = 36; note < 97; note ++) {
noteOn(1, note, 120);
delay(500);
noteOn(1, note, 12);
delay(500);
}
}
void noteOn(int cmd, int pitch, int velocity) {
Serial.write(cmd);
Serial.write(pitch);
Serial.write(velocity);
}
I've gotten it to work once, but after power cycling the Arduino I no longer hear sounds from the DM5(through headphones). On the DM5 the input channel is set to "00" which I though is OMNI, but I'm not sure. I connected the Arduino through a MIDI to USB cable and then used MIDI-OX to check the transmission, and sure enough, I saw everything being sent like it should. So, I'd think, that something isn't right with the DM5. Any suggestions?Any help is greatly appreciated, and sorry if I posted this in the wrong section.
**edited cause I prematurely posted it