Forums > MaxMSP

adding quotes to large lists

April 4, 2014 | 2:53 pm

I am trying to send a long list of numbers through OSC and "tosymbol" only accepts 256 chars at the timje. Is there a way to add quotes to large lists?


April 5, 2014 | 3:44 am

I think the limit of a symbol is 2048 characters… but that includes spaces. You can use tosymbol to convert a list of 1024 1′s and 0′s into one symbol. Or convert an integer sequence of 1 to 539 into a single symbol. So in terms of a limit, it depends on the size of the elements being concatenated, not the number of elements in the list.

With that in mind, you can use tosymbol to handle the conversion. Also, if you are using any zl objects to process the lists, remember to use the attribute @zlmaxsize to increase the list length limit beyond 256.

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