From 5765abef05447236dc4d9ca847dd3d1fca907025 Mon Sep 17 00:00:00 2001 From: Vincent Quenneville-Belair Date: Mon, 18 Nov 2019 18:15:14 -0500 Subject: [PATCH] decorating equalizer_biquad too. --- torchaudio/functional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchaudio/functional.py b/torchaudio/functional.py index 44b52cf277..9bf33f4feb 100644 --- a/torchaudio/functional.py +++ b/torchaudio/functional.py @@ -725,7 +725,7 @@ def lowpass_biquad(waveform, sample_rate, cutoff_freq, Q=0.707): 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): # type: (Tensor, int, float, float, float) -> Tensor r"""Designs biquad peaking equalizer filter and performs filtering. Similar to SoX implementation.