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

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)