one project i have in mind is a 16 by 8 led matrix (two 8x8 matrixs hooked together) to display pre programmed patterns upon command via a midi signal from ableton Live. would the arduino board be able to handle two such matrix's?
Hello I'm very interested in using MIDI with Arduino, but I wasn´t able to make it works.
This is my last code for a simple test that consists in playing a note half a second and a silence :
int ledPin = 13;
int midiPin = 2;
pinMode(ledPin, OUTPUT); // initializes digital pin 13 as output
pinMode(midiPin, OUTPUT); // initializes digital pin 2 as input
// Send Note On Message
serialWrite (145); // Note on message (9) over channel 1
serialWrite (60); // Note number 0..127 (0x40 == 64)
serialWrite (100); // Note volume 0..127 (0x70 == 112)
digitalWrite (ledPin, HIGH);
// Send Note Off Message
serialWrite (129); // Note off message (8) over channel 1
serialWrite (60); // Note number 0..12 (0x40 == 64)
digitalWrite (ledPin, LOW);
I've have tested it with a RS232 terminal and midi messages seem to be OK, but unfortunately my mide devices didn't respond to these messages. Now I`m trying to contact an old mate from the univerity in order to take a look with a logic analyzer. I will notify here anyu advance and ideas are welcome too.