Re: [fluid-dev] Fluidsynth bank select

2018-01-01 Thread Tom M.
> If a selected bank does not exist it (appears to) ignore the command to > change bank and does not give any error. fluid_synth_bank_select() is never ignored, it always sets the midi channel to the specified bank, also if it doesnt exist in your soundfont. Whether the instrument later assigne

Re: [fluid-dev] Fluidsynth bank select

2018-01-01 Thread David Back
it behaves better. I will never be loading more than one sound font at a time. Best WishesDavid From: Tom M. To: David Back Cc: FluidSynth mailing list Sent: Saturday, 30 December 2017, 14:34 Subject: Re: [fluid-dev] Fluidsynth bank select I've updated the docs regarding &q

Re: [fluid-dev] Fluidsynth bank select

2017-12-30 Thread Tom M.
I've updated the docs regarding "offset" and "reset_preset": fluid_synth_set_bank_offset() http://www.fluidsynth.org/api/synth_8h.html#a8b533b00ff0884d3a2bb3f61abfe7682 fluid_synth_sfload() http://www.fluidsynth.org/api/synth_8h.html#aaf9376cf7189f9c64da5ffdeed85c9c4 It seems to be intended that

Re: [fluid-dev] Fluidsynth bank select

2017-12-28 Thread Ceresa Jean-Jacques
ithub.com/FluidSynth/fluidsynth/wiki/UserManual (REVERB section). jjc   > Message du 28/12/17 10:00 > De : "David Back" > A : "Tom M." > Copie à : "fluid-dev@nongnu.org" > Objet : Re: [fluid-dev] Fluidsynth bank select > > Thanks Tom > I agree

Re: [fluid-dev] Fluidsynth bank select

2017-12-28 Thread Tom M.
Oh indeed. You need to call fluid_synth_program_reset() after having set up your banks. While fluid_synth_bank_select() does assign the correct bank to use internally, it doesnt assign the fluid_preset_t for this channel. Other functions like fluid_synth_program_select() and fluid_synth_program

Re: [fluid-dev] Fluidsynth bank select

2017-12-28 Thread David Back
0; i To: David Back Cc: fluid-dev@nongnu.org Sent: Wednesday, 27 December 2017, 14:30 Subject: Re: [fluid-dev] Fluidsynth bank select Regarding "reset" and "offset" I agree they could be explained a bit more detailed. I'll see what can be done. > You also need s

Re: [fluid-dev] Fluidsynth bank select

2017-12-28 Thread David Back
. To: David Back Cc: fluid-dev@nongnu.org Sent: Wednesday, 27 December 2017, 14:30 Subject: Re: [fluid-dev] Fluidsynth bank select Regarding "reset" and "offset" I agree they could be explained a bit more detailed. I'll see what can be done. > You also need s

Re: [fluid-dev] Fluidsynth bank select

2017-12-27 Thread Tom M.
Regarding "reset" and "offset" I agree they could be explained a bit more detailed. I'll see what can be done. > You also need several examples of how these functions should be used -- there > are none. Sorry, there really is nothing special about using these functions. We cannot have an examp

Re: [fluid-dev] Fluidsynth bank select

2017-12-27 Thread David Back
dfluid_synth_bank_select() selects the bank for only one channel at a time so is not what I needed, though it could be pressed into service if therewas no alternative. Best WishesDavid From: Tom M. To: David Back ; FluidSynth mailing list Sent: Friday, 22 December 2017, 20:50 S

Re: [fluid-dev] Fluidsynth bank select

2017-12-22 Thread Tom M.
> Just as I said at the start; the Documentation of bank selection is a mess > which is virtually impossible for someone who has not studied the code and > scraps of documentation in detail to follow. Sorry, to which documentation are you referring specifically? Tom 2017-12-21 19:28 GMT+01:0

Re: [fluid-dev] Fluidsynth bank select

2017-12-21 Thread David Back
Hi Marcus I realised after reading the Documentation again that reverb has to be setupbefore the synth is started (its not a REAL TIME option). I have now movedit back to its proper place and it is working. Its quite strange listening to an organwith reverb off!! I do not totally understand what

Re: [fluid-dev] Fluidsynth bank select

2017-12-21 Thread Marcus Weseloh
Hi David, 2017-12-21 14:45 GMT+01:00 David Back : > > Yes it is working now, I have managed to get bank 1 selected and just as > you prophesied I needed to use an offset of -1 to select it. That is weird, because from looking at your code, I wouldn't have expected it to work. > int Division::loa

[fluid-dev] Fluidsynth bank select

2017-12-21 Thread David Back
Hi Marcus Yes it is working now, I have managed to get bank 1 selected and just asyou prophesied I needed to use an offset of -1 to select it.I include my code below, you may wish to use it as an example in thefluidsynth documentation. int Division::loadSoundFont(char* sfont, int reverb, int bank