AzureTTVChat is a Python Script that gives a random twitch chatter a tts voice.
Use the package manager pip to install pipenv.
pip install pipenv
after that use this command to install the dependencies.
pipenv install --dev
this will install the packages specified in the Pipfile.
first fill the environment file with your data
TWITCH_TOKEN= #Don't touch code will generate just restart the script
TWITCH_CHANNEL= #your twitch channel
PREFIX= #prefix of command play
SPEECH_KEY= #key from speech studio
SPEECH_REGION= #region from speech studio
KEYPRESS= #key that runs choose function
then run this command in the terminal
pipenv run python twitchazurechatbot.py
TTS Should work You may want to use a different voice or style how you do that is by editing these variables
styleinput = styleinput.lower()
styledegree="2"
voice = "en-US-DavisNeural"
role = "OlderAdultMale"
you can find out more about these here