phyce / rl-natural-speech

Text to speech with high quality voices plugin for runelite
BSD 2-Clause "Simplified" License
9 stars 2 forks source link

Text to speech includes rich text modifiers #6

Open wanieru opened 3 months ago

wanieru commented 3 months ago

If there's colored text inside a dialogue, the TTS will include it. For example, this speech is read as something like: image

You no sword to hand over. Kovac give commission already. Go make me col equals f 1000 20 heavy spiked col sword.

TheLouisHong commented 3 months ago

can fix, thank you

TheLouisHong commented 3 months ago

fixed in commit 46d8b2d

This fix will be available in the next update. (currently v1.0.1)

https://github.com/phyce/rl-natural-speech/assets/1916460/6db325b8-0b7c-4f46-b754-7ade1ce7ef4d

Ninty9 commented 1 month ago

1.2.4 seems to have made this bug happen again.

phyce commented 1 month ago

Whoops! Thanks for letting us know

TheLouisHong commented 1 month ago

Fix will be available in version 1.3.0

added an automated test for this issue

https://github.com/phyce/rl-natural-speech/blob/07b114a639dea321bee984caa5403ef3cfdbdca4/src/test/java/dev/phyce/naturalspeech/clienteventhandlers/SpeechEventHandlerTest.java#L174-L189