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 alters image (Read 1091 times)
Sound alters image
Apr 12th, 2010, 6:38am
 
Hello

I've been looking at various programs including Processing for a project.

I am looking to find a software package that allows the input from a microphone to alter the image currently displayed on screen.
So it should be able to analyze the volume of the sound on the microphone and display a different image depending on how loud the signal is.

Also it would be nice to find a program that could analyze the pitch of the sound and display a different image based on this.
For example:
0-440Hz = image 1
440Hz - 4000Hz = image 2
4000Hz - 16000Hz = image 3

Would processing be able to do this?
Any help much appreciated!
Cheers
Chris
Re: Sound alters image
Reply #1 - Apr 12th, 2010, 6:53am
 
Hi Chris,
             You could maybe look into  max/msp 5 or Pure Data for the audio side of things, then sending (networking) the outputted information to Processing for the visuals.
Re: Sound alters image
Reply #2 - Apr 12th, 2010, 7:11am
 
Processing can do that. Just have a look at the audio library.

Reference > Libraries

Minim, for instance, has what you need :
  • AudioInput: Mono and Stereo input monitoring
  • Provides an FFT class for doing spectrum analysis

Page Index Toggle Pages: 1