1

I have following sound configuration for my PC-300 USB Midi keyboard on Ubuntu 17.04:

$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xd1228000 irq 282
 1 [HD             ]: USB-Audio - USB Sound Blaster HD
                      Creative Technology USB Sound Blaster HD at usb-0000:00:14.0-3, full speed
 2 [PC300          ]: USB-Audio - PC-300
                      Roland PC-300 at usb-0000:00:14.0-2, full speed

Next, I want to use JACK to configure the output from the MIDI keyboard. I start qjackctl and click "Setup" button and then the "Advanced" tab:

enter image description here

Now, after pressing "Ok" button here, I return to main window in qjackctl and I start the JACK daemon by clicking the "Start" button.

Then I open a new terminal window and launch qsynth, and click the "Setup" button and then click the "Soundfots" tab. Here I select the sound font to be:

/usr/share/sounds/sf2/FluidR3_GM.sf2

Then I go to qjackctl and click the "Connect" button, and then click the "Audio" tab:

enter image description here

Then I click the "Midi" tab:

enter image description here

Note that no readable client are shown in the left pane. Hence, it is not possible to connect the Midi keyboard to Qsynth here.

Finally, I click the "ALSA" tab:

enter image description here

and as seen from the screenshot above: here also, it is not possible to connect the Midi keyboard to Qsynth.

How can I connect my USB midi keyboard to qsynth using JACK?

Note:

The JACK deamon setup is likely to be correct since I was able to connect the keyboard to fluidsynth using jackd.

2

According to Ardour's configuration page

The right approach for using MIDI on Linux when using JACK 2 is to use a2jmidid as a bridge between ALSA MIDI and JACK.

So after starting qjackctl I had to run a2jmidid -e, and after that I could start QSynth, and finally go back to qjackctl and connect the MIDI keyboard with a QSynth engine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.