Set default gain for Fluidsynth to a value more in-line with most audio files
Some checks failed
Build / build-gentoo (push) Failing after 1m24s
Build / download-system-deps (push) Successful in 4m5s
Build / get-source-code (push) Successful in 11m39s
Build / build-appimage (push) Successful in 4m54s
Build / build-android (push) Failing after 3m24s
Build / build-windows (push) Failing after 8m6s
Some checks failed
Build / build-gentoo (push) Failing after 1m24s
Build / download-system-deps (push) Successful in 4m5s
Build / get-source-code (push) Successful in 11m39s
Build / build-appimage (push) Successful in 4m54s
Build / build-android (push) Failing after 3m24s
Build / build-windows (push) Failing after 8m6s
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