digital pipeline tweaks (not sure if it's better that way)

This commit is contained in:
Jakob Ketterl 2019-05-30 18:35:58 +02:00
parent f565b4dbcd
commit 908e3036e0

View File

@ -110,12 +110,12 @@ class dsp(object):
chain += " -i - -o - -u {unvoiced_quality} -g 10 | "
# digiham modes
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":
chain += "dmr_decoder --fifo {meta_pipe} | mbe_synthesizer -u {unvoiced_quality} | "
elif which == "ysf":
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":
chain += "csdr amdemod_cf | csdr fastdcblock_ff | "
chain += last_decimation_block