crowbartools / Firebot

A powerful all-in-one bot for Twitch streamers
https://firebot.app
GNU General Public License v3.0
352 stars 100 forks source link

[Feature Request] Choose audio device with built-in TTS #1674

Open CrowbarToolsRobot opened 2 years ago

CrowbarToolsRobot commented 2 years ago

zunderscore via Discord:

Choose audio device with built-in TTS

zunderscore commented 9 months ago

As there is still no API that allows capture or redirection of native TTS output, marking this as blocked.

sethlopezme commented 4 months ago

I can't speak for Windows, but one option for macOS could be to use the built-in say utility to output an audio file to a temporary location that can then be played back through an overlay or through a specific output device.

Example

say -v "Samantha (Enhanced)" -o "/tmp/firebot-tts.aiff" "This is a test sentence."
phroggster commented 1 day ago

say.js may be able to help here. No investigating done of it, it was just brought to my attention on Discord and needed to be noted here.