mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-30 16:29:15 +02:00
move clipper thing
This commit is contained in:
+1
-1
@@ -248,7 +248,7 @@ int run_fm95(const FM95_Config config, FM95_Runtime* runtime) {
|
|||||||
|
|
||||||
mpx = bs412_compress(&runtime->bs412, mpx+mpx_in[i]);
|
mpx = bs412_compress(&runtime->bs412, mpx+mpx_in[i]);
|
||||||
|
|
||||||
output[i] = hard_clip(mpx*config.master_volume, 1.0); // Ensure peak deviation of 75 khz (or the set deviation), assuming we're calibrated correctly
|
output[i] = hard_clip(mpx, 1.0)*config.master_volume; // Ensure peak deviation of 75 khz (or the set deviation), assuming we're calibrated correctly
|
||||||
advance_oscillator(&runtime->osc);
|
advance_oscillator(&runtime->osc);
|
||||||
|
|
||||||
output_hq[2*i+0] = hard_clip(l, 1.0f);
|
output_hq[2*i+0] = hard_clip(l, 1.0f);
|
||||||
|
|||||||
Reference in New Issue
Block a user