ttslearn.dsp.mulaw_quantize

ttslearn.dsp.mulaw_quantize(x, mu=255)[source]

Mu-law-quantize signal.

Parameters
  • x (ndarray) – Input signal.

  • mu (int) – Mu.

Returns

Quantized signal.

Return type

ndarray