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

Added Amazon Polly TTS generation script #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dakkaron
Copy link

@Dakkaron Dakkaron commented Dec 30, 2020

I created a little Python script (I know, this is a Haskell project, but I am really no good with Haskell) that allows users to use Amazon Polly as a TTS engine.

Since Amazon Polly uses an XML format for their TTS engine (you can upload plain text as well, but the XML can be used to add tons of nice effects to the voice) I split the voice generation file from the game YAML. I don't like mixing markup languages because the escape sequences can become quite convoluted.

It requires boko3 to be installed (pip3 install boko3)

This is related to issue #248.

As a demo, see the input and output files in the attached polly.zip.
polly.zip

@KOTRET
Copy link

KOTRET commented Jan 1, 2021

great idea, although the speech synth is not that good related to the german language :D
Guess this is something for the wiki.

@Dakkaron
Copy link
Author

Dakkaron commented Jan 1, 2021

It's not as good as the neural voices they have for english, but it's much better than the one integrated in tttool.

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

Successfully merging this pull request may close these issues.

2 participants