
Paul Sobczak got an LED to light up when a certain sound frequency is reached, using an Arduino and laptop running Pure Data.

Paul Sobczak got an LED to light up when a certain sound frequency is reached, using an Arduino and laptop running Pure Data.
The video says “Pure Data running on an Arduino”, which is not quite correct. Hunting down clues I found Pduino (http://www.arduino.cc/playground/Interfacing/PD) which seems to be a combo of the SimpleMessageSystem which actually runs on arduino, and PD patches. PD itself runs on the host computer.
Following the Pduino links hit several dead ends – looks like dev died off last decade….
Hans-Christoph Steiner’s Pduino site server doesnt respond. SimpleMessageSystem is replaced by Messenger, which is replaced by CmdMessenger, according to the Arduino Playground pages.
Drat. looked like an interesting giant to stand on.
Yea, it’s Pduino running the communication. You can run Pure Data on embedded linux, see PDA (Pure Datat Anywhere) if your are interested in that. You can download the code, I posted it in the comments of the Vimeo post.
Found your code, but alas pduino site (http://at.or.at/hans/pd/objects.html) does not respond.
Perhaps a revision using CmdMessenger or alternative on the embedded micro.
Yes that is strange I was at Hans’s site on last wednesday to find the code. I can upload the Pduino-0.5beta8.zip once I get to my other computer.
http://puredata.info/search?SearchableText=pduino There are a few versions of Pduino there.
Here is a mirror of the Pduino 0.5beta8.zip that I used
http://themountainfold.code.s3.amazonaws.com/arduinoPD/Pduino-0.5beta8.zip
Why not just use an op-amp as a high pass filter and than trigger the LED?
That was the kind of the idea behind it, but I wanted to realize it first using FFT stuff so I could have the capability to do more than just one output.
I would need to use a bandpass filter, not just a highpass filter as I was selecting a specific range, and indeed that is what I have done in the PD sketch, using the bp~ module (or whatever they call it in PD) with a really High Q to narrow down the pass band.
With analog you would need to do a bandpass filter for each output, with PD I can expand this to control more than one without increasing component cost. As I mentioned below you can run PD on an embedded linux environment, that would open up some doors to keeping the cost down, and most embedded linux boards have I/0 so you wouldn’t need an Arduino. I think the Beagle board is around 150 so it would be kind of neat. Anyways this was just a proof of concept, I am sure there are cleaner ways to do it in PD as well but it’s kind of neat to fool around with these things.
here is the source code: http://themountainfold.code.s3.amazonaws.com/arduinoPD/arduinoPDFreqLED.pd
here is the source code: http://themountainfold.code.s3.amazonaws.com/arduinoPD/arduinoPDFreqLED.pd
// What's Trending
Raspberry Pi Design Contest
Maker Faire: Day Two
Seventeen Sneaky Secret Hides
10 Things to Connect to Your Raspberry Pi
Maker Faire: Day One
47 Raspberry Pi Projects to Inspire Your Next Build
I Have a (Puzzling) Dream
Controlling 5 Servos With a Raspberry Pi
// What's Shared
A better way to slice a pumpkin
DIY Nerf Darts
In the Maker Shed: Minty Boost USB Charger
100 Dollar Store Organization Ideas for Craft Rooms and Beyond
Mad’s Mouse House
Lace Princess Crowns
I Have a (Puzzling) Dream
Play the Rings of a Tree Trunk Like a Record
// Most Commented
DIY Hacks & How To’s: Get Emergency Power from a Phone Line
Resin Casting: Going from CAD to Engineering-Grade Plastic Parts
Ten Tips for Screws and Screwdrivers
Ten Tips for Better Measurement
Makers on TV: Big Brain Theory
Arduino Announces New Wireless Linux Board
Pitches with Prototypes: Solar Tracker
Tool Review: BioLite CampStove
Trending Topics
Get our Newsletters
About Maker Media
Subscribe
to MAKE!
Get the print and digital versions when you subscribe