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 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
For now, this only works with Firefox 15 or later.
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.|
Interactive DemosKRAD Radio is an open source audio/video mixing and streaming platform currently in active development.
(The latency is high due to buffering in the browser's audio tag and doesn't represent Opus' low latency.)