Edinburgh Speech Tools  2.1-release
Tilt functions

Classes

class  EST_SMatrix
 

Functions

void default_rfc_params (EST_Features &op)
 
void rfc_analysis (EST_Track &fz, EST_Relation &event_list, EST_Features &op)
 
void tilt_analysis (EST_Track &fz, EST_Relation &event_list, EST_Features &op)
 Fill op with sensible default parameters for RFC analysis. More...
 
void fill_rise_fall_values (EST_Track &fz, float amp, float start_f0)
 
void rfc_synthesis (EST_Track &f0, EST_Relation &ev_list, float f_shift, int no_conn)
 Generate an F0 contour given a list RFC events. More...
 
void tilt_synthesis (EST_Track &track, EST_Relation &ev_list, float f_shift, int no_conn)
 Generate an F0 contour given a list Tilt events. More...
 
void tilt_to_rfc (EST_Features &tilt, EST_Features &rfc)
 Convert a single set of local tilt parameters to local RFC parameters. More...
 
void rfc_to_tilt (EST_Features &rfc, EST_Features &tilt)
 Convert a single set of local RFC parameters to local tilt parameters. See RFC to F0 Synthesis for a description of how this is performed. More...
 
void tilt_to_rfc (EST_Relation &ev_tilt)
 
void rfc_to_tilt (EST_Relation &ev_rfc)
 For each tilt events in ev_rfc, produce a set of Tiltparameters. The RFC parameters are stored as the following features in the event: More...
 
int validate_rfc_stream (EST_Relation &ev)
 
void fill_rfc_types (EST_Relation &ev)
 

Detailed Description

Functions for:

Function Documentation

void default_rfc_params ( EST_Features op)

Fill op with sensible default parameters for RFC analysis.

Definition at line 106 of file tilt_analysis.cc.

void rfc_analysis ( EST_Track fz,
EST_Relation event_list,
EST_Features op 
)

Produce a set of RFC parameterized events given approximate event boundaries and a smoothed F0 contour. See Producing an RFC representation from an utterance's events and F0 contour for a description of this process.

Parameters
f0Smoothed continuous F0 contour. An error will occur if any unvoiced regions are detected in the contour. Use the function smooth_pda to smooth and interpolate a normal contour.
ev_listlist of events, each containing approximate start and end times of the events. On completion each event in this list will have a set of RFC parameters.
opparameters used to control analysis process.

Definition at line 115 of file tilt_analysis.cc.

void tilt_analysis ( EST_Track fz,
EST_Relation event_list,
EST_Features op 
)

Fill op with sensible default parameters for RFC analysis.

void fill_rise_fall_values ( EST_Track fz,
float  amp,
float  start_f0 
)

Fill op with sensible default parameters for RFC analysis

void rfc_synthesis ( EST_Track f0,
EST_Relation ev_list,
float  f_shift,
int  no_conn 
)

Generate an F0 contour given a list RFC events.

Parameters
f0Generated F0 contour
ev_listlist of events, each containing a set of RFC parameters
f_shiftframe shift in seconds of the generated contour
no_connDo not join events with straight lines if set to 1

Definition at line 116 of file tilt_synthesis.cc.

void tilt_synthesis ( EST_Track track,
EST_Relation ev_list,
float  f_shift,
int  no_conn 
)

Generate an F0 contour given a list Tilt events.

This function simply calls tilt_to_rfc followed by rfc_synthesis .

Parameters
f0Generated F0 contour
ev_listlist of events, each containing a set of Tilt parameters
f_shiftframe shift in seconds of the generated contour
no_connDo not join events with straight lines if set to 1

Definition at line 47 of file tilt_synthesis.cc.

void tilt_to_rfc ( EST_Features tilt,
EST_Features rfc 
)

Convert a single set of local tilt parameters to local RFC parameters.

Parameters
tiltinput tilt parameters, named amp, dur and tilt
rfcoutput RFC parameters, name rise_amp, fall_amp, rise_dur and fall_dur

Definition at line 197 of file tilt_utils.cc.

void rfc_to_tilt ( EST_Features rfc,
EST_Features tilt 
)

Convert a single set of local RFC parameters to local tilt parameters. See RFC to F0 Synthesis for a description of how this is performed.

Parameters
rfcinput RFC parameters, named rise_amp, fall_amp, rise_dur andfall_dur
tiltoutput tilt parameters, named amp, dur and tilt

Definition at line 172 of file tilt_utils.cc.

void tilt_to_rfc ( EST_Relation ev_tilt)

For each tilt events in ev_tilt, produce a set of RFC parameters. The tilt parameters are stored as the following features in the event:

  • tilt.amp
  • tilt.dur
  • tilt.tilt

    A set of features with the following names are created:

  • rfc.rise_amp
  • rfc.rise_dur
  • rfc.fall_amp
  • rfc.fall_dur

    The original tilt features are not deleted.

Definition at line 206 of file tilt_utils.cc.

void rfc_to_tilt ( EST_Relation ev_rfc)

For each tilt events in ev_rfc, produce a set of Tiltparameters. The RFC parameters are stored as the following features in the event:

  • rfc.rise_amp
  • rfc.rise_dur
  • rfc.fall_amp
  • rfc.fall_dur

    A set of features with the following names are created:

  • tilt.amp
  • tilt.dur
  • tilt.tilt

    The original RFC features are not deleted.

Definition at line 179 of file tilt_utils.cc.

int validate_rfc_stream ( EST_Relation ev)
void fill_rfc_types ( EST_Relation ev)

Definition at line 237 of file tilt_utils.cc.