diff --git a/csdr/chain/digimodes.py b/csdr/chain/digimodes.py index e0ebcc1f..d13b1a58 100644 --- a/csdr/chain/digimodes.py +++ b/csdr/chain/digimodes.py @@ -192,7 +192,7 @@ class FaxDemodulator(ServiceDemodulator, DialFrequencyReceiver): pm = Config.get() self.parser = FaxParser(service=service) self.sampleRate = 12000 - self.lpm = 120 + self.lpm = pm["fax_lpm"] self.dbgTime = 300000 self.postProcess = pm["fax_postprocess"] self.color = pm["fax_color"] diff --git a/owrx/config/defaults.py b/owrx/config/defaults.py index a1a4a214..d78f5129 100644 --- a/owrx/config/defaults.py +++ b/owrx/config/defaults.py @@ -205,6 +205,7 @@ defaultConfig = PropertyLayer( vdl2_ttl=1800, hfdl_ttl=1800, acars_ttl=1800, + fax_lpm=120, fax_postprocess=True, fax_color=False, fax_am=False, diff --git a/owrx/controllers/settings/decoding.py b/owrx/controllers/settings/decoding.py index 00974f7a..33af04e2 100644 --- a/owrx/controllers/settings/decoding.py +++ b/owrx/controllers/settings/decoding.py @@ -101,6 +101,12 @@ class DecodingSettingsController(SettingsFormController): ), Section( "Fax transmissions", + NumberInput( + "fax_lpm", + "Transmission speed", + validator=RangeValidator(30, 480), + append="lpm", + ), CheckboxInput("fax_postprocess", "Post-process received images to reduce noise"), CheckboxInput("fax_color", "Receive color images"), CheckboxInput("fax_am", "Use amplitude modulation"),