IT++ Logo Newcom Logo

lpcfunc.cpp File Reference

Implementations of linear prediction functions, and conversion between common representations of linear predictive parameters. More...

#include <itpp/srccode/lpcfunc.h>
#include <itpp/base/stat.h>
#include <itpp/base/sigfun.h>
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  itpp

Functions

vec ac2rc (const vec &ac)
 ac2rc - Autocorrelation sequence to reflection coefficients conversion.
vec ac2poly (const vec &ac)
 ac2poly - Autocorrelation sequence to prediction polynomial conversion.
vec is2rc (const vec &is)
 is2rc - Inverse sine parameters to reflection coefficients conversion.
vec rc2ac (const vec &rc)
 rc2ac - Reflection coefficients to autocorrelation sequence conversion.
vec rc2is (const vec &rc)
 rc2is - Reflection coefficients to inverse sine parameters conversion.
vec autocorr (const vec &x, int order)
 Computes the autocorrelation function.
vec levinson (const vec &R2, int order)
 Levinson - Levinson-Durbin recursion.
vec lpc (const vec &x, int order)
 lpc - Linear Predictive Coefficients using autocorrelation method.
vec poly2ac (const vec &poly)
 poly2ac - Prediction polynomial to autocorrelation sequence conversion.
vec poly2rc (const vec &a)
 poly2rc - Prediction polynomial to reflection coefficients conversion.
vec rc2poly (const vec &k)
 rc2poly - Reflection coefficients to prediction polynomial conversion.
vec rc2lar (const vec &k)
 rc2lar - Reflection coefficients to log area ratios conversion.
vec lar2rc (const vec &LAR)
 lar2rc - Log area ratios to reflection coefficients conversion.
double FNevChebP_double (double x, const double c[], int n)
double FNevChebP (double x, const double c[], int n)
vec poly2lsf (const vec &pc)
 poly2lsf - Prediction polynomial to line spectral frequencies conversion.
vec lsf2poly (const vec &f)
 lsf2poly - Line spectral frequencies to prediction polynomial conversion.
vec poly2cepstrum (const vec &a)
 poly2cepstrum - Prediction polynomial to cepstrum conversion.
vec poly2cepstrum (const vec &a, int num)
 poly2cepstrum - Prediction polynomial to cepstrum conversion, to the specified order.
vec cepstrum2poly (const vec &c)
 cepstrum2poly - Cepstrum to prediction polynomial conversion.
vec chirp (const vec &a, double factor)
 Returns a chirped version of the input vector.
vec schurrc (const vec &R, int order)
 schurrc - Schur algorithm.
vec lerouxguegenrc (const vec &R, int order)
 Computes reflection coefficients from autocorrelation, using the Le-Roux-Guegen algorithm.
double sd (const vec &In1, const vec &In2)
 Spectral distortion between two vectors, in dB.
double sd (const vec &In1, const vec &In2, double highestfreq)
 Spectral distortion between two vectors, in dB, up to highest frequency highestfreq.


Detailed Description

Implementations of linear prediction functions, and conversion between common representations of linear predictive parameters.

Author:
Thomas Eriksson
Date
2007-04-18 08:58:29 +0200 (Wed, 18 Apr 2007)
Revision
1013

-------------------------------------------------------------------------

IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions

Copyright (C) 1995-2007 (see AUTHORS file for a list of contributors)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

-------------------------------------------------------------------------

Definition in file lpcfunc.cpp.

SourceForge Logo

Generated on Fri Jan 11 08:51:40 2008 for IT++ by Doxygen 1.3.9.1