Skip to content

Commit

Permalink
Revert synth.gain to its old default value
Browse files Browse the repository at this point in the history
Fixes #1405
  • Loading branch information
derselbst committed Oct 31, 2024
1 parent 95e4cd8 commit 9bbe7d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/fluidsettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Developers:
<setting>
<name>gain</name>
<type>num</type>
<def>0.6 (since version 2.4.0),<br />0.2 (2.3.x and older)</def>
<def>0.2</def>
<min>0.0</min>
<max>10.0</max>
<realtime/>
Expand Down
1 change: 0 additions & 1 deletion doc/recent_changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
\page RecentChanges Recent Changes
\section NewIn2_4_0 What's new in 2.4.0?
- synth.device-id now has a default value of 16
- synth.gain now has a default value of 0.6
- Default values of reverb and chorus settings have been tuned
- fluid_mod_get_transform() and fluid_mod_set_transform() for SoundFont 2.04 compliant modulators

Expand Down
2 changes: 1 addition & 1 deletion src/synth/fluid_synth.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void fluid_synth_settings(fluid_settings_t *settings)

fluid_settings_register_int(settings, "synth.polyphony", 256, 1, 65535, 0);
fluid_settings_register_int(settings, "synth.midi-channels", 16, 16, 256, 0);
fluid_settings_register_num(settings, "synth.gain", 0.6, 0.0, 10.0, 0);
fluid_settings_register_num(settings, "synth.gain", 0.2, 0.0, 10.0, 0);
fluid_settings_register_int(settings, "synth.audio-channels", 1, 1, 128, 0);
fluid_settings_register_int(settings, "synth.audio-groups", 1, 1, 128, 0);
fluid_settings_register_int(settings, "synth.effects-channels", 2, 2, 2, 0);
Expand Down

0 comments on commit 9bbe7d5

Please sign in to comment.