This project has moved and is read-only. For the latest updates, please go here.

record sound wavein/waveout

May 29, 2011 at 9:29 PM

I was sorry about the english (google translate), well I want to capture the sound that passes through the sound card (input / output) and save to a. wav file, I managed to capture with WaveIn Naudio


May 29, 2011 at 9:32 PM

Look at the NAudioDemo app source code that comes with NAudio. This shows you exactly how to do that.

For another example, look at which is also built using NAudio


May 29, 2011 at 9:58 PM

it's the same thing I can not save waveout, and I can not Execute is a bug

May 29, 2011 at 10:00 PM

what error message do you see? does it start recording?

May 29, 2011 at 10:07 PM

Error in this:


with the first I can record just wavein, but me I like to record wave discussion (wavein/waveout) in file .wav, record wave (micro+speaker) :(

May 29, 2011 at 10:13 PM

If you are able to download and run the source-code from Visual Studio, then we can find out what is causing the error.


May 29, 2011 at 10:33 PM

I think you did not understand my concern, my problem and how to record his WaveOut/waveInput same time, because I want to record all the conversations going on my use so I can monitor the quality of work. So I managed to record the sound from the mic, i like record sound speaker that matches the client (waveout) ...

May 29, 2011 at 10:42 PM

OK, this depends on your soundcard. You need a soundcard that supports a "what you hear" option. Have a look at the Record properties of the Windows mixer.  It can be done in WASAPI with loopback recording, although NAudio support for this is limited at the moment. See this article for more info:


May 29, 2011 at 11:07 PM

it is there another solution or another dll that can record sound because I look at the configuration of my sound card is off the record of waveoutput, so I think to find a dll or library ... I am very sorry ... :)


May 30, 2011 at 10:14 AM

If you can use WASAPI, maybe this will help: