From 7818531e0f0f8d43aafb585a77d49c3ffc4aee06 Mon Sep 17 00:00:00 2001 From: tambien Date: Mon, 4 Feb 2019 12:38:10 -0500 Subject: [PATCH] increasing render chunk size addresses #436 --- Tone/core/OfflineContext.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tone/core/OfflineContext.js b/Tone/core/OfflineContext.js index 2961ff06..7a7ce200 100644 --- a/Tone/core/OfflineContext.js +++ b/Tone/core/OfflineContext.js @@ -67,8 +67,8 @@ Tone.OfflineContext.prototype.render = function(){ while (this._duration - this._currentTime >= 0){ //invoke all the callbacks on that time this.emit("tick"); - //increment the clock - this._currentTime += this.blockTime; + //increment the clock in 5ms chunks + this._currentTime += 0.005; } return this._context.startRendering();