Convert different formats to uncompressed audio c#
Just wondering if anyone can recommend a .NET library that converts aud开发者_如何学编程io formats to uncompressed in C#? If there is no .NET library a C library will work as well. I am writing an application that requires an uncompressed audio sample.
Thanks for your help, Ben
Here are some examples of how to use C# libraries to convert audio from one format to another:
http://www.codeproject.com/KB/audio-video/Aumplib.aspx
http://www.alvas.net/alvas.audio.aspx
Change Audio Format in C#
How to convert compressed sound stream to PCM uncompressed stream in .NET
DsReader dr = new DsReader("sample.amr");
IntPtr formatPcm = dr.ReadFormat();
byte[] dataPcm = dr.ReadData();
dr.Close();
精彩评论