adding LFOs

This commit is contained in:
2023-08-04 19:00:15 +02:00
parent 2ccfd3ebc8
commit fb3dc33035
2 changed files with 74 additions and 0 deletions

View File

@ -12,6 +12,7 @@ export interface TimePosition {
export class Clock {
evaluations: number
ctx: AudioContext
transportNode: TransportNode
bpm: number
time_signature: number[]
@ -20,6 +21,7 @@ export class Clock {
tick: number
constructor(public app: Editor, ctx: AudioContext) {
this.ctx = ctx;
this.tick = 0;
this.time_position = { bar: 0, beat: 0, pulse: 0 }
this.bpm = 120;