Add voiced-dialogue#13127
Conversation
|
New plugin |
|
Feedback:
A new scan will be automatically performed on the next push to the PR branch. Internal use only: Reviewer details Maintainer details |
|
Note on the This plugin streams synthesized PCM at low latency and interrupts the current line the moment the player advances dialogue. |
|
Hi @riktenx! Thanks for the review. I have removed the local backend entirely so there is no more subprocess execution. I also removed use of Thread.sleep() and Thread.interrupt() in favour of a scheduled executor. |
Voiced Dialogue
Gielinor, out loud. Voiced Dialogue gives every NPC and your own adventurer a real, real-time AI voice, turning silent text boxes into a living world you can actually hear. Walk up, talk, listen, that's the whole setup.
What makes it special
Everything runs off the game thread and replays already-heard lines from a local cache, so the client stays snappy even when you mash through dialogue.
Setup & privacy
Speech is synthesized by OpenRouter, so the plugin needs a free OpenRouter API key. Until one is set it stays silent with a one-time notice pointing you to the setting. While active, the dialogue text being voiced is sent to OpenRouter over HTTPS using your key (disclosed in the descriptor
warning=and in-plugin before it does anything); nothing else leaves your machine. The API key is stored as a RuneLite secret, never logged, and sent only to OpenRouter.For reviewers
OkHttpClient/Gson(nonew OkHttpClient()/new Gson()).getResourceAsStream.javax.sound.sampled.SourceDataLineto stream synthesized PCM at low latency and cut the current line off when the player advances dialogue, the same pattern as the merged NaturalSpeech plugin; confirmed acceptable with the team for this use case.