Hello,
Sorry about replying to this so late! I had to travel
suddenly and had to put my project on hold for a while. I'm
back on it now, though.
Thanks for your suggestions. I'm going to try using a
crontab to see if that solves the problem. To answer your
question, yes I've set the $FSCONFIG variable. The funny thing
is that if I run the script manually from the shell after
boot, everything works fine! It just doesn't load the config
file at boot. And no, fslog.txt has nothing useful :(
So I had another unrelated question that I'm wondering if
you can help me with
My setup is like this:
I've defined multiple tunings in the configuration file
using the following commands:
tuning TuningOne 0 0
tuning TuningTwo 0 1
This creates two tunings, 'TuningOne' on bank 0, prog 0
and 'TuningTwo' on bank 0, prog 1.
Now I can select the tuning I want using settuning. So
eg:
settuning 0 0 0 will select the tuning on prog 0, bank 0,
for channel 0;
settuning 0 0 1 will select the tuning on prog 1, bank 0,
for channel 0;
Now, my sound font has two presets, one is set to bank 0,
prog 0 and the other to bank 0, prog 1.
In the fluidsynth shell, I can use the select command to
correctly select the preset I need to use. The command is
[select chan sfont bank prog].
So 'select 0 1 0 0' selects preset 0 on bank 0 for sfont 1
on channel 0;
So 'select 0 1 0 1' selects preset 1 on bank 0 for sfont 1
on channel 0;
BUT, using the select command to change the preset DOES NOT
change the tuning. If I use the select command to select
preset 1, shouldn't the tuning already assigned to preset 1 be
selected as well? Are there two sets of of banks/progs? How
does all this fit together?
Or have I not understood how this works at all?
Thanks!
Srijan