mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
fix DAB coarse sync problems caused by bandpass
This commit is contained in:
parent
ac0b799b11
commit
6d52538422
|
|
@ -33,7 +33,6 @@ class MetaProcessor(PickleModule):
|
||||||
self._nudgeShift(random() * -self.coarse_increment)
|
self._nudgeShift(random() * -self.coarse_increment)
|
||||||
elif key == "fine_frequency_shift":
|
elif key == "fine_frequency_shift":
|
||||||
if abs(value) > 10:
|
if abs(value) > 10:
|
||||||
logger.debug("ffs: %f", value)
|
|
||||||
self._nudgeShift(self.fine_increment * value)
|
self._nudgeShift(self.fine_increment * value)
|
||||||
else:
|
else:
|
||||||
# pass through everything else
|
# pass through everything else
|
||||||
|
|
|
||||||
|
|
@ -44,8 +44,8 @@ cd ..
|
||||||
rm -rf pycsdr
|
rm -rf pycsdr
|
||||||
|
|
||||||
git clone https://github.com/jketterl/csdr-eti.git
|
git clone https://github.com/jketterl/csdr-eti.git
|
||||||
# latest develop as of 2024-02-12 (memory leak fix)
|
# latest develop as of 2024-02-13 (coarse frequency shift fix)
|
||||||
cmakebuild csdr-eti 3f6134327c2a00840e54f9ce5d0e0f0899a2cf8c
|
cmakebuild csdr-eti 0a14f9dded466be227ade4d11fe1419169a9649b
|
||||||
|
|
||||||
git clone https://github.com/jketterl/pycsdr-eti.git
|
git clone https://github.com/jketterl/pycsdr-eti.git
|
||||||
cd pycsdr-eti
|
cd pycsdr-eti
|
||||||
|
|
|
||||||
|
|
@ -234,8 +234,8 @@ function Demodulator(offset_frequency, modulation) {
|
||||||
this.state = {};
|
this.state = {};
|
||||||
this.secondary_demod = false;
|
this.secondary_demod = false;
|
||||||
var mode = Modes.findByModulation(modulation);
|
var mode = Modes.findByModulation(modulation);
|
||||||
this.low_cut = mode && mode.bandpass && mode.bandpass.low_cut;
|
this.low_cut = mode && mode.bandpass && mode.bandpass.low_cut || null;
|
||||||
this.high_cut = mode && mode.bandpass && mode.bandpass.high_cut;
|
this.high_cut = mode && mode.bandpass && mode.bandpass.high_cut || null;
|
||||||
this.ifRate = mode && mode.ifRate;
|
this.ifRate = mode && mode.ifRate;
|
||||||
this.listeners = {
|
this.listeners = {
|
||||||
"frequencychange": [],
|
"frequencychange": [],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue