943,959 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 586
  • C++ RSS
Nov 25th, 2008
0

Detect a specific frequency tone

Expand Post »
I have a general question. Is it possible to write a C++ program that can detect specific frequency tones, like 1 Mhz, 2Mhz 3Mhz etc...
Until now I have written standard code in C++ both native and mangaged and can manage the most components etc.. so I have a very good start.
Is this very different and could this be seen as much more difficult.
What could be my start to do this.

The goal is simply this: To detect a single frequence tone and then some simple code will execute.
Reputation Points: 10
Solved Threads: 1
Posting Whiz in Training
Lukezzz is offline Offline
268 posts
since Mar 2008
Nov 25th, 2008
0

Re: Detect a specific frequency tone

What type of input, and what sort of format is it in?
Reputation Points: 888
Solved Threads: 114
Nearly a Posting Virtuoso
MosaicFuneral is offline Offline
1,270 posts
since Nov 2008
Nov 25th, 2008
0

Re: Detect a specific frequency tone

An FFT would isolate it very easily. There a a lot of implementations already available in C++.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007
Nov 25th, 2008
0

Re: Detect a specific frequency tone

I would have a mp3 file on the computer that a program will access and play. The signal will be a single frequency tone.

I wonder if I need to output this signal trough the LineOut of the computer and then to LineIn again or is it possible to detect the sound directly internally.

I am reading about the FFT now. It seems quite difficult but are not sure yet.


Click to Expand / Collapse  Quote originally posted by Ezzaral ...
An FFT would isolate it very easily. There a a lot of implementations already available in C++.
Reputation Points: 10
Solved Threads: 1
Posting Whiz in Training
Lukezzz is offline Offline
268 posts
since Mar 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Class declaration syntax error
Next Thread in C++ Forum Timeline: word count





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC