IT++ Logo
lpcfunc.h
Go to the documentation of this file.
1
44#ifndef LPCFUNC_H
45#define LPCFUNC_H
46
47#include <itpp/base/vec.h>
48#include <itpp/itexports.h>
49
50
51namespace itpp
52{
53
57
59ITPP_EXPORT vec chirp(const vec &a, double factor);
61ITPP_EXPORT double sd(const vec &In1, const vec &In2);
63ITPP_EXPORT double sd(const vec &In1, const vec &In2, double highestfreq);
65ITPP_EXPORT vec lerouxguegenrc(const vec &R, int order);
67ITPP_EXPORT vec levinson(const vec &R2, int order);
69ITPP_EXPORT vec autocorr(const vec &x, int order);
71ITPP_EXPORT vec lpc(const vec &x, int order);
73ITPP_EXPORT vec schurrc(const vec &R, int order);
75ITPP_EXPORT vec ac2rc(const vec &ac);
77ITPP_EXPORT vec ac2poly(const vec &ac);
79ITPP_EXPORT vec is2rc(const vec &is);
81ITPP_EXPORT vec lar2rc(const vec &lar);
83ITPP_EXPORT vec lsf2poly(const vec &lsf);
85ITPP_EXPORT vec poly2ac(const vec &poly);
87ITPP_EXPORT vec poly2lsf(const vec &poly);
89ITPP_EXPORT vec poly2rc(const vec &poly);
91ITPP_EXPORT vec poly2cepstrum(const vec &a);
93ITPP_EXPORT vec poly2cepstrum(const vec &a, int num);
95ITPP_EXPORT vec cepstrum2poly(const vec &c);
97ITPP_EXPORT vec rc2ac(const vec &rc);
99ITPP_EXPORT vec rc2is(const vec &rc);
101ITPP_EXPORT vec rc2lar(const vec &rc);
103ITPP_EXPORT vec rc2poly(const vec &rc);
104
106
107} // namespace itpp
108
109#endif // #ifndef LPCFUNC_H
ITPP_EXPORT vec autocorr(const vec &x, int order)
Computes the autocorrelation function.
ITPP_EXPORT vec chirp(const vec &a, double factor)
Returns a chirped version of the input vector.
ITPP_EXPORT vec ac2rc(const vec &ac)
ac2rc - Autocorrelation sequence to reflection coefficients conversion.
ITPP_EXPORT vec rc2lar(const vec &rc)
rc2lar - Reflection coefficients to log area ratios conversion.
ITPP_EXPORT vec lar2rc(const vec &lar)
lar2rc - Log area ratios to reflection coefficients conversion.
ITPP_EXPORT vec schurrc(const vec &R, int order)
schurrc - Schur algorithm.
ITPP_EXPORT vec poly2lsf(const vec &poly)
poly2lsf - Prediction polynomial to line spectral frequencies conversion.
ITPP_EXPORT vec poly2cepstrum(const vec &a)
poly2cepstrum - Prediction polynomial to cepstrum conversion.
ITPP_EXPORT vec rc2poly(const vec &rc)
rc2poly - Reflection coefficients to prediction polynomial conversion.
ITPP_EXPORT vec ac2poly(const vec &ac)
ac2poly - Autocorrelation sequence to prediction polynomial conversion.
ITPP_EXPORT vec rc2is(const vec &rc)
rc2is - Reflection coefficients to inverse sine parameters conversion.
ITPP_EXPORT vec lpc(const vec &x, int order)
lpc - Linear Predictive Coefficients using autocorrelation method.
ITPP_EXPORT vec levinson(const vec &R2, int order)
Levinson - Levinson-Durbin recursion.
ITPP_EXPORT vec lerouxguegenrc(const vec &R, int order)
Computes reflection coefficients from autocorrelation, using the Le-Roux-Guegen algorithm.
ITPP_EXPORT vec poly2rc(const vec &poly)
poly2rc - Prediction polynomial to reflection coefficients conversion.
ITPP_EXPORT double sd(const vec &In1, const vec &In2)
Spectral distortion between two vectors, in dB.
ITPP_EXPORT vec poly2ac(const vec &poly)
poly2ac - Prediction polynomial to autocorrelation sequence conversion.
ITPP_EXPORT vec is2rc(const vec &is)
is2rc - Inverse sine parameters to reflection coefficients conversion.
ITPP_EXPORT vec cepstrum2poly(const vec &c)
cepstrum2poly - Cepstrum to prediction polynomial conversion.
ITPP_EXPORT vec rc2ac(const vec &rc)
rc2ac - Reflection coefficients to autocorrelation sequence conversion.
ITPP_EXPORT vec lsf2poly(const vec &lsf)
lsf2poly - Line spectral frequencies to prediction polynomial conversion.
void poly(const vec &r, vec &p)
Create a polynomial of the given roots.
Definition: poly.cpp:40
itpp namespace
Definition: itmex.h:37
Templated Vector Class Definitions.
SourceForge Logo

Generated on Tue Jan 24 2023 00:00:00 for IT++ by Doxygen 1.9.6