"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "base_class/EST_FeatureData.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).

EST_FeatureData.cc  (speech_tools-2.4-release):EST_FeatureData.cc  (speech_tools-2.5.0-release)
skipping to change at line 358 skipping to change at line 358
int i; int i;
if (filename == "-") if (filename == "-")
outf = &cout; outf = &cout;
else else
outf = new ofstream(filename); outf = new ofstream(filename);
if (!(*outf)) if (!(*outf))
return write_fail; return write_fail;
outf->precision(5); outf->precision(5);
outf->setf(ios::fixed, ios::floatfield); outf->setf(ios::scientific, ios::floatfield);
outf->width(8); outf->width(8);
*outf << "EST_File feature_data\n"; // EST header identifier *outf << "EST_File feature_data\n"; // EST header identifier
*outf << "DataType ascii\n"; *outf << "DataType ascii\n";
*outf << "NumSamples " << f.num_samples() << endl; *outf << "NumSamples " << f.num_samples() << endl;
*outf << "NumFields " << f.num_fields() << endl; *outf << "NumFields " << f.num_fields() << endl;
*outf << "FieldNames " << f.info().field_names(); *outf << "FieldNames " << f.info().field_names();
*outf << "FieldTypes " << f.info().field_types(); *outf << "FieldTypes " << f.info().field_types();
if (f.info().group_start.length() > 0) if (f.info().group_start.length() > 0)
for (s = f.info().group_start.head(), e = f.info().group_end.head(); for (s = f.info().group_start.head(), e = f.info().group_end.head();
 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)