The file with .amr extension is an audio data format relevant to Adaptive Multi-Rate audio codec; consists of a multi-rate narrowband speech codec which encodes narrowband signals at 4.75-12.2 kbit/s bit rate with toll quality speech starting at 7.4 kbit/s; uses link adaptation to select from one of eight different bit rates based.
AMR File Format
AMR file format uses many coding techniques, the ACELP (Algebraic Code Excited Linear Prediction) algorithm one of the best technique; designed for compressing human spoken audio in a more efficient way. The AMR was set as the standard voice or speech codec by 3GPP in 1999. The AMR file format is also used to store the spoken audio by using Adaptive Multi-Rate audio codec which is used by many smart phones to store recorded speeches.
File format structure
The AMR( Adaptive Multi-Rate ) is an audio format; widely used in various mobile applications and devices, typically in audio player/recorder or in VoIP kind of applications. AMR can be further classified as:
AMR-NB( NarrowBand )
AMR-WB( WideBand )
Usually, AMR refers to AMR-NB. The AMR file format has the following structure:
Each AMR file contains a 6-byte header that recognize the file as an AMR audio. This header is always set to:
This is usually simialr across all AMR-NB files. If the header following a standard, it is likely that the file is corrupted and should not be used. the AMR file consists of a whole number of packed frames of audio. These frames each compose 20ms of audio. Each frame can be encoded using any of the valid AMR-NB modes (0-7, 8 SID in DTX mode). Since, the frames can be encoded at different bit rates, this typical method is called Adaptive Multi-Rate(AMR).
Following are the different AMR modes and their corresponding bitrates:
AMR 4.75 - Encodes at 4.75kbit/s
AMR 5.15 - Encodes at 5.15kbit/s
AMR 5.9 - Encodes at 5.9kbit/s
AMR 6.7 - Encodes at 6.7kbit/s
AMR 7.4 - Encodes at 7.4kbit/s
AMR 7.95 - Encodes at 7.95kbit/s
AMR 10.2 - Encodes at 10.2kbit/s
AMR 12.2 - Encodes at 12.2kbit/s
Frame size of AMR modes in bytes (including the header byte) are given below: