mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-25 04:38:37 +00:00
Merge branch 'upstream' into development
Conflicts: dictsource/dict_phonemes phsource/compile_report
This commit is contained in:
+13
-4
@@ -3,7 +3,7 @@
|
||||
0 r/ NULL 0 r
|
||||
0 r- NULL 0 r
|
||||
0 l- NULL 0 l
|
||||
0 w/ NULL 0 w
|
||||
0 w/ NULL 0 v
|
||||
0 j/ NULL 0 j
|
||||
0 ; NULL 0 NULL
|
||||
0 g- NULL 0 NULL
|
||||
@@ -40,16 +40,25 @@
|
||||
0 u~ NULL 60 uu n
|
||||
|
||||
0 H NULL 0 h
|
||||
0 p# NULL 0 ph
|
||||
0 b# NULL 0 bh
|
||||
0 t# NULL 0 th
|
||||
0 d# NULL 0 dh
|
||||
0 t. NULL 0 T
|
||||
0 t.h NULL 0 Th
|
||||
0 t.# NULL 0 Th
|
||||
0 d. NULL 0 D
|
||||
0 d.h NULL 0 Dh
|
||||
0 d.# NULL 0 Dh
|
||||
0 c# NULL 0 ch
|
||||
0 J NULL 0 j
|
||||
0 Jh NULL 0 jh
|
||||
0 J# NULL 0 jh
|
||||
0 k# NULL 0 kh
|
||||
0 g# NULL 0 gh
|
||||
0 n. NULL 0 N
|
||||
0 n^ NULL 0 N
|
||||
0 j NULL 0 y
|
||||
0 S NULL 0 sh
|
||||
0 s. NULL 0 sh
|
||||
0 l. NULL 0 l
|
||||
0 w NULL 0 v
|
||||
|
||||
|
||||
|
||||
@@ -94,7 +94,8 @@ endphoneme
|
||||
|
||||
|
||||
phoneme k#
|
||||
import_phoneme consonants/kh
|
||||
// import_phoneme consonants/kh
|
||||
import_phoneme base/k
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
+10
-1
@@ -1,4 +1,6 @@
|
||||
// Version 2.4 January 2013
|
||||
// Irish Phonemes
|
||||
//Please contact espeak.gaeilge@gmail.com
|
||||
// Version 2.7 2013
|
||||
|
||||
// short vowels
|
||||
|
||||
@@ -19,6 +21,11 @@ phoneme @ // Schwa, but always unstressed
|
||||
Length 80
|
||||
FMT(vwl_af/r@)
|
||||
ENDIF
|
||||
IF prevPh(i:) THEN
|
||||
Length 60
|
||||
FMT(vwl_af/r@)
|
||||
ENDIF
|
||||
|
||||
FMT(vwl_af/@)
|
||||
endphoneme
|
||||
|
||||
@@ -66,8 +73,10 @@ phoneme I
|
||||
FMT(vowel/ii_2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme i // non syllabic i for end of words
|
||||
vowel starttype #i endtype #i
|
||||
unstressed
|
||||
ipa iU+032F
|
||||
length 45
|
||||
FMT(vowel/ii_7)
|
||||
|
||||
+43
-1
@@ -82,7 +82,10 @@ phoneme o+ // doesn't reduce to [O]
|
||||
phoneme O
|
||||
vowel starttype #o endtype #o
|
||||
length 170
|
||||
FMT(vowel/0_2)
|
||||
IF thisPh(isStressed) THEN
|
||||
FMT(vowel/0_2)
|
||||
ENDIF
|
||||
FMT(vowel/oo_4)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -92,6 +95,45 @@ phoneme v
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme t
|
||||
vls dnt stop
|
||||
lengthmod 2
|
||||
voicingswitch d
|
||||
Vowelin f1=0 f2=1600 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause2) AND prevPhW(isVowel) THEN
|
||||
WAV(ustop/t_dnt, 40)
|
||||
ENDIF
|
||||
WAV(ustop/t_dnt, 60)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme k
|
||||
vls vel stop
|
||||
voicingswitch g
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=2300 200 300 f3=-200 80
|
||||
Vowelout f1=0 f2=2300 300 400 f3=-200 80 rms=20
|
||||
|
||||
IF KlattSynth THEN
|
||||
Vowelout f1=0 f2=2300 200 300 f3=-200 80 rms=20
|
||||
ENDIF
|
||||
|
||||
IF nextPh(isPause2) AND prevPhW(isVowel) THEN
|
||||
WAV(ustop/k_)
|
||||
ELIF nextPh(r) OR nextPh(R) OR nextPh(R2) THEN
|
||||
WAV(ustop/kr)
|
||||
ELIF nextPh(#i) OR nextPh(;) THEN
|
||||
WAV(ustop/ki)
|
||||
ELIF nextPh(l) THEN
|
||||
WAV(ustop/kl)
|
||||
ELIF nextPh(@-) THEN
|
||||
WAV(ustop/k_unasp, 70)
|
||||
ENDIF
|
||||
WAV(ustop/k)
|
||||
endphoneme
|
||||
|
||||
|
||||
// for foreign letters
|
||||
phoneme y
|
||||
vowel starttype #i endtype #i
|
||||
|
||||
+38
-32
@@ -6,25 +6,25 @@
|
||||
|
||||
phoneme 1 // ngang tone: level
|
||||
stress
|
||||
Tone(28, 32, envelope/p_level, NULL)
|
||||
Tone(28,32, envelope/p_level, NULL) // 28 29
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme 2 // huyền tone: low falling
|
||||
stress
|
||||
Tone(20, 8, envelope/p_fall, NULL) //20
|
||||
Tone(20, 8, envelope/p_fall, NULL) //20 8
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme 3 // sắc Tone(rising
|
||||
stress
|
||||
Tone(30, 60, envelope/p_rise, NULL) // 25 50
|
||||
Tone(20, 80, envelope/p_rise, NULL) // 30 60
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme 4 // hỏi Tone(curve (dipping rising)
|
||||
stress
|
||||
Tone(40, 5, envelope/p_fallrise, NULL) //30
|
||||
Tone(30, 5, envelope/p_fallrise, NULL) //33 31
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ endphoneme
|
||||
phoneme 6 // nặng Tone(drop (constricted)
|
||||
stress
|
||||
//length 150 // ignore because it make too short sound 75 // reduce the length of the vowel
|
||||
Tone(40, 20, envelope/p_512, envelope/vi_6amp)
|
||||
Tone(33, 21, envelope/p_512, envelope/vi_6amp) //40 20
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -55,20 +55,24 @@ endphoneme
|
||||
phoneme a
|
||||
vowel starttype #@ endtype #@
|
||||
length 140
|
||||
FMT(vowel/a_6) //a_4)
|
||||
FMT(vowel/a_4) //a_4)
|
||||
endphoneme
|
||||
|
||||
phoneme a:
|
||||
vowel starttype #a endtype #a
|
||||
length 240 //280
|
||||
IF nextPh(n^) OR nextPh(c) THEN
|
||||
length 100
|
||||
ELSE
|
||||
length 170 //280
|
||||
ENDIF
|
||||
FMT(vowel/a_8)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme E
|
||||
vowel starttype #e endtype #e
|
||||
length 240
|
||||
FMT(vowel/ee_3)
|
||||
length 200
|
||||
FMT(vowel/e_e) //ee_3)
|
||||
endphoneme
|
||||
|
||||
phoneme e
|
||||
@@ -80,14 +84,15 @@ endphoneme
|
||||
|
||||
phoneme i
|
||||
vowel starttype #i endtype #i
|
||||
length 240
|
||||
IfNextVowelAppend(;)
|
||||
IfNextVowelAppend(;)
|
||||
IF prevPhW(w) THEN
|
||||
VowelStart(w/wi)
|
||||
ENDIF
|
||||
IF nextPh(n^) OR nextPh(c) THEN
|
||||
length 100
|
||||
FMT(vnasal/ii_n)
|
||||
ELSE
|
||||
ELSE
|
||||
length 240
|
||||
FMT(vowel/i_4)
|
||||
ENDIF
|
||||
endphoneme
|
||||
@@ -100,7 +105,7 @@ phoneme O
|
||||
ELSE
|
||||
length 200
|
||||
ENDIF
|
||||
FMT(vowel/0_2) //aa_4)
|
||||
FMT(vowel/oo_2)
|
||||
endphoneme
|
||||
|
||||
phoneme o
|
||||
@@ -141,7 +146,7 @@ phoneme @
|
||||
IF nextPh(kh) OR nextPh(N) OR nextPh(n^) OR nextPh(c) THEN
|
||||
length 120
|
||||
ELSE
|
||||
length 200
|
||||
length 170
|
||||
ENDIF
|
||||
FMT(vowel/V) //vowel/@_2)
|
||||
endphoneme
|
||||
@@ -182,7 +187,7 @@ endphoneme
|
||||
phoneme @:I
|
||||
vowel starttype #@ endtype #i
|
||||
length 200 //250
|
||||
FMT(vdiph/@i)
|
||||
FMT(vdiph/y#i)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -202,8 +207,8 @@ endphoneme
|
||||
|
||||
phoneme OI
|
||||
vowel starttype #o endtype #i
|
||||
length 200
|
||||
FMT(vdiph/ooi_3)
|
||||
length 150
|
||||
FMT(vdiph/ooi_2)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -231,28 +236,28 @@ endphoneme
|
||||
|
||||
phoneme aU
|
||||
vowel starttype #a endtype #u
|
||||
length 200
|
||||
length 150
|
||||
FMT(vdiph/aau_4)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme a:U
|
||||
vowel starttype #a endtype #u
|
||||
length 200 //270
|
||||
length 150 //270
|
||||
FMT(vdiph/au)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme eU
|
||||
vowel starttype #e endtype #u
|
||||
length 200
|
||||
length 150
|
||||
FMT(vdiph/eu)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme EU
|
||||
vowel starttype #e endtype #u
|
||||
length 200
|
||||
length 150
|
||||
FMT(vdiph/eeu)
|
||||
endphoneme
|
||||
|
||||
@@ -310,7 +315,7 @@ endphoneme
|
||||
|
||||
|
||||
phoneme o@
|
||||
vowel starttype #o endtype #o
|
||||
vowel starttype #o endtype #a
|
||||
length 140
|
||||
FMT(vdiph2/oa)
|
||||
endphoneme
|
||||
@@ -366,7 +371,7 @@ endphoneme
|
||||
|
||||
phoneme l
|
||||
liquid
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80 len=30
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80 len=15
|
||||
//lengthmod 7
|
||||
//IF nextPh(isNotVowel) THEN
|
||||
// ChangePhoneme(l/2)
|
||||
@@ -380,7 +385,7 @@ phoneme t
|
||||
vls alv stop
|
||||
//voicingswitch d
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80 len=30
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80 len=15
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
|
||||
WAV(vietnam/th, 50)
|
||||
@@ -390,7 +395,7 @@ phoneme cr
|
||||
vls pla afr sibilant
|
||||
//voicingswitch dZ
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=2300 200 400 f3=-100 80 len=30
|
||||
Vowelin f1=0 f2=2300 200 400 f3=-100 80 len=15
|
||||
|
||||
|
||||
WAV(vietnam/tr,10)
|
||||
@@ -400,7 +405,7 @@ phoneme d
|
||||
vcd alv stop
|
||||
// lengthmod 5
|
||||
|
||||
Vowelin f1=1 f2=1700 -300 300 f3=-100 80 len=30
|
||||
Vowelin f1=1 f2=1700 -300 300 f3=-100 80 len=15
|
||||
Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk len=30
|
||||
WAV(vietnam/dd)
|
||||
endphoneme
|
||||
@@ -410,8 +415,8 @@ WAV(vietnam/dd)
|
||||
//voicingswitch J
|
||||
lengthmod 2
|
||||
length 2
|
||||
Vowelin f1=0 f2=2700 400 600 f3=300 80 len=30 brk
|
||||
Vowelout f1=1 f2=2700 400 600 f3=200 70 len=30 colr=1
|
||||
Vowelin f1=0 f2=2700 400 600 f3=300 80 len=15 brk
|
||||
Vowelout f1=1 f2=2700 400 600 f3=200 70 len=15 colr=1
|
||||
|
||||
|
||||
WAV(vietnam/ch,5)
|
||||
@@ -430,8 +435,8 @@ endphoneme
|
||||
|
||||
phoneme n
|
||||
vcd alv nasal
|
||||
Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11 brk len=30
|
||||
Vowelout f1=2 f2=1700 -300 250 f3=-100 80 rms=20 brk len=30
|
||||
Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11 brk len=15
|
||||
Vowelout f1=2 f2=1700 -300 250 f3=-100 80 rms=20 brk len=15
|
||||
lengthmod 4
|
||||
length 75
|
||||
FMT(n/nr_)
|
||||
@@ -442,11 +447,12 @@ phoneme t[ // dental variant of /t/
|
||||
voicingswitch d[
|
||||
lengthmod 2
|
||||
length 5
|
||||
Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16 len=30
|
||||
Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20 len=30
|
||||
Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16 len=15
|
||||
Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20 len=15
|
||||
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ustop/t_unasp2, 5)
|
||||
ENDIF
|
||||
WAV(ustop/t_hi, 70)
|
||||
endphoneme
|
||||
|
||||
|
||||
+14
-2
@@ -6,7 +6,7 @@
|
||||
|
||||
phoneme 1 // ngang tone: level
|
||||
stress
|
||||
Tone(40, 5, envelope/p_level, NULL) // similar Hue dialect tone
|
||||
Tone(10 ,60, envelope/p_level, NULL) // 40 5 similar Hue dialect tone
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ endphoneme
|
||||
phoneme O
|
||||
CALL vi/O
|
||||
length 150
|
||||
FMT(vowel/0)
|
||||
FMT(vowel/oo_3)
|
||||
endphoneme
|
||||
|
||||
phoneme Oi
|
||||
@@ -84,3 +84,15 @@ phoneme Oi
|
||||
length 100
|
||||
FMT(vdiph/ooi_2)
|
||||
endphoneme
|
||||
|
||||
// Redefine consonants
|
||||
|
||||
phoneme n
|
||||
import_phoneme vi/n
|
||||
Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 rms=5 brk len=15
|
||||
endphoneme
|
||||
|
||||
phoneme @:I
|
||||
CALL vi/@:I
|
||||
FMT(vdiph/y#y)
|
||||
endphoneme
|
||||
|
||||
@@ -1949,3 +1949,7 @@ include ph_korean
|
||||
|
||||
phonemetable kl base
|
||||
include ph_greenlandic
|
||||
|
||||
|
||||
//phonemetable en2 en
|
||||
//include ph_english_test
|
||||
|
||||
Reference in New Issue
Block a user