Discussion:
In timidity.cfg, mapping a whole bank...
(too old to reply)
Peter Billam
2012-02-21 10:28:09 UTC
Permalink
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
a***@gmail.com
2016-05-07 20:51:13 UTC
Permalink
Post by Peter Billam
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,
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.
Peter Billam
2016-05-07 23:24:06 UTC
Permalink
Post by a***@gmail.com
Post by Peter Billam
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,
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.
#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
Loading...