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)) {