Added FAX LPM parameter (default is 120).
This commit is contained in:
parent
d338c81831
commit
b77f512bed
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Reference in New Issue