mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 11:33:54 +01:00
update
This commit is contained in:
@@ -6,7 +6,7 @@ FM95 is a audio processor for FM, it does:
|
|||||||
- Stereo
|
- Stereo
|
||||||
- Polar Stereo
|
- Polar Stereo
|
||||||
- SCA
|
- SCA
|
||||||
- A little bit of BS412 (MPX Power limit)
|
- BS412 (mpx power limiter, simplest implementation ever)
|
||||||
|
|
||||||
Supports these inputs:
|
Supports these inputs:
|
||||||
|
|
||||||
|
|||||||
@@ -533,9 +533,6 @@ int main(int argc, char **argv) {
|
|||||||
float reduction_factor_linear = powf(10.0f, -reduction_factor_db / 20.0f);
|
float reduction_factor_linear = powf(10.0f, -reduction_factor_db / 20.0f);
|
||||||
|
|
||||||
output[i] *= reduction_factor_linear;
|
output[i] *= reduction_factor_linear;
|
||||||
|
|
||||||
mpower = measure_mpx(&power, output[i] * 75000);
|
|
||||||
printf("Reduced overpower: %f -> %f (target: %f)\n", mpower + excess_power, mpower, mpx_power);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
output[i] *= master_volume;
|
output[i] *= master_volume;
|
||||||
|
|||||||
Reference in New Issue
Block a user