removing warnings triggered in constructor

This commit is contained in:
Yotam Mann 2017-09-15 18:05:23 -04:00
parent 13fdf13f57
commit 25315eccc2

View file

@ -102,7 +102,7 @@ define(["Tone/core/Tone", "Tone/instrument/Instrument", "Tone/source/FMOscillato
"harmonicity" : options.harmonicity,
"modulationIndex" : options.modulationIndex
});
osc.connect(this._highpass).start(0);
osc.connect(this._highpass).start();
this._oscillators[i] = osc;
var mult = new Tone.Multiply(inharmRatios[i]);