From f366a1798eaebd224ab59d3372151b706c5f38c1 Mon Sep 17 00:00:00 2001 From: garrett hickman <79604590+grhhhh@users.noreply.github.com> Date: Thu, 25 Jan 2024 02:12:07 -0800 Subject: [PATCH] Issue #112 Fix: Updates Noise Dur Slider value assignment (#113) * Updates slider min, max and step values. Removes parseInt. * Update step-sequencer/index.html Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> --------- Co-authored-by: Jean-Yves Perrier Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> --- step-sequencer/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/step-sequencer/index.html b/step-sequencer/index.html index c56d9ee..f4dd837 100644 --- a/step-sequencer/index.html +++ b/step-sequencer/index.html @@ -130,10 +130,10 @@

Noise

name="duration" id="duration" type="range" - min="0" - max="2" + min="0.25" + max="1" value="1" - step="0.1" + step="0.25" /> DTMF durControl.addEventListener( "input", (ev) => { - noiseDuration = parseInt(ev.target.value, 10); + noiseDuration = parseFloat(ev.target.value); }, false );