Audio Conversion using C#.Net [closed]
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this questionI want to build a simple Audio Converter (between major file formats) using C#.NET, so I need to know the bas开发者_StackOverflow社区ic steps to do so.
Thanks.
Step 1: find a good third-party component(s) that do(es) conversion between file formats.
Step 2: use this component in your app.
If your intent is to write all the raw conversion code yourself, get ready for some pain. The WAV file format (aka Linear PCM) is easy enough to deal with, as long as the file is just a header plus the sample data. Often, however, WAV files are a lot more complicated than this and require much more elaborate code to locate the various RIFF chunks and parse the file.
And that's just for a very straightforward file format that (usually) does not do any encoding of any sort. The MP3 format is vastly more complex, and requires a good knowledge of FFT (Fast Fourier Transform) and the like.
Update: Alvas.Audio is one third-party C# component that may do what you need. NAudio is another.
精彩评论