Hi David,

2017-12-20 22:08 GMT+01:00 David Back <csw...@yahoo.co.uk>:

> It would be useful to know whether this command has to be given before
> or after loading the sound font. Or perhaps it makes no difference.

Well, as one of the parameters to the fluid_synth_set_bank_offset function
is the sound font id, you will have to use it after loading.
And in case you use fluid_synth_program_reset, the offset needs to be set
before the reset call.

Instead of using the API, you could also use the FluidSynth command line:

   load /path/to/sound/font.sf2 0 -10

That would load the soundfont with an offset of 10. So FluidSynths bank 0
will load the soundfont bank 10. The second parameter controls whether to
resend a bank select and program change for every channel after loading (1)
or not (0).

Cheers,

    Marcus
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to