mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-03 23:09:52 +00:00
[1.43.57]
Indicate language changes in IPA phoneme output. Phoneme definitions FMT(), second parameter is amplitude percentage. Phoneme definitions CALL(), If phoneme type is not defined, copy the static attributes from the called phoneme. Unpronouncable word check: stop when an apostrophe is reached. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@250 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+34
-1
@@ -31,6 +31,13 @@ phoneme g
|
||||
Vowelin f1=2 f2=2300 200 300 f3=-300 80
|
||||
Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk
|
||||
|
||||
IF thisPh(isWordStart) AND nextPh(isVowel) THEN
|
||||
IF prevPh(isPause) OR prevPh(isNasal) THEN
|
||||
ELSE
|
||||
ChangePhoneme(Q)
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
IF PreVoicing THEN
|
||||
FMT(g/xg)
|
||||
ENDIF
|
||||
@@ -41,6 +48,32 @@ phoneme g
|
||||
FMT(g/g) addWav(x/g2) // weaker [g]
|
||||
endphoneme
|
||||
|
||||
phoneme d
|
||||
vcd dnt stop
|
||||
|
||||
IF thisPh(isWordStart) AND nextPh(isVowel) THEN
|
||||
IF prevPh(isPause) OR prevPh(isNasal) OR prevPh(l) THEN
|
||||
ELSE
|
||||
ChangePhoneme(D)
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
CALL base2/d
|
||||
endphoneme
|
||||
|
||||
phoneme b
|
||||
vcd blb stop
|
||||
|
||||
IF thisPh(isWordStart) AND nextPh(isVowel) THEN
|
||||
IF prevPh(isPause) OR prevPh(isNasal) THEN
|
||||
ELSE
|
||||
ChangePhoneme(B)
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
CALL base/b
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme D
|
||||
vcd dnt frc
|
||||
@@ -71,7 +104,7 @@ endphoneme
|
||||
|
||||
phoneme v# // a shorter [v], a little towards [b]
|
||||
vcd lbd frc
|
||||
ipa v
|
||||
ipa ʋ
|
||||
lengthmod 6
|
||||
voicingswitch f
|
||||
Vowelin f1=1 f2=1000 -300 -200 f3=-300 100
|
||||
|
||||
Reference in New Issue
Block a user