From b2a2c67d84ad0c7b492d90d0ac8a5476b1dc95eb Mon Sep 17 00:00:00 2001 From: Ed Gonzalez Date: Tue, 21 Oct 2014 10:35:21 -0500 Subject: [PATCH] Gain tweaks so that USB and FDV passthrough sound roughly the same. --- DSP_API/SmartSDR_Interface/sched_waveform.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DSP_API/SmartSDR_Interface/sched_waveform.c b/DSP_API/SmartSDR_Interface/sched_waveform.c index 1137d25..9d47bc9 100644 --- a/DSP_API/SmartSDR_Interface/sched_waveform.c +++ b/DSP_API/SmartSDR_Interface/sched_waveform.c @@ -139,10 +139,10 @@ void sched_waveform_signal() #define PACKET_SAMPLES 128 -#define SCALE_RX_IN 8000.0 -#define SCALE_RX_OUT 8000.0 -#define SCALE_TX_IN 8000.0 -#define SCALE_TX_OUT 32768.0 +#define SCALE_RX_IN 16000.0 // Multiplier +#define SCALE_RX_OUT 8000.0 // Divisor +#define SCALE_TX_IN 16000.0 // Multiplier +#define SCALE_TX_OUT 32768.0 // Divisor #define FILTER_TAPS 48 #define DECIMATION_FACTOR 3