• In timidity.cfg, mapping a whole bank...

    From [email protected]@21:1/5 to Peter Billam on Sat May 7 13:51:13 2016
    On Tuesday, February 21, 2012 at 3:28:09 AM UTC-7, Peter Billam wrote:
    Greetings :-) I've just posted this query in
    https://sourceforge.net/projects/timidity/forums/forum/217456
    but since that's one of the many forums that get about one post
    every couple of years, I ask here too.

    In timidity.cfg, I'd like to do something like
    bank 3 = soundfont Glook.sf2 bank 0
    bank 4 = soundfont Glook.sf2 bank 8
    bank 5 = soundfont Glerk.sf2 bank 0
    and so on; in other words to map a whole bank to a whole bank of
    some soundfont (or of some zipfile of Gravis patches). But in
    man timidity.cfg I can only see how to do that patch by patch,
    in 128 lines per bank :-( like this:
    bank 3
    0 %font Glook.sf2 0 0
    1 %font Glook.sf2 0 1
    2 %font Glook.sf2 0 2
    ...
    etc. But surely there's a better way ?
    I'm using timidity 2.13.2-39+b1 on debian stable.

    Regards, Peter

    --
    Peter Billam www.pjb.com.au www.pjb.com.au/comp/contact.html

    Perhaps the following, from the timidity.cfg manpage?:

    #extension copybank bank
    Copies all settings of the bank to the current bank.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Billam@21:1/5 to [email protected] on Sat May 7 23:24:06 2016
    On 2016-05-07, [email protected] <[email protected]> wrote:
    On Tuesday, February 21, 2012 at 3:28:09 AM UTC-7, Peter Billam wrote:
    In timidity.cfg, I'd like to do something like
    bank 3 = soundfont Glook.sf2 bank 0
    bank 4 = soundfont Glook.sf2 bank 8
    bank 5 = soundfont Glerk.sf2 bank 0
    and so on; in other words to map a whole bank to a whole bank of
    some soundfont (or of some zipfile of Gravis patches). But in
    man timidity.cfg I can only see how to do that patch by patch,
    in 128 lines per bank :-( like this:
    bank 3
    0 %font Glook.sf2 0 0
    1 %font Glook.sf2 0 1
    2 %font Glook.sf2 0 2
    ...
    etc. But surely there's a better way ?
    I'm using timidity 2.13.2-39+b1 on debian stable.

    Perhaps the following, from the timidity.cfg manpage?:

    #extension copybank bank
    Copies all settings of the bank to the current bank.

    Aha ! yes, that looks exactly like what's needed :-)
    Also, it's in my timidity.cfg manpage :-)
    box8 (debian) > timidity --version
    TiMidity++ version 2.13.2

    The soundfont I'm wanting to use is
    http://www.pjb.com.au/midi/free/Bank5.sf2
    I haven't managed to get it working yet, though... I've tried
    soundfont /home/pjb/www/midi/free/Bank5.sf2
    bank 5
    #extension copybank 5
    and
    bank 5
    soundfont /home/pjb/www/midi/free/Bank5.sf2
    #extension copybank 5
    and also
    soundfont /home/pjb/www/midi/free/Bank5.sf2
    bank 5
    extension copybank 5
    and
    soundfont /home/pjb/www/midi/free/Bank5.sf2
    bank 5
    copybank 5
    but I haven't stumbled on the magic formula yet :-(

    copybank is a breakthrough, though. Thanks for spotting this...

    Regards, Peter

    --

    Peter Billam www.pjb.com.au www.pjb.com.au/comp/contact.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)