O'Reilly logo

Multimedia Programming Using Max/MSP and TouchDesigner by Patrik Lechner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Collections of data

Now, let's find out how our initial two patchcords (pitch and velocity) in the MIDI part of our synth became one. Of course, they were packed into a list by an object that's conveniently called [pack]. Lists are great. However, there are not only lists that consist of two integers; for example, there is the [coll] object that manages larger amounts of data, but also dictionaries in Max 6. Look at the list_examples.maxpat patchers, which are also depicted in the following screenshot, to get into lists a bit, and datatypes.maxpat (which is not depicted here) to get a feeling of datatypes and the conversion between them:

Collections of data

We will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required