PitchTier_to_PointProcess.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* PitchTier_to_PointProcess.h
  2. *
  3. * Copyright (C) 1992-2011,2015 Paul Boersma
  4. *
  5. * This code is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This code is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. * See the GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #include "PitchTier.h"
  19. #include "PointProcess.h"
  20. #include "Pitch.h"
  21. autoPointProcess PitchTier_to_PointProcess (PitchTier me);
  22. autoPointProcess PitchTier_Pitch_to_PointProcess (PitchTier me, Pitch vuv);
  23. /* Keeps only the parts that are voiced according to 'vuv'. */
  24. /* Voiced means: inside voiced frame of 'pitch'. */
  25. autoPointProcess PitchTier_Point_to_PointProcess (PitchTier me, PointProcess vuv, double maxT);
  26. /* Keeps only the parts that are voiced according to 'vuv'. */
  27. /* Voiced means: within an interval no longer than 'maxT', */
  28. /* or within half an adjacent short-enough interval from any pulse. */
  29. autoPitchTier PointProcess_to_PitchTier (PointProcess me, double maximumInterval);
  30. autoPitchTier Pitch_PointProcess_to_PitchTier (Pitch me, PointProcess pp);
  31. autoPitchTier PitchTier_PointProcess_to_PitchTier (PitchTier me, PointProcess pp);
  32. autoTableOfReal PitchTier_downto_TableOfReal (PitchTier me, int useSemitones);
  33. /* End of file PitchTier_to_PointProcess.h */