4

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
xpt
  • 8,261
  • 38
  • 102
  • 156

1 Answers1

4

/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.

John O'M.
  • 311
  • 2
  • 5
  • Seems to be the answer [as explained here](http://forum.linuxmint.com/viewtopic.php?f=48&t=154394). – Giacomo1968 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 01 '15 at 04: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. – hwertz May 02 '16 at 03:23