Please could you clarify the stop condition for audio 1? I’ve just added a second audio to my sound test
sound_2 start condition is sound_1.status == FINISHED (start time .1 seconds)
Timeout in routine settings is sound_2.status == FINISHED
These are just sound components with no code. However, I also have a replay sound online demo which plays two sounds repeatedly in code.
Replay | code | try it | discussion thread
Two audio files are loaded into two sound components during the ITI, but played with zero volume. During the trial routine, buttons are used to play the sound files. Once both audio files have been selected at least once, the trial can be ended with a forced choice. In this demo the pairs are fixed, but independent randomisation could be used if desired.
I never create sound objects in code.