mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
Add windows/espeakedit project build data.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@53 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-2
@@ -2061,7 +2061,7 @@ void Translator::MatchRule(char *word[], const char *group, char *rule, MatchRec
|
||||
p -= utf8_in(&letter_w,p,1);
|
||||
}
|
||||
if(!failed)
|
||||
match.points += (19-distance_left);
|
||||
match.points += 3;
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -2106,7 +2106,7 @@ void Translator::MatchRule(char *word[], const char *group, char *rule, MatchRec
|
||||
if(letter == rb)
|
||||
{
|
||||
if(letter == RULE_SPACE)
|
||||
match.points += 3;
|
||||
match.points += 4;
|
||||
else
|
||||
match.points += (21-distance_left);
|
||||
}
|
||||
|
||||
+2
-1
@@ -52,7 +52,8 @@ int tone_points[10] = {600,170, 1200,135, 2000,110, 3000,110, -1,0};
|
||||
|
||||
// limit the rate of change for each formant number
|
||||
//static int formant_rate_22050[9] = {50, 104, 165, 230, 220, 220, 220, 220, 220}; // values for 22kHz sample rate
|
||||
static int formant_rate_22050[9] = {240, 180, 180, 180, 180, 180, 180, 180, 180}; // values for 22kHz sample rate
|
||||
//static int formant_rate_22050[9] = {240, 180, 180, 180, 180, 180, 180, 180, 180}; // values for 22kHz sample rate
|
||||
static int formant_rate_22050[9] = {240, 170, 170, 170, 170, 170, 170, 170, 170}; // values for 22kHz sample rate
|
||||
int formant_rate[9]; // values adjusted for actual sample rate
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user