[1,2,3].do { /* how to wait 1s here? */ }
I am learning supercollider. I have found the SimpleNumber.wait function, but I soon learned that it doesn't work within "normal" functions, only within some "different" kind of functions called Routines.
I deliberately stopped right there to ask the question: is there a simple way to pause for a given amount of time within each iteration of the someArray.do
construct? By "simple way" I mean something that won't require learning a dozen new concepts and going through a paradigm shift.
NOTE WELL: I know that I will eventually need to learn the whole huge book about Routines, Tasks and other sequencing mechanisms in supercollider, but for now I just want to play "Mary Had A Little Lamb" and call it a noob's day, without having to learn all of that before I can make anything at all happen.
Is this possible?