These samples demonstrate the quality achievable with Opus. They are have been encoded with Opus and then decoded back to wav so that any browser can play them. The bitrates indicated are target bitrates, i.e. the average that would be achieved on a large audio collection.
The following example demonstrates what happens when gradually varying the bitrate from 8 kb/s to 64 kb/s. It's an extreme example, but it shows how Opus can change bandwidth and bitrate seamlessly without any glitch. In practical applications, bitrate changes are expected to occur much more slowly.
Example of use in a web page
Opus works with the <audio> element just like vorbis.
For example, this code in a web page:
<audio src="ehren-paper_lights-96.opus" controls>
displays an embedded player that can play an Opus file.
Paper Lights by Ehren Starks, encoded at 96 kb/s
Playback should work in Firefox of Chrome.
Live HTTP streamsThese streams can be played in using Firefox (version 15 or higher), foobar2000, Gstreamer/Totem (in Linux), or using opusdec from the command-line.
|Hypnotic torture clock
|A rhythmic electronic chant of the current time. Prolonged exposure to this Temporal Fugue is not recommended. The stream is synthesized in real-time using boodler and encoded using opusenc and streamed using oggfwd and icecast.|
|A simulation of an FM3 Buddha Machine, this stream produces an endless stream of peaceful droning. The stream is synthesized in real-time using boodler and encoded using opusenc and streamed using oggfwd and icecast.|