From 81211ea2d22bf6564c8e8ddc1ce0885a7fc3b575 Mon Sep 17 00:00:00 2001 From: RikSolo Date: Tue, 27 Jan 2026 03:23:49 +0100 Subject: [PATCH] increase control listener limit --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index a39f352..cd00fe2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -54,6 +54,7 @@ class MidiControl { private options: Partial = {} ) { + this.device.input.setMaxListeners(50); this.device.input.addListener(type, (data: DataLookup[T]) => { // Check incoming data against filter for (const [k, v] of Object.entries(this.filter)) {