Play a .wav file during an entire loop?
in OpenSesame
I am running an experiment testing the effects of binaural beats on memory and relaxation. Is there a way to make an audio file play for the duration of a full loop?
Comments
Hi Evan,
If you set the duration of a
sampleritem to 0, then the sound will keep playing in the background. So if you insert asamplerbefore your loop, and if your sound sample is long enough, then it will play for the duration of the entire loop.After the loop, you can then stop the sound with a simple
inline_script(assuming that yoursampleris called my_sampler):Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!