/* Formant_def.h */
/* Paul Boersma, May 21, 1999 */


#define ooSTRUCT Formant_Formant
oo_DEFINE_STRUCT (Formant_Formant)

	oo_FLOAT (frequency)
	oo_FLOAT (bandwidth)

oo_END_STRUCT (Formant_Formant)
#undef ooSTRUCT



#define ooSTRUCT Formant_Frame
oo_DEFINE_STRUCT (Formant_Frame)

	oo_FROM (1)
		oo_DOUBLE (intensity)
	oo_ENDFROM

	oo_INT (nFormants)
	oo_STRUCT_VECTOR (Formant_Formant, formant, my nFormants)

oo_END_STRUCT (Formant_Frame)
#undef ooSTRUCT



#define ooSTRUCT Formant
oo_DEFINE_CLASS (Formant, Sampled)

	oo_INT (maxnFormants)
	oo_STRUCT_VECTOR (Formant_Frame, frame, my nx)

oo_END_CLASS (Formant)
#undef ooSTRUCT


/* End of file Formant_def.h */
