Hi folks,
I am brand new to Arduino. I just got my duemilanove in the mail and got it set up and ran one of the basic example sketches and I'm good to go! Yea! Pardon the double post (I posted this in the hardware section as well) I didn't see this software section until just now.
I will be sending midi note and velocity information from ableton into the Arduino and it will turn on and off LEDs depending on the information. I'm using this scheme using a max7221:
http://www.arduino.cc/playground/Main/MAX72XXHardware
Each LED is controlled by a different midi note number. The velocity value of that note number determines the state of the LED (on, off, or blinking)
Here is the midi note information sent from Ableton (this would be for each individual LED):
a) clip has been triggered but is not yet playing:
message type: NOTE ON
velocity: 126 (LED is BLINKING)
b) clip is playing:
message type: NOTE ON
velocity: 127 (LED is ON)
c) clip is looping:
message type: NOTE ON
velocity: 1 (LED is ON)
d) clip has been stopped:
message type: NOTE OFF
velocity: 0 (LED is OFF)
So If someone could walk me through a sketch of controlling one led in this way, I think I could get all 32 done.
Thank you for your help!
Joel