Audio sample files
MP3, WAV, FLAC and M4A audio files of known duration for testing playback, upload and transcoding.
Formats in this category
| Format | What it is | Sizes |
|---|---|---|
| MP3 sample files.mp3 audio/mpeg | The most widely supported lossy audio format. | 100 KB to 10 MB |
| WAV sample files.wav audio/wav | Uncompressed audio. Large files with a simple, predictable structure. | 100 KB to 10 MB |
| FLAC sample files.flac audio/flac | Lossless compressed audio: every sample of the original is recovered exactly. | 100 KB to 5 MB |
| M4A sample files.m4a audio/mp4 | AAC audio in an MP4 container: the format of iTunes purchases and iPhone voice memos. | 100 KB to 5 MB |
About these files
Audio features need files whose duration, sample rate and bit rate are known in advance, so that what your application reports can be checked against the truth.
Every format carries the same short synthesised musical phrase, repeated: lossy as MP3 and M4A, lossless as WAV and FLAC. It was generated by code, so it carries no music licensing concerns.
Ready-made samples
Hand-designed files with realistic content or a specific edge case.
| File | Format | Size | Contents | Download |
|---|---|---|---|---|
| 440 Hz test tone WAV (3 seconds)sample-test-tone-440hz.wav | WAV | 258 KB264,644 bytes | 3.000 s | Download WAV |
| Sample MP3 audio, 10 secondssample-mp3-10-seconds.mp3 | MP3 | 156 KB160,207 bytes | 10.0 s | Download MP3 |
| Sample MP3 audio, 1 minutesample-mp3-1-minute.mp3 | MP3 | 938 KB960,177 bytes | 1 min 0 s | Download MP3 |
Popular downloads by size
Jump straight to a file. Every size is exact to the byte.
Or browse every format at one size: 100 KB, 200 KB, 500 KB, 1 MB, 2 MB, 5 MB, 10 MB.
What to test
- Web development
Placeholder images, media, data and documents for building and demonstrating web interfaces.
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.
- Mobile development
Files for testing uploads, downloads and previews in Android and iOS apps, including on slow networks.
Related categories
Audio files: questions
- Can I use the audio in a demo or product video?
- Yes. The audio is synthesised by our generator and is free to use.
Engineering test checklist for audio sample files
When designing automated integration suites for audio pipelines, QA engineers must validate three distinct layers: binary container framing, metadata extraction accuracy, and resource-bounded parsing under concurrent load.
| Verification layer | Target assertion for audio | Recommended test fixture or tool |
|---|---|---|
| 1. Signature & MIME check | Confirm backend inspects leading magic bytes rather than trusting the client Content-Type header for audio uploads | Magic-Byte File Inspector & Spoofed-Extension Fixtures |
| 2. Boundary byte sizes | Test minimum valid header size, 1 MB default proxy limit, 10 MB application ceiling, and 50 MB+ streaming transfers | Size Buckets (1 KB–1 GB) & In-Browser Generator |
| 3. Corrupt payload handling | Verify that truncated streams or malformed headers in audio return HTTP 400/422 instead of crashing the worker | Broken-File QA Suite & errors-400.json |
| 4. Checksum reproducibility | Assert that round-trip storage in cloud object storage preserves the exact byte length and SHA-256 digest | SHA-256 Checksum Directory |
Common failure points in audio ingestion workflows
- Buffering entire files in process memory: Node.js, Python, and Java services that read an entire uploaded audio fixture into a contiguous heap buffer before checking its header signature risk Out-Of-Memory (OOM) terminations when concurrent users upload 20 MB to 100 MB files. Read the first 4,096 bytes from the stream to validate magic bytes before streaming the body to object storage.
- Character encoding and metadata sanitization: Filenames and embedded metadata fields inside audio containers can contain precomposed (NFC) or decomposed (NFD) Unicode sequences, spaces, or missing extensions. Combine the format fixtures above with our edge-case filename samples and the A to Z Format Index to cover every parser branch.
- Cross-platform viewer and codec parity: A audio file that opens on a developer's macOS laptop may fail inside a minimal Alpine or Debian Linux container if required shared libraries or font tables are absent. Test parser behavior inside your exact production container image during CI using the copy-ready recipes on CLI & CI Automation.