Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

g7112pcm

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

g7112pcm

decode g.711 to 16 bit pcm

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

g7112pcm.js

decode G.711 buffer to 16 bit PCM

npm install g7112pcm

var decodeAlaw = require("g711pcm").decodeAlaw;
var decodeUlaw = require("g711pcm").decodeUlaw;

const pcmData = decodeAlaw(Uint8Array(ALAW_BUFFER));
const pcmData = decodeUlaw(Uint8Array(ULAW_BUFFER));

FAQs

Package last updated on 02 Apr 2019

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