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
Sound recognition (Read 4895 times)
Sound recognition
May 13th, 2009, 7:03am
 
Hi.  I want to have processing recognize when Im blowing into the microphone and when the sound has stopped and then to activate a command when this is happening.  Does anyone have any idea on how to accomplish this? thanks.
Re: Sound recognition
Reply #1 - May 15th, 2009, 1:05pm
 
Prowler had an interesting project with recording notes.
http://processing.org/discourse/yabb2/num_1208016366.html

Might be overkill for just having a sound/no sound test. Undecided
You could use Minim (or another sound library) to get the volume level from the mic.
Re: Sound recognition
Reply #2 - Dec 11th, 2009, 9:59am
 
Hi! Did you ever manage to read the blowing sound via your mic? I would  love to see your solution code as I am trying to do something similar and am so stuck!

Thx for your time!
Re: Sound recognition
Reply #3 - Jan 9th, 2010, 12:37pm
 
I have written a simple processing sketch that moves a small cloud across the screen when someone blows into the microphone (or makes any other noises Smiley)

the code is available here
http://www.local-guru.net/blog/2010/01/04/floating-processing-cloudes-with-minim
Re: Sound recognition
Reply #4 - Jun 8th, 2010, 9:21pm
 
Thanks, Guru.  Works like a charm for testing in both windows and linux.
Page Index Toggle Pages: 1