Skip to content

yxl/opencore-amr-js

Folders and files

NameName
Last commit message
Last commit date
Jul 14, 2014
Jul 14, 2014
Sep 9, 2015
Jul 12, 2012
Jan 30, 2012
Mar 18, 2011
May 23, 2012
Jul 12, 2012
Feb 20, 2012
Jun 18, 2009
Apr 5, 2011
Jun 18, 2009
Sep 9, 2015
Jul 12, 2012

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.