Alsa MIDI to Jack MIDI

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

Post Reply
natohutch
Posts: 2
Joined: Mon May 01, 2017 12:13 pm

Alsa MIDI to Jack MIDI

Post by natohutch »

Hi everyone,
So I've just tried using native reaper on linux mint and have run into a problem.
My keyboard is coming up under alsa in jack however reaper's midi input comes up under midi.
I've tried numerous ways of fixing this but nothing has worked (I'm pretty new to this whole thing).
Anyone have any ideas.
Cheers
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: Alsa MIDI to Jack MIDI

Post by Pablo »

You need the alsa midi to jack midi daemon, with hardware export.

Code: Select all

sudo apt install a2jmidid
Then, in a terminal, or better, as a "script after startup" in qjackctl's options:

Code: Select all

a2jmidid -e &
Then you will see your keyboard under "a2j" in the jack MIDI tab so you will be able to connect it to Reaper midi input.

EDIT: Sorry, I put a dollar sign instead of an ampersand. Corrected now. The ampersand is needed if you put the command in qjackctl's options. (In a terminal it is not needed but it doesn't hurt).
natohutch
Posts: 2
Joined: Mon May 01, 2017 12:13 pm

Re: Alsa MIDI to Jack MIDI

Post by natohutch »

Thanks mate.
I'll give this a try now.
merc1231
Posts: 1
Joined: Sat Dec 11, 2021 7:59 pm

Re: Alsa MIDI to Jack MIDI

Post by merc1231 »

@Pablo,
You are a legend. I created an account just so I could say thanks!
I spent all morning trying to figure out how to get my midi device to work on Reaper, and a2jmidid -e & did the trick!
Keep on.
User avatar
noedig
Established Member
Posts: 239
Joined: Wed Feb 12, 2014 4:39 am
Location: South Africa
Has thanked: 9 times
Been thanked: 54 times

Re: Alsa MIDI to Jack MIDI

Post by noedig »

Additionally, the -u option for a2jmidid is quite useful. It removes the extra numbers that ALSA adds to the MIDI device names. The numbers may change after a reboot, potentially causing hosts to not recognize the new device names.

Code: Select all

a2jmidid -ue
User avatar
bluebell
Established Member
Posts: 1924
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 119 times

Re: Alsa MIDI to Jack MIDI

Post by bluebell »

natohutch wrote: Tue May 09, 2017 1:54 am Hi everyone,
So I've just tried using native reaper on linux mint and have run into a problem.
My keyboard is coming up under alsa in jack however reaper's midi input comes up under midi.
I've tried numerous ways of fixing this but nothing has worked (I'm pretty new to this whole thing).
Anyone have any ideas.
Cheers
You can start jackd with "--midi seq" or "--midi raw" as an alternative to use a2jmidid.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

Post Reply