X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=_manual%2F03_setting-up-your-system%2F05_setting-up-midi%2F02_midi-on-linux.html;h=f775c83c3c2f9ba4b6a954c674b8b71943db7414;hb=ec7407419435f10f12672659aa7c7c71ef5efd13;hp=363931098c16acba08806e98e75827d827d6c04a;hpb=bbf5ab80b4e11aef49d98eb2da74f1ebea6ca7f8;p=ardour-manual diff --git a/_manual/03_setting-up-your-system/05_setting-up-midi/02_midi-on-linux.html b/_manual/03_setting-up-your-system/05_setting-up-midi/02_midi-on-linux.html index 3639310..f775c83 100644 --- a/_manual/03_setting-up-your-system/05_setting-up-midi/02_midi-on-linux.html +++ b/_manual/03_setting-up-your-system/05_setting-up-midi/02_midi-on-linux.html @@ -2,19 +2,35 @@ layout: default title: MIDI on Linux --- + +The right approach for using MIDI on Linux depends on which version of +JACK you use. The world divides into: + +
+
Systems using JACK 1, versions 0.124 or later
+
On these systems, just start JACK with + the -X alsa_midi server argument. To support legacy control + applications, you can also use the -X seq argument to the ALSA + backend of JACK and get the exact same results.
+
All others
+
Use a2jmidid to act as a bridge between ALSA MIDI and JACK. Do + not use the -X seq or -X raw arguments - the timing and performance + of these options is not acceptable. +
+

a2jmidid

a2jmidid is an application that bridges between the system MIDI ports and - JACK. + JACK.

First you should make sure that there is no ALSA sequencer support enabled in JACK. To do that open QJackCtl's Setup window.

- Set Settings > MIDI Driver to Settings > MIDI Driver to none. Then uncheck the Misc > Enable ALSA Sequencer support option.
@@ -26,19 +42,33 @@ title: MIDI on Linux First, check whether a2jmidid is already installed in your system. After starting your JACK server, go to the command line and type

-a2jmidid -e +a2jmidid -e

If a2jmidid does not exist, install it with the software manager of your Linux distribution and try again.

-

Check surface control MIDI ports

+ +

Check available MIDI ports

- After starting a2jmidid, your control surface MIDI ports should appear in - qjackctl under Connections > MIDI > a2j. + If you have correctly configured JACK for MIDI, then your MIDI ports should appear in + qjackctl under Connections > MIDI .

+ +

Making it automatic

+

+Once you've verified that the ports appear in JACK as expected, you +can make this happen whenever you start JACK. +

+ +

If you use a newer version of JACK 1, just make sure the -X +alsa_midi or -X seq options are enabled for whatever technique you use +to start JACK. +

+

- You can now add a2jmidid -e as an "after start-up" script in the Setup > Options tab of QJackCtl, so that it is - started automatically whenever you start JACK. +For other versions of JACK, +add a2jmidid -e & as an "after start-up" script +in the Setup > Options tab of QJackCtl, so +that it is started automatically whenever you start JACK.