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

Generated on Sun Apr 10 2022 12:00:00 for IT++ by Doxygen 1.8.14