Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

scrapjs/audio-slice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

audio-slice Build Status stable

Slice input audio stream to the duration, i. e. sound after N seconds will not be played and stream will end. Useful to force input stream to end.

Usage

npm install audio-slice

var Sine = require('audio-oscillator/sine');
var Slice = require('audio-slice');
var Speaker = require('audio-speaker');

Generator().pipe(Slice(2)).pipe(Speaker());

About

Slice audio stream to some duration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published