functional_lowpass_biquad: Low-pass Biquad Filter (functional)

functional_lowpass_biquadR Documentation

Low-pass Biquad Filter (functional)

Description

Design biquad lowpass filter and perform filtering. Similar to SoX implementation.

Usage

functional_lowpass_biquad(waveform, sample_rate, cutoff_freq, Q = 0.707)

Arguments

waveform

(torch.Tensor): audio waveform of dimension of ⁠(..., time)⁠

sample_rate

(int): sampling rate of the waveform, e.g. 44100 (Hz)

cutoff_freq

(float): filter cutoff frequency

Q

(float, optional): https://en.wikipedia.org/wiki/Q_factor (Default: 0.707)

Value

tensor: Waveform of dimension of ⁠(..., time)⁠


curso-r/torchaudio documentation built on May 4, 2023, 2:27 a.m.