What is the algorithm to convert an mp3 file to a wav file?
Drag or upload MP3 files to the encoding queue. Select WAV from the Format and Presets drop-down list of the file in the queue. Choose the desired file or files in the queue panel and select Edit › Export Settings to adjust any settings. Start the queue to encode the MP3 and export your new WAV file.
What happens when you convert an MP3 to a WAV? Nothing. All of the sound of the mp3 will be there in the . wav file when you convert it as you are decompressing the mp3 to a lossless file - .
It's non-trivial to say the least. You could get an overview of the algorithm here:
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.26.5956&rep=rep1&type=pdf
But I would suggest using a library for your programming needs, for example:
http://www.ffmpeg.org/
As for the mp3 file, I can offer you mpg123 .net wrapper that is extremely easy to use - you will get the sample for reading the mp3, extracting PCM information from it (this is main part of WAV file - PCM data for the sound).
Please, go here:
http://sourceforge.net/projects/mpg123net/
and download sample code from here:
http://sourceforge.net/projects/mpg123net/files/
Ping me if you need more info/help on the subject.
As aac files are concerned, there is faad project here:
http://www.audiocoding.com/faad2.html
that enables you to do the same with the aac file. If you need .net wrapper, I'm about to put it on sourceforge also.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With