Preprocessor symbols for conditional compilation 

Engine structures

Model

HTS_Window

HTS_Pattern

HTS_Question

HTS_Node

HTS_Tree

HTS_Model

HTS_Stream

HTS_ModelSet

Label

HTS_LabelString

HTS_Label

State stream

HTS_SStream

HTS_SStreamSet

PDF stream

HTS_SMatrices

HTS_PStream

HTS_PStreamSet

Generated parameter stream

HTS_GStream

HTS_GStreamSet

Engine

HTS_Global

HTS_Engine

Vocoder structures

Audio

HTS_Audio

Vocoder

HTS_Vocoder

Engine functions

Initialize engine

HTS_Engine_initialize

void HTS_Engine_initialize(HTS_Engine *engine, int nstream)

Load models

HTS_Engine_load_duration_from_fn

void HTS_Engine_load_duration_from_fn(HTS_Engine *engine, char **pdf_fn, char **tree_fn, int interpolation_size)

HTS_Engine_load_duration_from_fp

void HTS_Engine_load_duration_from_fp(HTS_Engine *engine, FILE **pdf_fp, FILE **tree_fp, int interpolation_size)

HTS_Engine_load_parameter_from_fn

void HTS_Engine_load_parameter_from_fn(HTS_Engine *engine, char **pdf_fn, char **tree_fn, char **win_fn,
                                       int stream_index, HTS_Boolean msd_flag, int window_size, int interpolation_size)

HTS_Engine_load_parameter_from_fp

void HTS_Engine_load_parameter_from_fp(HTS_Engine *engine, FILE **pdf_fp, FILE **tree_fp, FILE **win_fp,
                                       int stream_index, HTS_Boolean msd_flag, int window_size, int interpolation_size)

HTS_Engine_load_gv_from_fn

void HTS_Engine_load_gv_from_fn(HTS_Engine *engine, char **pdf_fn, int stream_index, int interpolation_size)

HTS_Engine_load_gv_from_fp

void HTS_Engine_load_gv_from_fp(HTS_Engine *engine, FILE **pdf_fp, int stream_index, int interpolation_size)

Set parameter

HTS_Engine_set_sampling_rate

void HTS_Engine_set_sampling_rate(HTS_Engine *engine,int i)

HTS_Engine_set_fperiod

void HTS_Engine_set_fperiod(HTS_Engine *engine,int i)

HTS_Engine_set_alpha

void HTS_Engine_set_alpha(HTS_Engine *engine,double f)

HTS_Engine_set_gamma

void HTS_engine_set_gamma(HTS_Engine *engine,int i)

HTS_Engine_use_log_gain

void HTS_Engine_set_log_gain(HTS_Engine *engine,HTS_Boolean i)

HTS_Engine_set_beta

void HTS_SetBeta(HTS_Engine *engine,double f)

HTS_Engine_set_audio_buff_size

void HTS_Engine_set_audio_buff_size(HTS_Engine *engine, int i)

HTS_Engine_set_msd_threshold

void HTS_Engine_set_msd_threshold(HTS_Engine *engine, int stream_index, double f)

HTS_Engine_set_duration_interpolation_weight

void HTS_Engine_set_duration_interpolation_weight(HTS_Engine *engine, int interpolation_index, double f)

HTS_Engine_set_parameter_interpolation_weight

void HTS_Engine_set_parameter_interpolation_weight(HTS_Engine *engine, int stream_index, int interpolation_index, double f)

HTS_Engine_set_gv_interpolation_weight

void HTS_Engine_set_gv_interpolation_weight(HTS_Engine *engine, int stream_index, int interpolation_index, double f)

HTS_Engine_set_gv_weight

void HTS_Engine_set_gv_weight(HTS_Engine *engine, int stream_index, double f)

Synthesize speech

HTS_Engine_load_label_from_fn

void HTS_Engine_load_label_from_fn(HTS_Engine *engine, char *fn)

HTS_Engine_load_label_from_fp

void HTS_Engine_load_label_from_fp(HTS_Engine *engine, FILE *fp)

HTS_Engine_load_label_from_string

void HTS_Engine_load_label_from_string(HTS_Engine *engine, char *data)

HTS_Engine_load_label_from_string_list

void HTS_Engine_load_label_from_string_list(HTS_Engine *engine, char **data, int size)

HTS_Engine_create_sstream

void HTS_Engine_create_sstream(HTS_Engine *engine)

HTS_Engine_create_pstream

void HTS_Engine_create_pstream(HTS_Engine *engine)

HTS_Engine_create_gstream

void HTS_Engine_create_gstream(HTS_Engine *engine)

HTS_Engine_save_infomation

void HTS_Engine_save_infomation(HTS_Engine *engine, FILE *fp)

HTS_Engine_save_label

void HTS_Engine_save_label(HTS_Engine *engine, FILE *fp)

HTS_Engine_save_generated_parameter

void HTS_Engine_save_generated_parameter(HTS_Engine *engine, FILE *fp)

HTS_Engine_save_generated_speech

void HTS_Engine_save_generated_speech(HTS_Engine *engine, FILE *fp)

HTS_Engine_save_riff

void HTS_Engine_save_riff(HTS_Engine *engine, FILE *fp)

HTS_Engine_refresh

void HTS_Engine_refresh(HTS_Engine *engine)

Free engine

HTS_Engine_clear

void HTS_Engine_clear(HTS_Engine *engine)

Vocoder functions

Initialize vocoder

HTS_Vocoder_initialize

void HTS_Vocoder_initialize(HTS_Vocoder *v, const int m, const int stage, HTS_Boolean use_log_gain, const int rate, const int fperiod, int buff_size)

Synthesize speech

HTS_Vocoder_synthesize

void HTS_Vocoder_synthesize(HTS_Vocoder *v, const int m, double lf0, double *spectrum, double alpha, double beta, short *rawdata)

HTS_Vocoder_postfilter_mcp

void HTS_Vocoder_postfilter_mcp(HTS_Vocoder *v, double *mcp, const int m, double alpha, double beta)

Free vocoder

HTS_Vocoder_clear

void HTS_Vocoder_clear(HTS_Vocoder *v)

Other functions

For copyright

void HTS_show_copyright(FILE *fp)

void HTS_get_copyright(char *str)


Front page   Edit Freeze Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes
Last-modified: 2008-06-26 (Thu) 01:00:00