Godot Add-on to generate simple voice audio like voice in Celeste, Banjo Kazooie, Animal Crossing, and this type of games.

i.e. just dummy Text-To-Speech add-on

Support:

  1. Slightly different pitch for every letter
  2. Punctuation pauses for . , ? !
  3. Pitch increase for question symbol ?
  4. Sound file based reading
  5. Oscillator generator based reading
  6. Alphabet-like TTS reading

Changelog:

Godot 4.x

4.1:

Godot 3.x

3.1: 

  • Sound file based voice

License: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication. But I would be thankful if you mention it in credits or so.

StatusReleased
CategoryTool
PlatformsHTML5
Rating
Rated 4.8 out of 5 stars
(16 total ratings)
AuthorTNTC-Lab
Made withGodot
Tagsaddon, Audio, Godot, voice, Voice Acting

Download

Download NowName your own price

Click download now to get access to the following files:

godot-voice-generator add-on v4.1 (Godot 4) 2.3 MB
godot-voice-generator add-on v3.1 (Godot 3, HTML5 Exported) 4.6 MB
godot-voice-generator add-on v3.1 (Godot 3) 17 kB

Comments

Log in with itch.io to leave a comment.

Thank you very much. This is a useful tool for the Godot community.

Yo I kept getting issues with some special characters trying to be read, so here is an improved version of the make_clear function, which relies on RegEx instead of replacing:

func make_clear(text: String) -> String:

var regex = RegEx.new()

regex.compile("[^A-Za-z0-9 ]+")

return regex.sub(text, "", true)

(+1)

awesome!! used it here https://files.catbox.moe/r54zay.mp4

looks cool :)

Very nice add-on! Thank you! :)

To make it mostly work in Godot 4, you have to load it and "Convert Full Project"

Then remove (or correct - even though I'm not sure how) the last line of Code in the Example Scene "$VoiceGeneratorAudioStreamPlayer.stream.audio_stream = load("res://addons/" + item)" And add the Sound, in the Inspector of the AudioStreamPlayer by clicking Randomizer, to the Streams tab. 

This then only allows the one sound that's in the inspector to play but but other than that the Voice generator works great.

The Animation shouldn't be to hard to fix - I just didn't bother since I didn't need it for my project. :)

(+1)

thank you! I'm planning to release an updated version

finally, I've released the updated add-on version for godot 4

Great work, thanks!

(+4)

doesnt work with godot 4

This is awesome

is there a way where I can use this voice generator as a way to save the output file of each dialogue?, cause I am not intending to use godot.

despite that I don't use godot, but I really appreciate your hard work.

(+1)

i don't need it right now, but i'll save it... really nice tool you got there.

Hey! I was wondering how you would modify this so that it plays in sync with characters displaying. I'm trying to make my own dialogue system and this looks really cool but I can't figure out how to get the sound to line up with the rate where I show things. What code would I have to add/change?

I don't think I understood what you want to achieve

(1 edit)

i.e. how dialogue works in Undertale. How can I achieve a sync up between the dialogue sounds and the display of the characters? the rate the dialogue sounds play at seems somewhat arbitrary at the moment

you will have to merge this code into your dialogue system

(+1)

Can I get the source code?

it's right above your post

oh xD thanks

(+1)

i love it, very thanks!

Hello!! I really love this tool, thank you!! I downloaded it and added a couple features, such as volume setting, the ability to add presets for different characters, and the option to make a noise for each syllable rather than each character. I would like to share the work I've done with others, but obviously it's based on your work, so I would only do that with your permission (and I would of course attribute the original script to you). Or if you'd like, I could send you the script with the stuff I added, and you could choose if you wanted to include it in your script. I don't want any money or anything, I just want other people to be able to benefit from the work I did, in a way that still respects you as the original creator of the tool. What do you think?

Hello! Of course I can try to add it if it's worth it :) You could sent me a link or feel free to publish it wherever you want. As you wish

(+1)

Awesome! Most of the changes I made were to allow for easy integration with Godot Open Dialogue, so I'll include it with the version of G.O.D. that I'm working on when I post it here. And I'll make sure to link back to this page and encourage anyone using it to throw you some bucks for coming up with it. I can email you the .gd file if you wanna give me your email! If not that's cool and I'll just let you know when I post it.

I posted it!! https://github.com/grahamoverby/Godot-Open-Dialogue-Expansion

looks awesome :) good job

I'm just starting to understand Godot, and I am impressed with this work you did here.

thanks! there are a lot of tutorials for godot learning, I wish you luck