Route bpm change from TransportProcessor

This commit is contained in:
2023-10-27 15:48:02 +03:00
parent 7ac784bc0e
commit 6f40e8afd2
3 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,8 @@ export class TransportNode extends AudioWorkletNode {
} else {
tryEvaluate(this.app, this.app.global_buffer);
}
} else if (message.data.type === "bpm") {
this.app.clock.bpm = message.data.value;
}
}
};