functional_mu_law_decoding: Mu Law Decoding (functional)

functional_mu_law_decodingR Documentation

Mu Law Decoding (functional)

Description

Decode mu-law encoded signal. For more info see the Wikipedia Entry

Usage

functional_mu_law_decoding(x_mu, quantization_channels)

Arguments

x_mu

(Tensor): Input tensor

quantization_channels

(int): Number of channels

Details

This expects an input with values between 0 and quantization_channels - 1 and returns a signal scaled between -1 and 1.

Value

tensor: Input after mu-law decoding


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