Detect a specific frequency tone

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2008
Posts: 173
Reputation: Lukezzz is an unknown quantity at this point 
Solved Threads: 1
Lukezzz Lukezzz is offline Offline
Junior Poster

Detect a specific frequency tone

 
0
  #1
Nov 25th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 977
Reputation: MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice 
Solved Threads: 92
MosaicFuneral's Avatar
MosaicFuneral MosaicFuneral is offline Offline
Posting Shark

Re: Detect a specific frequency tone

 
0
  #2
Nov 25th, 2008
What type of input, and what sort of format is it in?
"Jedenfalls bin ich überzeugt, daß der Alte nicht würfelt."
"I became very sensitive to what will happen to all this and all of us." -Two geniuses named Albert
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,511
Reputation: Ezzaral has a brilliant future Ezzaral has a brilliant future Ezzaral has a brilliant future Ezzaral has a brilliant future Ezzaral has a brilliant future Ezzaral has a brilliant future Ezzaral has a brilliant future Ezzaral has a brilliant future Ezzaral has a brilliant future Ezzaral has a brilliant future Ezzaral has a brilliant future 
Solved Threads: 522
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: Detect a specific frequency tone

 
0
  #3
Nov 25th, 2008
An FFT would isolate it very easily. There a a lot of implementations already available in C++.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 173
Reputation: Lukezzz is an unknown quantity at this point 
Solved Threads: 1
Lukezzz Lukezzz is offline Offline
Junior Poster

Re: Detect a specific frequency tone

 
0
  #4
Nov 25th, 2008
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.


Originally Posted by Ezzaral View Post
An FFT would isolate it very easily. There a a lot of implementations already available in C++.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum


Views: 424 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC