Converting Audio Data to Mpeg1 Layer2. Compressing it

Oct 7, 2010 at 8:36 PM

Hi,

using NAudio i am getting the data from microphone in DataAvailable event but how can i convert it to Mpeg1 Layer 2 format then compress it to  Mono 44.1Khz, bit rate 64KBits/s.

 

Thanks

shaileh

Coordinator
Oct 12, 2010 at 6:17 PM

NAudio cannot save in MP3 format. Have a look at voicerecorder.codeplex.com for an example of how to use NAudio to record audio and then use LAME.exe to convert it to MP3.

Mark