# How to present simultaneously in the same routine a video and a random series of sounds

**URL:** <https://discourse.psychopy.org/t/how-to-present-simultaneously-in-the-same-routine-a-video-and-a-random-series-of-sounds/10402>\
**Category:** Builder\
**Created:** [December 29, 2019, 2:48am UTC](https://discourse.psychopy.org/t/how-to-present-simultaneously-in-the-same-routine-a-video-and-a-random-series-of-sounds/10402 "2019-12-29T02:48:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonardo\_Venturoso](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/leonardo_venturoso/32/6602_2.png) [@Leonardo\_Venturoso](https://discourse.psychopy.org/u/Leonardo_Venturoso)\
**Post date:** [December 29, 2019, 2:48am UTC](https://discourse.psychopy.org/t/how-to-present-simultaneously-in-the-same-routine-a-video-and-a-random-series-of-sounds/10402/1 "2019-12-29T02:48:13Z")

</div>

Hi, I’m new here on psychopy and I’m not very good at programming.  
I’m designing my experiment using the builder. Specifically I found some problems in a specific routine where I want to play a video and simultaneously (while the video is being played) I want to play 4 sounds randomly taken from a list of ten (Eg: one.wav, two.wav, four.wav, ten.wav) one second apart.  
As you can see from the screenshots, I built the routine, I inserted a video component and the loop with the xlsx document where there are the ten sounds from which I want to draw only 4 at a distance of 1 second from each other (Eg. first sound at one second, second sound at two seconds, third at three seconds etc.)

 ![Screen Shot 2019-12-29 at 03.51.59](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/6/6/66b1811736e96d7d6956c62922ae1861f33b1302.jpeg) ![Screen Shot 2019-12-29 at 03.52.06](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/1/0/1017be4b1115275db793cad0c1816265aa6e27b9.jpeg) [sounds\_routine.xlsx](https://discourse.psychopy.org/uploads/short-url/6kbhNeR2wvjq0HXJ1jGzFZwforV.xlsx) (8.5 KB)

How can I do this?

Any help would be much appreciated.
