Tuning with --freq-table

View: New views
4 Messages — Rating Filter:   Alert me  

Tuning with --freq-table

by anisometropie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm using this command to start a timidity server.
timidity -iA -B2,8 -Z /etc/timidity/temperament.egal -Os -EFreverb=0&

i'm using the option -Z /etc/timidity/temperament.egal because I want to set the A to 442hz, and still the have the equal temperament.

but this option only works when I use the command myself in bash.
I want this option to be used every times, even when I start my computer.

so I added this line to /etc/timidity/timidity.cfg :

# Instrument configuration file for timidity
# $Id: timidity.cfg,v 1.7 2005/09/03 19:26:03 hmh Exp $
[...]
#opt s32kHz             #default sample frequency to 32kHz
#opt fast-decay         #fast decay notes
opt freq-table=/etc/timidity/temperament.egal

but this is not working.
Any idea why?

thanks in advance.


------------------------------------------------------------------------------

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

Re: Tuning with --freq-table

by Eric Welsh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 26 Jul 2009, anisometropie wrote:

> # Instrument configuration file for timidity
> # $Id: timidity.cfg,v 1.7 2005/09/03 19:26:03 hmh Exp $
> [...]
> #opt s32kHz             #default sample frequency to 32kHz
> #opt fast-decay         #fast decay notes
> *opt freq-table=/etc/timidity/temperament.egal*
>
> but this is not working.
> Any idea why?

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

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

Re: Tuning with --freq-table

by anisometropie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



2009/7/26 Eric Welsh <ewelsh@...>
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&


------------------------------------------------------------------------------

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

Re: Tuning with --freq-table

by Eric Welsh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 26 Jul 2009, anisometropie wrote:

> 2009/7/26 Eric Welsh <ewelsh@...>
>
> > 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@...
https://lists.sourceforge.net/lists/listinfo/timidity-talk