node-midi icon indicating copy to clipboard operation
node-midi copied to clipboard

0 port count on OS X

Open renewooller opened this issue 9 years ago • 4 comments
trafficstars

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.

renewooller avatar Oct 03 '16 12:10 renewooller

I also have this problem. Is there anything else needed to do except npm install midi, before actually using this?

dackom avatar Feb 26 '17 16:02 dackom

For me it has worked on OS X with GarageBand installed. Maybe that's the cause.

Simsso avatar May 23 '18 11:05 Simsso

I have GarageBand installed, and I'm seeing the same problem -- getPortCount() returns 0.

jpriebe avatar Feb 11 '19 01:02 jpriebe

Encountering the same issue. Latest macOS.

didier avatar May 17 '22 15:05 didier