functional_apply_probability_distribution {torchaudio}R Documentation

Probability Distribution Apply (functional)

Description

Apply a probability distribution function on a waveform.

Usage

functional_apply_probability_distribution(waveform, density_function = "TPDF")

Arguments

waveform

(Tensor): Tensor of audio of dimension (..., time)

density_function

(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

Details

Value

tensor: waveform dithered with TPDF


[Package torchaudio version 0.3.1 Index]