increase control listener limit
This commit is contained in:
parent
c33c2dcfed
commit
81211ea2d2
1 changed files with 1 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ class MidiControl<T extends MessageType> {
|
|||
private options: Partial<IMidiControlOptions> = {}
|
||||
|
||||
) {
|
||||
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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue