pysptk.sptk.mlsadf

pysptk.sptk.mlsadf(x, b, alpha, pd, delay)

MLSA digital filter

Parameters:

x : float

A input sample

b : array

MLSA filter coefficients

alpha : float

All-pass constant

pd : int

Order of pade approximation

delay : array

Delay

Returns:

y : float

A filtered sample

Raises:

ValueError

  • if invalid order of pade approximation is specified
  • if invalid delay length is supplied