Forums > MaxMSP

Problem – Saving [coll] data for [line~]…

October 11, 2011 | 11:00 pm

Hey folks,

I would like to make a liste containing different ramps for [line~] to read, eg.:

0, 0.5 2000 0 1000
0.5, 0 600
etc.

But, when I try making a coll .txt list, like…:

1, 0, 0.5 2000 0 1000;
2, 0.5, 0 600;
etc.

… it doesn’t recognize the first numbers, due to the commas, and it either saves a portion of the list, but without the 1, 2, 3s or just nothing.

Is there anyway to store ramp info for [line~] with [coll]?

Thanks,
Yiannis


October 11, 2011 | 11:37 pm

You have to group all the numbers in to one list for the [coll] object and slice them up again at the other side using some of the [zl] modes, something like this for example:

– Pasted Max Patch, click to expand. –

October 12, 2011 | 12:01 am

Thanks, Luke, I fixed it with [sprintf] instead, just added a comma in the command, thank you!


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