Coder Social home page Coder Social logo

opencore-amr-js's Introduction

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.

opencore-amr-js's People

Contributors

flameeyes avatar lrn avatar mstorsjo avatar mykmelez avatar yxl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencore-amr-js's Issues

opencore-amr-js该项目是否已经停止维护?

你好,作者,很感谢作者编译出来的JS版本供我们使用,目前发现在项目中仅支持amr-nb格式的解密,想咨询一下作者关于amr-wb格式的如何编解码,有看到他人文章说官方版是包含amr-wb格式的解码,请问作者是否有继续维护此项目的计划?

process.argv[1] is undefined when ENVIRONMENT_IS_NODE

Using this lib in nw.js where it is node env but the process.argv[1] is undefined, causing an Error:

Uncaught TypeError: Cannot read property 'replace' of undefined
// hack to fix bug and it works
// Module["thisProgram"] = process["argv"][1].replace(/\\/g, "/");
Module["thisProgram"] = process["argv"][1] && process["argv"][1].replace(/\\/g, "/");

Any idea? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.