Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 421 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 421 Bytes

PC Drum - Snare Drum

Module for PC Drum.

Install

npm install pcdrum-snare

Usage

var snare = require('pcdrum-snare'),
    context = new AudioContext(),
    sn = snare(context,
              {freq: 550,
               attack: 0.001,
               decay: 0.05,
               sustain: 0,
               release: 0.1
              })
;

sn.trigger();

License

See LICENSE