Question : Real-Time Audio Stream Capture And Manipulation Through Microphone

Hi all,

I am doing some research here.  But in most cases where you are capturing some sounds through a mic, you are writing them to a file.  I do NOT want to do that.

I want to be able to monitor a continuous audio "stream" (for lack off a better term) through the mic, do some analysis on it (for example, look at volume level and adjust the volume level, etc) , then give a modified "stream" back through the speaker(s)...and the important thing is that it's all done in real-time.  

It's worth mentioning that this is NOT for voice recognition...but the method of audio input seems similar.  We're not decoding a stream of spoken text or anything like that.

Does anyone have a method to do something like this?

Does anyone have a control(s) or lib(s) to do something like this?  

Does anyone have a reference link for more info on this topic?

Also, I'd like to do it in .NET...VB if at all possible.

Thanks!  

John

Answer : Real-Time Audio Stream Capture And Manipulation Through Microphone

John,
When I had to deal with sound capture I had borrowed code from the downloadable SDK
 form December 2005. There is a new one out there form December 2006 at
http://msdn.microsoft.com/directx/sdk/
If you download and insatll it on your computer, you will find folders similar to these:

C:\Program Files\Microsoft DirectX SDK (December 2005)\Samples\Managed\DirectSound
There are CaptureSound and PlaySound samples which show you the concept.
Unfortuately thei are in C#. Fine if you can read it, otherwise you may use a free internet c# to VB.Net converter. This is what I do in such cases.

Jack.net



Random Solutions  
 
programming4us programming4us