markheath wrote:
Yes, you can use NAudio to do most of this. The AudioFileReader class will read the MP3 file. Then use FadeInOutSampleProvider to perform the fade. Then you would convert to WAV file using WaveFileWriter and SampleToWaveProvider16. Finally, you'd need to use something like LAME.exe to re-encode as MP3
Mark
Hi Mark,
Which version of release have the APIs you pointed out? I am reading NAudio v1.5 release. But I couldn't find
. FadeInOutSampleProvider
. SampleToWaveProvider16 (Is it NAudio.Wave.WaveProvider16?)
As both wav and mp3 are from WaveStream, can I use WaveFormatConversionStream to convert wav to mp3? I like to stick to NAudio only if possible.
Thanks!
Valimo