| 1 |
#ifndef _LPC_and_LFCC_h_ |
| 2 |
#define _LPC_and_LFCC_h_ |
| 3 |
/* LPC_and_LFCC.h |
| 4 |
* |
| 5 |
* Copyright (C) 1994-2017 David Weenink |
| 6 |
* |
| 7 |
* This code is free software; you can redistribute it and/or modify |
| 8 |
* it under the terms of the GNU General Public License as published by |
| 9 |
* the Free Software Foundation; either version 2 of the License, or (at |
| 10 |
* your option) any later version. |
| 11 |
* |
| 12 |
* This code is distributed in the hope that it will be useful, but |
| 13 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
* General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU General Public License |
| 18 |
* along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
*/ |
| 20 |
|
| 21 |
/* |
| 22 |
djmw 20001228 |
| 23 |
djmw 20020812 GPL header |
| 24 |
djmw 20110307 Latest modification |
| 25 |
*/ |
| 26 |
|
| 27 |
#include "LPC.h" |
| 28 |
#include "LFCC.h" |
| 29 |
|
| 30 |
autoLFCC LPC_to_LFCC (LPC me, integer numberOfCoefficients); |
| 31 |
|
| 32 |
autoLPC LFCC_to_LPC (LFCC me, integer numberOfCoefficients); |
| 33 |
|
| 34 |
void LPC_Frame_into_CC_Frame (LPC_Frame me, CC_Frame thee); |
| 35 |
/* |
| 36 |
Transformation of lp-coefficients to cepstral coefficients. |
| 37 |
|
| 38 |
The number of cepstral coefficients may be larger than |
| 39 |
the number of lp-coefficients (equation 5). |
| 40 |
|
| 41 |
Reference: Digital Signal Processing Committee (eds.), |
| 42 |
Programs for Digital Signal Processing, IEEE Press, |
| 43 |
1979 (Formulas 4a, 4b, 4c and 5, page 4.3-2). |
| 44 |
*/ |
| 45 |
|
| 46 |
void CC_Frame_into_LPC_Frame (CC_Frame me, LPC_Frame thee); |
| 47 |
/* |
| 48 |
Transformation of cepstral coefficients to lp-coefficients. |
| 49 |
|
| 50 |
The number of lp-coefficients can never exceed the number |
| 51 |
of cepstral coefficients. |
| 52 |
|
| 53 |
Reference: Digital Signal Processing Committee (eds.), |
| 54 |
Programs for Digital Signal Processing, IEEE Press, |
| 55 |
1979 (page 4.3-6). |
| 56 |
*/ |
| 57 |
|
| 58 |
#endif /* _LPC_and_LFCC_h_ */ |