# Line spectral pairs

Line Spectral Pairs (LSP) or Line Spectral Frequencies (LSF) are used to represent Linear Prediction Coefficients (LPC) for transmission over a channel. LSPs have several properties (e.g. smaller sensitivity to quantisation noise) that make them superior to direct quantisation of LPCs. For this reason, LSPs are very useful in speech coding.

Mathematical foundation

The LP polynomial $A\left(z\right) = 1- sum_\left\{k=1\right\}^p a_k z^\left\{-k\right\}$ can be decomposed into:
* $P\left(z\right) = A\left(z\right) + z^\left\{-\left(p+1\right)\right\}A\left(z^\left\{-1\right\}\right)$
* $Q\left(z\right) = A\left(z\right) - z^\left\{-\left(p+1\right)\right\}A\left(z^\left\{-1\right\}\right)$where P(z) corresponds to the vocal tract with the glottis closed and Q(z) with the glottis open.

While A(z) has complex roots anywhere within the unit circle (z-transform), P(z) and Q(z) have the very useful property of only having roots on the unit circle, hence P is a palindromic polynomial and Q an antipalindromic polynomial. So to find them we take a test point $z=exp\left(jw\right)$ and evaluate $P \left(exp\left(jw\right)\right)$ and $Q\left(exp\left(jw\right)\right)$ using a grid of points between 0 and pi. The zeros (roots) of P(z) and Q(z) also happen to be interspersed which is why we swap coefficients as we find roots. So the process of finding the LSP frequencies is basically finding the roots of two polynomials of order p+1. The root of P(z) and Q(z) occur in symmetrical pairs at +/-w, hence the name Line Spectrum Pairs (LSPs). Because all the roots are complex and two roots are found at 0 and $pi$, only p/2 roots need to be found for each polynomial. The output of the LSP search thus has p roots, hence the same number of coefficients as the input LPC filter (not counting $a_0=1$).

To convert back to LPCs, we need to evaluate$A\left(z\right) = 0.5 \left[P\left(z\right)+ Q\left(z\right)\right]$by "clocking" an impulse through it N times (order of the filter), yielding the original filter, A(z).

Properties

Line Spectral Pairs have several interesting and useful properties. When the roots of P(z) and Q(z) are interleaved, stability of the filter is ensured if and only if the roots are monotonously increasing. Moreover, the closer two roots are, the more resonant the filter is at the corresponding frequency. Because LSPs are not overly sensitive to quantization noise and stability is easily ensured, LSP are widely used for quantizing LPC filters. At last, LSPs are a good representation for interpolating filters.

Sources

* [http://speex.org/docs/ Speex manual] and source code (lsp.c)
* [http://svr-www.eng.cam.ac.uk/~ajr/SpeechAnalysis/node51.html#SECTION000713000000000000000 Tony Robinson: Speech Analysis]
* [http://www.ece.mcgill.ca/~pkabal/papers/1986/Kabal1986.pdf "The Computation of Line Spectral Frequencies Using Chebyshev Polynomials"] / P. Kabal and R. P. Ramachandran. IEEE Trans. Acoustics, Speech, Signal Processing, vol. 34, no. 6, pp. 1419-1426, Dec. 1986.Includes an overview in relation to LPC.
* [http://www.dspcsp.com/pdf/lsp.pdf "Line Spectral Pairs" chapter] as an online excerpt (pdf) / "Digital Signal Processing - A Computer Science Perspective" (ISBN 0-471-29546-9) Jonathan Stein.

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• Log Area Ratios — (LAR) can be used to represent Reflection Coefficients (another form for Linear Prediction Coefficients) for transmission over a channel. While not as efficient as Line Spectral Pairs (LSPs), Log Area Ratios are much simpler to compute. Let r k… …   Wikipedia

• Linear predictive coding — (LPC) is a tool used mostly in audio signal processing and speech processing for representing the spectral envelope of a digital signal of speech in compressed form, using the information of a linear predictive model. It is one of the most… …   Wikipedia

• LSP — can mean:* Label switched path * Language for specific purposes, as in LSP dictionary * Language service provider * Layered service provider * Learning support practitioner * Lee Scratch Perry Grammy award winning reggae and dub artist. * Lee Shu …   Wikipedia

• Windows Media Audio — Filename extension .wma Internet media type audio/x ms wma Uniform Type Identifier com.microsoft.windows ?media wma …   Wikipedia

• Binary star — For the hip hop group, see Binary Star (band). Hubble image of the …   Wikipedia

• cosmos — /koz meuhs, mohs/, n., pl. cosmos, cosmoses for 2, 4. 1. the world or universe regarded as an orderly, harmonious system. 2. a complete, orderly, harmonious system. 3. order; harmony. 4. any composite plant of the genus Cosmos, of tropical… …   Universalium

• star — starless, adj. /stahr/, n., adj., v., starred, starring. n. 1. any of the heavenly bodies, except the moon, appearing as fixed luminous points in the sky at night. 2. Astron. any of the large, self luminous, heavenly bodies, as the sun, Polaris,… …   Universalium

• eye, human — ▪ anatomy Introduction  specialized sense organ capable of receiving visual images, which are then carried to the brain. Anatomy of the visual apparatus Structures auxiliary to the eye The orbit       The eye is protected from mechanical injury… …   Universalium

• Electron — For other uses, see Electron (disambiguation). Electron Experiments with a Crookes tube first demonstrated the particle nature of electrons. In this illustration, the profile of the cross shaped target is projected against the tube face at right… …   Wikipedia

• telecommunications media — Introduction       equipment and systems metal wire, terrestrial and satellite radio, and optical fibre employed in the transmission of electromagnetic signals. Transmission media and the problem of signal degradation       Every… …   Universalium