From ca4f7acfe232ec59066d5265c816034097b310b4 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Fri, 10 Nov 2023 13:42:59 +0100 Subject: [PATCH] Faster PPQN and bigger latency --- src/Clock.ts | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Clock.ts b/src/Clock.ts index 7638c7b..3f75b11 100644 --- a/src/Clock.ts +++ b/src/Clock.ts @@ -54,7 +54,7 @@ export class Clock { this.logicalTime = 0; this.tick = 0; this._bpm = 120; - this._ppqn = 48; + this._ppqn = 48 * 4; this.transportNode = null; this.ctx = ctx; this.running = true; diff --git a/src/main.ts b/src/main.ts index 0e1249e..56a0baf 100644 --- a/src/main.ts +++ b/src/main.ts @@ -83,7 +83,7 @@ export class Editor { // Audio stuff audioContext: AudioContext; clock: Clock; - dough_nudge: number = 20; + dough_nudge: number = 40; manualPlay: boolean = false; isPlaying: boolean = false;