Hello!
I’ve created an experiment in the builder view where the subject hears a sentence and is then asked to repeat that sentence (the verbal response is recorded). They then press a key to continue to the next sentence. Pretty simple.
I would like to add the option to skip a sentence (i.e., not repeat it after hearing it), and then replay that sentence/trial later in the test. The subject would press “space” to skip the sentence until later.
The name of the event that plays the sentence is “Sentence”, and it draws the sound file (sequentially) from a column in an Excel sheet named “SoundFile”. My coding knowledge in PsychoPy is limited, but my best guess is that this should involve “append,” so something like below:
if event.getKeys([‘space’]):
SoundFile.append(Sentence)
Ideally, if a subject were to skip sentence #3, the experiment would play #4 and then play #3 before going on to #5. But if it just adds #3 to the very end, that would be ok.
I’m really not sure how to approach this, so if anyone has any guidance, I’d really appreciate it!
Thanks!
Kaitlyn