diff --git a/csdr/chain/dumpvdl2.py b/csdr/chain/dumpvdl2.py new file mode 100644 index 00000000..4d60fcc3 --- /dev/null +++ b/csdr/chain/dumpvdl2.py @@ -0,0 +1,17 @@ +from csdr.chain.demodulator import ServiceDemodulator +from csdr.module import JsonParser +from owrx.vdl2.dumpvdl2 import DumpVDL2Module +from pycsdr.modules import Convert +from pycsdr.types import Format + + +class DumpVDL2(ServiceDemodulator): + def __init__(self): + super().__init__([ + Convert(Format.COMPLEX_FLOAT, Format.COMPLEX_SHORT), + DumpVDL2Module(), + JsonParser("VDL2") + ]) + + def getFixedAudioRate(self) -> int: + return 105000 diff --git a/htdocs/index.html b/htdocs/index.html index 960e5c96..d1eb1564 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -77,6 +77,7 @@ +