From 9d825350246c21f837a468e1df15a0c101cbd0c9 Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 8 Jul 2026 17:21:30 +0200 Subject: [PATCH] Increase analyzer/VU meter bands (32) --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 18d8a13..3adeb06 100644 --- a/index.html +++ b/index.html @@ -453,7 +453,7 @@ function drawSpectrum() { } const sampleRate = audioCtx.sampleRate; const maxBin = Math.min(binCount, Math.floor(19000 * fftSize / sampleRate)); - const NUM_BARS = 24; + const NUM_BARS = 32; const barMags = new Float32Array(NUM_BARS); for (let b = 0; b < NUM_BARS; b++) { const start = 1 + Math.floor(b * (maxBin - 1) / NUM_BARS); @@ -520,7 +520,7 @@ function drawSpectrum() { const rowH = 6; const gap = 4; const labelW = 12; - const segCount = 22; + const segCount = 32; const segArea = vw - labelW - segCount; const segW = segArea / segCount; const segG = 1;