Opusenc.js
What is Opusenc.js?
Opusenc.js is a JavaScript port of the opusenc tool, which in turn is part of the opus-tools collection, created with Emscripten. To say it in simple words, one could download all the static files making up this page and running them offline in a modern browser. No server side processing is required. Together with the sound recording API of contemporary browsers, one can not only build powerful audio editing solutions but also sound recording tools.What is Opus and why is Opus great:
They are humble enough not to mention those fairly high compression rates while still preserving a superior audio quality.Opus is a totally open, royalty-free, highly versatile audio codec. Opus is unmatched for interactive speech and music transmission over the Internet, but is also intended for storage and streaming applications. It is standardized by the Internet Engineering Task Force (IETF) as RFC 6716 which incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.
opus-codec.org
Demo
Try Opusenc.js, right here, right now. Clicking run will prompt for a WAV, FLAC, OGG, AIFF, or RAW* file.
Browser support
In order to run Opusenc in a browser, there has to be support for a couple of HTML5 features.
JavaScript
PostMessage
WebWorkers
Blob constructor
WebAssembly (optional)
Additional command line switches
Run the demo
Borrow sample audio files
- Loading ...
Ways to give
Opusenc made your day?
- Setting up this project has been made possible through an Individual Engagement Grant by the Wikimedia Foundation. Donate to the Wikimedia Foundation or to Wikimedia Germany.
- The Mozilla Foundation supported the development of Emscripten and Opus. Donate to Mozilla.
- Xiph.org is hosting the Opus project's infrastructure and made their patents involved in Opus available so it can be used by everybody. Their developers were involved in the creation of Opus. Donate to Xiph.org.
- Microsoft and Skype provided developer resources and their SILK patents to the creation of Opus. Microsoft doesn't appear to accept donations but you can buy their Hard- and Software.
- Broadcom contributed a filter to Opus.
- GitHub hosts this site and the Opusenc.js code.
- Rillke ported Opusenc to JavaScript. Star, fork or watch the project on GitHub.