From 7b07d150daa8999fe0a6c07297b478e8ae234e79 Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Mon, 30 Jan 2017 11:14:07 -0500 Subject: [PATCH] set instrument moved to target in vm --- src/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/index.js b/src/index.js index 204cd9c..df0e031 100644 --- a/src/index.js +++ b/src/index.js @@ -247,11 +247,6 @@ AudioPlayer.prototype.clearEffects = function () { this.audioEngine.roboticEffect.set(0); }; -AudioPlayer.prototype.setInstrument = function (instrumentNum) { - this.currentInstrument = instrumentNum; - return this.audioEngine.instrumentPlayer.loadInstrument(this.currentInstrument); -}; - AudioPlayer.prototype.setVolume = function (value) { this.currentVolume = this._clamp(value, 0, 100); this.effectsNode.gain.value = this.currentVolume / 100;