Skip to content

yxl/opencore-amr-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencore-amr-js

AMR-NB Codec in Javascript. Ported opencore-amr master using emscripten. This project is inspired by amr.js.

Build under Ubuntu

Download and unzip portable emscripten SDK to a directory, say EMSDK_PORTABLE: http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html

Install and activate the emscripten SDK under EMSDK_PORTABLE:

./emsdk update
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
sudo apt-get install nodejs-legacy

Install automake and autoconf tools:

sudo apt-get install libtool automake autoconf

Run make under js directory of the project source code tree.

Build under Mac OS X

Install homebrew.

Download and unzip portable emscripten SDK to a directory, say EMSDK_PORTABLE: http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html

Install and activate the emscripten SDK under EMSDK_PORTABLE:

brew install cmake nodejs python
./emsdk update
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh

Install automake and autoconf tools:

brew install libtool automake autoconf

Run make under js directory of the project source code tree.

Demo

The demo file is js/demo.html and could also be accessed online from http://yxl.github.io/opencore-amr-js/.

Browser Compatibility

Firefox 30+

Chrome 39+

License

Released under the same lincense of Apache License V2.0 as the original project.