Strangely works OK only if the peak reading display is on ??
From: fluid-dev-bounces+mnjmiller=outlook@nongnu.org
on behalf of michael
miller
Sent: Saturday, July 22, 2023 6:56 PM
To: fluid-dev@nongnu.org
Subject: [fluid-dev] percussion channel problem
# RaspBerry Pi 4 and/or 400
# FluidSynth from RPi repository
# Launch Qsynth
# Launch Thonny (Python)
# No sound from channel 10
# This works right with Timidity
import os
import time
os.system("sudo modprobe snd-virmidi")
os.system("aconnect 28:0 128:0")
fo=open("/dev/snd/midiC3D0","wb",b
Thanks again for your help Tom. It's all working now!
For the benefit of anyone else wanting to set a percussion channel other than
9, and have 9 as melodic, the following seems to be the minimum number of
steps. (For clarity I'm omitting the checks on the success of the various
calls.)
===
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
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
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
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
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