Pages: [1]   Go Down
Author Topic: Frequency recognition with microphone  (Read 2501 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I try to implement a lighting console which should react to a analog microphone input with the arduino UNO. I would like it to change colors according to the pitch.
Is this even possible via the analog input? The only thing I can read is the volume.
The code should run on the arduino alone (without processing).
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 603
Posts: 33387
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

See this thread for a very recent discussion on this:-
http://arduino.cc/forum/index.php/topic,63275.0.html
Logged

UK
Offline Offline
Sr. Member
****
Karma: 4
Posts: 320
Arduino - very interesting !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

how easy would it be to get the arduino to flash an led and beep when it heard a sound of a certain (high) frequency ?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


I would use a PWM output to drive the led to indicate the volume level iso flashing.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

UK
Offline Offline
Sr. Member
****
Karma: 4
Posts: 320
Arduino - very interesting !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

how do you get an arduino to analyse sound ?

i saw the link to the software that displayed a graphic equaliser

do you have to record the sound and then split it into different frequencies

can it be done in real time ?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It is calleda fourier analyses - search for FFT  in the right upper - and you might find a lot of threads including - http://arduino.cc/forum/index.php/topic,56540.0.html -
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

UK
Offline Offline
Sr. Member
****
Karma: 4
Posts: 320
Arduino - very interesting !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ty  smiley
Logged

Pages: [1]   Go Up
Jump to: