Forums > MaxMSP

having [coll] problems, any ideas?

Jul 18 2011 | 9:39 pm

hello all,

been trying to work out this [coll] sample saving patch for a while, and i am just loosing it. just cant think anymore from being physically and mentally tired from gigging, vinyls releases and everything else in between.
this is not a ‘feel sorry for me’ typo, just explaining myself.

anywho, does anyone have or know of a patch that can help in using [coll] to store info on sample path names so when you re-load your patch, have a list of the sample previously loaded.
i have put a post before and did go away to work on it, but have not been able to get it going. so if anyone knows of a patch of some sorts that is out on the interweb or even a starting patch that helps in my predicament, it would mean a lot just to put this to rest once and for all.

many thanks.

lewis edwards

Jul 18 2011 | 10:21 pm

you can store anything to a coll, including path names. but it wont be saved on harddisk, so you´ll lose it whenever closing the main patcher or the application. there are several ways to workaound that without using pattr, like writing all colls data into a textfile and read from it when needed.

Jul 18 2011 | 10:30 pm

You can store just about anything in coll. You can tell coll to save its data in the patcher, or to load from a text file with the same name as the coll when the coll is instantiated.

Post what you are having trouble with for better advice.

Jul 18 2011 | 10:36 pm

basically sample names. was looking at [jit.cellblock] as well to show the list, but thats not a problem.
but it is just getting a list into [coll] from a file, or even when dropped in one by one.

just trying to get some [coll] patches up to show, but dont have anything right now. had a harddrive spaz and have lost some files, including nearly all my max patches, lucky i back up.

Jul 18 2011 | 11:49 pm

Here’s a patch from which you can probably extract the stuff you need:

-- Pasted Max Patch, click to expand. --

Jul 19 2011 | 12:04 am

the opendialog and folder objects are essential to get and control path and filenames, once gathered from there you can save it to coll like anything (handled as symbol of course).

not knowing if there something more sophisticated, but i made a rough patcher to divide pathname from filename which can be useful for some purposes. to get it together again use the combine object.

-- Pasted Max Patch, click to expand. --


Jul 19 2011 | 10:06 am

morning people,

sorry, just had to get some sleep. much better, though will go for some naps later on ;)
many thanks for these guys, it is really, really helpful. have not had any [coll] patches to mess with and am happy with the responses that you all have given.
so im just going to have a look at these and see where it gets me

again, thanks.


Jul 20 2011 | 11:06 pm

Hi there!

have a try!

or download from the attachment!

Viewing 8 posts - 1 through 8 (of 8 total)

Forums > MaxMSP