I’ve been sorta-kinda testing my peak-finding code in Processing (in Eclipse), which serves as the basis of my thesis idea: that detecting the sounds that cross the pre-set threshold and causing a change in the color of an object will be useful in personal and public health and life monitoring.
(That’s the short, simplified, mostly garbage explanation, anyway.)
And, of course, I’ve gone back to my usual method of bypassing Java and going straight to Max/MSP and Arduino to do the work for me. And, as usual, Tom Igoe has done a circuit to look for peaks in audio, and there’s a Max object to help detect spikes. The latter, called the Bonk~ object in Max (because all Max objects have to have cute names), works surpringly well. The help patch:
and it happily outputs all the useful info:
So I’m'a hash out a quick prototype of this to show in class, along with the physical circuit. It’s nice to be able to whip up quickie mockups of things, though I should probably get better about doing so in “respectable” programming languages.


Post a Comment