moderate agc for NFM
This commit is contained in:
parent
56f976e495
commit
22feb8dd1c
@ -181,7 +181,11 @@ class dsp(object):
|
|||||||
if which == "nfm":
|
if which == "nfm":
|
||||||
chain += ["csdr fmdemod_quadri_cf", "csdr limit_ff"]
|
chain += ["csdr fmdemod_quadri_cf", "csdr limit_ff"]
|
||||||
chain += last_decimation_block
|
chain += last_decimation_block
|
||||||
chain += ["csdr deemphasis_nfm_ff {audio_rate}"]
|
chain += [
|
||||||
|
"csdr deemphasis_nfm_ff {audio_rate}",
|
||||||
|
"csdr agc_ff --profile slow --max 3",
|
||||||
|
"csdr limit_ff"
|
||||||
|
]
|
||||||
if self.get_audio_rate() != self.get_output_rate():
|
if self.get_audio_rate() != self.get_output_rate():
|
||||||
chain += [
|
chain += [
|
||||||
"sox -t raw -r {audio_rate} -e floating-point -b 32 -c 1 --buffer 32 - -t raw -r {output_rate} -e signed-integer -b 16 -c 1 - "
|
"sox -t raw -r {audio_rate} -e floating-point -b 32 -c 1 --buffer 32 - -t raw -r {output_rate} -e signed-integer -b 16 -c 1 - "
|
||||||
|
Loading…
Reference in New Issue
Block a user