Edinburgh Speech Tools  2.1-release
tilt_utils.cc File Reference
#include <cstdlib>
#include "EST_math.h"
#include "tilt.h"
#include "EST_error.h"
Include dependency graph for tilt_utils.cc:

Go to the source code of this file.

Functions

void validate_rfc_stream (EST_Relation &ev)
 
float rfc_to_tilt_amp (EST_Features &e)
 
float rfc_to_tilt_dur (EST_Features &e)
 
float rfc_to_a_tilt (EST_Features &e)
 
float rfc_to_d_tilt (EST_Features &e)
 
float rfc_to_t_tilt (EST_Features &e)
 
float tilt_to_rise_amp (EST_Features &e)
 
float tilt_to_rise_dur (EST_Features &e)
 
float tilt_to_fall_amp (EST_Features &e)
 
float tilt_to_fall_dur (EST_Features &e)
 
float tilt_to_peak_f0 (EST_Item *e)
 
float tilt_to_peak_pos (EST_Item *e)
 
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 rfc_to_tilt (EST_Relation &ev)
 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...
 
void tilt_to_rfc (EST_Features &tilt, EST_Features &rfc)
 Convert a single set of local tilt parameters to local RFC parameters. More...
 
void tilt_to_rfc (EST_Relation &ev)
 
void scale_tilt (EST_Relation &ev, float shift, float scale)
 
void fill_rfc_types (EST_Relation &ev)
 
void int_segment_to_unit (EST_Relation &int_lab, EST_Relation &ev_lab)
 
void fn_start_to_real_start (EST_Relation &ev)
 
void set_fn_start (EST_Relation &ev)
 
void event_to_segment (EST_Relation &ev, float min_length)
 
void remove_rfc_features (EST_Relation &ev)
 
void remove_tilt_features (EST_Relation &ev)
 
float unit_curve (float amp, float dur, float t)
 
float fncurve (float length, float t, float curve)
 
int event_item (EST_Item &e)
 
int sil_item (EST_Item &e)
 
int connection_item (EST_Item &e)
 

Function Documentation

void validate_rfc_stream ( EST_Relation ev)
float rfc_to_tilt_amp ( EST_Features e)

Definition at line 110 of file tilt_utils.cc.

float rfc_to_tilt_dur ( EST_Features e)

Definition at line 115 of file tilt_utils.cc.

float rfc_to_a_tilt ( EST_Features e)

Definition at line 120 of file tilt_utils.cc.

float rfc_to_d_tilt ( EST_Features e)

Definition at line 126 of file tilt_utils.cc.

float rfc_to_t_tilt ( EST_Features e)

Definition at line 132 of file tilt_utils.cc.

float tilt_to_rise_amp ( EST_Features e)

Definition at line 141 of file tilt_utils.cc.

float tilt_to_rise_dur ( EST_Features e)

Definition at line 146 of file tilt_utils.cc.

float tilt_to_fall_amp ( EST_Features e)

Definition at line 151 of file tilt_utils.cc.

float tilt_to_fall_dur ( EST_Features e)

Definition at line 156 of file tilt_utils.cc.

float tilt_to_peak_f0 ( EST_Item e)

Definition at line 161 of file tilt_utils.cc.

float tilt_to_peak_pos ( EST_Item e)

Definition at line 166 of file tilt_utils.cc.

void scale_tilt ( EST_Relation ev,
float  shift,
float  scale 
)

Definition at line 225 of file tilt_utils.cc.

void int_segment_to_unit ( EST_Relation int_lab,
EST_Relation ev_lab 
)

Definition at line 257 of file tilt_utils.cc.

void fn_start_to_real_start ( EST_Relation ev)

Definition at line 292 of file tilt_utils.cc.

void set_fn_start ( EST_Relation ev)

Definition at line 298 of file tilt_utils.cc.

void event_to_segment ( EST_Relation ev,
float  min_length 
)

Definition at line 307 of file tilt_utils.cc.

void remove_rfc_features ( EST_Relation ev)

Definition at line 352 of file tilt_utils.cc.

void remove_tilt_features ( EST_Relation ev)

Definition at line 364 of file tilt_utils.cc.

float unit_curve ( float  amp,
float  dur,
float  t 
)

Definition at line 374 of file tilt_utils.cc.

float fncurve ( float  length,
float  t,
float  curve 
)

Definition at line 393 of file tilt_utils.cc.

int event_item ( EST_Item e)

Definition at line 410 of file tilt_utils.cc.

int sil_item ( EST_Item e)

Definition at line 414 of file tilt_utils.cc.

int connection_item ( EST_Item e)

Definition at line 418 of file tilt_utils.cc.