Design two-pole all-pass filter. Similar to SoX implementation.

functional_allpass_biquad(waveform, sample_rate, central_freq, Q = 0.707)

Arguments

waveform

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

sample_rate

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

central_freq

(float): central frequency (in Hz)

Q

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

Value

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