Individualized task onset


I have a series of sounds (0 to 10) which I want to play in a sequential order but I want to individualize the piece I start with. E.g., for one subject I want to go from 0 to 10, while for another subject I want to go from 5 to 10. I’m defining individually for each subject where I want to start.

How can I do this?
Thank you very much!

If the sounds are in a spreadsheet then you could select rows using useRows and then define useRows in code from a random integer or participant number or group. E.g.

useRows = str(int(expInfo['participant']) % 10) + ':10'