jit.buffer~

Nov 16, 2007 at 11:08pm

jit.buffer~

Hello friends,

I am trying to load a folder of samples into buffer, have been
attempting it this way, and it hasn’t been working…

I know its something simple…any help?

outlets = 0;
var buffers = new Array();

function read(foldername)
{
var f = new Folder(foldername);
var i;
f.reset();
for (i=0;i
if (f.filename) {
var fullpath = f.pathname + f.filename;
buffers[i] = new JitterObject(“jit.buffer~”);
buffers[i].set(f.filename);
buffers[i].replace(fullpath);
i++;
}
f.next();
}
f.close();
}

Thanks,

b

Barry Threw
Media Art and Technology

San Francisco, CA Work: 857-544-3967
Email: bthrew@gmail.com
IM: captogreadmore (AIM)
http:/www.barrythrew.com

#34638

You must be logged in to reply to this topic.