You need to constantly check whether the person is speaking into the microphone or not. If he says, then write it to a file, as soon as he stopped talking - stop recording. What library should I use to check and record from microphone on c ++?
2 answers
Depends on the operating system. Speak more specifically - I want to write for such and such an operating system in such and such an environment. See more SO
- Windows Visual C ++ 2010 - Mr-Al
- oneWell, for example, then [sic] [1] or [sic] [2] [1]: codeproject.com/Articles/3566/DirectX-Capture-Class-Library [2]: codeproject.com/Articles/31541/… - gecube
|
There is an example of sound recording through MCI for Builder, it only needs to be slightly adapted for Visual C ++:
|