snare drum for baudio
var snare = require('snare-synth');
var d = snare();
return function (t) {
return d(t % (1/2));
};
Play it with baudio:
$ baudio example/snare.js
var snare = require('snare-synth')
Return a function d(t)
that plays a snare once when t
is small.
With npm do:
npm install snare-synth
MIT