mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-02-01 21:14:20 +01:00
increase sample rate to 1.2M to be able to decode MBus
This commit is contained in:
parent
6bc4572650
commit
e2192a9665
|
|
@ -5,7 +5,7 @@ from csdr.chain.demodulator import ServiceDemodulator
|
|||
|
||||
class Rtl433(ServiceDemodulator):
|
||||
def getFixedAudioRate(self) -> int:
|
||||
return 1000000
|
||||
return 1200000
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ Filter.prototype.getLimits = function() {
|
|||
} else if (this.demodulator.get_modulation() === "dab") {
|
||||
max_bw = 1000000;
|
||||
} else if (this.demodulator.get_secondary_demod() === "ism") {
|
||||
max_bw = 500000;
|
||||
max_bw = 600000;
|
||||
} else {
|
||||
max_bw = (audioEngine.getOutputRate() / 2) - 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ class Rtl433Module(ExecModule):
|
|||
super().__init__(
|
||||
Format.COMPLEX_FLOAT,
|
||||
Format.CHAR,
|
||||
["rtl_433", "-r", "cf32:-", "-F", "json", "-M", "time:unix", "-C", "si", "-s", "1000000"]
|
||||
["rtl_433", "-r", "cf32:-", "-F", "json", "-M", "time:unix", "-C", "si", "-s", "1200000"]
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue