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

audiobuffer-slice

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audiobuffer-slice

Slice out a portion of an AudioBuffer.

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

audiobuffer-slice

Slice out a portion of an AudioBuffer.

NPM

Install

npm install audiobuffer-slice

Usage

See example directory for full example. Live example

var audioBufferSlice = require('audiobuffer-slice');

// audioBuffer slice from 10s to 15s; a 5 second (5000ms) slice.
audioBufferSlice(audioBuffer, 10000, 15000, function(error, slicedAudioBuffer) {
  if (error) {
    console.error(error);
  } else {
    source.buffer = slicedAudioBuffer;
  }
});

License

MIT

Keywords

audio

FAQs

Package last updated on 22 Jul 2017

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