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

esng.g2p -> voice does not exist #10

Open
jabowery opened this issue Sep 10, 2021 · 2 comments
Open

esng.g2p -> voice does not exist #10

jabowery opened this issue Sep 10, 2021 · 2 comments

Comments

@jabowery
Copy link

jabowery commented Sep 10, 2021

I'm getting "The specified espeak-ng voice does not exist." on the IPA generation example.

$ espeak-ng --version
eSpeak NG text-to-speech: 1.50  Data at: /usr/lib/x86_64-linux-gnu/espeak-ng-data

In [63]: esng.voices
Out[63]: 
[{'pty': '5',
  'language': 'af',
  'age': '--',
  'gender': 'M',
  'voice_name': 'Afrikaans',
  'file': 'gmw/af'},
 {'pty': '5',
  'language': 'am',
  'age': '--',
  'gender': 'M',
  'voice_name': 'Amharic',
  'file': 'sem/am'},
 {'pty': '5',
  'language': 'an',
  'age': '--',
  'gender': 'M',
  'voice_name': 'Aragonese',
  'file': 'roa/an'},
 {'pty': '5',
  'language': 'ar',
  'age': '--',
  'gender': 'M',
  'voice_name': 'Arabic',
  'file': 'sem/ar'},
 {'pty': '5',
  'language': 'as',

@gooofy
Copy link
Owner

gooofy commented Sep 10, 2021

espeak-ng voice names seem to have changed

use

$ espeak-ng --voices

to list available voices:

[..]
 5  en-gb-x-gbcwmd  --/M      English_(West_Midlands) gmw/en-GB-x-gbcwmd   (en-gb 9)(en 9)
 5  en-gb-x-rp      --/M      English_(Received_Pronunciation) gmw/en-GB-x-rp       (en-gb 4)(en 5)
 2  en-us           --/M      English_(America)  gmw/en-US            (en 3)
[...]

and use a voice file from that list, e.g.

esng.voice = 'gmw/en-US'

@jabowery
Copy link
Author

Do you know what the man page for espeak-ng means when it says "the default English voice"? How can one find out which it is using other than going through each of them, one at a time, to see which one outputs the same phonemes as when the voice is unspecified in the command line?

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

2 participants