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

does this even work?

This commit is contained in:
2025-03-08 21:49:33 +01:00
parent 2e89aa4457
commit 9ea27e7b4c
2 changed files with 261 additions and 4 deletions

View File

@@ -14,8 +14,6 @@
#define DEFAULT_SCA_CLIPPER_THRESHOLD 1.0f // Full deviation, if you set this to 0.5 then you may as well set the deviation to 3.5k
#define DEFAULT_PREEMPHASIS_TAU 50e-6 // Europe, the freedomers use 75µs
//#define USB
#include "../lib/constants.h"
#include "../lib/oscillator.h"
#include "../lib/filters.h"
@@ -375,8 +373,8 @@ int main(int argc, char **argv) {
BiquadFilter lpf_l1, lpf_r1, lpf_l2, lpf_r2;
init_lpf(&lpf_l1, LPF_CUTOFF, 0.70710678f, SAMPLE_RATE);
init_lpf(&lpf_r1, LPF_CUTOFF, 0.70710678f, SAMPLE_RATE);
init_lpf(&lpf_l2, LPF_CUTOFF, 0.70710678f, SAMPLE_RATE);
init_lpf(&lpf_r2, LPF_CUTOFF, 0.70710678f, SAMPLE_RATE);
init_lpf(&lpf_l2, LPF_CUTOFF, 0.70710678f/2.0f, SAMPLE_RATE);
init_lpf(&lpf_r2, LPF_CUTOFF, 0.70710678f/2.0f, SAMPLE_RATE);
// #endregion
signal(SIGINT, stop);