Forums > MaxMSP

What does Pack do?

Jul 27 2011 | 4:11 am

I’m on tutorial 2, and I’m a little lost.

What exactly does pack do? I see: pack 0 100. Is this like a timer increments/decrements the value in a slope over the duration of 100 milliseconds?

I’m a little confused on the documentation at this stage in my learning.


Jul 27 2011 | 4:41 am

One of the basic data types in Max is a list, Pack (as well as several other objects) combine individual things into a list.

Jul 27 2011 | 9:22 am

Is a list similar to an array/multi dimensional array in C type programming languages? I’m very familiar with C and Objective-C. I’m guessing list is just a data type.

I think it’s best I learn Max before MSP.

Jul 27 2011 | 9:30 am

not that much, arrays are accessible via index by nature while you have to use [zl] methods for treating a list like an array (e.g. via [zl lookup]). a list simply is a list.

for short lists with up to 9 elements you can access it array-like with a message, where $1, $2,…,$9 request the values.

the [coll] object are like 3-dimensional (slot, index, value) arrays for most kind of values.

[table] is like an array but only for integers.

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

Forums > MaxMSP