Millisecond Forums

background sound throughout block

https://forums.millisecond.com/Topic19617.aspx

By dukanske - 8/30/2016

Hi (again),

Another question from the n00b: How can I get a sound file to play continuously in the background throughout a block of test items?

Eternally grateful for the help,
Freddie
By Dave - 8/30/2016

You use the respective <block>'s /bgstim attribute to do this:

<block someblock>
/ bgstim = (backgroundmusic)
/ trials = [....]
...
</block>

with

<video backgroundmusic>
/ items = ("somemusic.mp3")
...
</video>
By dukanske - 8/31/2016

Thank you! That was actually easy; I got it working on the first try!