Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 611 Bytes

readme.markdown

File metadata and controls

44 lines (28 loc) · 611 Bytes

snare-synth

snare drum for baudio

Here's what it sounds like.

example

var snare = require('snare-synth');
var d = snare();

return function (t) {
  return d(t % (1/2));
};

Play it with baudio:

$ baudio example/snare.js

methods

var snare = require('snare-synth')

var d = snare()

Return a function d(t) that plays a snare once when t is small.

install

With npm do:

npm install snare-synth

license

MIT