forked from espeak-ng/espeak-ng
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathph_oromo
177 lines (141 loc) · 2.78 KB
/
ph_oromo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
//====================================================
// Oromo
//====================================================
phoneme : // Lengthen previous vowel by "length"
virtual
length 160
endphoneme
phoneme i
vwl starttype #i endtype #i
length 140
IfNextVowelAppend(;)
ChangeIfUnstressed(I)
FMT(vowel/i_4)
endphoneme
phoneme I
vwl starttype #i endtype #i
length 140
IfNextVowelAppend(;)
FMT(vowel/ii_3)
endphoneme
phoneme e
vwl starttype #e endtype #e
length 150
FMT(vowel/e_mid2)
endphoneme
phoneme &
vwl starttype #a endtype #a
length 150
FMT(vowel/&)
endphoneme
phoneme a
vwl starttype #a endtype #a
length 170
// ChangeIfUnstressed(a2)
FMT(vowel/aa_9)
endphoneme
phoneme a2
vwl starttype #a endtype #a
length 170
FMT(vowel/aa#)
endphoneme
phoneme o
vwl starttype #o endtype #o
length 155
FMT(vowel/oo_1)
endphoneme
phoneme Y
vwl starttype #@ endtype #@
length 155
FMT(vowel/y#)
endphoneme
phoneme u
vwl starttype #u endtype #u
length 140
FMT(vowel/u_bck)
endphoneme
phoneme u1 // TEST
vwl starttype #u endtype #u
length 140
FMT(vowel/u_2)
endphoneme
phoneme U // TEST
vwl starttype #u endtype #u
length 140
FMT(vowel/uu_4)
endphoneme
phoneme y
vwl starttype #u endtype #u
length 150
FMT(vowel/y)
endphoneme
phoneme y
vwl starttype #@ endtype #@
ipa ?
length 180
// assume that word-final [y] are not added by am_rules
// Only allow [y] in first or last syllables
// IF thisPh(isFinalVowel) THEN
// ELIF thisPh(isFirstVowel) THEN
// ELSE
// ChangePhoneme(NULL)
// ENDIF
FMT(vowel/ii#_2)
endphoneme
phoneme @
vwl starttype #@ endtype #@
length 220
IF nextPhW(isPalatal) THEN
FMT(vdiph/@i_2)
ENDIF
FMT(vowel/@_3)
endphoneme
// CONSONANTS
phoneme r
import_phoneme base1/R2
endphoneme
phoneme k`
vls vel stp
lengthmod 2
Vowelin f1=0 f2=1700 -250 250 f3= -200 80 gpaus f4
Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
WAV(ustop/k_ejc, 60)
endphoneme
phoneme t`
vls alv stp
lengthmod 2
voicingswitch d
Vowelin f1=0 f2=1700 -300 300 f3=-100 80 gpaus
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
IF nextPh(isPause2) THEN
WAV(ustop/t_)
ENDIF
WAV(ustop/t_hi, 70)
endphoneme
phoneme tS`
vls pla afr sib
voicingswitch dZ
lengthmod 2
Vowelin f1=0 f2=1800 -200 200 f3=-100 80 gpaus
IF nextPh(isPause2) THEN
WAV(ustop/tsh_unasp, 80)
ENDIF
WAV(ustop/tsh_unasp, 80)
endphoneme
phoneme P
vls blb stp
lengthmod 2
voicingswitch b
Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 gpaus
Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=30
WAV(ustop/p_unasp)
endphoneme
phoneme D
vcd alv stp
lengthmod 6
voicingswitch d
CALL base1/D
IF nextPh(isPause2) THEN
FMT(voc/dh_) addWav(vocw/dh, 35) // weaker
ENDIF
endphoneme