From 49cfffec4cb016fc461812044bcbd1bb53ad9d2b Mon Sep 17 00:00:00 2001 From: guido Date: Tue, 8 Jun 2021 15:51:24 +0200 Subject: [PATCH] Fix: SSB TX quality improvement for cases when modulation is on the ow side. --- QCX-SSB.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QCX-SSB.ino b/QCX-SSB.ino index 7ed1765..f8edc5e 100644 --- a/QCX-SSB.ino +++ b/QCX-SSB.ino @@ -1897,7 +1897,7 @@ inline int16_t arctan3(int16_t q, int16_t i) // error ~ 0.8 degree uint8_t lut[256]; volatile uint8_t amp; -volatile uint8_t vox_thresh = (1 << 0); //(1 << 2); +volatile uint8_t vox_thresh = (1 << 1); //(1 << 2); volatile uint8_t drive = 2; // hmm.. drive>2 impacts cpu load..why? volatile uint8_t quad = 0; @@ -1916,7 +1916,7 @@ inline int16_t ssb(int16_t in) dc = (in + dc) / 2; // average int16_t ac = (in - dc); // DC decoupling //v[15] = ac;// - z1; // high-pass (emphasis) filter - v[15] = (ac + z1) / 2; // low-pass filter with notch at Fs/2 + v[15] = (ac + z1);// / 2; // low-pass filter with notch at Fs/2 z1 = ac; i = v[7];