How to save microphone recording in mp3 format


  • I am using microphone class to record audio and I can play recorded audio stream using the below code.

     SoundEffect sound = new SoundEffect(stream.ToArray(), microphone.SampleRate, AudioChannels.Mono);
                soundInstance = sound.CreateInstance();
                soundIsPlaying = true;

    I need to save this recording in .mp3 format. How can I do this? Please help.

    Tekriti Software

    Wednesday, January 16, 2013 6:29 PM

All replies