Okay, I had the idea the other day while playing. What if, by inputting text in the chat box, it makes a speech bubble, but in addition of that, it makes an hearable speech, like when npcs are speaking or enemies dying? This would be the role of that addon.
How I imagine it to work, concretely:
-What infos would it retrieve from the game? -> The last imputed text in the chat box.
-Would it modify the game in return? -> Nothing would change.
-The function: Turn a text (chat) into a speech (audio). And play it, almost instantly or short delay after the text is imputed in game.
The main thing, the conversion:
I've found that website here that do the text to audio conversion. The code would copy paste the last imputed sentence in chat to the website. And depending on the character sex that is detected it will pick a male or a female voice on website. The website will then, just play the text.
So to summarize:
This would help for immersion, giving voice to our characters, outside of stories: For rp, while with other on discord servers....
This is really a raw concept, and sadly I can't really make it concrete because I have 0 notions or knowledges in C+++ or programming.
Any help is greatly appreciated.