Welcome! Log In Create A New Profile

Advanced

Looping sound

Posted by Experimenter 
Looping sound
January 07, 2022 03:08PM
Hi,

I noticed that there is an AudioSound adapter for V2 that can be used to loop audio stimuli. I was wondering if there is a way to repeat audio in V1 toggleObject until the next toggleObject command?

Thanks!
Re: Looping sound
January 08, 2022 01:57PM
First of all, nothing is impossible. However, the TaskObject syntax inherited from the original ML is very difficult to add new expansions. You may as well just make the sound long enough to cover the whole period.

You can try to manipulate TaskObjects directly with MGL functions, but then NIMH ML cannot keep track of their changes, so it is not something I can recommend.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.