Giter Site home page Giter Site logo

tts's Introduction

Text to speech

Discord
Text to speech plugin for runelite's pluginhub.

This plugin uses a custom server to generate audio to speak chat, dialog, game and notification messages.
Supports over 25 different voices with alot of configuration options.

1

tts's People

Contributors

iprodigy avatar jessevii avatar adamk33n3r avatar jzomdev avatar

Stargazers

Taylor Sly avatar ratworld avatar  avatar  avatar Eric avatar János de Vries avatar Mathieu avatar Dot Slash avatar  avatar

Watchers

 avatar

tts's Issues

TTS still speaks game messages that are supposed to be filtered

As the title says, I'm noticing that the TTS is working for game messages that aren't appearing in my chat box (one's I've filtered). E.g., "you've successfully cooked a fish" plays over and over and over... Any way around this? Is it possible to add a checkbox to enable filtering game messages?

For instance, I play RS in the background a lot while playing other games. Instead of hearing "you have chopped a log" over and over, it'd be nice if I only heard "you are idle".

Mp3Player library creates a thread that stays open forever, the pluging creates an object for every sound.

Currently: The issue seems to be related to the library itself as it stays open waiting for a new file to be fed to it, but a new instance of the mp3player is created every time text is processed, which leads to an ungodly amount of threads opened, wasting memory and also connected to the playback device.

Expected: Either eliminate the instance of the mp3player after it has been used (easier) or actually reuse it for follow ups (I think this would be the best solution, as it would avoid recreating a new device and would behave as the rest of the plugins in runelite work.

semi-frequent NegativeArraySizeException

I see nothing else relevant but

java.lang.NegativeArraySizeException: -1
	at com.ttsplugin.main.TTSPlugin.play(TTSPlugin.java:264)
	at com.ttsplugin.main.TTSPlugin.lambda$startUp$2(TTSPlugin.java:102)
	at java.base/java.lang.Thread.run(Thread.java:833)

in the log output when running runelite --debug.

Whenever this happens, a line fails to be read. It's never an interruption-midway; the lines just don't start. Chatting with the same NPCs over the same lines shows it doesn't always happen for the same lines; but from playing with another person also using this plugin, we tend to have this problem on the same lines of dialog.

Security

I don't know if it is just hackers in runescape or this plugin but i have installed and uninstalled it twice now and both times i've logged out, checked my email and have received emails for a single use code both times meaning someone has been trying to get access through forgot password. i have since uninstalled the plugin and i probably will not be reinstalling it.

Edit: i forgot to mention i have been playing runescape for about a week and a half now, and i haven't had this problem until i installed this plugin.

So many issues

This plugin has so many issues I forgot about it for ages. I figured I'd post here.

  1. I have the blacklist inverted so it's a whitelist of things I want it to say.
  2. It does not work with game/npc messages such as Tempoross chat says "A colossal wave closes in..." or "Tempoross is vulnerable!" or from Chambers ox Xeric Olm saying "Your overload potion is about to expire!" or "The Great Olm rises with the power of acid." or TOB with "A large ball of energy is shot your way..."

This thing only seems to pick up dialog. It does not work with Chat messages, Game messages, or Notification messages.

Request: Add MS Sam

Hello, I'd like to be Gary Gilbert (of J1mmy video fame) and set his voice as mine in-game. But his voice, MS Sam, isn't in the plugin. Can you help me be Gary?

Suggestion/Request - Enable audio out for the voice narrations

Hi, I find this RuneLite Plugin extremely useful for doing raids with voice requirements. I have a suggestion that I think would greatly benefit it's users.

When doing raids I am currently using Virtual Audio Cable (VB cable) along with a Microsoft store app called "type to voice chat" to currently call information to my raiding mates via voice.

If this plugin could be potentially updated to allow the voice-converted text messages typed into in-game chat to be sent as microphone input, It would be of great benefit to its users.

Request - make player's own chat messages use selected Voice TTS when "Use voice for self with random voice" is enabled

Hi, thanks for making this plugin!
I love to have the ability to assign random voices to NPCs and dialogue, but still choose which voice my own character will speak with.
Though, when I speak in the chat, it seems my character is still using the TTS voice that it would normally be assigned randomly. I'd love if my own chat messages also used that same voice, so my character consistently spoke with the same voice.

More chat options

It would be nice to have toggle options for private/friends-chat/clan-chat/guest-clan-chat TTS messages. Another idea is to have a TTS option for clan broadcasts and valuable loot messages.

Suggestion: check if NPC is male/female (perhaps from the wiki) and set random voice to that gender

First of all, fantastic plugin! I had been looking for something to narrate the dialogues when questing for a long time, as it improves the immersion. However now when I chose random voice for dialogues it can use a male voice for a female NPC and vice-versa. Perhaps there can be a way to get a classifications of the NPCs genders and use the appropriate voice based on that?
On top of that perhaps voice types can even depend on the continent on which the player is, for example a spanish voice type could be chosen for a southern continent like and a swedish voice type for a northern region.

Checking the code, as far as I understand you already get the players' gender but you leave the gender to unknown for NPCs, right?

"Use voice for self" not working properly

The "use voice for self" option in the advanced section is not functioning properly. When selected it will only play George English male despite the other options I put in. I must turn off "Random voice" to hear the voice I have selected for myself. Thank you for taking the time to read this.

Open Discussion

Hey, just wanted to reach out and see what your thoughts were about both of our plugins living on (I tried messaging you on discord but it errored). I don't want to step on your toes, and seeing as our plugins goals are different (interface narration), I can see them living together in harmony. Might just need some established boundaries. Now knowing that tts-over-network isn't very time-expensive, I'm curious in trying it as an option for mine. But I don't want to take what is unique about yours and make it obsolete, especially seeing the amount of effort you put into it.

I'd also be willing to have a conversation about merging our projects if you think that'd be beneficial over trying to keep them distinct and separate.

Anyway, cool plugin idea! I'm impressed with the features. And welcome to runelite plugin development!

Issue: Whole game freezes while dialogue sound is downloading

I used to use this plugin without any problems, but recently the whole game has been freezing while the dialogue line is loading. Maybe it's waiting for the sound download on the main thread? It used to be that the game would continue without a problem, but the sound would start a little later than the dialogue box, which is to be expected. But the whole game freezing and becoming unresponsive is a little annoying.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.