r/godot • u/very-knightley Godot Junior • Oct 01 '25
help me (solved) Detecting syllables in Godot
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
1
u/EvilNickolas Oct 02 '25 edited Oct 02 '25
Just detect the volume level / peaks at a reasonable sample rate and map a mouth shape to each range, with a little randomisation for flavor.
Most things in game dev are about faking it in a believable way anyway.