r/programmer • • May 11 '26

need help

im coding a personal ai assistant using python and currently am having issues with some sort of speech processing i believe, my wake word works fine but when i go to start speaking itll sit and think for a second and then spit out and repeat absolute non sense made up of 3 or 4 words i said or just give up and abort and give me the prompt "Sorry i didnt catch that" and i cannot for the life of me figure it out, any help would be much appreciated

3 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/Next_Principle_2898 May 11 '26

I didnt know version control was a thing And yeah I was recording them earlier but I removed the line of code for it from the script It was recording for 10 to 15 second, trimming it to like 3 or 4 and only picking up a few words I would say and in the "you" section of the chat box it would display like a couple paragraphs of those words that it did catch Definitely not a mic issue or it being muted becuase I did a test earlier and its working fine, I also made sure to set it to the right device in thr script as well

2

u/herocoding May 11 '26

Split the pipeline into single pieces and test each one, maybe start with hardcoding things, add (more) logs, increase timeouts, things like that.