I am programming an experiment that requires looking at a short video clip while listening to a sound and choosing yes or no. I have been able to achieve this, but I was wondering if there is any way to replay a sound if a certain action takes place (e.g., the click of a picture)?
I kind of need this to be an option because this is a study for 4-5 year olds and they often talk right through the stimuli and need it repeated. I did figure out how to loop the sound clip, but it looped a bit too quickly and also carried into the next trial, causing overlapping sounds.
In sum: is there code that specifies to play a sound if a picture is clicked (the picture in this case will be a replay "button"). Thanks!