digital pipeline tweaks (not sure if it's better that way)
This commit is contained in:
parent
f565b4dbcd
commit
908e3036e0
4
csdr.py
4
csdr.py
@ -110,12 +110,12 @@ class dsp(object):
|
|||||||
chain += " -i - -o - -u {unvoiced_quality} -g 10 | "
|
chain += " -i - -o - -u {unvoiced_quality} -g 10 | "
|
||||||
# digiham modes
|
# digiham modes
|
||||||
else:
|
else:
|
||||||
chain += "rrc_filter | csdr limit_ff | csdr convert_f_s16 | gfsk_demodulator | "
|
chain += "rrc_filter | csdr convert_f_s16 | gfsk_demodulator | "
|
||||||
if which == "dmr":
|
if which == "dmr":
|
||||||
chain += "dmr_decoder --fifo {meta_pipe} | mbe_synthesizer -u {unvoiced_quality} | "
|
chain += "dmr_decoder --fifo {meta_pipe} | mbe_synthesizer -u {unvoiced_quality} | "
|
||||||
elif which == "ysf":
|
elif which == "ysf":
|
||||||
chain += "ysf_decoder --fifo {meta_pipe} | mbe_synthesizer -y -u {unvoiced_quality} | "
|
chain += "ysf_decoder --fifo {meta_pipe} | mbe_synthesizer -y -u {unvoiced_quality} | "
|
||||||
chain += "digitalvoice_filter | sox -t raw -r 8000 -e signed-integer -b 16 -c 1 --buffer 32 - -t raw -r {output_rate} -e signed-integer -b 16 -c 1 - "
|
chain += "digitalvoice_filter | sox -V -v 0.95 -t raw -r 8000 -e signed-integer -b 16 -c 1 --buffer 32 - -t raw -r {output_rate} -e signed-integer -b 16 -c 1 - "
|
||||||
elif which == "am":
|
elif which == "am":
|
||||||
chain += "csdr amdemod_cf | csdr fastdcblock_ff | "
|
chain += "csdr amdemod_cf | csdr fastdcblock_ff | "
|
||||||
chain += last_decimation_block
|
chain += last_decimation_block
|
||||||
|
Loading…
Reference in New Issue
Block a user