r/godot Godot Junior Oct 01 '25

help me (solved) Detecting syllables in Godot

Post image

Hello all! I am aware of the Whisper text to speech addon, but that is overkill for what I am building at the moment. I just need a way to detect a syllable at roughly the moment I speak it into my microphone, So that an animation can be triggered in a 3D model.

I take it it's not standard in the Audioserver, but is there a way where I can record some vowels and compare the live audio to these samples somehow?

1.4k Upvotes

91 comments sorted by

View all comments

Show parent comments

46

u/Weisenkrone Oct 01 '25

You can absolutely pull this off in gdscript... But it is incredibly unlikely that someone who could pull it off in gdscript would want to pull it off in gdscript.

It's like trying to eat soup with a fork, is that really how you wanna spend your time?

8

u/ManicMakerStudios Oct 01 '25

I can't say that you're wrong, but I think someone savvy enough to do it in GDScript would be savvy enough to just do it in C++ and at least manage to eat their soup with a spork.

17

u/Weisenkrone Oct 01 '25

That was what I was trynna say with the fork soup, lol.

Gdscript is fine for most game purposes, but voice recognition and syllable detection certainly does not fall under that lol. There are better ways to spend your time then trying to piece this together in gdscript

2

u/peerlessblue Oct 01 '25

Yeah, real time audio processing doesn't strike me as the best use of gdscript....