Wednesday, July 1, 2015

pd10. Pack and Unpack objects in Pure Data

Two or more numbers or symbols can be packed into a list using pack. A list has different values separated by space. Thus for example, it will say print: 1 5 on the terminal.


A list can be unpacked with the unpack object. There is a list of two numbers and a symbol on the right side. The outlets for the unpack, here, is two Numbers and a Symbol. The number of outlets depend on how many values are being unpacked.


The three messages are sent to the objects using a trigger bang bang bang.


No comments:

Post a Comment