TiMidity++ is a software synthesizer.  It can play MIDI files by converting
them into PCM waveform data or other various audio file formats.

The freepats package, also available at SlackBuilds.org, is recommended
for use with TiMidity++.
