ttslearn.dsp.mulaw

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

Mu-Law companding.

Parameters
  • x (ndarray) – Input signal.

  • mu (int) – Mu.

Returns

Compressed signal.

Return type

ndarray