From a46be8ed0a4390220a34461b6cbfe448c134b1f9 Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 8 Jul 2026 17:28:44 +0200 Subject: [PATCH] mix linear/logarithmic frequency mapping (see "blend") --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index b6ebb70..e94c2d1 100644 --- a/index.html +++ b/index.html @@ -457,7 +457,7 @@ function drawSpectrum() { const barMags = new Float32Array(NUM_BARS); const minFreq = 20; const maxFreq = 19000; - const blend = 0.4; + const blend = 0.6; for (let b = 0; b < NUM_BARS; b++) { const lowFreq = minFreq * Math.pow(maxFreq / minFreq, b / NUM_BARS); const highFreq = minFreq * Math.pow(maxFreq / minFreq, (b + 1) / NUM_BARS);