On Sun, 2009-04-05 at 00:07 +1100, D.Bartolec wrote:
>
> I've discovered it after playing some MIDI files that would send bank
> LSB:0 for drum channel without sending bank MSB at all.
> This would cause drum tracks to change to MSB:0 LSB:0.
> Here is the fix:
>
Its likely those MIDI files ar
On Sun, 2009-04-05 at 08:08 +0200, David Henningsson wrote:
> D.Bartolec skrev:
> > I've discovered it after playing some MIDI files that would send bank LSB:0
> > for drum channel without sending bank MSB at all.
> > This would cause drum tracks to change to MSB:0 LSB:0.
>
> I've taken a quick
David,
You are right this part of my fix show here:
+ if ( (chan == 9) && (bank_msb == 0))
+ {
+ bank_msb = 1; /* Ignore CC value and set the default MSB value for
drum channel */
+ }
is not necessary and yes it will prevent from other instruments being
assigned to drum channel.
I put
D.Bartolec skrev:
> I've discovered it after playing some MIDI files that would send bank LSB:0
> for drum channel without sending bank MSB at all.
> This would cause drum tracks to change to MSB:0 LSB:0.
I've taken a quick look at your patch now and I have a question:
> + if ( (chan == 9) &&
I've discovered it after playing some MIDI files that would send bank LSB:0 for
drum channel without sending bank MSB at all.
This would cause drum tracks to change to MSB:0 LSB:0.
Here is the fix:
Index: src/fluid_chan.c
===
---