pysptk.sptk.cdist

pysptk.sptk.cdist(c1, c2, otype=0, frame=False)

Calculation of cepstral distance

Parameters:
c1 : array

Minimum-phase cepstrum

c2 : array

Minimum-phase cepstrum

otype : int
Output data type
  1. [db]
  2. squared error
  3. root squared error

Default is 0.

frame : bool

If True, returns frame-wise distance, otherwise returns mean distance. Default is False.

Returns:
distance