functional_dither.Rd
Dither increases the perceived dynamic range of audio stored at a particular bit-depth by eliminating nonlinear truncation distortion (i.e. adding minimally perceived noise to mask distortion caused by quantization).
functional_dither(waveform, density_function = "TPDF", noise_shaping = FALSE)
(Tensor): Tensor of audio of dimension (..., time)
(str, optional): The density function of a continuous random variable (Default: "TPDF"
)
Options: Triangular Probability Density Function - TPDF
Rectangular Probability Density Function - RPDF
Gaussian Probability Density Function - GPDF
(bool, optional): a filtering process that shapes the spectral
energy of quantisation error (Default: FALSE
)
tensor
: waveform dithered