I didn’t “hold back” as a tease, it’s just that I have not written that particular app, so I was leaving the comment space to someone who has. Lately I have been more hardware anyway, so I wanted to cover that detail.
Many folks don’t know about “inrush current”, and they build a driver for a light bulb that is just enough to handle the normal current for the bulb.. then they get disappointed when it goes “poof”.
Clem added great details:
Most Midibox applications use a DOUT board for digital (on/off) outputs.
a DOUT output can drive electronics, or an LED, without any additional help.
There are chips we use with DOUTS to get a stronger signal for LED matrixes (ULNxxx?)
If you want to drive something much bigger, look into either a relay, or a “solid state relay” that has an LED as it’s input. At that point you could be switching entire strings of Christmas lights (by MIDI!) or your coffeepot, or the motorized electric shades you put on your windows.
What I do NOT have personal experience with is exactly how to set MIOS up to drive your DOUT from a note ON/note OFF message. I know it’s possible, and I’ll bet it’s not difficult, but I will let someone with more detailed experience answer that for you.
A DOUT board supports 32 outputs, so you’ll have lots of room to expand your ideas.
Take a look in the WIKI and the uCapps site. Look over the schematics for a core and a DOUT board, and decide whether you want to build them from scratch or buy kits. Look over some existing projects, maybe the MIDIO128 would be a good start.(I’m guessing) Then figure out what you can do with 32 LEDs that are individually driven by MIDI.
Part of the “fun” is learning a bit of electronics and a bit of programming to realize your project.
No Fear! It’s all about making dreams come true.
Have Fun,
LyleHaze