chore(HTML): 更新 audio-visualization 部分页面,扩展频谱高频范围

This commit is contained in:
2026-07-05 14:56:46 +08:00
parent 914f76b0b9
commit a022916e7a
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ function drawGrid(time) {
function drawSkyline() {
if (!freqArray) return;
const binCount = analyser.frequencyBinCount;
const usable = Math.floor(binCount * 0.6);
const usable = binCount; // 覆盖全部频段,保留高频
const barCount = 80;
const barW = W / barCount;
const baseY = H * 0.9;