0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

change logic of the master volume

This commit is contained in:
2025-07-08 19:39:25 +02:00
parent cc35da31e3
commit 8932a9a24d
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
{
"port": 13452,
"time": 1751831842961,
"time": 1751996081486,
"version": "0.0.3"
}

View File

@@ -248,7 +248,7 @@ int run_fm95(const FM95_Config config, FM95_Runtime* runtime) {
mpx *= bs412_audio_gain;
output[i] = hard_clip(mpx, 1.0f)*config.master_volume+mpx_in[i]; // Ensure peak deviation of 75 khz, assuming we're calibrated correctly
output[i] = hard_clip((mpx_in[i]+mpx)*config.master_volume, 1.0); // Ensure peak deviation of 75 khz, assuming we're calibrated correctly (lower)
advance_oscillator(&osc);
}