transform_mu_law_decoding {torchaudio}R 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.


[Package torchaudio version 0.3.1 Index]