- torchaudio.functional.bass_biquad(waveform: Tensor, sample_rate: int, gain: float, central_freq: float = 100, Q: float = 0.707) Tensor [source]¶
Design a bass tone-control effect. Similar to SoX implementation.
waveform (Tensor) – audio waveform of dimension of (…, time)
sample_rate (int) – sampling rate of the waveform, e.g. 44100 (Hz)
gain (float or torch.Tensor) – desired gain at the boost (or attenuation) in dB.
central_freq (float or torch.Tensor, optional) – central frequency (in Hz). (Default:
Q (float or torch.Tensor, optional) – https://en.wikipedia.org/wiki/Q_factor (Default:
Waveform of dimension of (…, time)
- Return type: