We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Processing and MIDI (Read 6033 times)
Processing and MIDI
Feb 18th, 2007, 10:45pm
 
I'm  wondering if anyone has had experiance getting a midi file to trigger certain external devices (namely turning on an led) it took a look at the "wiring" project and it seems that throug the use of there circuit board it's possible, but it seems like there must be an easier way to get a midi note to light up an LED. Any help would be great.
Re: Processing and MIDI
Reply #1 - Apr 11th, 2007, 12:47pm
 
Hey all,
I'm looking to do the same thing, drive LEDs (8-bit luminance) via MIDI ... Any advice on this? I've VERY new to signal processing, so anything would be appreciated Wink
Re: Processing and MIDI
Reply #2 - May 15th, 2007, 1:07am
 
As far as I know there's not really any way to avoid using a microcontroller (like Wiring or Arduino) since you'll have to have a device that interprets the MIDI data and controls the LEDs.

I've used Arduino to blink LEDs along with the MIDI clock signal like a metronome.  I used processing to interpret the MIDI data and then send commands to the Arduino board via the serial library.

However, if you want to connect a piece of MIDI hardware *directly* to Arduino or Wiring, I can't really help you (although I know it's possible from what I've read on the forums).  Keep in mind that if you want to do any real fancy or complex programming you'll quickly run out of memory/CPU power on the Arduino.  Just blinking lights should work fine though.

If you do want to use Processing to interpret the MIDI signals, I'd recommend that you play around with the proMIDI library and get comfortable with the basics, then maybe buy an Arduino board to start learning about the electronics.  They're not too expensive and are really great for learning how to do this sort of stuff.
Page Index Toggle Pages: 1