Merge pull request #770

This commit is contained in:
Valdis Vitolins
2020-06-03 20:46:11 +03:00
10 changed files with 455 additions and 225 deletions
+125 -125
View File
@@ -42,109 +42,109 @@
//CED pg ix //CED pg ix
.group a .group a
//long //long
a A:: a 0:
L02) a A~: L02) a 0~:
//final word vowels are short, nasal, and have a highfall tone //final word vowels are short, nasal, and have a highfall tone
a (_ A~43 a (_ 0~43
L02) a (_ A~43 L02) a (_ 0~43
axb (_ A~1 axb (_ 0~1
axc (_ A~2 axc (_ 0~2
axd (_ A~3 axd (_ 0~3
axf (_ A~4 axf (_ 0~4
a (L03_ A~43 a (L03_ 0~43
a (L03L03_ A~43 a (L03L03_ 0~43
a (L03L03L03_ A~43 a (L03L03L03_ 0~43
a (L03L01 A: a (L03L01 0
a (L03L03L01 A: a (L03L03L01 0
a (L03L03L03L01 A: a (L03L03L03L01 0
L02) a (L03L01 A~ L02) a (L03L01 0~
L02) a (L03L03L01 A~ L02) a (L03L03L01 0~
L02) a (L03L03L03L01 A~ L02) a (L03L03L03L01 0~
//short followed by s has an h sound added, see CED pg x, footnote. //short followed by s has an h sound added, see CED pg x, footnote.
as (L01 A:hs as (L01 0h`s
as (L03L01 A:hs as (L03L01 0h`s
as (L03L03L01 A:hs as (L03L03L01 0h`s
as (L03L03L03L01 A:hs as (L03L03L03L01 0h`s
L02) as (L01 A~hs L02) as (L01 0~h`s
L02) as (L03L01 A~hs L02) as (L03L01 0~h`s
L02) as (L03L03L01 A~hs L02) as (L03L03L01 0~h`s
L02) as (L03L03L03L01 A~hs L02) as (L03L03L03L01 0~h`s
.group e .group e
e E: e e:
L02) e E~: L02) e e~:
e (L03_ E43 e (L03_ e43
e (L03L03_ E43 e (L03L03_ e43
e (L03L03L03_ E43 e (L03L03L03_ e43
e (L03L03L03L03_ E43 e (L03L03L03L03_ e43
//final word vowels are short, nasal, and have a highfall tone //final word vowels are short, nasal, and have a highfall tone
e (_ E~43 e (_ e~43
L02) e (_ E~43 L02) e (_ e~43
exb (_ E~1 exb (_ e~1
exc (_ E~2 exc (_ e~2
exd (_ E~3 exd (_ e~3
exf (_ E~4 exf (_ e~4
e (L03L01 E e (L03L01 e
e (L03L03L01 E e (L03L03L01 e
e (L03L03L03L01 E e (L03L03L03L01 e
L02) e (L03L01 E~ L02) e (L03L01 e~
L02) e (L03L03L01 E~ L02) e (L03L03L01 e~
L02) e (L03L03L03L01 E~ L02) e (L03L03L03L01 e~
es (L01 Ehs es (L01 eh`s
es (L03L01 Ehs es (L03L01 eh`s
es (L03L03L01 Ehs es (L03L03L01 eh`s
es (L03L03L03L01 Ehs es (L03L03L03L01 eh`s
L02) es (L01 E~hs L02) es (L01 e~h`s
L02) es (L03L01 E~hs L02) es (L03L01 e~h`s
L02) es (L03L03L01 E~hs L02) es (L03L03L01 e~h`s
L02) es (L03L03L03L01 E~hs L02) es (L03L03L03L01 e~h`s
.group i .group i
i I: i i:
L02) i I~: L02) i i~:
//final word vowels are short, nasal, and have a highfall tone //final word vowels are short, nasal, and have a highfall tone
i (_ I~43 i (_ i~43
L02) i (_ I~43 L02) i (_ i~43
ixb (_ I~1 ixb (_ i~1
ixc (_ I~2 ixc (_ i~2
ixd (_ I~3 ixd (_ i~3
ixf (_ I~4 ixf (_ i~4
i (L03_ I43 i (L03_ i43
i (L03L03_ I43 i (L03L03_ i43
i (L03L03L03_ I43 i (L03L03L03_ i43
i (L03L01 I i (L03L01 i
i (L03L03L01 I i (L03L03L01 i
i (L03L03L03L01 I i (L03L03L03L01 i
L02) i (L03L01 I~ L02) i (L03L01 i~
L02) i (L03L03L01 I~ L02) i (L03L03L01 i~
L02) i (L03L03L03L01 I~ L02) i (L03L03L03L01 i~
is (L01 Ihs is (L01 ih`s
is (L03L01 Ihs is (L03L01 ih`s
is (L03L03L01 Ihs is (L03L03L01 ih`s
is (L03L03L03L01 Ihs is (L03L03L03L01 ih`s
L02) is (L01 I~hs L02) is (L01 i~h`s
L02) is (L03L01 I~hs L02) is (L03L01 i~h`s
L02) is (L03L03L01 I~hs L02) is (L03L03L01 i~h`s
L02) is (L03L03L03L01 I~hs L02) is (L03L03L03L01 i~h`s
.group o .group o
o o: o o:
@@ -171,13 +171,13 @@
L02) o (L03L03L01 o~ L02) o (L03L03L01 o~
L02) o (L03L03L03L01 o~ L02) o (L03L03L03L01 o~
os (L01 ohs os (L01 oh`s
os (L03L01 ohs os (L03L01 oh`s
os (L03L03L01 ohs os (L03L03L01 oh`s
L02) os (L01 o~hs L02) os (L01 o~h`s
L02) os (L03L01 o~hs L02) os (L03L01 o~h`s
L02) os (L03L03L01 o~hs L02) os (L03L03L01 o~h`s
.group u .group u
u u: u u:
@@ -204,74 +204,74 @@
L02) u (L03L03L01 u~ L02) u (L03L03L01 u~
L02) u (L03L03L03L01 u~ L02) u (L03L03L03L01 u~
us (L01 uhs us (L01 uh`s
us (L03L01 uhs us (L03L01 uh`s
us (L03L03L01 uhs us (L03L03L01 uh`s
L02) us (L01 u~hs L02) us (L01 u~h`s
L02) us (L03L01 u~hs L02) us (L03L01 u~h`s
L02) us (L03L03L01 u~hs L02) us (L03L03L01 u~h`s
.group v .group v
v W~: v V~:
v (L03_ W~43 v (L03_ V~43
v (L03L03_ W~43 v (L03L03_ V~43
v (L03L03L03_ W~43 v (L03L03L03_ V~43
v (_ W~43 v (_ V~43
vxb (_ W~1 vxb (_ V~1
vxc (_ W~2 vxc (_ V~2
vxd (_ W~3 vxd (_ V~3
vxf (_ W~4 vxf (_ V~4
v (L03L01 W~ v (L03L01 V~
v (L03L03L01 W~ v (L03L03L01 V~
v (L03L03L03L01 W~ v (L03L03L03L01 V~
vs (L01 W~hs vs (L01 V~h`s
vs (L03L01 W~hs vs (L03L01 V~h`s
vs (L03L03L01 W~hs vs (L03L03L01 V~h`s
.group ạ .group ạ
ạ A: ạ 0
L02) ạ A~ L02) ạ 0~
ạ (_ A~43 ạ (_ 0~43
ạs A~hs ạs 0~h`s
L02) ạs A~hs L02) ạs 0~h`s
.group ẹ .group ẹ
ẹ E ẹ e
L02) ẹ E~ L02) ẹ e~
ẹ (_ E~43 ẹ (_ e~43
ẹs Ehs ẹs eh`s
L02) ẹs E~hs L02) ẹs e~h`s
.group ị .group ị
ị I ị i
L02) ị I~ L02) ị i~
ị (_ I~43 ị (_ i~43
ịs Ihs ịs ih`s
L02) ịs I~hs L02) ịs i~h`s
.group ọ .group ọ
ọ o ọ o
L02) ọ o~ L02) ọ o~
ọ (_ o~43 ọ (_ o~43
ọs ohs ọs oh`s
L02) ọs o~hs L02) ọs o~h`s
.group ụ .group ụ
ụ u ụ u
L02) ụ u~ L02) ụ u~
ụ (_ u~43 ụ (_ u~43
ụs uhs ụs uh`s
L02) ụs u~hs L02) ụs u~h`s
.group ṿ .group ṿ
ṿ W~ ṿ V~
ṿ W~43 ṿ V~43
ṿs W~hs ṿs V~h`s
.group ch .group ch
ch tS ch tS
+16 -10
View File
@@ -1,21 +1,27 @@
name Cherokee //https://github.com/espeak-ng/espeak-ng/blob/master/docs/voices.md name Cherokee //https://github.com/espeak-ng/espeak-ng/blob/master/docs/voices.md
language chr 5 language chr-US-Qaaa-x-west 5
maintainer Michael Conrad <m.conrad.202@gmail.com> maintainer Michael Conrad <m.conrad.202@gmail.com>
status testing status testing
pitch 90 160
voicing 100 voicing 100
speed 73
words 0 1 consonants 100 100
speed 100
words 2 1
phonemes chr phonemes chr
//stress on all syllables to simulate stress on no syllables //stress on all syllables to simulate stress on no syllables
stressRule 9 stressRule 9
intonation 3 stressLength 175 175 175 175 175 175 175 175 //all vowels the same length regardless of stress
//pitch 30 90 stressAmp 10 10 10 10 10 10 10 10 //all vowels the same strength regardless of marked stress
pitch 90 160
intonation 1
tunes chrs chrc chrq chre tunes chrs chrc chrq chre
stressAmp 8 8 8 8 8 8 8 8 //stress all vowels the same
stressLength 180 180 180 180 180 180 180 180 //stress all vowels the same
consonants 150 150
+6
View File
@@ -0,0 +1,6 @@
ENVELOPE
0 100
25 78
50 50
75 22
100 0
+6
View File
@@ -0,0 +1,6 @@
ENVELOPE
0 100
25 92
50 72
75 36
100 0
+7
View File
@@ -0,0 +1,7 @@
ENVELOPE
0 100
20 98
40 89
60 75
80 36
100 0
+6
View File
@@ -0,0 +1,6 @@
ENVELOPE
0 100
25 50
50 25
75 13
100 0
+6
View File
@@ -0,0 +1,6 @@
ENVELOPE
0 0
25 25
50 50
75 75
100 100
+6
View File
@@ -0,0 +1,6 @@
ENVELOPE
0 0
25 8
50 33
75 58
100 100
+6
View File
@@ -0,0 +1,6 @@
ENVELOPE
0 0
25 22
50 50
75 72
100 100
+270 -89
View File
@@ -39,123 +39,153 @@
phoneme 1 // low fall (¹), long vowels only phoneme 1 // low fall (¹), long vowels only
stress stress
ipa ˨˩ ipa ˨˩
Tone(28, 7, envelope/p_fall, NULL) //need a pitch contour of 106-88 for a Tone(28, 7, envelope/chr_fall21, NULL) //need a pitch contour of 106-88 for a
endphoneme endphoneme
phoneme 2 // low (²) phoneme 2 // low (²)
stress stress
ipa ˨ ipa ˨
Tone(26, 16, envelope/p_fall, NULL) //need a pitch contour of 104-96 for a Tone(27, 16, envelope/chr_level2, NULL) //need a pitch contour of 104-96 for a
endphoneme endphoneme
phoneme 23 // rising (²³) phoneme 23 // rising (²³)
stress stress
ipa ˨˧ ipa ˨˧
Tone(15, 29, envelope/p_rise, NULL) //need a pitch contour of 97-109 for a Tone(16, 30, envelope/chr_rise23, NULL) //need a pitch contour of 97-109 for a
endphoneme endphoneme
phoneme 32 // falling (³²) phoneme 32 // falling (³²)
stress stress
ipa ˧˨ ipa ˧˨
Tone(46, 16, envelope/p_fall, NULL) //need a pitch contour of 122-97 for a Tone(45, 15, envelope/chr_fall32, NULL) //need a pitch contour of 122-97 for a
endphoneme endphoneme
phoneme 3 // high (³) phoneme 3 // high (³)
stress stress
ipa ˧ ipa ˧
//Tone(109, 116, envelope/p_rise, NULL) //need a pitch contour of 108-112 for a //Tone(109, 116, envelope/p_rise, NULL) //need a pitch contour of 108-112 for a
Tone(29, 34, envelope/p_rise, NULL) //need a pitch contour of 108-112 for a Tone(29, 35, envelope/chr_level3, NULL) //need a pitch contour of 108-112 for a
endphoneme endphoneme
phoneme 4 // extra high rise (⁴) phoneme 4 // extra high rise (⁴)
stress stress
ipa ˧˦ ipa ˧˦
Tone(29, 50, envelope/p_rise, NULL) //need a pitch contour of 109-127 for a Tone(29, 52, envelope/chr_rise4, NULL) //need a pitch contour of 109-127 for a
endphoneme endphoneme
phoneme 43 // extra high fall (⁴³) - end of word tone phoneme 43 // extra high fall (⁴³) - end of word tone
stress stress
ipa ˦˧ ipa ˦˧
//need a pitch contour of 122-75 for a~ //need a pitch contour of 122-75 for a~
Tone(45, 0, envelope/p_fall, NULL) Tone(44, 0, envelope/chr_fall43, NULL)
endphoneme endphoneme
//*******************************************************************
// LANGUAGE SPECIFIC CONSONANTS (PLOSIVES/STOPS)
//*******************************************************************
//none.
//*******************************************************************
// LANGUAGE SPECIFIC VOWELS
//*******************************************************************
//from phonemes //from phonemes
phoneme : // lengthen previous vowel by "length" phoneme : // lengthen previous vowel by "length"
virtual virtual
length 175 length 300
endphoneme endphoneme
// ạ, a phoneme 0
//from ph_en vwl starttype #o endtype #o
phoneme A: length 300
vwl starttype #a endtype #a FMT(vowel/0_3)
length 175
FMT(vowel/aa_2)
endphoneme endphoneme
// ạ, a, end of word vowel phoneme 0`
//from ph_english vwl starttype #o endtype #o
phoneme A~ length 100
vwl starttype #a endtype #a FMT(vowel/0_3)
length 175
FMT(vnasal/aa_n2)
endphoneme endphoneme
// e, ẹ phoneme 0~
//from ph_base2 vwl starttype #o endtype #o
phoneme E length 300
vwl starttype #e endtype #e FMT(vnasal/aa_n4)
length 175
FMT(vowel/ee_1)
endphoneme endphoneme
// e, ẹ, final word vowel phoneme 0~`
//from ph_konkani vwl starttype #o endtype #o
phoneme E~ length 100
vwl starttype #e endtype #e FMT(vnasal/aa_n4)
length 175 endphoneme
phoneme e
vwl starttype #e endtype #e
length 300
FMT(vowel/e_mid)
endphoneme
phoneme e`
vwl starttype #e endtype #e
length 100
FMT(vowel/e_mid)
endphoneme
phoneme e~
vwl starttype #e endtype #e
length 300
FMT(vnasal/ee_n2) FMT(vnasal/ee_n2)
endphoneme endphoneme
// i, ị phoneme e~`
//from ph_en vwl starttype #e endtype #e
phoneme I length 100
vwl starttype #i endtype #i FMT(vnasal/ee_n2)
length 175
FMT(vowel/ii_2)
endphoneme endphoneme
// i, ị, final word vowel phoneme i
//from ph_konkani vwl starttype #i endtype #i
phoneme I~ length 300
vwl starttype #i endtype #i //IfNextVowelAppend(;)
length 175 FMT(vowel/i)
FMT(vnasal/ii_n) endphoneme
phoneme i`
vwl starttype #i endtype #i
length 100
//IfNextVowelAppend(;)
FMT(vowel/i)
endphoneme
phoneme i~
vwl starttype #i endtype #i
length 300
//IfNextVowelAppend(;)
FMT(vnasal/i_n)
endphoneme
phoneme i~`
vwl starttype #i endtype #i
length 100
//IfNextVowelAppend(;)
FMT(vnasal/i_n)
endphoneme endphoneme
// o, ọ // o, ọ
//from ph_base2
phoneme o phoneme o
vwl starttype #o endtype #o vwl starttype #o endtype #o
length 175 length 300
FMT(vowel/o)
endphoneme
phoneme o`
vwl starttype #o endtype #o
length 100
FMT(vowel/o) FMT(vowel/o)
endphoneme endphoneme
// o, ọ, final word vowel // o, ọ, final word vowel
phoneme o~ phoneme o~
vwl starttype #o endtype #o vwl starttype #o endtype #o
length 175 length 300
FMT(vnasal/o_n)
endphoneme
phoneme o~`
vwl starttype #o endtype #o
length 100
FMT(vnasal/o_n) FMT(vnasal/o_n)
endphoneme endphoneme
@@ -163,59 +193,210 @@ endphoneme
//from ph_base2 //from ph_base2
phoneme u phoneme u
vwl starttype #u endtype #u vwl starttype #u endtype #u
length 175 length 300
FMT(vowel/u_bck)
endphoneme
phoneme u`
vwl starttype #u endtype #u
length 100
FMT(vowel/u_bck) FMT(vowel/u_bck)
endphoneme endphoneme
// u, ụ, final word vowel // u, ụ, final word vowel
phoneme u~ phoneme u~
vwl starttype #u endtype #u vwl starttype #u endtype #u
length 175 length 300
FMT(vnasal/u_n)
endphoneme
phoneme u~`
vwl starttype #u endtype #u
length 100
FMT(vnasal/u_n) FMT(vnasal/u_n)
endphoneme endphoneme
//ṿ, v //ṿ, v
//from ph_french phoneme V~
phoneme W~ vwl lng starttype #@ endtype #@
vwl starttype #@ endtype #@ length 300
length 175 FMT(vnasal/V_n, 100)
FMT(vnasal/W_n)
endphoneme endphoneme
// fix specific consonents to last long enough to be heard phoneme V~`
phoneme lxx vwl lng starttype #@ endtype #@
import_phoneme base2/l length 100
length 75 FMT(vnasal/V_n)
Tone(105, 93, envelope/p_fall, NULL)
endphoneme endphoneme
phoneme mxx phoneme h
import_phoneme base2/m vls glt apr
length 75 ipa h
Tone(105, 93, envelope/p_fall, NULL)
IF prevPhW(isVowel) AND nextPhW(isNotVowel) THEN
length 25
lengthmod 1
ENDIF
IF nextPhW(#@) THEN
length 50
WAV(h/h@, 70)
ELIF nextPhW(#a) THEN
WAV(h/ha)
ELIF nextPhW(#e) THEN
length 60
WAV(h/he, 75)
ELIF nextPhW(#i) THEN
length 75
WAV(h/hi)
ELIF nextPhW(#o) THEN
length 75
WAV(h/ho)
ELIF nextPhW(#u) THEN
length 80
WAV(h/hu)
ELSE
length 60
WAV(h/h_) // no vowel following
ENDIF
endphoneme endphoneme
phoneme nxx phoneme h`
import_phoneme base2/n vls glt apr
length 75 ipa h
Tone(105, 93, envelope/p_fall, NULL) length 10
WAV(h/h_) // no vowel following
endphoneme endphoneme
phoneme wxx phoneme s
import_phoneme base2/w vls alv frc sib
length 175 voicingswitch z
Tone(105, 93, envelope/p_fall, NULL) lengthmod 3
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
IF nextPh(isPause) THEN
WAV(ufric/s_)
ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN
WAV(ufric/s!)
ENDIF
WAV(ufric/s)
endphoneme endphoneme
phoneme jxx phoneme g
import_phoneme base1/j vcd vel stp
length 75 voicingswitch k
Tone(105, 93, envelope/p_fall, NULL) lengthmod 5
Vowelin f1=2 f2=2300 200 300 f3=-300 80
Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
// IF PreVoicing THEN
//FMT(g/xg)
//ENDIF
IF nextPh(isPause2) THEN
//addWav(ustop/k_)
FMT(g/g_) addWav(ustop/k_)
//addWav(x/g_)
ELSE
//addWav(ustop/k_asp)
FMT(g/g) addWav(ustop/k_asp)
//addWav(x/g)
ENDIF
endphoneme endphoneme
phoneme hxx phoneme t
import_phoneme base1/h vls alv stp
length 75 voicingswitch d
Tone(105, 93, envelope/p_fall, NULL) lengthmod 2
//lengthmod 1 Vowelin f1=0 f2=1700 -300 300 f3=-100 80
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
IF nextPh(isPause2) THEN
WAV(ustop/t_)
ELIF nextPh(@-) THEN
WAV(ustop/t_dnt, 50)
ELSE
WAV(ustop/t_dnt, 100)
ENDIF
endphoneme
phoneme dZ // **j**udge
ipa dZ
vcd pla afr sib
voicingswitch tS
lengthmod 5
Vowelin f1=2 f2=2300 200 400 f3=100 80
Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
IF PreVoicing THEN
FMT(dzh/xdz_pzd, 250)
ENDIF
IF nextPh(isPause2) THEN
FMT(dzh/dz_pzd_, 250) addWav(x/dz_pzd_, 250)
ENDIF
FMT(dzh/dz_pzd, 250) addWav(x/dz_pzd, 250)
endphoneme
phoneme n
vcd alv nas
Vowelout f1=2 f2=1500 -300 250 f3=-100 80 rms=20 brk
Vowelin rate
lengthmod 4
IF KlattSynth THEN
Vowelin f1=0 f2=1500 -200 200 f3=0 80
FMT(klatt/n)
ENDIF
NextVowelStarts
VowelStart(n/n@)
VowelStart(n/na)
VowelStart(n/ne)
VowelStart(n/ni)
VowelStart(n/no)
VowelStart(n/nu)
EndSwitch
IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
FMT(n/nj)
ELIF prevPh(isPause) OR prevPh(n) THEN
FMT(n/_n)
ELIF nextPh(isNotVowel) THEN
FMT(n/n_)
ENDIF
endphoneme
phoneme m
vcd blb nas
Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
lengthmod 4
IF KlattSynth THEN
Vowelin f1=0 f2=1000 -50 -200 f3=-200 80
IF nextPh(isPause2) THEN
FMT(klatt/m_)
ENDIF
FMT(klatt/m)
ENDIF
NextVowelStarts
VowelStart(m/m@)
VowelStart(m/ma)
VowelStart(m/me)
VowelStart(m/mi)
VowelStart(m/mo)
VowelStart(m/mu)
EndSwitch
IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
FMT(m/mj)
ELIF prevPh(isPause) THEN
FMT(m/_m)
ELIF nextPh(isNotVowel) THEN
FMT(m/m_)
ENDIF
endphoneme endphoneme