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

Creating .mp3 file from .Wav file

Jan 8, 2014 at 9:53 PM

Does NAudio provide an easy way to perform .wav file to .mp3 file creation similar to this ( .mp3 to .wav) code snippet
        Mp3FileReader reader = new Mp3FileReader(iPath);
        WaveFileWriter.CreateWaveFile(oPath, reader);
Incidentally, I would use compression specs identical to the file I read from in snippet.

many thanks.............
Jan 9, 2014 at 1:37 PM
With the MediaFoundationEncoder in Windows 8 you can convert to MP3.
Otherwise, you could use Corey's Lame wrapper

Jan 11, 2014 at 6:02 AM
Thank you, good to know.