| | |
Detect a specific frequency tone
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2008
Posts: 173
Reputation:
Solved Threads: 1
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.
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.
•
•
Join Date: Mar 2008
Posts: 173
Reputation:
Solved Threads: 1
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.
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.
•
•
•
•
An FFT would isolate it very easily. There a a lot of implementations already available in C++.
![]() |
Other Threads in the C++ Forum
- Previous Thread: Class declaration syntax error
- Next Thread: word count
| Thread Tools | Search this Thread |
api array beginner bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion count database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






