Sample M4A Audio Files
M4A is audio in an MP4 container. It is what iTunes and Apple Music, the iPhone Voice Memos app and many Android phones save. Inside is usually AAC, less often lossless ALAC. Below are test files with the same music as our MP3 and WAV samples, plus the edge cases players stumble on. No license restrictions
Music and speech
Edge cases
🧠 How M4A Works
M4A is an ordinary MP4 with no video. The file is made of boxes (atom): ftyp says what kind of file it is, moov holds the index, that is the codec, the duration and where each chunk of audio sits, and mdat holds the compressed data itself. When moov comes first (faststart), audio starts playing right away. When it is at the end, the player first requests the end of the file, and without byte-range support playback will not start until the whole file has loaded