Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 1.23 KB

README.md

File metadata and controls

38 lines (34 loc) · 1.23 KB

AzureTTVChat

AzureTTVChat is a Python Script that gives a random twitch chatter a tts voice.

Installation

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.

Usage

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