/* HTS_Engine_synthesize_from_fn: synthesize speech from file name */ HTS_Boolean HTS_Engine_synthesize_from_fn(HTS_Engine * engine, const char *fn) { HTS_Engine_refresh(engine); HTS_Label_load_from_fn(&engine->label, engine->condition.sampling_frequency, engine->condition.fperiod, fn); return HTS_Engine_synthesize(engine); }
/* HTS_Engine_load_label_from_fn: load label from file name */ void HTS_Engine_load_label_from_fn(HTS_Engine * engine, char *fn) { HTS_Label_load_from_fn(&engine->label, engine->global.sampling_rate, engine->global.fperiod, fn); }