Skip to content

tts.get_voices('lang') #26

@willwade

Description

@willwade

Prerequisites

  • Can you reproduce the problem?
  • Are you running the latest version?
  • Did you check the documentation?
  • Did you perform a cursory search?

For more information, see the contributing guide.

Description

Right now to select a voice you have to know the obscure name, region etc of the name for that provider. Google, Microsoft all have endpoints to get the voicelist. Polly, and Watson - not so sure.

Expected behavior: [What you expected to happen]

voices = tts.get_voices('lang')
  • a dict of the name, langcode, sex of the voice to be returned

Snags

Because it looks like not all clients have a endpoint this may be a bad idea. But then maybe we just create caches of dicts from available info online in a release?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions