Add send midi clock checkbox to localstorage

This commit is contained in:
2023-10-03 23:28:29 +03:00
parent c0502a6f96
commit c6b65c799f
4 changed files with 20 additions and 4 deletions

View File

@ -13,7 +13,7 @@ export class TransportNode extends AudioWorkletNode {
/** @type {(this: MessagePort, ev: MessageEvent<any>) => any} */
handleMessage = (message) => {
if (message.data && message.data.type === "bang") {
this.app.api.MidiConnection.sendMidiClock();
if(this.app.settings.send_clock) this.app.api.MidiConnection.sendMidiClock();
this.app.clock.tick++;
const futureTimeStamp = this.app.clock.convertTicksToTimeposition(
this.app.clock.tick