diff --git a/backends/playback/fluidsynth/fluidsynth_backend.cpp b/backends/playback/fluidsynth/fluidsynth_backend.cpp index 2266312..5b25c57 100644 --- a/backends/playback/fluidsynth/fluidsynth_backend.cpp +++ b/backends/playback/fluidsynth/fluidsynth_backend.cpp @@ -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); @@ -179,4 +180,4 @@ void FluidSynthBackend::reset_fluidsynth_property(std::string path) { } } break; } -} \ No newline at end of file +}