functional_overdrive: Overdrive Effect (functional)

functional_overdriveR Documentation

Overdrive Effect (functional)

Description

Apply a overdrive effect to the audio. Similar to SoX implementation. This effect applies a non linear distortion to the audio signal.

Usage

functional_overdrive(waveform, gain = 20, colour = 20)

Arguments

waveform

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

gain

(float): desired gain at the boost (or attenuation) in dB Allowed range of values are 0 to 100

colour

(float): controls the amount of even harmonic content in the over-driven output. Allowed range of values are 0 to 100

Value

Tensor: Waveform of dimension of ⁠(..., time)⁠

References


curso-r/torchaudio documentation built on May 4, 2023, 2:27 a.m.