Thursday 12 July 2007

Musical interfaces

We have MIDI!After a good deal of poking and prodding, I got my Arduino board to speak MIDI! The current program reads a potentiometer and sends pitch bend messages down the pipe.

Had a bit of worry when it just sat there doing nothing, but it turned out that I just had the signal and +5V leads reversed. Bonus: if your computer isn’t talking to it via USB, it’s just fine with being plugged into USB and MIDI at the same time. Makes for much, much easier programming.

Invaluable resources in this effort: circuits and code from Tom Igoe, of the Interactive Telecommunications Program at NYU, and Sebastian Tomczak’s blog little-scale, which includes news of his Arduino / MIDI projects.


The more I think over that guitar string ribbon controller idea, the less it strikes me as a permanent solution. I like that it’s quick and cheap, but it’s going to rub the oxide off the tape (or whatever I use as a resistance). So the design will have to take replacement of the tape into consideration. The guitar string method may be useful for building multiple controls - I’d love to have something you could play like the fingerboard of a bass. No rush there, though.

A capacitive position sensor would be a better alternative - that’s what computer touchpads / trackpads use, and among other advantages, they can be placed inside a case so you never have to touch the actual sensor element. Durable is good, especially where musical instruments are concerned. And they generally feature serial output, which I can feed to the Arduino.

Cirque make some promising-looking devices, including some standalone models. Of course, most of the ones I’m interested in are OEM and hard to come by for someone who’s not designing laptops for a manufacturer.

But why buy new when they’re going for scrap all over? A quick search on eBay turns up masses of laptop frames - just the panel that goes around the keyboard, and including the touchpad. I’ll have to hit some local surplus and computer stores too.

Code and sounds to come.

Shortcut URL

Comments

This is test-spam message, if you want stop spam on your site - just email me: [address deleted] and your site will be immediately removed from spam-base.

[random bunch of links deleted]

Posted by Alex on 12 July 2007 at 03:49 AM

Wow.  I’ll remember that.  If a device I connect to my Mac doesn’t work, I’ll swap the leads… oh wait.  that will not end well.

might explain why my blackberry no longer works, though.  ;)

Posted by sean howard on 12 July 2007 at 05:13 AM

Wow, that was like a protection racket! “Ooops! Sorry ‘bout yer window gettin’ smashed. Gimme $100 a week an’ I’ll make sure nobody smashes it again. We wouldn’t want anything BAD to happen…”

Sadly, tricky-electrical-MIDI is over my head, but I look forward to hearing what comes out of this voodoo!

Posted by Muffy St. Bernard on 12 July 2007 at 03:45 PM

Perry would probably be the guy to check with for DIY electronic music! But until now I thought he was just a credit on a record jacket, not a real human.

Odd Philler Moment of the Month: I was chatting with Steve Hutton, the writer/producer/director of a short film project I’m involved with. We talked about film scripts, then I mentioned radio plays, he mentioned CKMS, we both said “WOW!” and it turns out he was part of the Jim Gardener (?) group years ago. He wasn’t involved with “Percy Pulsar,” he came in near the end. He remembers Bill Wharrie, surprise.

Posted by Muffy St. Bernard on 13 July 2007 at 07:41 PM

So i am wondering; does anyone know how to get the Arduino to receive MIDI messages? I have been trying this without much luck.

Anyway, good work; Arduino + MIDI = cool!

Posted by sebastian tomczak on 18 July 2007 at 10:18 AM

Sebastian: I’ll be trying that out this week - got to make a parts run for opto-isolators and other ICs. Thanks for posting your lab notes!

Posted by Eli McIlveen on 18 July 2007 at 05:35 PM
Page 1 of 1 pages

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?

Next entry: Arduino 7-segment output

Previous entry: Two new toys