- torchaudio.functional.overdrive(waveform: Tensor, gain: float = 20, colour: float = 20) Tensor ¶
Apply a overdrive effect to the audio. Similar to SoX implementation.
This effect applies a non linear distortion to the audio signal.
waveform (Tensor) – audio waveform of dimension of (…, time)
gain (float, optional) – desired gain at the boost (or attenuation) in dB Allowed range of values are 0 to 100
colour (float, optional) – controls the amount of even harmonic content in the over-driven output Allowed range of values are 0 to 100
Waveform of dimension of (…, time)
- Return type: