From 4f0bba5544603c8e282f5b6a0744d725dec94116 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Tue, 31 Dec 2024 23:48:46 +0100 Subject: [PATCH] adjust --- src/ssb_stereo_coder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssb_stereo_coder.c b/src/ssb_stereo_coder.c index dd03247..ae85e33 100644 --- a/src/ssb_stereo_coder.c +++ b/src/ssb_stereo_coder.c @@ -188,7 +188,7 @@ int main() { float stereo = (current_left_input - current_right_input) / 2.0f; // Also Stereo to Mono but a bit diffrent float stereo_i, stereo_q; apply_hilbert(&hilbert, stereo, &stereo_i, &stereo_q); // I/Q, the Quadrature data is 90 degrees apart from the In-phase data - float lsb = (stereo_i*cos38-stereo_q*(sin38*0.7325f)); // Compute LSB, as the Hilbert isn't perfect, i'll have to a bit silence down the Q carrier in order to make it better, also, it is just perfect as FM Stereo LSB shouldn't be fully LSB + float lsb = (stereo_i*cos38-stereo_q*(sin38*0.735f)); // Compute LSB, as the Hilbert isn't perfect, i'll have to a bit silence down the Q carrier in order to make it better, also, it is just perfect as FM Stereo LSB shouldn't be fully LSB mpx[i] = delay_line(&monoDelay, mono) * MONO_VOLUME + pilot * PILOT_VOLUME +