Is there a way/workaround to add a changeable argument to cycle?

dannyflint's icon
Max Patch
Copy patch and select New From Clipboard in Max.
Peter McCulloch's icon

It looks like you're trying to cycle through values, and coll and the "next" message instead. You'll need to store the files with an index (or you could be lazy and use "insert 0", then use the "prev" message to read through coll backwards instead of forwards).

BTW, this is a great place to use poly~ for the playback.

dannyflint's icon

Thanks for replying Peter

dannyflint's icon

Thanks for replying Peter, for some stupid reason it wont let me past my latest 'copy compressed' patch.

Ultimately what i want to do, is;

1. drop a folder in the dropfile
2.The individual files (&Filepaths, i did this with sprintf) within are recognised and routed out of an object.
3.then loaded on to cells in a matrixctrl object ready to be sequenced.

I think i have achieved most of what i want with my latest patch (although there was probably a much simpler way haha).
But the cycle object only operates within the patch correctly if the number of files in the folder match its argument.
If the cycle object had an input for an integer that dictated the number of outputs it would be perfect

if you have an email or something i could wetransfer you the .amxd or something.

my patch pasted fine yesterday, it just wont do it now

Thanks again

Danny