Click here to Skip to main content
15,942,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I'm trying since some time, to recognize the frequency of a sound, I mean, I want to make a sound with the system horn of my PC, and I want to create a software that can recognize the frequency of that sound. If someone knows something about this theme, please help me...

my mail is [email address removed to protect user]

Updated 7-Feb-12 11:37am
Sergey Alexandrovich Kryukov 7-Feb-12 16:48pm    
Seriously? What's a "horn"? A horn, not a sound card + speakers? :-)
DaveyM69 7-Feb-12 17:39pm    
Don't post your email address to a public board such as this unless you love spam!
You will receive an email notification if anyone posts a solution or comment, which will then be here for all to benifit from and not just in your email inbox.

In the case of general-case complicated sound, this problem is very difficult, in a very general case practically unresolvable. However, if this is a prolonged beep with some dominated frequency (or small number of fixed frequencies), this is a relatively simple thing.

You should understand this very well:[^],[^],[^],[^].

You can find the whole set of relevant techniques in this CodeProject article:
FFT Guitar Tuner[^].

Share this answer
Yes, the general idea is that i can generate the sound I want with the frequency I want with the horn of the system. I know that is really old and may be is not the best solution, but this is just a way to generate the sound with the frequency I need, the real problem I have is to recognize the sound and its frequency.

pd: Sorry, my English is not so good
Share this answer
For generating the tone you can use Console.Beep[^].
Share this answer

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