mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.40.07]
*_list files. Ad feature for ordinal numbers (for some languages). *_list files. Allow hyphenated word groups to start with a number. *_list files. Allow "words" of symbols to contain brackets (move check for bracket characters to after the *_list lookup). --punct option. Fix some unnecessary pauses when speaking punctuation names. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@215 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-6
@@ -876,12 +876,8 @@ int Compile::LoadWavefile(FILE *f, const char *fname)
|
||||
max = -sample;
|
||||
|
||||
}
|
||||
if(max > 1)
|
||||
{
|
||||
scale_factor = (max / 127) + 1;
|
||||
}
|
||||
else
|
||||
scale_factor = 0;
|
||||
|
||||
scale_factor = (max / 127) + 1;
|
||||
|
||||
//fprintf(f_errors," sample len=%d max=%4x shift=%d\n",length,max,scale_factor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user