[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sclang: asterisk (was: [sc-users] Event Timing Offset)
On 1/3/06, Andrzej Kopec <akopec@xxxxxxxxxxxxx> wrote:
> > ~args = [TempoClock.default, true, [8.0, -0.15]]
> >
> > k.play(*~args);
>
> One question: what do the asterisk ("*") stands for in this statement?
Your first place to look for questions like this is the symbolic
notations help file.
f.(*argList) evaluate the function with the arguments in an array
e.g.,
f = { |a, b| a.debug("a"); b.debug("b"); };
f.(1, 2);
a = { 10.rand + 1 } ! 2;
f.(*a);
hjh
--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman