jit.buffer~

    Javascript

    barry threw's icon
    barry threw's icon
    barry threw
    Nov 16 2007 | 11:08 pm
    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