From 5e1f469a09192b87eaecb34505b87a14b5568b79 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 12 Mar 2018 02:55:52 +0100 Subject: le preset --- client/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/index.js') diff --git a/client/index.js b/client/index.js index 5ad002e..809220d 100644 --- a/client/index.js +++ b/client/index.js @@ -27,8 +27,8 @@ let samplers = {} let sampler requestAudioContext( () => { - sampler = samplers.smash = new Sampler('samples/smash/g{}.mp3', 12) - // sampler = samplers.earth = new Sampler('samples/earth/earth{}.mp3', 20) + // sampler = samplers.smash = new Sampler('samples/smash/g{}.mp3', 12) + sampler = samplers.earth = new Sampler('samples/earth/earth{}.mp3', 20) // sampler = samplers.glass = new Sampler('samples/glass/0{}Particle.mp3', 20) // sampler = samplers.bong = new Sampler('samples/bong/bong{}.mp3', 10) // sampler = samplers.kalimba = new Sampler('samples/kalimba/380731__cabled-mess__sansula-08-c-raw.wav', 10) @@ -53,7 +53,7 @@ function redraw(){ draw.clear() } -// let last_lin_bins, last_sam +let last_lin_bins, last_sam let timeout function manipulate(x, y, pcm, spec){ if (timeout) return null -- cgit v1.2.3-70-g09d2