From fbc9a07c2508c38c2a4ad557b05921a86b6d64da Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sat, 20 Jul 2024 22:17:04 +0100 Subject: [PATCH] chore: fix wrong comment --- web/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/script.js b/web/script.js index 195e9c9..2448425 100644 --- a/web/script.js +++ b/web/script.js @@ -34,7 +34,7 @@ function pauseAudio() { } function fadeIn() { - // volume ranges from 0 to 1, this determines by how much the volume number + // volume ranges from 0 to 100, this determines by how much the volume number // should be incremented at every step of the fade in const volumeStep = 100 / (CROSSFADE_DURATION_MS / CROSSFADE_INTERVAL_MS); const handle = setInterval(() => { @@ -48,7 +48,7 @@ function fadeIn() { } function fadeOut() { - // volume ranges from 0 to 1, this determines by how much the volume number + // volume ranges from 0 to 100, this determines by how much the volume number // should be decremented at every step of the fade out const volumeStep = 100 / (CROSSFADE_DURATION_MS / CROSSFADE_INTERVAL_MS); const handle = setInterval(() => {