This is a migrated conversation between myself and @peckingbird from the old PhantomBot forum. This is to preserve the work.
I currently use Scorpbot to manage my channel and chat. When I am playing an intense game and I cannot read chat, I use text to speech. It utilizes Windows text to speech. I would love to have the same option in PhantomBot. Not sure if there is a workaround right now as I also use Restream.io Chat to help me manage multistreaming. Thank you.
peckingbird 19 days ago
Hey, tried creating a quick TTS system for PhantomBot. It tries… Perhaps someone with more knowledge of PB could adapt this to work?
!shout <text to TTS> it generates a url that could theoretically be passed to a Audio object to be played, with
.play(). However because there is no window, “Audio” is undefined. At the moment, it just outputs the link to the audio to the chat.Thought I could use whatever method PB uses for audio hooks, but turns out PB uses ion sounds…
Will revisit the issue tomorrow if no one has a solution.
Sorry in advance for my terrible documentation/indentation. Also just realized the links generated don’t work… Welp.