torchaudio.functional.riaa_biquad¶
- torchaudio.functional.riaa_biquad(waveform: Tensor, sample_rate: int) Tensor [source]¶
Apply RIAA vinyl playback equalization. Similar to SoX implementation.
- Parameters:
waveform (Tensor) – audio waveform of dimension of (…, time)
sample_rate (int) – sampling rate of the waveform, e.g. 44100 (Hz). Allowed sample rates in Hz :
44100
,``48000``,``88200``,``96000``
- Returns:
Waveform of dimension of (…, time)
- Return type:
Tensor