node-midi
node-midi copied to clipboard
0 port count on OS X
Hi, I'm not sure if I'm doing something wrong, but I followed the basic steps provided in the readme and cannot seem to see any ports.
I have logic running and have midi input to logic from a usb keyboard into logic working fine. But when I fire up the node REPL and go:
let m = require('midi')
let o = new m.output()
o.getPortCount()
I get '0'.
Are there any other steps I need to do?
I checked the midi setup and there are definitely ports available via the IAC Driver.
Any help appreciated.
I also have this problem. Is there anything else needed to do except npm install midi, before actually using this?
For me it has worked on OS X with GarageBand installed. Maybe that's the cause.
I have GarageBand installed, and I'm seeing the same problem -- getPortCount() returns 0.
Encountering the same issue. Latest macOS.