I work on Win 10, PsychoPy v2020.2.5 standard standalone version
I’m trying to build an experiment in which participants would have to reply to different surveys about a given music while this music is playing. The 3 surveys are in 3 separated routines (as their formatting are quite different). So I get my routines working properly. I surrounded them with a loop that call the *.csv file containing a column that indicates the music to be read at each iteration of the loop. However, i cannot figure out which kind of code I should include to indicate where to find that list and when to end it.
I saw related topics but most of them asked for the music to be read during n iterations of the loop and had a very limited list of background sounds so they manually included this list at the begining of the experiment.
This question is probably a newbie one, sorry. I have accurate programming knowledge with R but I’m a beginner with Python, and especially in experiments building with PsychoPy. I don’t mind moving to the coder but I don’t think that’s necessary to solve that problem.
So, more precisely, I don’t think I have to insert a sound component as it will end with the end of the first routine/survey. So what kind of code to insert in a code component to inform PsychoPy that I would like to play the sounds included in my *.csv file, each lasting during the whole loop and changing at each iteration ?
I hope I’m clear enough. If not, please tell me.