Tagged as: linux
Playing MIDI files or modules on Ubuntu and Debian is unintuitive. Luckily, it's quite simple and one program can do both.
The program you need is called timidity and is available in the repositories, so it can be installed easily:
sudo apt-get install timidity
Timidity is very simple to use, simply use this command:
timidity filetoplay.midi
By default the file plays with high volume, but you can turn it down using the
-A
argument:
timidity -A 67 file.midi
Where the 67
in the command above can be substituted with the volume, from 1 to 100.