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

[sc-users] Adding values from Pbind to List



Hi,
How can I collect the values produced inside a Pbind as they are produced? Below is the fantasy code that would do this:

mypitches = List[];
myDurs = List[];

Pbind(
\midinote,Pwhite(40,60).addTo(myPitches),
\dur,Pwhite(0.25,0.5).addTo(myDurs)
).play;

Thanks
Uri