peckingbird17 days ago
Ah good potatoes. Glad it works for you!
So the second version of speakSystem.js I posted does not have the bot post “Text to say” into the chat. So in the case of your earlier screenshot there would be no post by motobot_ saying “hello”.
Hope this helps clarify.

MotoBrigade16 days ago@peckingbird Yes, I noticed that change and I think it looks good as well in chat. Thank you, again, for your work on this! Looking forward to incorporating more PhantomBot in my streams!

Sadly, I have not found a way to correct the comma problem. I’m sure it is something simple but I don’t know code and @peckingbird who wrote the original script hasn’t joined us here on the new forums. As far as volume control, maybe you could use a program like Voice Meeter to separate the channels and adjust to your liking?

The getVoices() method of the SpeechSynthesis interface returns a list of SpeechSynthesisVoice objects representing all the available voices on the current device.

Scroll down to the section titled “HTML”, below which there will be a drop down with the available Voices and its corresponding language. Choose one you want and you can modify these 2 line in the code above:

@mausmani Thank you so much for the thorough documentation. I tested this speaksystem in Chrome and it works well. When I try it using Microsoft Edge, it doesn’t speak. Now, the script that I initially posted in this thread does work with Microsoft Edge. Do you know what is the difference that makes the script by @peckingbird work in Edge and the one you wrote not work? To be clear, I love your script as it addresses many issues I had with the old script. I am trying to understand why it will not speak using Microsoft Edge. I feel that browser uses less memory and therefore is better when I stream. Thank you!