Sample AC3 audio
Two Dolby Digital files of 5 seconds: a 192 kbps stereo file made from our WAV sample and a 384 kbps 5.1 surround file with a different tone on each of the six channels, so you can hear which speaker is which. Free, no sign-up. Updated 28 November 2026.
What these files are
Two Dolby Digital files of 5 seconds: a 192 kbps stereo file made from our WAV sample and a 384 kbps 5.1 surround file with a different tone on each of the six channels, so you can hear which speaker is which.
Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.
About the format
AC-3, sold as Dolby Digital and standardised as ATSC A/52, is the audio format of DVDs, Blu-ray discs and many TV broadcasts. The stream is a series of frames, each starting with the sync word 0x0B77 and holding 1,536 samples per channel. It carries up to 5.1 channels: front left, centre, front right, two surrounds and a low-frequency effects channel. The 5.1 sample has C4 on front left, E4 on front right, G4 on the centre, a 55 Hz tone on the low-frequency channel, and C5 and E5 on the two surrounds.
These files open in VLC, MPV, Kodi, home-theatre receivers and FFmpeg. A web server should send them with the header Content-Type: audio/ac3; related extensions: .a52.
2 files to download
| File | Size | What it is |
|---|---|---|
| sample-5s.ac3 | 118 KB | 5 seconds, Dolby Digital (AC-3) 192 kbps, stereo duration s: 5.02; audio: ac3; sample rate: 44100; channels: stereo |
| sample-5s-5.1-surround.ac3 | 234 KB | 5 seconds, Dolby Digital 5.1, 384 kbps, 48 kHz: a different tone on each of the 6 channels (55 Hz on the LFE channel) duration s: 4.99; audio: ac3; sample rate: 48000; channels: 5.1 |
MIME type: audio/ac3. Total 352 KB.
Good for testing
- Surround-sound handling and channel mapping
- Home-theatre and media-server tests
- Down-mixing 5.1 to stereo
Check a file
ffmpeg -hide_banner -i sample-5s-5.1-surround.ac3 # ac3, 48000 Hz, 5.1
xxd -l 2 sample-5s.ac3 # 0b 77 is the AC-3 sync wordCompare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):
| File | SHA-256 |
|---|---|
| sample-5s.ac3 | 50138c6a78b7ff6661ed25f8b35a8bbced54a579a0cb4c4e04ee64164fa3a97d |
| sample-5s-5.1-surround.ac3 | 4604ffc15d35b23dfdfabfe92dd540c95115d9dcb204b1e66793a865b5b277fc |