From 2c5e6265893110a0e37db6e67bfaacd59554f3bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Mary=C5=84czak?= Date: Sat, 30 Dec 2023 21:42:35 +0100 Subject: [PATCH] Make buildin synth volume less dank (#124) Gain 1.0 is way to high and causes distortion in loud tracks --- neothesia/src/output_manager/synth_backend.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/neothesia/src/output_manager/synth_backend.rs b/neothesia/src/output_manager/synth_backend.rs index 00658f0c..577419ed 100644 --- a/neothesia/src/output_manager/synth_backend.rs +++ b/neothesia/src/output_manager/synth_backend.rs @@ -178,7 +178,6 @@ fn oxisynth_adapter( let mut synth = oxisynth::Synth::new(oxisynth::SynthDescriptor { sample_rate, - gain: 1.0, ..Default::default() }) .unwrap(); @@ -218,7 +217,6 @@ fn fluidsynth_adapter( let synth = fluidlite::Synth::new(settings).unwrap(); synth.sfload(path, true).unwrap(); - synth.set_gain(1.0); synth };