|
-
January 5th, 2010, 01:10 PM
#1
Detecting peaks in realtime from a microphone
Hi to all.
I start by apologizing for my newbyosity in this field of c++, that is audio tracks. I understand, however, the principles behind sampling and sound recording issues in a computer.
I put in open terms. I am developing a software that needs to be able to detect when the microphone input sound reaches a certain level.
I see the API native functions for the waveforms, like waveIn..., waveOut... and so on, but I don't know what to choice to get sound in input in realtime.
The problem is not so difficult, if I could access the values of incoming samples, even one each X samples, and compare it with a percentage of the maximum value allowing by input device dynamics. The fact is, I don't know how to do, and if it is possible with the waveform functions I named.
Sorry for the problem-specific question, I appreciate any help.
Thanks in advance. Oh, and happy 2010!!!
- Buzzyous -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|