From c22c338a526e4c97360140a6ba96a36a4e6cf43f Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Thu, 2 Jan 2025 19:39:23 +0100 Subject: [PATCH] adjust --- src/sca_mod.c | 4 ++-- src/stereo_sca_mod.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sca_mod.c b/src/sca_mod.c index 1a080b7..e85344d 100644 --- a/src/sca_mod.c +++ b/src/sca_mod.c @@ -16,7 +16,7 @@ #define SAMPLE_RATE 192000 -#define INPUT_DEVICE "real_real_tx_audio_input.monitor" +#define INPUT_DEVICE "SCA.monitor" #define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback" #define BUFFER_SIZE 512 #define CLIPPER_THRESHOLD 0.75 // Adjust this as needed, this also limits deviation, so if you set this to 0.5 then the deviation will be limited to half @@ -24,7 +24,7 @@ #define VOLUME 0.03f // SCA Volume #define VOLUME_AUDIO 1.0f // SCA Audio volume #define FREQUENCY 67000 // SCA Frequency -#define DEVIATION 7000 // SCA Deviation +#define DEVIATION 6000 // SCA Deviation #ifdef PREEMPHASIS #define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america diff --git a/src/stereo_sca_mod.c b/src/stereo_sca_mod.c index 722c8f4..fe487d8 100644 --- a/src/stereo_sca_mod.c +++ b/src/stereo_sca_mod.c @@ -16,7 +16,7 @@ #define SAMPLE_RATE 192000 -#define INPUT_DEVICE "real_real_tx_audio_input.monitor" +#define INPUT_DEVICE "SCA.monitor" #define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback" #define BUFFER_SIZE 512 #define CLIPPER_THRESHOLD 0.75 // Adjust this as needed, this also limits deviation, so if you set this to 0.5 then the deviation will be limited to half