Kay Burki
________________________________________________________
WHEN REPLYING, PLEASE QUOTE ONLY WHAT YOU NEED. Thanks!
Change your preferences or unsubscribe here:
http://lists.figure53.com/listinfo.cgi/qlab-figure53.com
Follow Figure 53 on Twitter here: http://twitter.com/Figure53
> I want a group of samples to be fired randomly and endlessly (sort of looping the group). Anyone an idea? Thx!
Make 3 cues thus:
Cue 1: Group Cue containing the Audio Cues; set to fire all children simultaneously
Cue 2: Script Cue; set to auto-continue
tell front workspace
set possibleCues to cues of cue "1" whose running is false
try -- In case there aren't any possible cues
set randomCue to some item of possibleCues
set post wait of cue "2" to duration of randomCue
start randomCue
end try
end tell
Cue 3: Script Cue
tell front workspace to start cue "2"
Cue 1 can be in a separate cuelist (or could even _be_ a cuelist). Cues 2 & 3 need to be consecutive. It is important that cues 1 & 2 are numbered "1" and "2" for the scripts to work.
Fire cue 2 and it will find a cue in cue 1 that isn't playing, set the post wait of cue 2 to be the duration of the cue it has picked and then start the cue. Once the duration has passed, the auto-continue will fire cue 3, which will start the process again. It isn't strictly necessary to look for a cue that isn't playing (I think), but I started from a script that did that.
A Stop Cue targeting cue 2 will end the loop.
Rich
-----Ursprüngliche Nachricht-----
Von: qlab-b...@lists.figure53.com [mailto:qlab-b...@lists.figure53.com] Im Auftrag von Rich Walsh
Gesendet: Samstag, 8. Oktober 2011 21:02
An: Discussion and support for QLab users.
Betreff: Re: [QLab] Loop group