transform_mu_law_decoding: Mu Law Decoding

transform_mu_law_decodingR Documentation

Mu Law Decoding

Description

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

Usage

transform_mu_law_decoding(quantization_channels = 256)

Arguments

quantization_channels

(int, optional): Number of channels. (Default: 256)

Details

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

forward param: x_mu (Tensor): A mu-law encoded signal which needs to be decoded.

Value

Tensor: The signal decoded.


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