mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.47.12]
Change program code for espeak/libespeak to C, remove C++ features. Language changes: af, ga, grc, hu, nl, sw, ta git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@364 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -1639,6 +1639,12 @@ int LoadSpect(const char *path, int control)
|
||||
}
|
||||
spectseq->Load(stream);
|
||||
|
||||
if(spectseq->frames == NULL)
|
||||
{
|
||||
error("Bad vowel file, no frames: '%s'",path);
|
||||
return(0);
|
||||
}
|
||||
|
||||
// do we need additional klatt data ?
|
||||
for(frame=0; frame < spectseq->numframes; frame++)
|
||||
{
|
||||
@@ -3616,6 +3622,11 @@ make_envs();
|
||||
"# ------- ---------\n");
|
||||
|
||||
|
||||
fprintf(f_errors, "Source data path = '%s'\n", path_source);
|
||||
strncpy0(fname,path_phfile.mb_str(wxConvLocal),sizeof(fname));
|
||||
fprintf(f_errors, "Master phonemes file = '%s'\n", fname);
|
||||
fprintf(f_errors, "Output to '%s/'\n\n", path_home);
|
||||
|
||||
sprintf(fname,"%s/%s",path_home,"phondata");
|
||||
f_phdata = fopen_log(f_errors,fname,"wb");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user