jazz-soft / jazz-midi

MIDI support for Node.js and browsers
https://jazz-soft.net
19 stars 4 forks source link

Very high idle CPU usage #1

Closed DoctorMcKay closed 2 years ago

DoctorMcKay commented 4 years ago

I am running a lighting control system off a Raspberry Pi, which has never been an issue before. I've added a MIDI controller to my system using this module, and I've run into an issue where the CPU idles very high with this module. I've confirmed that jazz-midi is the culprit as using node-midi with the exact same code doesn't exhibit the same behavior.

I'm using the latest version 1.7.3, and I've encountered this on both Raspbian and Ubuntu 18.04.4 LTS (on a Core 2 Duo machine).

jazz-soft commented 3 years ago

I have published the source code in this repository. If you have any suggestions how to improve it, please let me know!