0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

adjust compressor

This commit is contained in:
2025-03-01 21:11:00 +01:00
parent b513b98a9a
commit 5f4a945d53
2 changed files with 5 additions and 2 deletions

View File

@@ -22,4 +22,7 @@ cd build
cmake ..
make
```
Done!
Done!
# CPU Usage?
Should run completly fine on a pi 5, right now with the preemp, lpf, compressor on a pi 3b, its 35-40% cpu usage, get rid of compressor and it goes to 20%

View File

@@ -375,7 +375,7 @@ int main(int argc, char **argv) {
init_lpf(&lpf_r, LPF_CUTOFF, 1.25f, SAMPLE_RATE);
StereoCompressor comp;
init_compressor_stereo(&comp, -2.0f, 15.0f, 2.0f, 0.0f, 0.015f, 0.25f, 0.01f, SAMPLE_RATE);
init_compressor_stereo(&comp, -3.0f, 12.5f, 8.0f, 0.0f, 0.02f, 0.4f, 0.015f, SAMPLE_RATE);
// #endregion
signal(SIGINT, stop);