drummer

1.0.0 • Public • Published

drummer

Drum synth

Combining stuff from the super awesome Synthesising Drum Sounds with the Web Audio API and Synthesizing Hi-Hats with Web Audio to give you a little drum module.

Install

npm i drummer

Use

const drummer = require('..')()
const kick = drummer.kick
const snare = drummer.snare
const hihat = drummer.hihat
 
kick.hit(0)
hihat.hit(0)
hihat.hit(0.25)
 
kick.hit(0.5)
snare.hit(0.5)
hihat.hit(0.5)

Package Sidebar

Install

npm i drummer

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mk