/* PitchTier_to_PointProcess.h */
/* Paul Boersma, June 6, 1997 */

#ifndef _PitchTier_h_
	#include "PitchTier.h"
#endif
#ifndef _PointProcess_h_
	#include "PointProcess.h"
#endif
#ifndef _Pitch_h_
	#include "Pitch.h"
#endif

PointProcess PitchTier_to_PointProcess (PitchTier me);

PointProcess PitchTier_Pitch_to_PointProcess (PitchTier me, Pitch vuv);
/* Keeps only the parts that are voiced according to 'vuv'. */
/* Voiced means: inside voiced frame of 'pitch'. */

PointProcess PitchTier_Point_to_PointProcess (PitchTier me, PointProcess vuv, double maxT);
/* Keeps only the parts that are voiced according to 'vuv'. */
/* Voiced means: within an interval no longer than 'maxT', */
/* or within half an adjacent short-enough interval from any pulse. */

PitchTier PointProcess_to_PitchTier (PointProcess me, double maximumInterval);
PitchTier Pitch_PointProcess_to_PitchTier (Pitch me, PointProcess pp);
PitchTier PitchTier_PointProcess_to_PitchTier (PitchTier me, PointProcess pp);
TableOfReal PitchTier_downto_TableOfReal (PitchTier me, int useSemitones);

/* End of file PitchTier_to_PointProcess.h */
