From 9e4ee3659f81e4a3cd50992d1df610b883d77d8b Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sat, 5 Aug 2023 21:47:27 +0200 Subject: [PATCH] Fixing bug --- src/API.ts | 8 ++++++++ src/IO/MidiConnection.ts | 2 -- src/main.ts | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) 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);