entropia / tip-toi-reveng

Trying to understand the file format of Tip Toi
http://tttool.entropia.de/
MIT License
644 stars 121 forks source link

Added Amazon Polly TTS generation script #249

Open Dakkaron opened 3 years ago

Dakkaron commented 3 years ago

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 commented 3 years ago

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

Dakkaron commented 3 years ago

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