Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something wrong with non-en languages on win 10 #13

Open
RomanVD39 opened this issue Jul 19, 2023 · 1 comment
Open

Something wrong with non-en languages on win 10 #13

RomanVD39 opened this issue Jul 19, 2023 · 1 comment

Comments

@RomanVD39
Copy link

RomanVD39 commented Jul 19, 2023

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?

@RomanVD39
Copy link
Author

Link to the espeak-ng case:
Espeak-ng on windows: can not specify language
espeak-ng/espeak-ng#802

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant