diff --git a/index.html b/index.html index f37ca3a..f741d3c 100644 --- a/index.html +++ b/index.html @@ -549,7 +549,7 @@ function drawSpectrum() { } else if (peakHoldCounters[i] < peakHoldGrace) { peakHoldCounters[i]++; } else { - peakData[i] = 0; + peakData[i] *= peakDecay; } } ctx.fillStyle = '#e27878';