none
How to save microphone recording in mp3 format

    Question

  • 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;
                soundInstance.Play();

    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