espnet2.legacy.nets.pytorch_backend.wavenet.decode_mu_law
Less than 1 minute
espnet2.legacy.nets.pytorch_backend.wavenet.decode_mu_law
espnet2.legacy.nets.pytorch_backend.wavenet.decode_mu_law(y, mu=256)
Perform mu-law decoding.
- Parameters:
- x (ndarray) β Quantized audio signal with the range from 0 to mu - 1.
- mu (int) β Quantized level.
- Returns: Audio signal with the range from -1 to 1.
- Return type: ndarray
