MIDI bank is set after the MIDI program
Fixes bug regarding incorrect program for the first few notes of some MIDI tracks.
This commit is contained in:
@@ -93,8 +93,8 @@ public sealed class InstrumentSystem : SharedInstrumentSystem
|
||||
|
||||
if (!instrument.AllowProgramChange)
|
||||
{
|
||||
instrument.Renderer.MidiProgram = instrument.InstrumentProgram;
|
||||
instrument.Renderer.MidiBank = instrument.InstrumentBank;
|
||||
instrument.Renderer.MidiProgram = instrument.InstrumentProgram;
|
||||
}
|
||||
|
||||
instrument.Renderer.LoopMidi = instrument.LoopMidi;
|
||||
|
||||
Reference in New Issue
Block a user