2011-08-24 461 views

回答

9

感謝您的答案,我結束了使用NAudio與下面的代碼片段,瞧!一切都像一個魅力:

WaveFormat target = new WaveFormat(8000, 8 , 1); 
WaveStream stream =new WaveFileReader("c:\\test.wav"); 
WaveFormatConversionStream str = new WaveFormatConversionStream(target, stream); 
WaveFileWriter.CreateWaveFile("c:\\converted.wav", str);