espnet.nets.pytorch_backend.wavenet.decode_mu_law
Less than 1 minute
espnet.nets.pytorch_backend.wavenet.decode_mu_law
espnet.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