You are here

qmidinet

First I must say I'm not very educated in the ways of midi on linux...so, my questions may be from lack of knowledge.

I wanted to set up a simple test of midi between two networked pc's.

So, for example on pc #1 run virtual midi keyboard and qmidinet. And, on pc #2 run gmidimonitor and qmidinet.

But, I see no way to connect to keyboard to qmidinet or monitor to qmidinet.

Also, does the udp address in qmidinet need to match that of the pc it is running on?
And, does the udp port need to match on the two pc's?

Regards,
Mac

Forums: 
rncbc's picture

does the udp address in qmidinet need to match that of the pc it is running on?
nope

does the udp port need to match on the two pc's?
yep

always use the given default udp/ip-address and port; if you messed around with any of those you can always hit "Reset" on both ends; if you really don't know what you' re doing, just because you're not supposed to be a udp/ip freak, please don't mess with those options yet.

but you should know that udp/ip multicast only works _inside_ your local network segment; in other words, it should work over switches but never ever over any kind of routers or bridges, whatever. so, forget on ever trying it over a WAN (aka internet).

the way it goes, goes like this:

midi-app@pc1 <-> qmidinet@pc1 <-> ( LAN ) <-> qmidinet@pc2 <-> midi-app@pc2

of course you must have to connect your midi-app's to/from qmidinet on either end--please use your preferred connection utility (eg. qjackctl, cadence, aconnect, jack_connect, patchage, etc.)
nb. LAN maybe a wired and/or/mixed wireless LAN.
byee

Well, I didn't change either. and I'm on the same network (i.e I routinely udp between these two pc's, though using their IP addresses)

But, I see no indication that there is any connection between the keyboard or the monitor and gmidinet. And nothing that indicates gmidinet sees the one on the other pc.

And no traffic is indicated on the monitor.

rncbc's picture

on your case:

vkeybd@pc1 -> qmidinet@pc1 -> (LAN) -> qmidinet@pc2 -> gmidimonitor@pc2

all you have to do is to make the proper connections on either side to/from qmidinet; the qmidinet@pc1-LAN-qmidinet@pc2 is automagic :)

hth.
cheers

Don't see any way to connect GMIDImonitor(alsa) to qmidinet.
Don't see any way to connect Virtual Keyboard to qmidinet

(For reference running UbuntuStudio 16.04 on both pc's)

rncbc's picture

as suggested earlier, you can try yours truly qjackctl (Connections > ALSA tab), if you can't live without a GUI; or aconnect for the mean and lean command line.
cheers

Duh...sorry I missed that. :(
That of course works just fine. :)

Can I assume that if I set the IP and udp port on any sender on the net (i.e. a midi sender running on a Windoz PC) that qmidinet running on a linux pc would see inbound midi from the Windoz pc?

rncbc's picture

Can I assume that if I set the IP and udp port on any sender on the net
you don't need to change any ip's in qmidinet options whatsoever.

the default udp/ip address and port are in fact set like so to match the ones of ipmidi on windows and macosx and last time it has been known to work with qmidinet; you can also try running qmidinet thereabout, provided you build it for that dang platforms and, again of course you happen to run jack happily there (i won't ever do that for you, so please sorry--i do only linux:))
byee

I try to only do linux...but, sometimes it's unavoidable.

I certainly would NOT! ask someone to submit to such torture. ;)

Thank you for the help!!

Add new comment