RTP-MIDI on zynthian

It could well be an excellent demonstration of the kind of problems the concept has. ( and a sneaky advert for all involved…) especially whilst everyone is stuck at home with not an awful lot to do…

Because what may not work across a WAN is certainly viable across a LAN and it’s a good concept to put into peoples heads.

How about a time and a place…?
I’d go for something perverse like 22:00 tonight (GMT).

in Patchage is is hooked up the same as Qmidinet. so it is wired up correctly win net_in hooked up to rtpmidi_out and net_out hooked to rtpmidi_in. But my later test seems to show Qmidinet has the same issue. so I’m going to try out another build. I also verified that 2 windows machines could send midi both ways over rtpMID by Tobias so I know its on the zynthian side.

Ok, on the build from 3/20 now. Qmidinet working both directions, RTP-MIDI Still only one way. Now for wireshark… I can see the UDP Packets going int zynthian, but none coming out.

Hi BrainStormer,

I am performing tests right now to see what can explain that. By the way, I am about to release V0.5, and I will put the binary also on the repository, just in case.

Give me a little more time, I should be able to finish the tests today

Benoit

Ok, In wireshark I can see the AppleMIDI protocol synchronization between the windows machine and Zynthian and I can see the RTP-MIDI Protocol coming out of the windows machine but not Zynthian. I’ll just hang out in VR
then.

1 Like

Hi BrainStormer,
I have made tests this afternoon, and I had no problem to send MIDI to the Zynthian.

When you say “nothing comes out of the Zynthian”, do you mean that the Zynthian transmits nothing to RTP-MIDI or do you mean that the Zynthian does not react to incoming MIDI ?
I still don’t understand in what direction the problem occurs

Benoit

Hi all,

I have uploaded the V0.5 version of the daemon on my Github repository. I have also put the compiled version of V0.5 on the repository, so it’s not necessary to compile the daemon first if you want to make tests.

Benoit

Something came to my mind : do you know how to use Patchage on the Zynthian ?

If you know how to use it, I can send you a test application I have written for the Zynthian to display MIDI data sent by JACK. You will just need to connect this application to thz ZynRouter and check what is sent to the daemon, to be sure that there are MIDI data being fed to it.

Benoit

I am trying to get zynthian to send midi TO my windows PC.
So net_out is connected to rtpmidi_in which is the correct wiring in patchage i.e. same connections of Qmidinet. So I want signals to pass from my controller, through zynthian to my windows machine and into VR to control my Light Effects.

right now I have to use ttymidi to do it and I would like to use rtpmidi instead.

Yes, I have been using patchage to diagnose and wireshark only shows midi going into Zynthian but not out… Only packets come into my windows pc from Zynthian are only the synchronizing packets. None that actuall contain the payload are coming through. using RTP-MIDI from between 2 windows machines, shows the trafic going both ways.

Ok got it now.

I will check that tomorrow, I only did a test from network to the Zynthian, I did not test the other way on my Zynthian (as 99% of Zynthian applications are unable to send any data outside)
Normally this works too (the rtpmidid comes from another application I wrote which is fully bidirectionnal) but there may be a bug on the specific Zynthian implementation

Benoit

Hi BrainStormer,

I confirm there is an issue with this version of rtpmidid. I have been able to reproduce the problem here : for some unknown reason, I can’t get RTP-MIDI going out of my Zynthian too.
I am working on the issue (no idea what causes that, as the code transmitting RTP-MIDI payload from the Zynthian did not change at all)
So don’t worry, the problem is not on your side :wink:

Benoit

Bug is corrected, RTP-MIDI from Zynthian to external devices is now working as expected.

I have uploaded V0.6 source on the Github repository, along with the compiled daemon, so it is ready to use.

https://github.com/imodularsynth/jackrtpmidid

Enjoy… :grinning:

Benoit

5 Likes

Thanks @BEB,

The next green build will include the fixed version :wink:

Regards,

2 Likes

Thanks, That works great!

1 Like

Hi guys.
I just downloaded a fresh 2020-04-02-zynthianos-buster-lite-1.0.0 and installed it but rtpmidi is not working.

Can you be a bit more descriptive? What have you tried?

Hi Baggypants.
I made the update (2 times); tried to install rtpmidid in recipes but there seems to be some issue with the github for rtpmidid, according to the log when the install is running. It also complains about it in the update.
I tried to enable rtpmidi in webconf and ui with no luck.
Patchage doesn’t show it too.

Can you show us the error message? if you run the update in the webconf it should be easy to copy.

Hi Baggypants, i don’t have access to the Zynthian now but will do that tomorrow.
Thank you

1 Like

OK! It should be solved now. Update and run the install script again. Next nightly builds will be fixed.

The problem was that @BEB deleted the Makefile from the repository and restored the binary. The build script tried to build using the Makefile and failed. I revert to use the included binary :wink:

Regards!

1 Like