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

[sc-users] Loading multiple sounds - seeking a more elegant solution?



Hi list,
I am wondering if there is a more elegant solution of loading a directory of
sounds into buffers. 

This is what I have...
//load all sounds from the directory into buffers
(
var test;
test = "sounds/*".pathMatch;
 	( i = 0;
 		while ( {i < test.size  }, { s.sendMsg("/b_allocRead", i , test.at(i)); i
= i + 1} )
	)
)
-- 
View this message in context: http://n2.nabble.com/Loading-multiple-sounds-seeking-a-more-elegant-solution-tp4216881p4216881.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.

_______________________________________________
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/