mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-12 16:58:52 +00:00
[1.47.13]
Program changes to enable audio output from Windows DLL. Language changes: an, de, en, nl, ta. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@365 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -277,3 +277,44 @@ phoneme g#
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
// suggested by Prasenjit Sen, but perhaps not needed?
|
||||
// ml_rules changes [p], [t], [k] to [b], [d], [g] in non-initial
|
||||
// positions
|
||||
|
||||
phoneme p
|
||||
import_phoneme consonants/p-
|
||||
voicingswitch b
|
||||
|
||||
IF thisPh(isWordStart) THEN
|
||||
CALL base/p
|
||||
ELIF thisPh(isWordEnd) AND NOT thisPh(isFirstVowel) THEN
|
||||
ChangePhoneme(b)
|
||||
ENDIF
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme t
|
||||
import_phoneme base/t[
|
||||
voicingswitch d
|
||||
|
||||
IF thisPh(isWordStart) THEN
|
||||
CALL base/t
|
||||
ELIF thisPh(isWordEnd) AND NOT thisPh(isFirstVowel) THEN
|
||||
ChangePhoneme(d)
|
||||
ENDIF
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme k
|
||||
import_phoneme consonants/k-
|
||||
voicingswitch g
|
||||
|
||||
IF thisPh(isWordStart) THEN
|
||||
CALL base/k
|
||||
ELIF thisPh(isWordEnd) AND NOT thisPh(isFirstVowel) THEN
|
||||
ChangePhoneme(g)
|
||||
ENDIF
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user