psychopy.org | Reference | Downloads | Github

Play two sound files at the same time

OS: Win8.1
PsychoPy version: v1.84.2
What are you trying to achieve?: I’m trying to play two sound files at the same time in each trial, such that one (white noise) plays for 7seconds and another plays in the middle of the white noise. Both are .wav files. The white noise would play before, during, and after the second sound.

What did you try to make it work?: I’ve tried just to have both sounds play as sound_1 and sound_2.

What specifically went wrong when you tried that?: The white noise would play until the beginning of the second sound, at which point the white noise would stop and the second sound would play. Then silence until the end of the trial (the white noise would not play again).