I cannot enable MIDI files to be played on Linux in editors such as Qtractor or MidiEditor. Why is it 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 am not able to make them play on some MIDI editors like MidiEditor and Qtractor. The problem is always the same - It cannot find the MIDI output device. I do not want to use any external hardware output device. Instead, I wish to use the software synthesizer (fluidsynth) in the same way as VLC uses it.
For example, with Qtractor I got this error
The audio/MIDI engine could not be initialized. 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. Terminal output:
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).