I installed Virtual MIDI Keyboard (vmpk) using apt-get install
. I also have Jack control
and Qsynth
installed. When I open vmpk, I cannot hear the sound coming from it. How can I do the setting to let the sound come out?
I installed Virtual MIDI Keyboard (vmpk) using apt-get install
. I also have Jack control
and Qsynth
installed. When I open vmpk, I cannot hear the sound coming from it. How can I do the setting to let the sound come out?
An alternative solution:
In Qsynth:
List item
MIDI tab: Enable MIDI Input box checked ALSA Sequencer Client ID: Qsynth1 Audio tab: Audio driver: alsa Soundfonts tab: SFID 1; Name /usr/share/sounds/sf2/FluidR3_GM.sf2; Offset 0
In VMPK:
vmpk is a virtual MIDI Master keyboard, and does not produce any sound. To generate sound, you must
you should hear some sounds.
In your specific situation, where you want to use vmpk, qsynth, and jack control, I would recommend the following procedure to generate audio based on virtual keystrokes:
/usr/share/sounds/sf2/FluidR3_GM.sf2
Although the specific tools in use differ slightly, you may find the guidance at Ubuntu Wiki helpful. The primary difference is that you will be using a virtual keyboard rather than a physical keyboard, but patchage should not be able to tell the difference.
vmpk produces sound by default on Ubuntu 20.04
I don't fully understand the details, but on Ubuntu 20.04 I just get sound out of the box from vmpk (not using Qsynth and JACK).
Likely the relevant settings which make it work by default are:
Working with ALSA
If you want to pipe ALSA output to another synthesizer of your choice, in the MIDI Setup you can set instead:
then I can get some sound as follows:
Then I list all input and output alsa ports with:
which gives:
So we connect the vmpk output to the FLUID Synth input with:
and fluidsynth starts producing some sound now as we touch the vmpk keys!
The sf2 instruments present by default on the VMPK GUI via Bank/Program pairs are the same as present in
/usr/share/sounds/sf2/FluidR3_GM.sf2
as can be seen with:e.g.:
QSynth setup
Got it working too with ALSA:
Now in the QSynth GUI go:
and select
/usr/share/sounds/sf2/FluidR3_GM.sf2
.Now
aconnect
works exactly as before, as qsynth must be using it on the backend. Once connected, I now hear the sound, and playing with QSynth reverb/chorus effects did affect the sound output as expected.Save to MIDI file
Save as MIDI when playing from VMPK & QSynth