"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "a0eea42abb8115e7d5fbca28b636c8d430dcaa96"
Unverified Commit ef7c55ce authored by Vincent QB's avatar Vincent QB Committed by GitHub
Browse files

decorating equalizer_biquad too. (#342)

parent f5f79d1d
...@@ -725,7 +725,7 @@ def lowpass_biquad(waveform, sample_rate, cutoff_freq, Q=0.707): ...@@ -725,7 +725,7 @@ def lowpass_biquad(waveform, sample_rate, cutoff_freq, Q=0.707):
return biquad(waveform, b0, b1, b2, a0, a1, a2) return biquad(waveform, b0, b1, b2, a0, a1, a2)
# @torch.jit.script @torch.jit.script
def equalizer_biquad(waveform, sample_rate, center_freq, gain, Q=0.707): def equalizer_biquad(waveform, sample_rate, center_freq, gain, Q=0.707):
# type: (Tensor, int, float, float, float) -> Tensor # type: (Tensor, int, float, float, float) -> Tensor
r"""Designs biquad peaking equalizer filter and performs filtering. Similar to SoX implementation. r"""Designs biquad peaking equalizer filter and performs filtering. Similar to SoX implementation.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment