Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

LuisSanchez-Dev/TheNewTTS

Repository files navigation


TheNewTTS

The best Text to Speech (TTS) for Twitch, Mixer and Youtube streams for Streamlabs Chatbot
Download · Report Bug · Request Feature

Table of Contents

About The Project

I have looked around for an easy to use and customizable text to speech script for Streamlabs Chatbot. The ones using the default voices installed in Windows sounded awful and other scripts weren't customizable enough. With this at hand, I took the time to build a better text to speech script for Streamlabs Chatbot that uses Google voices and is way more customizable and easy to use.

Why is it better?

  • Plug and play - Just ⬇️ download, 📁 import, ✔️ enable and you are ready to go!
  • All the configuration you need to trigger the TTS:
    • Command - !say, !tts, !speak or whatever your heart desires
    • Global and user cooldown - Limit the use for each user or/and all users with cooldown
    • Permission - Should everyone use the command? Regulars? Subs? you pick!
    • Cost - Set a cost for your command and spend Streamlabs Chatbot currency
  • Don't want to use commands? Enable ✔️Read ALL chat and read your entire chat!
  • Who said that? You can enable the say username option to know who is talking!
  • Multiple ways to prevent spam and long messages
    • Ignore messages starting with any letter you want, for example the ! usually used for commands
    • Clean up repeated words and letters, super useful to prevent emotes spam
    • Replace links with any text you want, such as "link removed"
    • Troll spammed? Just skip that message!
  • Blacklist is included to block trolls and other bots such as StreamElements, Nightbot, etc. It includes:
    • A command to blacklist a user (Default) !ttsban username
    • A command to un-blacklist a user (Default) !ttsunban username
    • Configurable permission to allow your Editors/Moderators blacklist for you!
    • Works in both Command mode and Read ALL chat mode
  • Make the voice unique with these configurations:
    • Language - Choose between 33 languages
    • Pitch - Custom pitch from super deep to extremely high pitched voice
    • Speed - Set your own talking speed from 75% to 250%
    • Volume - Volume separated from the Streamlabs Chatbot settings to meet your sound-fu requirements
    • Max length - Prevent trolls from using long texts setting a limit in seconds to the TTS!

Thanks to @Tecno_Diana for coming up with the requirement.

Getting Started

Setting this up so you can use it is super straightforward.

Prerequisites

Have an installation of Streamlabs Chatbot, already logged in to your accounts.

Follow this tutorial to prepare your Streamlabs Chatbot installation to accept scripts.

Installation

  1. Download the latest version of the script here.
  2. If you haven't already, open your Streamlabs Chatbot and log in to your Streamer and Bot accounts.
  3. On the left side, wait for the Scripts tab to pop up and click it.
  4. On the top right corner of the window, next to the reload button is an import script button (Arrow pointing right to a box) and select the script downloaded before.
  5. You will receive a message box confirming the import, accept it.
  6. The window will update and show the TheNewTTS script, make sure to ✔️ enable the script on the right hand side.
  7. Click on the TheNewTTS name to see the configuration pane.

Usage

After installing you can send the following chat message to hear the result:

!tts Hello world, this must be working now!

If someone trolls with an ugly message:

!ttskip

You can go to the configuration pane as specified in the installation to change the configuration for the command and for the text to speech voice.

Contact

Remember to join the Streamlabs Chatbot Discord server for sfx, scripts, commands and a lot more!

License

Licensed under GPL v3 Copyright (C) 2020 Luis Sanchez

About

The best Chat to Speech for Twitch, Mixer and Youtube for Streamlabs Chatbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages