functional_contrast: Contrast Effect (functional)

functional_contrastR Documentation

Contrast Effect (functional)

Description

Apply contrast effect. Similar to SoX implementation. Comparable with compression, this effect modifies an audio signal to make it sound louder

Usage

functional_contrast(waveform, enhancement_amount = 75)

Arguments

waveform

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

enhancement_amount

(float): controls the amount of the enhancement Allowed range of values for enhancement_amount : 0-100 Note that enhancement_amount = 0 still gives a significant contrast enhancement

Value

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

References


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