[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] fluidsynth, Midi Bank Select

From: David Back
Subject: Re: [fluid-dev] fluidsynth, Midi Bank Select
Date: Thu, 21 Dec 2017 08:51:46 +0000 (UTC)

Thanks Marcus for your very useful information. I think you have now
answered all my questions and I have already started to implement
the set_bank_offset function. I may know later today whether it works
as I hope it will and will let you know the result.


From: Marcus Weseloh <address@hidden>
To: David Back <address@hidden>
Cc: FluidSynth mailing list <address@hidden>
Sent: Wednesday, 20 December 2017, 21:47
Subject: Re: [fluid-dev] fluidsynth, Midi Bank Select

Hi David,

2017-12-20 22:08 GMT+01:00 David Back <address@hidden>:

> 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).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]