This patch demonstrates the use of pattr objects to store several attributes of a note-generating algorithm, and pattrstorage to store and recall preset values for all of those pattrs. In order to use the presets already designed for this patch, you will first need to download the file called notestreams.json and place it somewhere in the Max file search path.
This example shows how you can ignore certain preset parameters in pattrstorage. The active message followed by the parameter name and a 0, allows you to deactivate that parameter and, consequently, all the preset interpolation associated with it. In this example, whenever you select particular preset 2, it deactivates the parameter, and then reactivates it for other presets.
This example shows different ways to interpolate between values, for the purpose of automating volume control.