Skip to content
forked from audiocogs/ogg.js

libogg, libvorbis, and libopus compiled to JavaScript with Emscripten for Aurora.js

Notifications You must be signed in to change notification settings

bradisbell/ogg.js

 
 

Repository files navigation

ogg.js

libogg, libvorbis, and libopus compiled to JavaScript with Emscripten for Aurora.js.

Building

  1. Install Emscripten.
  2. Clone git submodules
  3. Run compileOgg.sh to configure and build libogg and the C wrapper. Run this again whenever you make changes to the C wrapper or a new version of libogg is released.
  4. Install importer with npm install importer -g.
  5. Run importer src/ogg.js build/ogg.js to generate a JavaScript file with libogg and the Aurora.js wrapper, or to run a development server use importer src/ogg.js -p 5000 for example.

The steps to build libvorbis and libopus are the same, just using their respective compilation scripts and modified importer filenames.

License

libogg, libvorbis, and libopus are available under their respective licenses, and the JavaScript and C wrapper code in this repo for Aurora.js is licensed under MIT.

About

libogg, libvorbis, and libopus compiled to JavaScript with Emscripten for Aurora.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published