Hi all, I'm interested in creating some basic Midi sketches, I have had a look around on instructables, this forum and on little scale's excellent resource but as I am so new to Arduino and programming some of the stuff is not really that clear to me. I am also a bit dyslexic when it comes to maths and things like hexadecimal.
So far I have managed to get Midi into my Uno, I made the interface using a 6n138 opto and managed to get the LED blinking in response to Midi clock etc. I have not managed to get output based on conditions from the input though. I have just bought a sparkfun midi shield to eliminate the possibility of hardware problem. At this point I'm started to get interested in doing a few things like this:
A midi clock divider, simple just say 1/2 and 1/4 of the master clock perhaps selected by a switch A midi filter, for example to take a midi input and strip out all other info except clock or notes etc. Have a bunch of LEDs light up in response to different midi notes
I have a mutable instruments Midipal, which can do most this stuff for me, but I want to learn how to do these things myself, I have done some of the basic sketches in the examples, but the actual turning my ideas into sketches is where I seem clueless, programming of any sort has always been difficult for me to understand, so Arduino seems like the perfect platform to get started. I like the whole concept of sharing, hacking and modifying sketches, and of course I look foreward to one day sharing my own sketches for others to mess with.
So, with that in mind (and thanks for reading this far) does anyone have any well commented code that does any of the above? From what I can gather there would seem to be a few different ways to achieve these ideas, I'm mainly interested in simple and lean stuff that is not going to affect timing.
I understand the very basic concepts like void setup, variables, count, void loop etc but putting everything together is where I seem to be stumbling, so if anyone has any sketches to share then I'd be most greatful.