0.0.1 • Published 8 years ago

pcdrum-seq v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

PC Drum - Sequencer

Module for PC Drum.

Install

npm install pcdrum-seq

Usage

var seq = require('pcdrum-seq'),
    kick = require('pcdrum-kick'),
    snare = require('pcdrum-snare'),
    e = require('bjork'),
    context = new AudioContext(),
    bd = kick(context),
    sn = snare(context),
    s
    ;

s = new seq(120, 16);
s.attach({bd: bd, sn: sn});
s.pattern({bd: e(4,16), sn: e(2,16)});
s.start();

License

See LICENSE