I’m trying to code discord tts bot but I run into a problem. When I used $speak en Hi guys the bot said “en hi guys”. I tried making the bot not say the language code but I can’t so if you have any solution please share it with me. Here is my code: Answer You will need to remove
Tag: text-to-speech
Web Speech API – SpeechSynthesisUtterance onmark event wont fire
I cannot get the “onmark” event to fire in Chrome or Edge while using SSML. I have tried this in Chrome and Edge and wrote code based on standards at https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API Answer The onboundary event doesn’t seem to be fired correctly on Chrome, for voices based on remote tts services. Check the localService property for voices you intend to use,