kick-eight
v2.1.3
Published
`npm install --save kick-eight`
Downloads
4
Readme
##Usage
npm install --save kick-eight
var Kick8 = require('kick-eight');
// Initialize AudioContext
var context = new AudioContext();
// Initialize instrument
var kick = Kick8(context);
// Create clap audio node (one time use only)
var kickNode = kick();
// Connect to target node
kickNode.connect(context.destination);
// Start
kickNode.start(context.currentTime);