yes thanks! ralph's example was good. you should create a pattern ONE
time, but read from it as many times as you like
; create a pattern
begin
with mypat = next(make-cycle({1 2 3 4 5}))
; read 10 elements
loop repeat 10
print(next(mypat))
end
end
; its also possible to read a bunch of items using the next function
itself, for example this reads 50 items from one pattern
next(make-cycle({1 2 3 4 5}), 50)
apologies i have a few pending messages to reply to -- ill try to get
through them by tomorrow!
_______________________________________________
Cmdist mailing list
[email protected]
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist