Store and output data with pattr

This example shows how to store and output data using the pattr object. Whatever data is sent into a pattr object will be saved with the patch and will output on load unless the ‘thru’ attribute is disabled as shown in the lower portion of the example. The initial value of pattr can also be set using the ‘initial’ attribute.