functional_overdrive {torchaudio}R 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


[Package torchaudio version 0.3.1 Index]