반응형
Bumpkit: A library for the Web Audio API
Bumpkit is a still-in-progress DAW-inspired library for the Web Audio API. It lets you create mixers, sampler instruments, and more.
Basics
Create a mixer with two tracks
var mixer = bumpkit.createMixer().addTrack().addTrack();
Create a new Sampler instrument and load an audio buffer
var sampler = bumpkit.createSampler().connect(mixer.tracks[0]);
bumpkit.loadBuffer('/audio/clap.mp3', function(buffer) {
sampler.buffer(buffer);
});
반응형
'프로그래밍 > Style & Design' 카테고리의 다른 글
[CSS] Flexy Boxes: A flexbox code generator and playground (0) | 2014.10.20 |
---|---|
[CSS] Koutu Swiss: A CSS framework for Stylus (0) | 2014.10.08 |
[CSS] CSS-Flip: A CSS BiDi flipper (0) | 2014.04.21 |
[CSS] Code Guide by @mdo: Standards for sustainable HTML and CSS (0) | 2014.03.19 |
[CSS] Fluidity: Making HTML 100% responsive (0) | 2014.03.17 |