LPC_and_Formant.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef _LPC_and_Formant_h_
  2. #define _LPC_and_Formant_h_
  3. /* LPC_and_Formant.h
  4. *
  5. * Copyright (C) 1994-2011, 2015-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. #include "LPC.h"
  21. #include "Polynomial.h"
  22. #include "Formant.h"
  23. autoFormant LPC_to_Formant (LPC me, double margin);
  24. autoLPC Formant_to_LPC (Formant me, double samplingPeriod);
  25. void LPC_Frame_into_Formant_Frame (LPC_Frame me, Formant_Frame thee, double samplingPeriod, double margin);
  26. void Formant_Frame_into_LPC_Frame (Formant_Frame me, LPC_Frame thee, double samplingPeriod);
  27. void Formant_Frame_scale (Formant_Frame me, double scale);
  28. void Roots_into_Formant_Frame (Roots me, Formant_Frame thee, double samplingFrequency, double margin);
  29. void Formant_Frame_init (Formant_Frame me, integer nFormants);
  30. #endif /* _LPC_and_Formant_h_ */