From 3308be84c8ec18ccde2345561e9fde4b4f660443 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Fri, 10 Nov 2023 20:21:08 +0100 Subject: [PATCH] retry pushing PPQN to 96 by default --- src/Clock.ts | 2 +- src/TransportProcessor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Clock.ts b/src/Clock.ts index 7638c7b..8b1cc88 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 = 96; this.transportNode = null; this.ctx = ctx; this.running = true; diff --git a/src/TransportProcessor.js b/src/TransportProcessor.js index 20e96ce..9d76233 100644 --- a/src/TransportProcessor.js +++ b/src/TransportProcessor.js @@ -6,7 +6,7 @@ class TransportProcessor extends AudioWorkletProcessor { this.nudge = 0; this.started = false; this.bpm = 120; - this.ppqn = 48; + this.ppqn = 96; this.currentPulsePosition = 0; }