Re: [fluid-dev] Percussion Channel

2020-12-10 Thread Tom M. via fluid-dev
nFsResult = fluid_synth_system_reset( synth ); You should use program_reset. system_reset will reset any previous changes made to the synth. [But interestingly setting channel 64 to percussion *does* work.] Because future prog changes will implicitly select a preset from the drum b

Re: [fluid-dev] Percussion Channel

2020-12-10 Thread dave
Hi Tom, Thanks for your further help. >... you have to set the bank as well: > fluid_synth_set_channel_type( synth, 9, CHANNEL_TYPE_MELODIC); > fluid_synth_bank_select(synth, 9, 0); // bank 0 fluid_synth_program_reset(); > Alternatively, use fluid_synth_program_select() right away. I've now inc

Re: [fluid-dev] Percussion Channel

2020-12-10 Thread Tom M. via fluid-dev
Please make sure to include the mailing list when replying. On 10.12.20 15:10, d...@mozart.co.uk wrote: Hi Tom, fluid_synth_set_channel_type() changes the type only. It does not assign new presets. To do this, either add a call to fluid_synth_program_reset() or send some fluid_synth_progra

Re: [fluid-dev] Percussion Channel

2020-12-10 Thread Tom M. via fluid-dev
fluid_synth_set_channel_type() changes the type only. It does not assign new presets. To do this, either add a call to fluid_synth_program_reset() or send some fluid_synth_program_change() messages afterwards. And make sure to implement proper error handling by checking the return values of those

[fluid-dev] Percussion Channel

2020-12-10 Thread dave
Hi Everyone, I'm new to FluidSynth and have hit a problem with percussion. I want to play pieces with up to 64 parallel 'strands' of music, one of which may or may not be percussion.FluidSynth's ability to let me have up to 64 different voices playing back on up to 64 different channels is