Set default gain for Fluidsynth to a value more in-line with most audio files
This commit is contained in:
parent
e8af95be9b
commit
5244a7dd83
1 changed files with 2 additions and 1 deletions
|
@ -62,6 +62,7 @@ void FluidSynthBackend::load(const char *filename) {
|
|||
File *file = open_file(filename);
|
||||
settings = new_fluid_settings();
|
||||
fluid_settings_setnum(settings, "synth.sample-rate", 96000.0);
|
||||
fluid_settings_setnum(settings, "synth.gain", 0.5);
|
||||
fluid_settings_foreach(settings, (void*)this, &fluidsynth_get_property_list_wrapper);
|
||||
synth = new_fluid_synth(settings);
|
||||
player = new_fluid_player(synth);
|
||||
|
|
Loading…
Reference in a new issue