[beast/wip/soundfont: 828/832] BSE: SF2: set fluid synth gain to 1.0 (default is 0.2)
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/wip/soundfont: 828/832] BSE: SF2: set fluid synth gain to 1.0 (default is 0.2)
- Date: Sun, 6 Nov 2016 11:52:18 +0000 (UTC)
commit 9b2fd457f93a933c4aee524eb698513b6ca8ba7e
Author: Stefan Westerfeld <stefan space twc de>
Date: Tue Oct 11 16:11:26 2016 +0200
BSE: SF2: set fluid synth gain to 1.0 (default is 0.2)
Soundfont instruments should be (approximately) as loud as beast synthesis
network instruments.
bse/bsesoundfontrepo.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bse/bsesoundfontrepo.cc b/bse/bsesoundfontrepo.cc
index 1dd8e94..4ee9d0a 100644
--- a/bse/bsesoundfontrepo.cc
+++ b/bse/bsesoundfontrepo.cc
@@ -170,6 +170,8 @@ bse_sound_font_repo_prepare (BseSource *source)
sfrepo->fluid_mix_freq = mix_freq;
fluid_settings_setnum (sfrepo->fluid_settings, "synth.sample-rate", mix_freq);
+ /* soundfont instruments should be as loud as beast synthesis network instruments */
+ fluid_settings_setnum (sfrepo->fluid_settings, "synth.gain", 1.0);
fluid_settings_setint (sfrepo->fluid_settings, "synth.midi-channels", channels_required);
fluid_settings_setint (sfrepo->fluid_settings, "synth.audio-channels", channels_required);
fluid_settings_setint (sfrepo->fluid_settings, "synth.audio-groups", channels_required);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]