https://wiki.archlinux.org/title/MIDI#GStreamer-based_player...
I'm using Fedora rn, so I adjusted the packages names and did something similar to the arch wiki, so I'm not sure the closest ones for Ubuntu.
I find VLC ugly, but if you can live with it, just install the vlc plugin like a sibling post here said.
Fluidsynth is amazing and I'm using it to emulate a decent enough synth for dosbox games.
https://wiki.archlinux.org/title/MIDI#GStreamer-based_player...
I'm using Fedora rn, so I adjusted the packages names and did something similar to the arch wiki, so I'm not sure the closest ones for Ubuntu.
I find VLC ugly, but if you can live with it, just install the vlc plugin like a sibling post here said.
Fluidsynth is amazing and I'm using it to emulate a decent enough synth for dosbox games.