0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00
This commit is contained in:
2025-07-08 22:59:17 +02:00
parent 69494eaac4
commit dced0383d5

View File

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