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

[sc-users] Path Formatting and Buffer



I was loading up an array, as per the discussion last week, using the following bit of code: 
PathName("/Users/jb/Desktop/Medias/").filesDo({|i|
if (i.extension == "flac", {~indices = ~indices.add(i)});
});

It seems, though, that I cannot quite populate a Buffer with this information .
~b = ~indices.collect { |path| Buffer.read(s, path) }; //returns an error: FAILURE IN SERVER /b_allocRead wrong argument type

Any idea how to adjust the formatting?