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

Re: [sc-users] Freeing All Synths in an Array



Hey,

to free them you have to store them in an array:

var synths;
synths = 10.collect{Synth(\Sin))


synths.do(_.free)


hope that helps
	Till

On 07.05.2009, at 11:09, Jeremy Zuckerman wrote:

hello,

i apologize for the basic question. haven't used sc in a while and have gotten very rusty. how would i free an entire array of synths:

eg

var synth;
10.do{synth= Synth(\Sin))

trying to do something like synth.free...

many thanks!
-j

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/