On Sun, 26 Jul 2009, anisometropie wrote:

> 2009/7/26 Eric Welsh <ewe...@biology.wustl.edu>
>
> > Try "#extension opt", and include the dashes before the arguments:
> >
> > #extension opt -B 2,8
> > #extension opt -EFreverb=0
> > #extension opt -s 32000
> > #extension opt --fast-decay
> > #extension opt --freq-table=/etc/timidity/temperament.egal
> >
> > -Eric
> >
>
> If i add the sharp #, it will comment the line.
> I've tried without and I get a syntax error for those lines :
>
> extension opt -iA
> extension opt -B2,8
> extension opt -Z /etc/timidity/temperament.egal
> extension opt -Os -EFreverb=0&

I googled for a man page and pulled up the following:

>>BEGIN QUOTE
   #extension opt [-]{option} [optarg]
          Sets the value of boot-time options.

   ...

   These  "#extension" statements are beginning with character '#' that is
   the comment flag of old TiMidity(version 0.2i or  earlier).   So
   these statememts are treated as comment line.
   The latest TiMidity treats "#extension" as white-space. So you can
   omit it.
<<END_QUOTE

So, #extension is treated as a special case and not treated as a comment.
It also looks like you can simply omit the #extension and use "opt" by
itself like you were originally doing (but don't forget to prefix the
options with their - signs).  I've always used the #extension lines, but
it looks like either way should work from the documentation.

-Eric

------------------------------------------------------------------------------
_______________________________________________
Timidity-talk mailing list
Timidity-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/timidity-talk

Reply via email to