torchaudio.functional.overdrive¶
- torchaudio.functional.overdrive(waveform: Tensor, gain: float = 20, colour: float = 20) Tensor [source]¶
Apply a overdrive effect to the audio. Similar to SoX implementation.
This effect applies a non linear distortion to the audio signal.
- Parameters:
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
- Returns:
Waveform of dimension of (…, time)
- Return type:
Tensor
- Reference: