Hi.

Did you try compiling from source code?

I've compiled timidity from source code, 2.13.2,
from the official(?) site.

I've tested on Vine Linux 4.2.

--
./configure --enable-audio="oss,alsa" --enable-alsaseq
make clean all
--

and placed the binary to /usr/local/bin.

This binary worked with your init.d script, with
slight modification.

1) added HOME=/root for safety.
  o HOME environment seems to be referred from
    timidity/timidity.c.
2) optimized options for timidity
  o to use ALSA pcm device directly with 16-bit sample,
    linear encoding. (-Os1l option.)
  o optimization of buffering. (-B2,8 option.)
  o "-iA -B2,8 -Os1l -s 44100 -p 512" was good for me.
3) kick /usr/local/bin/timidity instead of /usr/bin/timidity.
  o Vine's timidity binary does not compiled with 
    alsaseq.

Kicking init.d script showed "128:0, 128:1, 128:2, and
128:3" are avaiable.

"aplaymidi -p 128:0 midi/foo.midi" worked fine.

BTW,

>[jonat...@poseidon ~]$ sudo service timidity start
>[jonat...@poseidon ~]$ file mcoputils.cc: line 499 (static std::string 
>Arts::MCOPUtils::mcopDirectory()): assertion failed: (home != 0)
>HOME environment variable not set?
>jack_client_new: deprecated

Your timidity binary on Fedora seems trying to 
connect to JACK audio interface.

Add -Os1l to connect to ALSA pcm device.

--
wataru.em


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Timidity-talk mailing list
Timidity-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/timidity-talk

Reply via email to