functional_treble_biquad: Treble Tone-control Effect (functional)

functional_treble_biquadR Documentation

Treble Tone-control Effect (functional)

Description

Design a treble tone-control effect. Similar to SoX implementation.

Usage

functional_treble_biquad(
  waveform,
  sample_rate,
  gain,
  central_freq = 3000,
  Q = 0.707
)

Arguments

waveform

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

sample_rate

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

gain

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

central_freq

(float, optional): central frequency (in Hz). (Default: 3000)

Q

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

Value

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

References


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