fixing some bugs

This commit is contained in:
2023-07-28 11:40:17 +02:00
parent 4aa85765b4
commit 0cb5ed8d27
8 changed files with 66 additions and 34 deletions

View File

@ -34,6 +34,10 @@ export class Clock {
})
}
get pulses_per_beat(): number {
return this.ppqn / this.time_signature[1];
}
start(): void {
// Check if the clock is already running
if (this.transportNode?.state === 'running') {