- torchaudio.functional.contrast(waveform: Tensor, enhancement_amount: float = 75.0) Tensor ¶
Apply contrast effect. Similar to SoX implementation.
Comparable with compression, this effect modifies an audio signal to make it sound louder
waveform (Tensor) – audio waveform of dimension of (…, time)
enhancement_amount (float, optional) – 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
Waveform of dimension of (…, time)
- Return type: