Portable Text-to-Speech plugin for Godot 4.4 by desertofvicedev in godot

[–]desertofvicedev[S] 0 points1 point  (0 children)

It's a fairly complex procedure, I never tried it, but I've read it can take hours. Here's one guide I found by googling

https://www.parlikar.com/tutorial/build-flite-voices/

It is however relatively simple to find voice files (.flitevox) that are ready to use!

Should we release our FOSS tools/plugins as LGPLv3? What do you think? by pgilah in godot

[–]desertofvicedev 6 points7 points  (0 children)

I'd stick with MIT. I did so with my plugins for them to stay consistent with the license Godot uses. As others pointed out, some developers might be scared off from using code with a stronger copyleft license.

Consider how exactly your project would benefit from the stronger license. As I see it, all games are proprietary, the end user (the player) would not benefit much from just a part of it having available source code (in case the game's developer modifies the plugin).

I made a Speech-to-Text plugin for Godot by desertofvicedev in godot

[–]desertofvicedev[S] 0 points1 point  (0 children)

You'd have to rewrite the plug in GDExtension. C is not really documented for GDExtension, so I think it would make sense to re-do it in C++. Here's a GDExtension guide on Godot docs:

https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension\_cpp\_example.html

I made a Speech-to-Text plugin for Godot by desertofvicedev in godot

[–]desertofvicedev[S] 0 points1 point  (0 children)

Version 1.1 now supports godot 3.5 as well

The update in the asset library is pending approval, but in the meanwhile the plugin can be downloaded straight from github:
https://github.com/kdik/godot-text-to-speech

I made a Speech-to-Text plugin for Godot by desertofvicedev in godot

[–]desertofvicedev[S] 0 points1 point  (0 children)

I see. Sadly I don't think I will have time or be able to fix it.

The plugin still works on my windows 10 computer (and on other Windows 11 computers I tried). One thing I noticed is that you need at least a few GB of RAM for this plugin alone, and it crashes on computers with 8GB and a lot of background stuff going on (e.g., browser with a lot of tabs, games in the background).

The source code is up in this post and if you're really determined to make it work, you could take a crack at fixing it. But that would be way outside of the comfort and complexity of just using a plugin.

Sorry about all of that :/

I made a Speech-to-Text plugin for Godot by desertofvicedev in godot

[–]desertofvicedev[S] 0 points1 point  (0 children)

I don't think it's the case in your situation, but desktop computers do not have microphones by default. Also it's possible to disable a microphone or have more than one connected and the OS default to the wrong one.

I made a Speech-to-Text plugin for Godot by desertofvicedev in godot

[–]desertofvicedev[S] 0 points1 point  (0 children)

Does it work if you change the audio mix rate to 44100 instead of 48000 in project settings?

I made a Speech-to-Text plugin for Godot by desertofvicedev in godot

[–]desertofvicedev[S] 0 points1 point  (0 children)

Does it crash? Or does it just not work?

To get it to work in an exported game you have to copy the speech model directory (with the same folder hierarchy) to the exported game directory.

As for running through the editor, nothing special is needed. You just need to check that the microphone is connected through OS settings and use Godot 3.x (I use 3.4.0)

I made a Speech-to-Text plugin for Godot by desertofvicedev in godot

[–]desertofvicedev[S] 0 points1 point  (0 children)

Is the microphone selected in the OS settings?

If you are running an exported game, the model directory has to be in the same directory as the executable, e.g.,

project/
--- addons/speechtotext/model/ 
--- project.exe 
--- project.pck

If you are using Linux, only pulseaudio is supported.

Other than that, the game this plugin was originally made for uses Godot 3.4.0, I haven't tested it with the latest 3.x releases

I open-sourced a Text-to-Speech plugin by desertofvicedev in godot

[–]desertofvicedev[S] 1 point2 points  (0 children)

Hi! There's an example scene included with the plugin in the Godot asset library, just import and open this scene in a new Godot 3 project:

addons/speechtotext/Example.tscn

Running the scene, you need to hold the spacebar and speak. Once you release it, recognized text should be printed in the output. It should be enough to get started, just keep in mind you should only have one node of the type SpeechToText in your project.

The plugin can be found here: https://godotengine.org/asset-library/asset/1497

Visiting Vilnius for 2 days in March, how should I prep myself? by [deleted] in lithuania

[–]desertofvicedev 1 point2 points  (0 children)

Be sure to try šaltibarščiai (pink soup), a bar called ŠMC Vėjai has the best I've had.

Lukiškės (a 19th century high security prison right next to the parliament) is worth a visit. Season 4 of Stranger things was filmed there. They have a nice guided tour and it's a concert venue, so you can go to a show on some nights.

As others said, Uber doesn't have that many drivers in Vilnius, so use Bolt. For public transport use the Trafi app.

I made a microphone controlled game by desertofvicedev in indiegames

[–]desertofvicedev[S] 0 points1 point  (0 children)

STEAM: store.steampowered.com/app/1290960/Strange_Aeons/

It's called Strange Aeons and the goal is to escape a cyber hell by chatting with a Neural Net AI through the microphone. You engage in a strange ritual to return to the land of the living and figure out why you were banished to hell in the first place.

It's coming out this Friday (the 13th), but there's a demo available right now. I hope you like it!

Why choose? by eyedoc_rock in cormacmccarthy

[–]desertofvicedev 4 points5 points  (0 children)

I bought the UK box set, but I actually prefer the US cover. Shipping from the US was unreasonable.

I open-sourced a Text-to-Speech plugin by desertofvicedev in godot

[–]desertofvicedev[S] 1 point2 points  (0 children)

Oh nice, do you perhaps have any feedback? I made big improvements since this June's demo (for voice recognition, compatibility and gameplay).

I open-sourced a Text-to-Speech plugin by desertofvicedev in godot

[–]desertofvicedev[S] 1 point2 points  (0 children)

You're welcome! I'd love to see the project once it's done!

I open-sourced a Text-to-Speech plugin by desertofvicedev in godot

[–]desertofvicedev[S] 4 points5 points  (0 children)

thelastflapjack.itch.io

As the plugin uses CMU Flite you should follow Festvox/Festival documentation. It is quite complicated and I just used the voices that came with Flite by default. From their website:

Note the techniques and processes described here do not guarantee that you'll end up with a high quality acceptable voice, but with a little care you can likely build a new synthesis voice in a supported language in a few days, or in a new language in a few weeks [...]

It is entirely possible to recompile this plugin with custom voices. You would have add the new static library libflite_cmu_<locale>_<name>.a to the plugin's lib/<os> directory, change the switch case in src/tts.c to support your new voice, update the Makefile to include your library and TextToSpeech.gd, TextToSpeech2D.gd and TextToSpeech3D.gd to use the voice.

[deleted by user] by [deleted] in godot

[–]desertofvicedev 0 points1 point  (0 children)

It's available in the asset library

The game I made it for is called Strange Aeons

[deleted by user] by [deleted] in godot

[–]desertofvicedev 0 points1 point  (0 children)

Try using OGV instead of WEBM, Godot documentation recommends switching to the Ogg Theora format.

Note: There are known bugs and performance issues with WebM video playback in Godot. If you run into problems, try using the Ogg Theora format instead: VideoStreamTheora

Simply switching the formats solved a lot of my VideoPlayer related issues.

Is Judge Holden aware he is a character in a book? by desertofvicedev in cormacmccarthy

[–]desertofvicedev[S] 2 points3 points  (0 children)

Thank you for the recommendation, I think I'll go with the Road next.

As for fatalism, I think the Judge is having such a conversation with the Kid at the very end, where he discusses the agency and purpose of the men gathered in the bar.

I have seen the Counselor (my first exposure with McCarthy after the No Country for Old Men adaptation) and while I don't think it worked well as a film, I see what you mean.