lathoub / Arduino-AppleMIDI-Library

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

Question: Possible to join a RTP session? #78

Closed microfx closed 4 years ago

microfx commented 4 years ago

Hey!

The example shows how to initiate a RTP session. Is it also possible to join a MIDI session? I got a MIDI router which always has a few open which can be joined.

Stay safe!

Cheers

lathoub commented 4 years ago

Have a look at the InitiateSession example

microfx commented 4 years ago

Reading the example... I can see no difference. Initiating is not joining an existing session, is it?

lathoub commented 4 years ago

Any other example then: https://github.com/lathoub/Arduino-AppleMIDI-Library/tree/master/examples/EthernetShield_NoteOnOffEverySec

microfx commented 4 years ago

So what‘s different here?

// Create a session and wait for a remote host to connect to us

where is this another example? This is still the other way around?

lathoub commented 4 years ago

I got a MIDI router which always has a few open which can be joined

Not sure how to answer, are you familiar with the RtpMidi (AppleMIDI) protocol? Most examples wait for the session initiator to connect to the Arduino (Is yourMIDI router a session initiator?)

microfx commented 4 years ago

Yes, my MIDI router is a session initiator. iConnectivity mio10. I use rtp MIDI all the time (connecting macOS/iOS to the sessions of the router to send and receive MIDI from hardware synths/sequencers)

lathoub commented 4 years ago

Then start with the NoteOn/Off example

rockomatthews commented 4 years ago

It is a slightly different experience and would seem like the other way around because you have to manually create the Arduino session. Pretty sure what he is saying is he is expecting this connection step to look different. My iPhone in the picture is "Projector Bach" since I use the app for MIDI Designer Pro 2 App on my iPhone. With that, your device automatically appears in the "dictionary" after initiating a session on 5004. Only difference is that there are steps described on how to add the Arduino in the comments. But other things just pop up if that helps...

IMG_5042

lathoub commented 4 years ago

Did you get it to work?

lathoub commented 4 years ago

Did you get it to work?