[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sclang: asterisk (was: [sc-users] Event Timing Offset)



James, thanks alot, I usually look up SymbolicNotations, but this time I haven't
associated things...
Also sorry for grammatics (I slept for 3h last night, and now we have almost a half past 11pm)
/ak/

James Harkins writes:
 > 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
 > 
 > _______________________________________________
 > sc-users mailing list
 > sc-users@xxxxxxxxxxxxxxx
 > http://www.create.ucsb.edu/mailman/listinfo/sc-users
 >