functional_add_noise_shaping.RdNoise shaping is calculated by error: error[n] = dithered[n] - original[n] noise_shaped_waveform[n] = dithered[n] + error[n-1]
functional_add_noise_shaping(dithered_waveform, waveform)(Tensor) dithered
(Tensor) original
tensor of the noise shaped waveform