FormantTier.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef _FormantTier_h_
  2. #define _FormantTier_h_
  3. /* FormantTier.h
  4. *
  5. * Copyright (C) 1992-2011,2015,2018 Paul Boersma
  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.
  15. * See the GNU 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 "PointProcess.h"
  21. #include "Formant.h"
  22. #include "TableOfReal.h"
  23. #include "Sound.h"
  24. #include "AnyTier.h"
  25. #include "FormantTier_def.h"
  26. autoFormantPoint FormantPoint_create (double time, integer numberOfFormants);
  27. autoFormantTier FormantTier_create (double tmin, double tmax);
  28. double FormantTier_getValueAtTime (FormantTier me, integer iformant, double t);
  29. double FormantTier_getBandwidthAtTime (FormantTier me, integer iformant, double t);
  30. integer FormantTier_getMinNumFormants (FormantTier me);
  31. integer FormantTier_getMaxNumFormants (FormantTier me);
  32. void FormantTier_speckle (FormantTier me, Graphics g, double tmin, double tmax, double fmax, bool garnish);
  33. autoFormantTier Formant_downto_FormantTier (Formant me);
  34. autoFormantTier Formant_PointProcess_to_FormantTier (Formant me, PointProcess pp);
  35. autoTableOfReal FormantTier_downto_TableOfReal (FormantTier me, bool includeFormants, bool includeBandwidths);
  36. void Sound_FormantTier_filter_inplace (Sound me, FormantTier formantTier);
  37. autoSound Sound_FormantTier_filter (Sound me, FormantTier formantTier);
  38. autoSound Sound_FormantTier_filter_noscale (Sound me, FormantTier formantTier);
  39. /* End of file FormantTier.h */
  40. #endif