Open
Description
hi @phyce, I checked our your new rl-natural-speech plugin, super duper cool!
I'm excited to talk about the development of the plugin. I'd love to DM on Discord @honglouis
Right now, the voices are pseudo-random, so NPC don't exaclty
sound how they look. I'm absolutely sure you are aware.
public static int calculateVoiceIndex(String name) {
int hashCode = name.hashCode();
return Math.abs(hashCode) % config.MAX_VOICES;
}
What are your thoughts on this? Off the top of my head, maybe we can implement a crowdsource feature where users "shift-rightclick" to assign an NPC with a voice.
Super cool, great job!