Forums > Max For Live

live.step and pattr: what does the long list mean?

March 9, 2012 | 4:21 pm

I’ve managed to decode most of the meaning of the list that is stored in pattr when you bind a pattr object to live.step. I’d like to know the last pieces.
For example, if I setup live.step with 1 sequence and 16 steps, I’ll have list like this in pattrstorage:

1 16 1 1 12 0 16 55. 80. 0 0 60 0 4 100 127 61 0 4 100 127 62 0 4 100 127 63 0 4 100 127 64 0 4 100 127 65 0 4 100 127 66 0 4 100 127 67 0 4 100 127 68 0 4 100 127 69 0 4 100 127 70 0 4 100 127 71 0 4 100 127 72 0 4 100 127 73 0 4 100 127 74 0 4 100 127 75 0 4 100 127 48

Here’s what I have decoded so far:

  < ?unknown>  < ?unknown>      
     and so on through all 16 steps.
< ?unknown>

where the duration value is 0-7, representing 0, 128n, 64n,…,2n
However, I’d like to know what the < ?unknown> elements are. That very last one in the list is particularly confusing!
Peter


March 9, 2012 | 7:08 pm

Hi Peter,

I believe the first < ?unknown> is a version number, to allow for backwards compatibility (when the object was updated at one point).

The second element is the ‘interval’ which is converted to an integer for pattr storage.

Honestly not sure about the last one! I don’t see that value here.

-Ben


March 9, 2012 | 8:54 pm

Thanks!
I saw reference to "interval" in the docs, but I’m not sure what it does. It sounds interesting, tho :)
That last int I get in my patch is a bit mysterious. It doesn’t happen if I just use the help file, bind a pattr to the live.step, and look at what is stored in pattrstorage.
P


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