Weilbyte / tiktok-tts

Generate TikTok Text-to-Speech voices in your browser
https://weilbyte.github.io/tiktok-tts/
MIT License
401 stars 86 forks source link

How to replace existing tts #20

Closed richjr93 closed 1 year ago

richjr93 commented 2 years ago

Hi, I have downloaded this project and it got tts in it. I'd like to replace it with yours. However, I don't know how to do it at all. Would you or anyone who's reading this help me out? Thanks in advance!

Weilbyte commented 2 years ago

Hmm, could you explain what the project is about? Some JavaScript files appear to be obfuscated/minified, which I assume have the logic for generating the sound.

richjr93 commented 2 years ago

Thanks for the reply. It is actually a digital printer for a live stream, in this case, from tiktok live stream. It displays comments, likes, gifts, etc., in real-time, from the live stream that it connected to. Besides that, it also has tts function where it can speak out the comments from viewers, it can say their usernames, and so on, depending on what we set it to say.

My issue is that the current tts voice from the project is not too realistic, i cannot really hear what it says sometimes. So i've been searching on the internet for any tts that sounds better. I found some like this one, but yeah i have no idea how to replace it 😅.