Click here to Skip to main content
16,012,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am looking for a way(code example) to be able to get the microphone input frequency(hertz) almost in real time(timer maybe?) and show it in a label.text. Can be in VB.NET or C#.
Now I have get the sound array by wavein ,but i don't know how to calculate the frequency by fft?
The sound array like this {120,121,132,114,186,220,112,113,121..},
After i get the frequency how to determine the sound source is a man or woman?
Functional exemple:
Somebody say something in the microphone,and determine the sound frequency the lable show "man" or "women" is saying.
Thanks in advance!
Posted

1 solution

gmajkun,

Have a look at this article. i think it will solve your problem
Sound Activated Recorder with Spectrogram in C#[^]

Enjoy programming
-Satya182
 
Share this answer
 
Comments
gmajkun 22-Dec-10 21:11pm    
Thx very much.But i have seen this before,and it is not calculated the frequency of the results I want. It get its max/min frequency. i just need get the real-time frequency like this 120HZ.
yashna0107 19-Aug-20 15:43pm    
Hello, were you able to solve this? If so, then how?
Member 13301275 1-Aug-17 13:48pm    
hi

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900