In addition to using StreamElements for sound effects and stream perks via the Loyalty system and Stream Store, you can engage your viewers by enabling them to trigger Text-to-Speech (TTS) directly through chat commands. This guide walks you through the setup process step-by-step.
Creating the Stream Perk Item
-
Item Creation:
- Navigate to the Stream Store in StreamElements.
- Create a new item with customizable settings such as name, description, cost, and cooldown.
- Set the item type to 'Stream Perk' and proceed to the next step.
Redemption Configuration:
- Enable 'Redeemable via chat' and choose if it's accessible to subscribers only.
- Assign a command name for the item.
Setting Up the Command
-
Custom Command Creation:
- Access your custom commands page on StreamElements.
- Create a command that matches the item's name.
- Set the command response as
${redeem item_name_here}
.
Enhancing TTS Functionality:
- For full message TTS, format the command as
${redeem tts ${1:}}
to include the entire message typed after the command (e.g.,!tts Hello my name is Bob
).
Configuring the Overlay
-
Overlay Setup:
- Navigate to 'My Overlays' in StreamElements.
- Create a new overlay or edit an existing one where you want to add the TTS functionality.
- Add the 'Store Redemption' widget to your chosen overlay in the editor.
Widget Configuration:
- Customize the 'Store Redemption' widget by removing default assets like video, sound, and text.
- Enable Text-to-Speech in the widget settings and select your preferred TTS voice.
Testing and Final Adjustments 5. Testing Your Setup:
- Save the overlay settings.
- Test the setup by using
!tts MESSAGE
in your chat during a live stream to hear the TTS functionality. - If using a new overlay specifically for TTS, add it as a browser source in OBS; for existing overlays, save changes in StreamElements.
Additional Considerations:
-
- Optimize your setup by using a dedicated overlay (browser source) solely for TTS to avoid duplicate alerts.
- Initially test with commands enabled offline, but switch to online-only operation when ready for live streams.
- Optionally, hide the TTS command from public view in your Stream Store.