<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">One other note: in Jack1, to aid with "back compatibility", if you were to use -Xseq, Jack1 will interpret that as "use my embedded version of a2jmidid". <br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">as noted by others, unless you do not care about timing, you should never use -Xraw. You should use -Xseq only with Jack1, where it is equivalent to starting up a2jmidid -e, which is the recommended approach for Jack2. <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 18, 2018 at 9:55 AM, Victor A. Stoichita <span dir="ltr"><<a href="mailto:victor@svictor.net" target="_blank">victor@svictor.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
Le 18 Jun 2018, Paul Davis <<a href="mailto:paul@linuxaudiosystems.com" target="_blank">paul@linuxaudiosystems.com</a>> a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Just a note. You should NEVER use ALSA raw MIDI with JACK unless you don't care about timing in any way.<br>
</blockquote></span>
(…)<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
And for those wierdos/smart folks/rebels out there using Jack1, remember that a2jmidid is builtin to Jack1 itself.<br>
</blockquote>
<br></span>
Thanks Paul for the hints! I do care about timing, that’s why I’m researching this. I think that I may run into some jitter when recording midi in Ardour or Qtractor (or I really play worse than I thought!). That’s what got me to the advice of using -Xalsarawmidi combined with a2jmidid. I’m still not sure whether this is the same as -Xseq or -Xraw.<br>
<br>
For the background I got the explanation by Fons Adriaensen (10 years ago) relayed at <a href="https://wiki.linuxaudio.org/faq/start#qwhat_is_the_difference_between_jack-midi_and_alsa-midi" rel="noreferrer" target="_blank">https://wiki.linuxaudio.org/fa<wbr>q/start#qwhat_is_the_differenc<wbr>e_between_jack-midi_and_alsa-<wbr>midi</a><br>
<br>
Then on the same wiki I also got this "interesting" comment:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"Interestingly, JACK developers (by way of Paul Davis) recommend using a2jmidid for exposing raw midi ports (<a href="https://community.ardour.org/node/4336" rel="noreferrer" target="_blank">https://community.ardour.org/<wbr>node/4336</a>), while the a2jmidid author recommends using the '-X raw' flag for JACK (<a href="https://gna.org/bugs/index.php?23272)" rel="noreferrer" target="_blank">https://gna.org/bugs/index.ph<wbr>p?23272)</a>."<br>
</blockquote>
<br>
That made me wonder what I should do. <a href="http://gna.org" rel="noreferrer" target="_blank">gna.org</a> is down so I couldn’t check/understand the second comment.<br>
<br>
I tried to locate the current repo of a2jmidid but could only find this mirror (?) referenced by the Arch packagers: <a href="http://repo.or.cz/a2jmidid.git" rel="noreferrer" target="_blank">http://repo.or.cz/a2jmidid.git</a> There it says:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"Main goal of this project is to ease usage of legacy, not JACK-ified apps, in a JACK MIDI enabled system."<br>
</blockquote>
<br>
If I only use Ardour, Yoshimi, Qmidiarp and mididings (all of which can do jack-midi on their own), should I still connect them through a2jmidid just for the sake of timing?  <br>
I’d be ready to join the Jack1 rebels if this could simplify my midi setup. I only need one server on one local computer, no dbus etc. But I also need low latency for live performances and some dsp overhead. On these topics I’m confronted with another decade of contradictory informations<br>
The feature comparison on the jack website [1] seems to give a slight advantage to jack2 in my case, mainly because of "Supports multiple processors (SMP)" (I do have parallel subgraphs in my setup). That had prompted me to switch to jack2 some 3 or 4 years ago. Now the state of midi support makes me look back…<br>
<br>
So I wonder:<br>
- if I use jack2 and a2jmidid, what -X option should I give to  jackd at startup? Will that reproduce the native behavior  of jack1?<br>
- are there recent benchmarks to compare jack1 vs jack2 regarding  latency and dsp load?<br>
<br>
Cheers,<br>
Victor<br>
<br>
[1] <a href="https://github.com/jackaudio/jackaudio.github.com/wiki/Q_difference_jack1_jack2" rel="noreferrer" target="_blank">https://github.com/jackaudio/j<wbr>ackaudio.github.com/wiki/Q_dif<wbr>ference_jack1_jack2</a><br>
</blockquote></div><br></div>