is the for loop I guess. I got stuck at the recognition, so I tried a lot of things. For example I tried to put the code above into a while loop while a button is pressed. Then I only got to the recognition while pressing the button but then I got stuck again and even by releasing the button it's still in the recognition loop.
is it possible to write the newest recognition into a variable, go on with the code and overwrite it, when passing by again?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I tried to implement the LiveSpeech in my Pygame Python script, to control an interface.
The problem by using this example:
is the for loop I guess. I got stuck at the recognition, so I tried a lot of things. For example I tried to put the code above into a while loop while a button is pressed. Then I only got to the recognition while pressing the button but then I got stuck again and even by releasing the button it's still in the recognition loop.
is it possible to write the newest recognition into a variable, go on with the code and overwrite it, when passing by again?