Zend certified PHP/Magento developer

How make MIDI editors play MIDI on Linux (without external musical device)

  • How to make MIDI-files play on Linux in editor like Qtractor or MidiEditor?
  • Why it is not working when vlc can play these MIDI files

Details:

I was able to make vlc play .mid files on Ubuntu 22.04 LTS by installing:

sudo apt-get install fluid-soundfont-gm fluid-soundfont-gs
sudo apt-get install vlc-plugin-fluidsynth 

However I’m not able to make work playing of MIDI inside some MIDI editors like this MidiEditor and Qtractor. The problem is always the same – It cannot found MIDI outpput device. But I don’t want to use any external hardware output device, I want it to use the software synthetizer (fluidsynth) in the same way as VLC does.

For example with Qtractor I got this error

The audio/MIDI engine could not be started. Make sure the JACK audio server (jackd) and/or the ALSA Sequencer kernel module (snd-seq-midi) are up and running and then restart the session.

I was trying to solve it by installing qsynth or qjackctl as described here. But for some reason I don’t understand I cannot:

myComputer:~/SW$ sudo apt install qsynth

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 midieditor : Depends: qtbase5-dev but it is not going to be installed
              Depends: qtdeclarative5-dev but it is not going to be installed
              Depends: libqt5webkit5-dev but it is not going to be installed
              Depends: libsqlite3-dev but it is not going to be installed
              Depends: qt5-default but it is not installable
              Depends: qtmultimedia5-dev but it is not going to be installed
              Depends: qttools5-dev-tools
              Depends: libqt5multimedia5-plugins but it is not going to be installed
              Depends: gstreamer1.0-plugins-bad but it is not going to be installed
              Depends: gstreamer1.0-doc but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).