diff --git a/src/API.ts b/src/API.ts index 8a0d20c..15b4a2f 100644 --- a/src/API.ts +++ b/src/API.ts @@ -302,6 +302,14 @@ export class UserAPI { } it = this.iterator + get _() { + return this.iterator('_'); + } + + get A() { + return this.iterator('A'); + } + // ============================================================= // Drunk mechanism // ============================================================= diff --git a/src/IO/MidiConnection.ts b/src/IO/MidiConnection.ts index 5109a3b..aedbd25 100644 --- a/src/IO/MidiConnection.ts +++ b/src/IO/MidiConnection.ts @@ -156,8 +156,6 @@ export class MidiConnection{ console.error('MIDI output not available.'); } } - - public sendMidiControlChange(controlNumber: number, value: number): void { /** diff --git a/src/main.ts b/src/main.ts index 5ba19ac..a413d9a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -696,6 +696,7 @@ function startClock() { document .removeEventListener("click", startClock); document.removeEventListener("keydown", startOnEnter); + document.removeEventListener("click", startOnClick) app.clock.start(); app.view.focus(); app.setButtonHighlighting("play", true);