From 57cc016788e31944d16aac951ef09c4c276d96ec Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Wed, 1 Jan 2025 15:32:35 +0100 Subject: [PATCH] adjust --- src/ssb_stereo_coder.c | 8 ++++---- src/stereo_coder.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ssb_stereo_coder.c b/src/ssb_stereo_coder.c index dea1441..4cf9db6 100644 --- a/src/ssb_stereo_coder.c +++ b/src/ssb_stereo_coder.c @@ -14,7 +14,7 @@ // Features #include "features.h" -#define USB +//#define USB #define SAMPLE_RATE 192000 // Don't go lower than 108 KHz, becuase it (53000*2) and (38000+15000) @@ -23,9 +23,9 @@ #define BUFFER_SIZE 512 #define CLIPPER_THRESHOLD 0.45 // Adjust this as needed -#define MONO_VOLUME 0.45f // L+R Signal -#define PILOT_VOLUME 0.0175f // 19 KHz Pilot -#define STEREO_VOLUME 0.2f // L-R signal +#define MONO_VOLUME 0.6f // L+R Signal +#define PILOT_VOLUME 0.035f // 19 KHz Pilot +#define STEREO_VOLUME 0.4f // L-R signal #ifdef PREEMPHASIS #define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america diff --git a/src/stereo_coder.c b/src/stereo_coder.c index b50ed94..22d5119 100644 --- a/src/stereo_coder.c +++ b/src/stereo_coder.c @@ -21,9 +21,9 @@ #define BUFFER_SIZE 512 #define CLIPPER_THRESHOLD 0.45 // Adjust this as needed -#define MONO_VOLUME 0.45f // L+R Signal -#define PILOT_VOLUME 0.0175f // 19 KHz Pilot -#define STEREO_VOLUME 0.35f // L-R signal +#define MONO_VOLUME 0.6f // L+R Signal +#define PILOT_VOLUME 0.035f // 19 KHz Pilot +#define STEREO_VOLUME 0.3f // L-R signal #ifdef PREEMPHASIS #define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america