diff --git a/src/index.js b/src/index.js index 9211373..babdb5e 100644 --- a/src/index.js +++ b/src/index.js @@ -297,14 +297,13 @@ AudioEngine.prototype._getPitchRatio = function () { AudioEngine.prototype.setInstrument = function (instrumentNum) { this.instrumentNum = instrumentNum; - /* + return Soundfont.instrument(Tone.context, this.instrumentNames[instrumentNum]).then( function (inst) { this.instrument = inst; this.instrument.connect(this.effectsNode); }.bind(this) ); - */ }; AudioEngine.prototype.clearEffects = function () {