diff --git a/.vscode/.server-controller-port.log b/.vscode/.server-controller-port.log index 8602904..493b0c5 100644 --- a/.vscode/.server-controller-port.log +++ b/.vscode/.server-controller-port.log @@ -1,5 +1,5 @@ { "port": 13452, - "time": 1737462229390, + "time": 1737492785115, "version": "0.0.3" } \ No newline at end of file diff --git a/src/crosby_stereo_coder.c b/src/crosby_stereo_coder.c index 45309ea..8f233eb 100644 --- a/src/crosby_stereo_coder.c +++ b/src/crosby_stereo_coder.c @@ -20,9 +20,9 @@ #define BUFFER_SIZE 512 #define CLIPPER_THRESHOLD 0.525 // Adjust this as needed -#define MONO_VOLUME 0.6f // L+R Signal +#define MONO_VOLUME 0.5f // L+R Signal #define STEREO_VOLUME_AUDIO 1.0f // L-R signal -#define STEREO_VOLUME_MODULATION 0.1f // L-R signal +#define STEREO_VOLUME_MODULATION 0.5f // L-R signal #ifdef PREEMPHASIS #define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america diff --git a/src/mono_passthrough.c b/src/mono_passthrough.c index eacc83a..31e2a5f 100644 --- a/src/mono_passthrough.c +++ b/src/mono_passthrough.c @@ -19,7 +19,7 @@ #define BUFFER_SIZE 512 #define CLIPPER_THRESHOLD 0.525 // Adjust this as needed -#define MONO_VOLUME 0.6f // L+R Signal +#define MONO_VOLUME 0.45f // L+R Signal #ifdef PREEMPHASIS #define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america diff --git a/src/polar_stereo_coder.c b/src/polar_stereo_coder.c index f54ddbc..2b52852 100644 --- a/src/polar_stereo_coder.c +++ b/src/polar_stereo_coder.c @@ -20,8 +20,8 @@ #define BUFFER_SIZE 512 #define CLIPPER_THRESHOLD 0.525 // Adjust this as needed -#define MONO_VOLUME 0.6f // L+R Signal -#define STEREO_VOLUME 0.3f // L-R signal +#define MONO_VOLUME 0.45f // L+R Signal +#define STEREO_VOLUME 0.45f // L-R signal #ifdef PREEMPHASIS #define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america diff --git a/src/sca_mod.c b/src/sca_mod.c index f491a69..876386f 100644 --- a/src/sca_mod.c +++ b/src/sca_mod.c @@ -19,12 +19,12 @@ #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 +#define CLIPPER_THRESHOLD 1 // Adjust this as needed, this also limits deviation, so if you set this to 0.5 then the deviation will be limited to half -#define VOLUME 0.03f // SCA Volume +#define VOLUME 0.1f // SCA Volume #define VOLUME_AUDIO 1.0f // SCA Audio volume #define FREQUENCY 67000 // SCA Frequency -#define DEVIATION 6000 // SCA Deviation +#define DEVIATION 7000 // SCA Deviation #ifdef PREEMPHASIS #define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america diff --git a/src/ssb_stereo_coder.c b/src/ssb_stereo_coder.c index dedfa1a..697932f 100644 --- a/src/ssb_stereo_coder.c +++ b/src/ssb_stereo_coder.c @@ -22,9 +22,9 @@ #define BUFFER_SIZE 512 #define CLIPPER_THRESHOLD 0.525 // Adjust this as needed -#define MONO_VOLUME 0.6f // L+R Signal -#define PILOT_VOLUME 0.035f // 19 KHz Pilot -#define STEREO_VOLUME 0.4f // L-R signal +#define MONO_VOLUME 0.45f // L+R Signal +#define PILOT_VOLUME 0.09f // 19 KHz Pilot +#define STEREO_VOLUME 0.45f // L-R signal possibly can be set to .9 because im not sure if usb will be 2 times stronger than dsb-sc #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 0d9320e..ff46b38 100644 --- a/src/stereo_coder.c +++ b/src/stereo_coder.c @@ -20,9 +20,9 @@ #define BUFFER_SIZE 512 #define CLIPPER_THRESHOLD 0.525 // Adjust this as needed -#define MONO_VOLUME 0.6f // L+R Signal -#define PILOT_VOLUME 0.035f // 19 KHz Pilot -#define STEREO_VOLUME 0.3f // L-R signal +#define MONO_VOLUME 0.45f // L+R Signal +#define PILOT_VOLUME 0.09f // 19 KHz Pilot +#define STEREO_VOLUME 0.45f // L-R signal #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 568c25c..e51f9b2 100644 --- a/src/stereo_sca_mod.c +++ b/src/stereo_sca_mod.c @@ -21,8 +21,8 @@ #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 -#define MONO_VOLUME 0.02f // Mono Volume -#define STEREO_VOLUME 0.02f // Stereo Volume +#define MONO_VOLUME 0.075f // Mono Volume +#define STEREO_VOLUME 0.025f // Stereo Volume #ifdef PREEMPHASIS #define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america