lpc

Functions

int main(int argc, char *argv[])

lpc [ option ] [ infile ]

  • -l int

    • frame length \((1 \le L)\)

  • -m int

    • order of coefficients \((0 \le M < L)\)

  • -e int

    • warning type

      • 0 no warning

      • 1 output index

      • 2 output index and exit immediately

  • -q int

    • input format

      • 0 amplitude spectrum in dB

      • 1 log amplitude spectrum

      • 2 amplitude spectrum

      • 3 power spectrum

      • 4 windowed waveform

  • infile str

    • double-type windowed data sequence

  • stdout

    • double-type linear predictive coefficients

The below example calculates the LPC coefficients of data.d.

frame < data.d | window | lpc -m 20 > data.lpc

This is equivalent to the following line.

frame < data.d | window | acorr -m 20 | levdur -m 20 > data.lpc
Parameters:
  • argc[in] Number of arguments.

  • argv[in] Argument vector.

Returns:

0 on success, 1 on failure.