LPC_and_LFCC.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. djmw 20001228
  22. djmw 20020812 GPL header
  23. djmw 20110307 Latest modification
  24. */
  25. #include "LPC.h"
  26. #include "LFCC.h"
  27. autoLFCC LPC_to_LFCC (LPC me, integer numberOfCoefficients);
  28. autoLPC LFCC_to_LPC (LFCC me, integer numberOfCoefficients);
  29. void LPC_Frame_into_CC_Frame (LPC_Frame me, CC_Frame thee);
  30. /*
  31. Transformation of lp-coefficients to cepstral coefficients.
  32. The number of cepstral coefficients may be larger than
  33. the number of lp-coefficients (equation 5).
  34. Reference: Digital Signal Processing Committee (eds.),
  35. Programs for Digital Signal Processing, IEEE Press,
  36. 1979 (Formulas 4a, 4b, 4c and 5, page 4.3-2).
  37. */
  38. void CC_Frame_into_LPC_Frame (CC_Frame me, LPC_Frame thee);
  39. /*
  40. Transformation of cepstral coefficients to lp-coefficients.
  41. The number of lp-coefficients can never exceed the number
  42. of cepstral coefficients.
  43. Reference: Digital Signal Processing Committee (eds.),
  44. Programs for Digital Signal Processing, IEEE Press,
  45. 1979 (page 4.3-6).
  46. */
  47. #endif /* _LPC_and_LFCC_h_ */