New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vorbis.js

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vorbis.js

A Vorbis audio decoder for aurora.js ported using emscripten

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vorbis.js

A Vorbis audio decoder for aurora.js, ported using Emscripten.

Browser usage

You can either use Browserify to build your project using the Node module system, or download standalone versions of aurora.js, ogg.js, and vorbis.js to include as <script> tags on your HTML page.

See the Aurora.js docs for details on using Aurora.js.

Node usage

Install using npm:

npm install av vorbis.js

Register codecs and play a file:

var AV = require('av');
require('vorbis.js'); // and any other codecs you want...

AV.Player.fromFile('filename.ogg').play();

In node, requiring vorbis.js automatically loads the ogg.js demuxer.

See the Aurora.js docs for more details.

Building from source

  1. Install Emscripten.
  2. Clone git submodules
  3. Run npm install to install dependencies
  4. Run make libvorbis 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.
  5. Run make browser to generate a browser version of vorbis.js, or use browserify to build your application.

License

libvorbis is available under its original license, and the JavaScript and C wrapper code in this repo for Aurora.js is licensed under MIT.

Keywords

FAQs

Package last updated on 20 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc