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


curso-r/torchaudio documentation built on May 4, 2023, 2:27 a.m.