I’m having trouble getting started with auditory stimuli in psychopy. I have so far managed to play pre-recorded wav files from a conditions file in excel, but I would like to also be able to play them using code. (I found some tutorials on this for the previous version of psychopy but it looks like lots has changed in the meantime.)
Let’s assume I want to play two sounds repeatedly with a fixed ISI between them, say sound1 onset, 500ms ISI, sound2 onset, 500ms ISI, sound1 onset, 500ms, etc. What would a code component that does this look like?