From 7aca02b89a9941dc59bcbd411f7f8dee5764d879 Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Mon, 21 Nov 2016 16:00:59 -0500 Subject: [PATCH] re-enable soundfont player --- src/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 () {