Skip to content

Commit

Permalink
increasing render chunk size
Browse files Browse the repository at this point in the history
addresses #436
  • Loading branch information
tambien committed Feb 4, 2019
1 parent 45e4bf1 commit 7818531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tone/core/OfflineContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7818531

Please sign in to comment.