diff --git a/firmware/baseband/dsp_modulate.cpp b/firmware/baseband/dsp_modulate.cpp index cc9644bf..31dd3f85 100644 --- a/firmware/baseband/dsp_modulate.cpp +++ b/firmware/baseband/dsp_modulate.cpp @@ -62,8 +62,8 @@ void SSB::execute(const buffer_s16_t& audio, const buffer_c8_t& buffer) { //default: break; //} - i *= 64.0f; - q *= 64.0f; + i *= 256.0f; // Original 64.0f, now x 4 (+12 dB's SSB BB modulation) + q *= 256.0f; // Original 64.0f, now x 4 (+12 dB's SSB BB modulation) switch (mode) { case Mode::LSB: re = q; im = i; break; case Mode::USB: re = i; im = q; break; @@ -123,9 +123,9 @@ void AM::execute(const buffer_s16_t& audio, const buffer_c8_t& buffer) { } q = sample / 32768.0f; - q *= 64.0f; + q *= 256.0f; // Original 64.0f,now x4 (+12 dB's BB_modulation in AM & DSB) switch (mode) { - case Mode::AM: re = q + 20; im = q + 20; break; + case Mode::AM: re = q + 80; im = q + 80; break; // Original DC add +20_DC_level=carrier,now x4 (+12dB's AM carrier) case Mode::DSB: re = q; im = q; break; default: break; }