Play audio across multiple trials

You can extend playback of your audio file beyond the end of a trial. 
Column name: audioPossible values: filename.mp3, until: {stop condition} 
Stop conditions:

  • Trial number (e.g. 20): Audio will stop playing when the trial with the given number is reached 

  • Time elapsed (e.g. 2m30s): Audio will stop after the defined minutes and seconds elapsed from the beginning of playback 

  • Trial label (e.g. partA): Audio will stop when the trial with the given label is reached

  • loop: Audio playback will keep repeating until the experiment ends or a trial with a stop command is reached

  • end: The audio file will play once for its complete duration, regardless of how many trials it spans

In addition, you can add a stop command in the audio column of any trial.

  • stop: Will stop any audio playback and override any of the other options

  • audio=sound1.mp3, until: label1, start:delay=3000ms