gain reduction to compensate for the signal split

otherwise the volume is doubled
This commit is contained in:
Yotam Mann 2014-09-20 21:18:20 -04:00
parent b4d2ad9bc7
commit 007c1f0bbd

View file

@ -70,6 +70,7 @@ function(Tone){
//connections
this.input.connect(this._mono, 0, 0);
this.input.connect(this._mono, 0, 1);
this.input.gain.value = this.dbToGain(-10);
this._mono.connect(this._split);
//dry wet connections
this._mono.connect(this.dryWet.dry);