diff --git a/js/media/index.js b/js/media/index.js index 3342b214..22e62866 100644 --- a/js/media/index.js +++ b/js/media/index.js @@ -55,10 +55,11 @@ export default class Media { // Create the analyser node for the visualizer this._analyser = this._context.createAnalyser(); this._analyser.fftSize = 2048; - // TODO: Tune these to something that looks like Winamp - this._analyser.minDecibels = -90; - this._analyser.maxDecibels = -10; - this._analyser.smoothingTimeConstant = 0.8; + // Tuned by @The1Freeman to resemble Winamp 2.9x. + // https://github.com/captbaritone/webamp/pull/613 + this._analyser.minDecibels = -64; + this._analyser.maxDecibels = 0; + this._analyser.smoothingTimeConstant = 0.25; // Create the gain node for the volume control this._gainNode = this._context.createGain();