Preset, Pattrstorage and interpolation

bongo808's icon

Hi, I am using the preset object as a user interface for pattrstorage, I would like to use interpolation between presets. It is possible with pattrstorage to interpolate between presets but it doesn't seem possible to achive this when using preset object. Is there a solution, or another user interface object that would allow interpolation ?

mattyo's icon

Check out the 'nodes' object...

\M

Marc Assenmacher's icon

I just ran into the same problem. The "nodes" object does not seem helpful with this or did someone find a solution?

TFL's icon

Look at the "interpolating-preset" tab of the [nodes] objects helpfile.
It is quite straightforward as long as you uses contiguous preset slots, which is not always the case when using [presets], but you could still map each node to a custom preset slot.

Marc Assenmacher's icon

I see that the nodes object is amazing and it works well with pattrstorage, but it does not work with the preset object.

double_UG's icon

Store the values with preset and recall them with pattrstorage

Max Patch
Copy patch and select New From Clipboard in Max.

TFL's icon

What do you mean by "it does not work with the preset object"?
[preset] basically acts as a gui to store/recall presets to/from a pattrstorage. [nodes] is just another way of recalling presets from the same pattrstorage.
[preset] and [node] do not need to work with each other, they are just two different ways to interact with [pattrstorage].
The only overlaping issue I can see is if you want to dynamically and arbitrarily save presets on any slot with [preset], and set the [nodes] in a way that makes it to expose only available slots and interpolate between these slots. This would require some patching but this is definitely possible.

Marc Assenmacher's icon

I think both of you got the question wrong.

The question was, if it is possible to interpolate between two presets by selecting a preset over the preset object. That does not seem to be the case.

Of course it is a viable solution to traget the pattrstorage object with another UI element, but then you need two UI elements for different tasks

  • preset object > saving, recalling, managing

  • nodes or messages object > interpolated recalling


I managed myself around this now by getting rid of the preset object and building my own UI Element for pattrstorage that can do everything in one.

Thanks anyway for your effort. You gave me the right hints.

TFL's icon

I would be curious to see what you've come to, especially how do you manage interactions for interpolation between multiple presets with a preset object-like interface. Is it some kind of matrixctrl with @dialmode 2 ?

Marc Assenmacher's icon

What I came up with is a little bit more complex. ;)

The buttons are spaced out so much, because I will use this with a touchscreen.


Here is the code:

Preset Module.zip
application/zip 35.80 KB

Open the TI-Main.maxpat.

I hope all bpatchers load correctly and patchcords are not going to be deleted. I never exported something yet.