[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Loading multiple sounds - seeking a more elegant solution?
Hi, how about this?
b = "sounds/*".pathMatch.collect {|file| Buffer.read(s, file);};
It stores a reference to every Buffer in b.
hth
Patrick
Am 25.12.2009 um 23:10 schrieb dcm:
(
var test;
test = "sounds/*".pathMatch;
( i = 0;
while ( {i < test.size }, { s.sendMsg("/b_allocRead", i ,
test.at(i)); i
= i + 1} )
)
)
_______________________________________________
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/