From 9d1c85fda7c78f094a164a1ef10c50ce7b8cd472 Mon Sep 17 00:00:00 2001 From: Halfdan Date: Sat, 27 Jan 2024 06:57:45 +0100 Subject: [PATCH] Refining --- static/js/main.js | 1 + static/js/modules/instruments/plucksynth.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/main.js b/static/js/main.js index 1451f3b..c3a7be7 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -176,6 +176,7 @@ const play = () => { }) socket.on('all_stop', () => { + channel.disconnect(pingpong) noise.stop() }) diff --git a/static/js/modules/instruments/plucksynth.js b/static/js/modules/instruments/plucksynth.js index 5ba89f0..1691191 100644 --- a/static/js/modules/instruments/plucksynth.js +++ b/static/js/modules/instruments/plucksynth.js @@ -1,5 +1,5 @@ export const plucksynth = new Tone.PluckSynth({ - volume : -3, + volume : 3, attackNoise : 1, resonance : 0.9 })