functional_add_noise_shaping: Noise Shaping (functional)

functional_add_noise_shapingR Documentation

Noise Shaping (functional)

Description

Noise shaping is calculated by error: error[n] = dithered[n] - original[n] noise_shaped_waveform[n] = dithered[n] + error[n-1]

Usage

functional_add_noise_shaping(dithered_waveform, waveform)

Arguments

dithered_waveform

(Tensor) dithered

waveform

(Tensor) original

Value

tensor of the noise shaped waveform


torchaudio documentation built on Feb. 16, 2023, 9:41 p.m.