mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-05 06:26:50 +00:00
add ssb chain
This commit is contained in:
parent
be093b8b05
commit
2bcb62e706
2 changed files with 23 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ from csdr.pipe import Pipe
|
|||
from csdr.chain.demodulator import DemodulatorChain
|
||||
from csdr.chain.fm import Fm
|
||||
from csdr.chain.am import Am
|
||||
from csdr.chain.ssb import Ssb
|
||||
|
||||
import logging
|
||||
|
||||
|
|
@ -126,6 +127,9 @@ class Dsp(DirewolfConfigSubscriber):
|
|||
elif which == "am":
|
||||
self.pycsdr_chain = DemodulatorChain(self.samp_rate, self.get_audio_rate(), 0.0, Am())
|
||||
return self.pycsdr_chain
|
||||
elif which == "ssb":
|
||||
self.pycsdr_chain = DemodulatorChain(self.samp_rate, self.get_audio_rate(), 0.0, Ssb())
|
||||
return self.pycsdr_chain
|
||||
|
||||
chain = ["nc -v 127.0.0.1 {nc_port}"]
|
||||
chain += ["csdr shift_addfast_cc --fifo {shift_pipe}"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue