Cedrus Community Forums

Cedrus Community Forums (http://community.cedrus.com/index.php)
-   SuperLab 4 Support (http://community.cedrus.com/forumdisplay.php?f=2)
-   -   Blinking image for metronome (http://community.cedrus.com/showthread.php?t=2226)

akschenker January 25th, 2017 09:08 AM

Blinking image for metronome

I'm making a study using music in Superlab 4.0, and I'm trying to create a visual stimulus that will act as a metronome, blinking along with a given song. For example, in a given trial, I might want the stimulus, which is a picture file, to be displayed for 100 ms, then go away for 400 ms, then repeat until the song ends (the length of each song varies trial to trial).

Is there any way I can make a loop like this? I can't find anything that would allow me to present it multiple times.

Thanks in advance!

Arman January 27th, 2017 11:06 AM

Loop a block by using the Repeat Current Block action in Macros. Within the block should be two events: the visual stimulus and an ISI. This ISI should use a trial variable for its time limit.

All times are GMT -7. The time now is 08:59 AM.

Copyright Cedrus Corporation, 1991-2014.