Continuous speech recogniton for Stroop test

Get help using Construct 2

Post » Mon Nov 25, 2013 6:22 pm

Hi all!

I`ve been having difficulty with using Speech Recognition to operate a Stroop test.
Essentially, I have a function that randomly generates a color word (i.e., red, blue) and the participant has to say the color of the word (which are the always same for now during testing - congruent). The goal of the Stroop test is to compare the differences in speed (or intereference) when it comes to recognizing congruent and incongruent color + color words.

-At the start of the layout I request speech recognition (language n`, Continuous mode, Interim results).
-When permission is given, call the function to randomly get a color + word.
-``On speech recognition result
if word color (as a string) == UserMedia.InterimTranscript
do add to correct, call function``


My problem is that a successful speech only works ONCE, even though the comparison values match at numerous times, as shown in the debugger. I have a button to manually jog the test and the function seems to work fine; however, I believe it has something to do with subsequent comparisons using the InterimTranscript value, but it`s hard to be certain given the lack of articles and information on speech recognition since it is such a new feature.

What do you think?

Thanks for taking the time to check out my question.
B
3
Posts: 1
Reputation: 202

Post » Mon Nov 25, 2013 7:55 pm

I havent tried it yet, but if you pop me a capx I wouldnt mind fiddling with it :)
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572


Return to How do I....?

Who is online

Users browsing this forum: TRMG, Yahoo [Bot] and 11 guests