mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
this is asbest as i could make it
This commit is contained in:
@@ -38,7 +38,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
|
||||
mpx->average_counter++;
|
||||
|
||||
float avg_power = mpx->average / mpx->average_counter;
|
||||
float avg_deviation = sqrtf(avg_power);
|
||||
float avg_deviation = sqrtf(avg_power) * sqrtf(2);
|
||||
float modulation_power = deviation_to_dbr(avg_deviation);
|
||||
|
||||
#ifdef BS412_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user