use new csdr++ firdecimate

This commit is contained in:
Jakob Ketterl 2021-07-02 19:15:10 +02:00
parent 2d183ffeac
commit 4a68c9d3da
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ class Dsp(DirewolfConfigSubscriber):
return chain
chain += ["csdr++ shift --fifo {shift_pipe}"]
if self.decimation > 1:
chain += ["csdr fir_decimate_cc {decimation} {ddc_transition_bw} HAMMING"]
chain += ["csdr++ firdecimate {decimation} {ddc_transition_bw} --window hamming"]
chain += ["csdr bandpass_fir_fft_cc --fifo {bpf_pipe} {bpf_transition_bw} HAMMING"]
if self.output.supports_type("smeter"):
chain += [

View File

@ -24,7 +24,7 @@ class Resampler(DirectSource):
return [
"nc -v 127.0.0.1 {nc_port}".format(nc_port=self.sdr.getPort()),
"csdr++ shift {shift}".format(shift=self.shift),
"csdr fir_decimate_cc {decimation} {ddc_transition_bw} HAMMING".format(
"csdr++ firdecimate {decimation} {ddc_transition_bw} --window hamming".format(
decimation=self.decimation, ddc_transition_bw=self.transition_bw
),
] + self.getNmuxCommand()