<div class="gmail_quote">On Sun, Mar 7, 2010 at 5:58 PM, Al Thompson <span dir="ltr"><<a href="mailto:biggles58@sbcglobal.net">biggles58@sbcglobal.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">I've given up for a while. I asked about the same question as you in a</div>
couple of different forums, and got no response at all. Either nobody<br>
is trying to do this, or nobody has succeeded.</blockquote><div><br></div><div>Some clues from #jack IRC below...</div><div><br></div><div>summary -- we're missing an ALSA<->JACK bridge on the "slave" side. The slave side is sitting there talking to netjack ports not connected or bridged to the ALSA devices in any way. </div>
<div>(1) For MIDI only, use: <a href="http://ccrma.stanford.edu/planetccrma/man/man1/aseqnet.1.html">http://ccrma.stanford.edu/planetccrma/man/man1/aseqnet.1.html</a> </div><div>(2) Alternately&&more complicated, if using netjack, must also bridge midi to jack with <a href="http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/12/x86_64/repoview/a2jmidid.html">http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/12/x86_64/repoview/a2jmidid.html</a> </div>
<div>Unfortunately, planetccrma version is obsolete, version 6 from GIT is current/stable version.</div><div>(3) Audio also requires an ALSA<->JACK bridging too, like alsa_in and alsa_out on the slave-side netjack.</div>
<div><br></div><span style="font-weight: normal;"><font size="2"><font color="#204a87">(10:47:50 AM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>is there a way for jack to access midi ports on a different computer (e.g. run jack on comp A w/ midi devices <--> comp B runs jack and accesses MIDI on comp A)<br>
<span style="font-weight: normal;"><font size="2"><font color="#af7f00">(03:18:45 PM) </font></font></span><span style="font-weight: bold;color: #af7f00;">las: </span>npm: netjack will distribute MIDI. you're on your own trying it out ....<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(03:44:37 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>sill think aseqnet is more appropriate if you only want to transmit midi.<br>
<span style="font-weight: normal;"><font size="2"><font color="#710078">(03:49:08 PM) </font></font></span><span style="font-weight: normal;color: #710078;">las: </span>torbenh3: a good point<br><font class="Apple-style-span" color="#143E19">...<br>
</font><span style="font-weight: normal;"><font size="2"><font color="#204a87">(07:32:42 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>las, torbenh3 thanks for suggestions on netjack and aseqnet: anybody provide help w/ netjack -- this is as far as I got <a href="http://old.nabble.com/help-getting-netjack-MIDI-working--(looks-like-it's-working,-just-%09doesn't-send-data)-ts27815119.html">http://old.nabble.com/help-getting-netjack-MIDI-working--(looks-like-it's-working,-just-%09doesn't-send-data)-ts27815119.html</a> (other planetCCRMA respondents are having same problems w/ netjack on fedora 12)<br>
<span style="font-weight: normal;"><font size="2"><font color="#af7f00">(07:44:08 PM) </font></font></span><span style="font-weight: bold;color: #af7f00;">torbenh3: </span>npm: these descriptions are pretty vague. <br><span style="font-weight: normal;"><font size="2"><font color="#af7f00">(07:45:17 PM) </font></font></span><span style="font-weight: bold;color: #af7f00;">torbenh3: </span>npm: it looks like it works. <br>
<span style="font-weight: normal;"><font size="2"><font color="#af7f00">(07:45:31 PM) </font></font></span><span style="font-weight: bold;color: #af7f00;">torbenh3: </span>npm: anyways... if you only want to send midi, use aseqnet.<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(07:45:46 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>thats a lot easier to use. <br><span style="font-weight: normal;"><font size="2"><font color="#143e19">(07:46:15 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>and your use-case is not exactly whats netjack targeted for.<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(07:46:50 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>the post talks about patching not working. what are you trying to patch ?<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(07:47:39 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>without running a2jmidid on the slave, you wont get midi data into the slave jack graph anyways. <br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:22:03 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>torbenh3: 'the post talks about patching not working. what are you trying to patch' --> i'm simply trying to access a midi synth keyboard connected on a difft computer's USB/midi intfc, so that i don't have to string a long MIDI cable across the room and wear out the midi ports physically plugging and unplugging equipment<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:22:39 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>i basically just want to access the USB midi device remotely somehow<br>
<div><span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:25:23 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>it the part about needing to running a2jmidid ... rings a bell: so on the slave, i need to run a2jmidid -- when i poked around using 'patchage' it appeared that on the slave side the netjack was sitting there, but not talking to any devices. so a2jmidid is needed to connect, on the slave-side between the alsa midi device (usb midi intfc), and 'jackd -net' running on the slave side? </div>
<div><span style="font-weight: normal;"><font size="2"><font color="#af7f00">(08:32:59 PM) </font></font></span><span style="font-weight: bold;color: #af7f00;">torbenh3: </span>npm: what about "USE ASEQNET AND NOT NETJACK" is so hard to understand ?<br>
<span style="font-weight: normal;"><font size="2"><font color="#af7f00">(08:33:44 PM) </font></font></span><span style="font-weight: bold;color: #af7f00;">torbenh3: </span>npm: but yes. you would need a2jmidid<br><span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:34:03 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>but for what you want to do, aseqnet is a lot easier. <br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:34:40 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>netjack is for audio and sample synchronised latency compensated midi transmission. you dont want either of these things.<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:35:54 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>torbenh3: thanks <a href="http://ccrma.stanford.edu/planetccrma/man/man1/aseqnet.1.html">http://ccrma.stanford.edu/planetccrma/man/man1/aseqnet.1.html</a> is exactly what I need and then i don't need to worry about bridging jack->alsa<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:36:30 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>i said that 5 hours ago, and las confirmed it :)<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:37:08 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>i was doing other things and finally had understood asqenet was better soln<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:37:49 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>but also, i was unable to get audio working either (even though qjackctl or patchage indicated connections had been setup)<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:38:25 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>is there an audio bridge akin to a2jmidid also needed to bridge audio on the slave-side?<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:38:26 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>i doubt, that you had soundcard ports showing up on the slave. <br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:38:33 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>alsa_out<br><span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:38:50 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>run alsa_out and/or alsa_in on the slave.<br>
<span style="font-weight: normal;"><font size="2"><font color="#af7f00">(08:39:24 PM) </font></font></span><span style="font-weight: bold;color: #af7f00;">torbenh3: </span>npm: saying patching doesnt work implicates something different from there is nothing i can patch to.<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:40:39 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>well the connection showed up in qjackctl and patchage ... it's just that no midi data flowed. but now it's clear that w/o a bridge for the midi on the slave side, it wasn't actually connected to anything<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:41:10 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>how can the connection show up, if it not connected to anything ? i dont understand.<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:41:19 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>so the patching probably did work, i just failed to fully understand what was going on on the slave side<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:41:31 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>it showed the netjack socket being connected<br><span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:41:43 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>along w/ whatever ports it said it had connected<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:41:55 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>unless you start some bridges. you only see the network ports. you were probably looping data back to the master.<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:42:27 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>and on the slave side, i saw those same netjack ports, not talking to anyting.. and that's when i fully understood your statement about aseqnet and/or a2jmidid<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:43:12 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>so thanks for enlightenment<br><span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:43:30 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>ok :) trying to find out, whats wrong the docs. i guess somebody needs to make some of these points clearer.<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:44:07 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>yes, definitely. note the response to <a href="http://old.nabble.com/help-getting-netjack-MIDI-working--(looks-like-it's-working,-just-%09doesn't-send-data)-ts27815119.html">http://old.nabble.com/help-getting-netjack-MIDI-working--(looks-like-it's-working,-just-%09doesn't-send-data)-ts27815119.html</a> -- another person w/ same problem<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:44:40 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>yeah. i guess he has the same problem. i am not on that mailing list though. <br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:44:49 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>i'm pasting this conversation as response to the mailing list. Ok?<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:44:57 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>sure.<br><span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:45:00 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>thanks<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:45:24 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>but maybe he wants something different. <br><span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:45:56 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>basically. if your mididata comes from the master. and audio should get back to the master. netjack is the way to go.<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:46:10 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>yes he wants the second solution you gave w/r/t alsa_out alsa_in<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:47:05 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>note that alsa_out in jack 0.116.x is not really good. it works a bit. but its pretty bitchy. <br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:47:16 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>so running a softsynth on the slave, taking midi from master, outputting audio back to master, is a proper use case, correct?<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:47:28 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>yes.<br><span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:47:46 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>with a2j you can feed midi from anywhere though. <br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:47:59 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>well that's a future experiment for me... that and figuring out a2jmidid<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:48:46 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>but having 2 run 2 different deamons, is a bit annoying. since the really good a2j version is only available in git iirc.<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:49:41 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>a2jmidid will make all midiports available in jack... much like -Xseq but since thats an option of the alsa driver it doesnt work with other drivers.<br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:50:11 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>planetccrma seems to do a good job of keeping the latest and greatest around for fedora... will look into what they have<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:51:12 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>looks like a2jmidid releasee 6 is good.<br><span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:51:42 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span><a href="http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/12/x86_64/repoview/a2jmidid.html">http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/12/x86_64/repoview/a2jmidid.html</a><br>
<span style="font-weight: normal;"><font size="2"><font color="#204a87">(08:52:22 PM) </font></font></span><span style="font-weight: bold;color: #204a87;">npm: </span>they use 5. i guess it's time to update...<br><span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:52:24 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>i just checked. not sure about that version. </div>
<div><span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:53:49 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>hmm... seems version 5 will stop working or crash after some number of midi events transmitted.<br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:54:24 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>if you experience that, you need to update. <br>
<span style="font-weight: normal;"><font size="2"><font color="#143e19">(08:56:03 PM) </font></font></span><span style="font-weight: normal;color: #143e19;">torbenh3: </span>just looking at the commit logs. so i am not 100% sure. but my bug fixes are between 5 and 6. and the code i fixed seems to be in v5</div>
<div><br></div><div>-- Niels</div><div><a href="http://nielsmayer.com">http://nielsmayer.com</a></div><div><br></div></div>