mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
that must be the guy
This commit is contained in:
@@ -159,7 +159,7 @@ int run_fm95(const FM95_Config config, FM95_Runtime* runtime) {
|
|||||||
|
|
||||||
AGC agc;
|
AGC agc;
|
||||||
// min max attack release
|
// min max attack release
|
||||||
initAGC(&agc, config.sample_rate, config.agc_target, 0.1f, 1.75f, 0.03f, 0.225f);
|
initAGC(&agc, config.sample_rate, config.agc_target, 0.1f, 2.75f, 0.03f, 0.225f);
|
||||||
|
|
||||||
int pulse_error;
|
int pulse_error;
|
||||||
|
|
||||||
@@ -227,7 +227,7 @@ int run_fm95(const FM95_Config config, FM95_Runtime* runtime) {
|
|||||||
|
|
||||||
bs412_audio_gain = 0.8f * bs412_audio_gain + 0.2f * target_gain;
|
bs412_audio_gain = 0.8f * bs412_audio_gain + 0.2f * target_gain;
|
||||||
}
|
}
|
||||||
} else bs412_audio_gain = fminf(3.5f, bs412_audio_gain + 0.001f);
|
} else bs412_audio_gain = fminf(1.25f, bs412_audio_gain + 0.001f);
|
||||||
|
|
||||||
mpx *= bs412_audio_gain;
|
mpx *= bs412_audio_gain;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user