Engee documentation

poly2lsf

Converting the coefficients of the predictive filter into linear spectral frequencies.

Library

EngeeDSP

Syntax

Function call

  • lsf = poly2lsf(a) — returns a vector of linear spectral frequencies lsf derived from the vector a coefficients of the predictive filter.

Arguments

Input arguments

# a — coefficients of the predictive filter

+ vector

Details

Coefficients of the predictive filter, specified as a vector.

Типы данных

Float32, Float64

Output arguments

# lsf — linear spectral frequencies

+ vector

Details

Linear spectral frequencies returned as a column vector.

Examples

Generation of linear spectral frequencies

Details

Let be given a vector a containing the coefficients of the predictive filter. Generate the corresponding linear spectral frequencies.

import EngeeDSP.Functions: poly2lsf

a = [1.0000  0.6149  0.9899  0.0000  0.0031 -0.0082]
lsf = poly2lsf(a)
5-element Vector{Float64}:
 0.7841730812677572
 1.560541479153228
 1.8776458548335448
 1.898431256865375
 2.3592523239476946

Literature

  1. Deller, John R., John G. Proakis, and John H. L. Hansen. Discrete-Time Processing of Speech Signals. New York: Macmillan, 1993.

  2. Rabiner, Lawrence R., and Ronald W. Schafer. Digital Processing of Speech Signals. Englewood Cliffs, NJ: Prentice-Hall, 1978.