mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 16:59:16 +02:00
change logic of the master volume
This commit is contained in:
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"port": 13452,
|
"port": 13452,
|
||||||
"time": 1751831842961,
|
"time": 1751996081486,
|
||||||
"version": "0.0.3"
|
"version": "0.0.3"
|
||||||
}
|
}
|
||||||
+1
-1
@@ -248,7 +248,7 @@ int run_fm95(const FM95_Config config, FM95_Runtime* runtime) {
|
|||||||
|
|
||||||
mpx *= bs412_audio_gain;
|
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);
|
advance_oscillator(&osc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user