mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-26 13:50:50 +00:00
Applied Ken Ellinwood's fix:
I fixed the handling of a MIDI bank select controller 0, e.g., bank select MSB (or "coarse" bank select according to my spec). Prior to this fix a channel's bank number was only changed upon reception of MIDI bank select controller 32, e.g, bank select LSB (or "fine" bank-select according to my spec).
This commit is contained in:
parent
5cee356119
commit
686da140e5
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,8 @@ fluid_channel_cc(fluid_channel_t* chan, int num, int value)
|
|||
{
|
||||
chan->bank_msb = (unsigned char) (value & 0x7f);
|
||||
/* printf("** bank select msb recieved: %d\n", value); */
|
||||
/* FIXME: is this correct? */
|
||||
fluid_channel_set_banknum(chan, (unsigned int)(value & 0x7f)); /* KLE */
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue