psychopy.org | Reference | Downloads | Github

How to put stimuli in the order we want?

Hi everybody. I wand my music stimuli to be presented in a specific order so that I want to play piece#1 twice then present a third stimulus which is either the same or different from the first two. Here participants will be asked to say if the third one was different or the same as the first two, and then go to the next three stimuli and so on and so forth.
How should I design routines and loops to achieve this?

I would load the file names into an array using one random loop and then use a second loop to present the trials, picking file names from the array as needed.

Have a look at my prospective memory experiment for an example.

is this experiment is psychopy demos? I couldn’t find it.

No but there’s a link at the bottom of my crib sheet (see pinned post). It’s set to public