diff options
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2716,10 +2716,11 @@ Process.prototype.doPlayNote = function (pitch, beats) { Process.prototype.doPlayNoteForSecs = function (pitch, secs) { // interpolated + var volume = this.homeContext.receiver.volume; if (!this.context.startTime) { this.context.startTime = Date.now(); this.context.activeNote = new Note(pitch); - this.context.activeNote.play(); + this.context.activeNote.play(volume); } if ((Date.now() - this.context.startTime) >= (secs * 1000)) { if (this.context.activeNote) { |
