diff options
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -427,7 +427,10 @@ Process.prototype.resume = function () { this.isPaused = false; this.pauseOffset = null; if (this.context.activeNote) { - this.context.activeNote.play(); + if (this.context.activeNote.oscillator === null) { + // prevents Note from resuming twice + this.context.activeNote.play(); + } } }; |
