elekis wrote:
…
for timidity
I always that msg. (I m not sure that it’s a sdl rapport)
“That” msg is not the same as the error message below.
Thu Sep 09 && elekis at carla && ~
#–>timidity Celoso.mid
/etc/timidity/freepats.cfg: No such file or directory
timidity: Can’t read any configuration file.
Please check /etc/timidity/timidity.cfg
I’m not sure where this message is coming from, either. Timidity,
I guess, but the version I have doesn’t seem to send this message.
Anyhow, did you do as suggested? Look in /etc/timidity/timidity.cfg,
if this file exists, and see what is there. If there is a statement
"source freepats.cfg" there, but there is no file freepats.cfg,
then that’s your problem.
Here’s the situation. For timidity to work, you have to have
a set of GUS .pat files on your system, and timidity has to
be able to find them. One such set of .pat files is the
freepats set, available at http://freepats.opensrc.org/.
Perhaps you have these. If not, perhaps you want to get
them.
Then, for timidity to find the .pat files, it has to find
its configuration file, named “timidity.cfg”. One standard
place for this file is in the directory /etc/timidity/, and
another standard place is in the directory
/usr/local/lib/timidity/. This message you got suggests
that timidity is looking in the first place, but the message
might be misleading, so check both places. If you find
the file on your system, you want to somehow fix things
so timidity can find it. If, for example, you have the
file “timidity.cfg” and the .pat files in /usr/local/lib/timidity/.
it might work to cd to /etc and “ln -s /usr/local/lib/timidity”.
If you don’t have “timidity.cfg” anywhere, you probably want
to download and install the freepats set of patches, because
that will have a sample “timidity.cfg” file. If you do
have “timidity.cfg”, take a look at its contents. The GUS
.pat files and .cfg files should either be in the same
directory as “timidity.cfg”, or else there should be a
statement "dir " that says where they are to
be found.
There are other sets of GUS .pat files. The “eawpats” set
is more complete than “freepats”, but it doesn’t seem to
be available any more. At least, I can’t find it on the
net. If you want to go to the trouble, you can construct
sets of .pat files from soundfonts using my utility program
"unsf", which is in the distribution of the midi player "gt"
at ftp://ling.lll.hawaii.edu/pub/greg/gt-0.3.tar.gz.
Greg