Forums > MaxMSP

set coll name?

Nov 22 2010 | 2:45 am

I know I can refer an unnamed coll to a named coll. But is there a way to actually "name" a coll dynamically (something like "set myNewName")?

My situation is this: I have an abstraction that collects a bunch of data into a coll. I then want to display it with jit.cellblock. No problem (refer again). I want to be able to have several instances of those abstractions running at any given time and therefor would need different coll names in each.
I know that I could do [coll #0_reference 1], but then I need to store and send out the unique name each time. I would much rather use patcherargs to let the user choose the coll name.

Hope I am making sense here… any suggestions?

Nov 23 2010 | 12:46 am


I came up with a potential solution using js. I am very new to js, so it may not be the best way to do it, but it seems to work.

Hopefully it helps,

Nov 23 2010 | 2:15 am

Sorry, did you mean that you wanted to have data remain in the coll when being renamed? If so, then my solution is not much of a solution…

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

Forums > MaxMSP