Converting AMR files to WAVE format can be useful when, for example, audio files have been retrieved from a mobile phone. The licensing of the format and more specifically of the AMR codec is not at all clear, so its use is not recommended.
In addition, it is generally impossible to rework a sound directly in this format. Most, if not all, software does not support the AMR format.
Therefore, I describe here the procedure to perform this conversion.
Prerequisites
A version of MPlayer compiled with support for AMR NB (Narrow Band) and AMR WB (Wide Band).
Procedure
mplayer input.amr -ao pcm:file=output.wav
Compilation of MPlayer with AMR Support
If you don’t have a version of MPlayer with AMR support, you will have to get and compile the AMR NB and AMR WB libraries and MPlayer yourself.
To compile a version of mplayer compatible with AMR NB and AMR WB, the short procedure below should give you a start.
- Retrieving the AMR NB and AMR WB libraries 1
- Compilation of AMR NB and AMR WB libraries
- Get the source code of MPlayer 2. Choose the source package snapshot.
- Compilation of MPlayer