This project has moved. For the latest updates, please go here.

Audio File as Mic Input

Feb 25, 2011 at 4:26 AM


Is there any way using NAudio I can send (play) an audio from a file as input for a mic?



Feb 25, 2011 at 10:19 AM

I'm not quite sure what you mean? NAudio can take microphone or file as an input, and send to speakers or file as an output?


Feb 28, 2011 at 5:43 AM

The scenario is

I am on a communicator call and I want to play a voice which I already recorded as an mp3 should be played through mic so that the user on the other end can hear it.

Here I can completely automate the cal using Lync API. record the call using N Audio , But to record  I should first send something through mic , :) right?

That's what am trying to do.




Feb 28, 2011 at 1:44 PM

you can't fake microphone input into a third party app with NAudio unfortunately. You would need a virtual device driver. Alternatively, perhaps the communicator API might let you send an audio file?


Mar 1, 2011 at 10:57 AM

Hi Mark,

Can you advice any feasible virtual drivers?

I tried one Virtual Audio Cable but I cannot find it usefull.


Mar 2, 2011 at 11:05 AM

I'm afraid I don't know of any