Re: [fluid-dev] Fluidsynth bank select

2017-12-28 Thread Ceresa Jean-Jacques
Hi, David   >I am now moving on to reverb, where there appear to be other potential >problems with >ill defined parameters and numbers without units. I may come back on this.   About Reverb parameters and units range, the Wiki have been recently documented please see https://github.com/FluidSy

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
Tom The problem with your suggested code is that it does not work properly!!! Bank 0 appears to be always selected no matter what bank I try to select. I have tried 0, 1, 10 and 200 with an sf2 font which has only banks 0 and 1,in all cases there is no error and bank 0 is selected. See my code bel

Re: [fluid-dev] Fluidsynth bank select

2017-12-28 Thread David Back
Thanks Tom I agree that there is no need for examples if the functions really are easy to use, howeverat present these functions are not easy to use because the parameters are not definedadequately. I will look forward to proper definitions of reset and offset. Yes I could use your suggested cod