diff --git a/src/index.js b/src/index.js index 23542a9..9d14757 100644 --- a/src/index.js +++ b/src/index.js @@ -17,7 +17,6 @@ function AudioEngine (sounds) { this.distortion = new Tone.Distortion(); this.pitchEffectValue; - // the effects are chained to an effects node for this clone, then to the master output // so audio is sent from each player or instrument, through the effects in order, then out // note that the pitch effect works differently - it sets the playback rate for each player @@ -145,11 +144,15 @@ AudioEngine.prototype.stopAllSounds = function () { // this.drumSamplers[i].triggerRelease(); // } // stop sounds triggered with playSound - for (var i=0; i 0) { + for (var i=0; i