lathoub / Arduino-AppleMIDI-Library

Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
Other
306 stars 66 forks source link

Can't make it work on any arduino #89

Closed albinotoni closed 3 years ago

albinotoni commented 4 years ago

Hello!

I'm terribly sorry, I know this is not a very helpful issue report, but I cannot make the library work neither on Uno, nor Nano. On Uno I've got a Wiznet shield, and on Nano ENC28J60 (I switched to UIPEthernet.h library in this case). I've tried different examples (though usually I've changed the Arduino's IP to fixed one) but no success. I can ping the Arduino, and managed to make a working OSC-connection, so I rare to say the ethernet connection is working.. My mac is saying in the network midi window, that it's not getting respond from (this case) Arduino 192.168.1.141:5004... I'm on macOS 10.15.4. I also tried connecting through iConnectivity mioXM, but no successs there either. I'm sorry for the little information I can give, just can't figure this one out.

albinotoni commented 4 years ago

Hmm... as usual, right after I sent the previous message, I tried once more with the basic usage example on the front page. And it worked! On both, with Uno, and Nano! I don't understand why though.. Only thing I think is different to my previous attemps is this line:

AppleMIDI.setHandleConnected(OnAppleMidiConnected);

I just hope it's working in future also! I'd love to understand what is right this time, though..