Route bpm change from TransportProcessor
This commit is contained in:
@ -36,6 +36,7 @@ class TransportProcessor extends AudioWorkletProcessor {
|
||||
} else if (message.data.type === 'bpm') {
|
||||
this.bpm = message.data.value;
|
||||
this.currentPulsePosition = 0;
|
||||
this.port.postMessage({ type: "bpm", value: this.bpm });
|
||||
} else if (message.data.type === 'ppqn') {
|
||||
this.ppqn = message.data.value;
|
||||
this.currentPulsePosition = 0;
|
||||
|
||||
Reference in New Issue
Block a user