so every object in supercollider is an array, essentially?On 8 Mar 2009, at 00:25, Josh Parmenter wrote: Or both?
a = Score.new;
a.getSlots
Josh
On Mar 7, 2009, at 3:19 PM, James Harkins wrote: I think Miguel wants the variable values, not names.
b = a.instVarSize.collect({arg i; a.instVarAt(i)})
hjh
On Mar 7, 2009, at 6:09 PM, Josh Parmenter wrote: Here is one way to do it (using Score as an example):
a = Score.new;
b = a.slotSize.collect({arg i; a.slotKey(i)})
Hope that helps.
Josh
: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman
****************************************** /* Joshua D. Parmenter
“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono */ |