playN and groups how?

Hi,
How does playN work with Group. I tried the following but it does not work.

p = ProxySpace.push;
~mainGroup = Group.new
~test3 = { SinOsc.ar([2, 3, 5] * 100) * 0.2 }
~test3.playN([0,1,4],\group,~mainGroup)

D

I think this is not valid in a ProxySpace – ~environmentVars in a ProxySpace should represent signal sources, and a group isn’t a signal source.

A common technique here is to create a separate environment for storage:

q = ();  // shortcut for Event.new
q.group = Group.new;

And then use q.group instead.

Note, I haven’t checked playN, so there might be another problem. But I’m pretty sure you’ll have to remodel this variable.

hjh