Deemphasis¶
- class torchaudio.transforms.Deemphasis(coeff: float = 0.97)[source]¶
De-emphasizes a waveform along its last dimension. See
torchaudio.functional.deemphasis()
for more details.- Parameters:
coeff (float, optional) – De-emphasis coefficient. Typically between 0.0 and 1.0. (Default: 0.97)
- forward(waveform: Tensor) Tensor [source]¶
- Parameters:
waveform (torch.Tensor) – Waveform, with shape (…, N).
- Returns:
De-emphasized waveform, with shape (…, N).
- Return type: