Fix SF2 gain problems when exporting
Fix the SF2 gain problems that persisted in issue #2204
This commit is contained in:
@@ -483,7 +483,6 @@ void sf2Instrument::updateSampleRate()
|
||||
|
||||
// synth program change (set bank and patch)
|
||||
updatePatch();
|
||||
updateGain();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -524,6 +523,7 @@ void sf2Instrument::updateSampleRate()
|
||||
updateChorus();
|
||||
updateReverbOn();
|
||||
updateChorusOn();
|
||||
updateGain();
|
||||
|
||||
// Reset last MIDI pitch properties, which will be set to the correct values
|
||||
// upon playing the next note
|
||||
|
||||
Reference in New Issue
Block a user