Microphones used in VB.NET applications for recording
-
Wednesday, January 18, 2012 6:39 PM
I know how to use the basic winmm.dll for basic file recording when the controls are directly on a form.
I would like to incorporate the specifc controls on the hardware device to initiate the action. (Record, Stop, Play, Rewind, etc.) Where would I start?
We are currently using the Philips SpeechMike Classic 3210 but there are other devices that could be incorporated later.
Can someone push me in the right direction?
Is there a Windows SDK? A specific dll to trap these Windows msgs?
Thank you,
DB
- Edited by dddb Wednesday, January 18, 2012 6:40 PM
All Replies
-
Friday, January 20, 2012 9:26 AMModerator
Hi Dddb,
Welcome to the MSDN forum.
The .NET framework doesn’t provide any direct support for recording audio. However, we could use the open source NAudio project, which includes wrappers for a number of Windows audio recording APIs.
If you have more than one devices, you could use the WaveIn.DeviceCount and WaveIn.GetDeviceCapabilities to find out how many recording devices are present, and query for their name and number of supported channels.
You could find more information at:
http://channel9.msdn.com/coding4fun/articles/NET-Voice-Recorder
http://msdn.microsoft.com/en-us/library/ms709461.aspx
If I misunderstood anything, please feel free and let me know.
Best regards,
Shanks Zen
MSDN Community Support | Feedback to us
- Marked As Answer by Shanks ZenMicrosoft Contingent Staff, Moderator Thursday, February 02, 2012 5:14 AM

