Sample M4A audio files for testing, free, CC0 and hotlinkable
This is a sample M4A file: AAC audio in an MP4 container, free to hotlink or download.
https://loremfile.dev/m4a/aac-30s.m4a · 486.9 KB (486,931 bytes) · audio/mp4 · 30 s · aac · 48 kHz · 2 channels
M4A is the file Apple devices produce and many streaming services deliver. Unlike a bare ADTS stream, the container carries an index of the audio, so players can seek and show a duration before reading the whole file.
m4a/aac-30s.m4a is a sine tone. The same kind of tone appears across the audio formats
here, which makes it easy to compare how one pipeline handles several containers and codecs.
m4a/aac-64k-44k-30s.m4a is the same kind of file at half the bitrate and at 44.1 kHz, for
code that must handle more than one sample rate or that estimates duration from bitrate.
Use them to test audio players and seeking, metadata readers, transcoders, and upload forms
that accept M4A. They also check MIME handling: they are served as audio/mp4, and code
that expects audio/x-m4a, or looks only at the extension, may reject it. Related formats:
AAC for the same codec without a container, and MP3.
| File | Size | Properties | Description |
|---|---|---|---|
aac-30s.m4a
|
486.9 KB (486,931 bytes) | 30 s, aac | A 440 Hz sine wave, thirty seconds, 48 kHz stereo AAC at 128 kbps in an MP4 container.
Snippets
|
aac-64k-44k-30s.m4a
|
247.1 KB (247,060 bytes) | 30 s, aac | Thirty seconds of a sine tone, 44.1 kHz stereo AAC at 64 kbps in an MP4 container: half the bitrate of m4a/aac-30s.m4a, at a different sample rate.
Snippets
|
Every M4A file in one command, each checked against its hash: npx loremfile get --format m4a, or loremfile get --format m4a after pip install loremfile.
Related formats
File names follow the naming grammar. Verify a download against sha256sums.txt.