#ifndef _FormantTier_h_
#define _FormantTier_h_
/* FormantTier.h; Paul Boersma, November 19, 1999 */

#ifndef _AnyTier_h_
	#include "AnyTier.h"
#endif
#ifndef _Formant_h_
	#include "Formant.h"
#endif
#ifndef _TableOfReal_h_
	#include "TableOfReal.h"
#endif
#ifndef _Sound_h_
	#include "Sound.h"
#endif

#include "FormantTier_def.h"
#define FormantPoint_methods Data_methods
oo_CLASS_CREATE (FormantPoint, Data)
#define FormantTier_methods Function_methods
oo_CLASS_CREATE (FormantTier, Function)

FormantPoint FormantPoint_create (double time);
FormantTier FormantTier_create (double tmin, double tmax);
double FormantTier_getValueAtTime (FormantTier me, int iformant, double t);
double FormantTier_getBandwidthAtTime (FormantTier me, int iformant, double t);
int FormantTier_getMinNumFormants (FormantTier me);
int FormantTier_getMaxNumFormants (FormantTier me);
void FormantTier_speckle (FormantTier me, Graphics g, double tmin, double tmax, double fmax, int garnish);
FormantTier Formant_downto_FormantTier (Formant me);
FormantTier Formant_PointProcess_to_FormantTier (Formant me, PointProcess pp);
TableOfReal FormantTier_downto_TableOfReal (FormantTier me, int includeFormants, int includeBandwidths);

void Sound_FormantTier_filter_inline (Sound me, FormantTier formantTier);
Sound Sound_FormantTier_filter (Sound me, FormantTier formantTier);
Sound Sound_FormantTier_filter_noscale (Sound me, FormantTier formantTier);
Sound Sound_Formant_filter (Sound me, Formant formant);
Sound Sound_Formant_filter_noscale (Sound me, Formant formant);

/* End of file FormantTier.h */
#endif
