Tanggal :September 27, 2020

pd10. Pack and Unpack objects in Pure Data

Spread the love

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.

Share

Leave a Reply

Your email address will not be published. Required fields are marked *