Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release/2.3' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Jun 15, 2024
2 parents f9bde41 + c189075 commit 231b690
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/fluidsettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Developers:
<max>127</max>
<realtime/>
<desc>
Device identifier used for SYSEX commands, such as MIDI Tuning Standard commands. Fluidsynth will only process those SYSEX commands destined for this ID (except when this setting is set to 127, which causes fluidsynth to process all SYSEX commands, regardless of the device ID). Broadcast commands (with ID=127) will always be processed.</desc>
Device identifier used for SYSEX commands, such as MIDI Tuning Standard commands. Fluidsynth will only process those SYSEX commands destined for this ID (except when this setting is set to 127, which causes fluidsynth to process all SYSEX commands, regardless of the device ID). Broadcast commands (with ID=127) will always be processed. It has been observed that setting this ID to 16 provides best compatibility when playing MIDI files which contain SYSEX commands that you want to have honored.</desc>
</setting>
<setting>
<name>dynamic-sample-loading</name>
Expand Down
6 changes: 5 additions & 1 deletion src/synth/fluid_synth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,10 @@ fluid_synth_cc_LOCAL(fluid_synth_t *synth, int channum, int num)

if(nrpn_select < GEN_LAST)
{
if(synth->verbose)
{
FLUID_LOG(FLUID_INFO, "NRPN\t%d\t%d\t%d", channum, nrpn_select, data);
}
float val = fluid_gen_scale_nrpn(nrpn_select, data);
fluid_synth_set_gen_LOCAL(synth, channum, nrpn_select, val);
}
Expand Down Expand Up @@ -2050,8 +2054,8 @@ fluid_synth_sysex(fluid_synth_t *synth, const char *data, int len,
|| data[3] == MIDI_SYSEX_GM2_ON))
{
int result;
synth->bank_select = FLUID_BANK_STYLE_GM;
fluid_synth_api_enter(synth);
synth->bank_select = FLUID_BANK_STYLE_GM;
result = fluid_synth_system_reset_LOCAL(synth);
FLUID_API_RETURN(result);
}
Expand Down

0 comments on commit 231b690

Please sign in to comment.