Sample Opus audio files for testing, free, CC0 and hotlinkable
This is a sample Opus file: stereo Opus audio in an Ogg container, free to hotlink or download.
https://loremfile.dev/opus/30s.opus · 431.6 KB (431,592 bytes) · audio/opus · 30.006 s · opus · 48 kHz · 2 channels
Opus is the royalty-free audio codec the IETF standardised in RFC 6716, and the one browsers,
WebRTC and voice applications settled on. A .opus file is Opus inside an Ogg container, as
RFC 7845 specifies. opus/30s.opus is a sine tone, and the same kind of tone appears across
the other audio formats here, so one pipeline can be compared across codecs.
One gotcha is built into the format: Opus decoders produce 48 kHz output, and tools report 48 kHz whatever rate the source had. The original rate survives only as an informational header field. Code that expects the source rate back, or that assumes 44.1 kHz, gets this file wrong in a way a quick listen will not reveal.
opus/cbr-32k-30s.opus is encoded at a constant 32 kbps. Opus varies its rate by default,
and on a pure tone it overshoots: opus/30s.opus averages 114 kbps. A fixed rate is the case
for code that limits, budgets or transcodes by bitrate.
Use them to test browser playback, transcoders, waveform renderers, audio upload forms and
handling of the audio/opus media type. They also check that code reads the codec from
the stream: an Ogg file can carry Opus, Vorbis or FLAC. Related formats: Ogg Vorbis,
MP3 and M4A.
| File | Size | Properties | Description |
|---|---|---|---|
30s.opus
|
431.6 KB (431,592 bytes) | 30.006 s, opus | A 440 Hz sine wave, thirty seconds, variable-rate stereo Opus averaging 114 kbps.
Snippets
|
cbr-32k-30s.opus
|
122.5 KB (122,539 bytes) | 30.006 s, opus | Thirty seconds of a sine tone, stereo Opus encoded at a constant 32 kbps, for code that reads, limits or transcodes by bitrate.
Snippets
|
Every Opus file in one command, each checked against its hash: npx loremfile get --format opus, or loremfile get --format opus after pip install loremfile.
Related formats
File names follow the naming grammar. Verify a download against sha256sums.txt.