"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "main/tilt_synthesis_main.cc" between
speech_tools-2.4-release.tar.gz and speech_tools-2.5.0-release.tar.gz

About: The speech_tools - Edinburgh Speech Tools Library (used by the Festival Speech Synthesis System).

tilt_synthesis_main.cc  (speech_tools-2.4-release):tilt_synthesis_main.cc  (speech_tools-2.5.0-release)
skipping to change at line 115 skipping to change at line 115
files, al); files, al);
out_file = al.present("-o") ? al.val("-o") : (EST_String)"-"; out_file = al.present("-o") ? al.val("-o") : (EST_String)"-";
init_lib_ops(al, op); init_lib_ops(al, op);
ev.load(files.first()); ev.load(files.first());
// temporary fix until status of start and end is finalised // temporary fix until status of start and end is finalised
float prev_end = 0.0; float prev_end = 0.0;
for (e = ev.head(); e; e = e->next()) for (e = ev.head(); e; e = inext(e))
{ {
e->set("start", prev_end); e->set("start", prev_end);
prev_end = e->F("end"); prev_end = e->F("end");
} }
pstring = al.present("-event_names") ? al.val("-event_names"): pstring = al.present("-event_names") ? al.val("-event_names"):
EST_String("a b ab pos"); EST_String("a b ab pos");
StringtoStrList(pstring, event_list); StringtoStrList(pstring, event_list);
convert_to_broad(ev, event_list, "int_event"); convert_to_broad(ev, event_list, "int_event");
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)