UPDATE: Found a more detailed and comprehensive explanation here.
I’m trying to play MIDI files under Linux. This is what I found so far:
sudo apt-get install fluid-soundfont-gm timidity timidity-interfaces-extra
in terminal first to get started. It should give something like this
timidity -iA Requested buffer size 32768, fragment size 8192 ALSA pcm 'default' set buffer size 32768, period size 8192 bytes TiMidity starting in ALSA server mode Opening sequencer port: 129:0 129:1 129:2 129:3
However, all that I got is:
$ timidity -iA /etc/timidity/freepats.cfg: No such file or directory timidity: Error reading configuration file. Please check /etc/timidity/timidity.cfg
/etc/timidity/freepats.cfg is part of the package
freepats on Ubuntu 14.04.
sudo apt-get install freepats
Then try starting timidity again.