From f39c218e5bac088009f629bdd97842f29a98aee5 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 9 Apr 2018 12:13:39 +0200 Subject: build --- client/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'client/index.js') diff --git a/client/index.js b/client/index.js index ca6b3d9..f2f72c0 100644 --- a/client/index.js +++ b/client/index.js @@ -22,11 +22,10 @@ const ws = w/s, hs = h/s let samplers = {} requestAudioContext( () => { + samplers['smash'] = new Sampler('samples/smash/g{}.mp3', 12) + // samplers['glass'] = new Sampler('samples/glass/0{}Particle.mp3', 90) }) -samplers['smash'] = new Sampler('samples/smash/g{}.mp3', 12) -// samplers['glass'] = new Sampler('samples/glass/0{}Particle.mp3', 90) - let last_index = 0 keys.listen(index => { index = Math.abs(index+10) -- cgit v1.2.3-70-g09d2