mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Tune EQ analyser node. Fixes #613
This commit is contained in:
parent
cf1b4082bc
commit
52d1d2af93
1 changed files with 5 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue