experimental sequencer

This commit is contained in:
2023-08-15 17:30:35 +02:00
parent 0802a5da5d
commit e86b71ec78
2 changed files with 51 additions and 4 deletions

View File

@ -47,7 +47,7 @@ export class Clock {
this.time_position = { bar: 0, beat: 0, pulse: 0 }
this.bpm = 120;
this.time_signature = [4, 4];
this.ppqn = 8;
this.ppqn = 48;
ctx.audioWorklet.addModule(TransportProcessor).then((e) => {
this.transportNode = new TransportNode(ctx, {}, this.app);
this.transportNode.connect(ctx.destination);