Open og2t opened 5 years ago
I'll try to reproduce this when I get home, but did you try re-compiling the module, as the error suggests?
npm rebuild midi --update-binary
Got it working but it shows this when it runs (no errors though). How can I open a midi file?
Upgraded this project to compile with Node v12.4.0
@og2t Your issue is likely caused by no midi inputs, e.g., a MIDI keyboard. I need to add functionality to manage inputs.
I haven't implemented anything to read in files directly. You could setup a virtual MIDI bus to achieve this with Pianoboi. The problem with files is they usually have lots of channels, which then requires a way to filter/ combine them. I'd go for a more full-fledged MIDI app if this is your intended purpose.
@og2t Actually, had a look at a few libraries. This actually seems quite easy. If you send me a link to your midi file(s) I can test with these.
Hi! Which node.js version are you using? I am getting this error message: