chore(HTML): 更新 audio-visualization 部分页面,扩展频谱高频范围
This commit is contained in:
@@ -494,7 +494,7 @@
|
||||
|
||||
// 模式0:频谱柱状图(居中对称 + 镜像)
|
||||
function drawSpectrum() {
|
||||
const barCount = bufferLength / 2;
|
||||
const barCount = bufferLength; // 使用全部频段 bin,保留高频
|
||||
const barWidth = (width * 0.8) / barCount;
|
||||
const gap = 2;
|
||||
const maxBarHeight = height * 0.35;
|
||||
|
||||
Reference in New Issue
Block a user