Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/disoul/g7112pcm.js
decode G.711 to 16 bit PCM
https://github.com/disoul/g7112pcm.js
Last synced: 15 days ago
JSON representation
decode G.711 to 16 bit PCM
- Host: GitHub
- URL: https://github.com/disoul/g7112pcm.js
- Owner: disoul
- Created: 2019-04-02T09:40:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-02T09:54:40.000Z (almost 6 years ago)
- Last Synced: 2024-12-14T21:51:32.761Z (20 days ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# g7112pcm.js
decode G.711 buffer to 16 bit PCM`npm install g7112pcm`
```javascript
var decodeAlaw = require("g711pcm").decodeAlaw;
var decodeUlaw = require("g711pcm").decodeUlaw;const pcmData = decodeAlaw(Uint8Array(ALAW_BUFFER));
const pcmData = decodeUlaw(Uint8Array(ULAW_BUFFER));
```