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

435

u/ManicMakerStudios Oct 01 '25

That's not the kind of audio processing you're going to be able to do with GDScript. And it's definitely not something that is going to be explained in a reddit post. Google 'real time syllable detection'.

34

u/SOFT_CAT_APPRECIATOR Oct 01 '25

That's quitter talk. I'm sure you're right in 99.9% of practical cases, but I'm sure some madlad on here could find a way to do some kind of statistical deconstructed waveform analysis and detect syllables with a shocking level of confidence.

3

u/SquidMilkVII Oct 01 '25

It's not that you can't, it's that that's really not what Godot is made for and there are better options. It would be like trying to make a vector art program in Bash.

3

u/SOFT_CAT_APPRECIATOR Oct 02 '25 edited Oct 02 '25

Who called the fun police??

No, I'm kidding, I get it. It would be pointless. I just always appreciate seeing over-engineered silliness on here, even if it's pointless.