Hi,
I'm trying to write a C++ app (as it needs to be intefrated into a bigger program late on) that will start recording from the microphone when the user clicks a button, stop when the user clicks a button, and then export this recording as a .wav file.
I have something similar written in C#(which I can post if you want), using SAPI 5.3, but unfortunately, their documentation doesn't really deal with C++.
What I'm looking for is a point in the right direction, a puch to get me going, or even to be told that I'm barking up the wrong tree completely.
Thanks,
Richard
Wav Recording in C++
Page 1 of 12 Replies - 474 Views - Last Post: 10 July 2009 - 01:14 AM
Replies To: Wav Recording in C++
#2
Re: Wav Recording in C++
Posted 09 July 2009 - 08:37 AM
This depends on your skill set and what you are willing to learn.
Sounds like you will eventually have to use one of the following: win32 API, MFC, Visual C++
Once you have figured those out for your base GUI then you can communicate with the microphone. Is the Microphone assumed to be already connected to the computer or do you need to have a driver for it? Are you creating the mirophone? If you are assuming that one is already on the computer then I am sure you can use the win32 API.
Start looking at those places to start and begin writting the code.
Sounds like you will eventually have to use one of the following: win32 API, MFC, Visual C++
Once you have figured those out for your base GUI then you can communicate with the microphone. Is the Microphone assumed to be already connected to the computer or do you need to have a driver for it? Are you creating the mirophone? If you are assuming that one is already on the computer then I am sure you can use the win32 API.
Start looking at those places to start and begin writting the code.
#3
Re: Wav Recording in C++
Posted 10 July 2009 - 01:14 AM
You don't need SAPI.
Just use Win32 MM (Multimedia) apis, see MSDN.
Just use Win32 MM (Multimedia) apis, see MSDN.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|