functional_equalizer_biquad: Biquad Peaking Equalizer Filter (functional)

functional_equalizer_biquadR Documentation

Biquad Peaking Equalizer Filter (functional)

Description

Design biquad peaking equalizer filter and perform filtering. Similar to SoX implementation.

Usage

functional_equalizer_biquad(
  waveform,
  sample_rate,
  center_freq,
  gain,
  Q = 0.707
)

Arguments

waveform

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

sample_rate

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

center_freq

(float): filter's central frequency

gain

(float): desired gain at the boost (or attenuation) in dB

Q

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

Value

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


torchaudio documentation built on Feb. 16, 2023, 9:41 p.m.