Something wrong with non-en languages on win 10
RomanVD39 opened this issue · 1 comments
Hello,
Setup:
Windows 10
espeak-ng --version
eSpeak NG text-to-speech: 1.52-dev Data at: C:\Program Files\eSpeak NG/espeak-ng-data
espeak-ng --voices
...
5 ru --/M Russian zle\ru
2 ru-lv --/M Russian_(Latvia) zle\ru-LV
...
py-espeak-ng 0.1.8
https://pypi.org/project/py-espeak-ng/
Released: Mar 19, 2019
Issues:
First issue with espeak-ng:
espeak-ng -v ru 'привет' -x
(en)i:d'i:koU(ru)
But from file is Ok:
espeak-ng -v ru -f 'text.txt' -x
p@-r;iv;'et
The second trouble with py-espeak-ng in Python:
esng = ESpeakNG()
esng.voice = 'ru'
esng.say('Привет')
ipa = esng.g2p('Привет')
print("1--------------------> ipa: ", ipa)
with open('text.txt', 'r', encoding='UTF-8') as f:
t=f.readline()
esng.say(t)
ipa = esng.g2p(t)
print("2--------------------> text: ", t)
print("2--------------------> ipa: ", ipa)
esng.say('Privet')
ipa = esng.g2p('Privet')
print("3--------------------> ipa: ", ipa)
The result is:
1--------------------> ipa:
2--------------------> text: Привет
2--------------------> ipa:
3--------------------> ipa: (en)pr'IvI2t(ru)
And in 1 and 2 just no any sound.
Do you have any idea?
Link to the espeak-ng case:
Espeak-ng on windows: can not specify language
espeak-ng/espeak-ng#802