UPDATE: Found a more detailed and comprehensive explanation here.

Original Question:

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

then run

timidity -iA

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
  • If you have an answer, post it as an answer – random Feb 1 '15 at 23:37

/etc/timidity/freepats.cfg is part of the package freepats on Ubuntu 14.04.

Try running

sudo apt-get install freepats

Then try starting timidity again.

  • Seems to be the answer as explained here. – JakeGould Jan 31 '15 at 23:58
  • @JakeGould, thanks for the link. Then would fluid-soundfont-gm still be necessary? I added that on seeing my first reported error. – xpt Feb 1 '15 at 4:41
  • 1
    Not to necro an old thread... but you can use fluid if you want. You have to edit /etc/timidity/timidity.cfg though, by defautl it looks for freepats but you can comment out that line and uncomment a couple other lines instead to use fluid-soundfonts. – user153822 May 2 '16 at 3:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.