newbie in pattr : preset object <-> pattr ?
I’m interested by the interpolation fonction of pattr, but just discovering the pattr tutorial, i’m wondering about relationship with a preset object. i really like the preset object user interface, and don’t want to skip it.
I first thought that, knowing that they have nearly the same fonction, pattr and preset object were going to be in conflict if put in the same patcher, but in fact, like stefan showed me with the example below, there are not, and i just took time to find this little preset-object atribute named "pattrstorage" from where the clue window then explain how to use the preset-object "as a user interface for pattrstorage"….. !
This is an important question :
I have an old patcher full of multisliders and that is using a big preset object already full of multisliders datas. (a bit like this one, but heavier: http://www.synthesisters.com/hypermail/max-msp/Aug05/29384.html )
Can i "bright" the pattr stuff from the little patch bellow, into my old patcher with preset-object, in order to, then, interpolate between the already existing presets ?? how ?
(If i complete the "pattrstorage" preset-object atribute, the preset-object loses all its datas which i need !! )
(and yes i know i have to put [autopattr @autoname 1].)
----------begin_max5_patcher---------- 1068.3oc6Xs0iiZCE94jeEQ7LE4aXfpceo+HZUUU0Ht3MCsI1QfYlY6p8+d8 ELXHjYBQIOrRajBw4vI9b46b9NN7ssaBJDuwZC18q69qca17ssa1XDoEro+6 aBNl+V4g7ViZAGYss46YAg16IYuIMxKOTy3xWq4UhWc27KBtjmejYT32YMU4 7b283cGq4GXRyth5EdJWV9bMe+SMrRo0qHvrHP3NDIV+QJReElFA182dFos9 +LFABU2dX+EcRmAf8Rshje8Dyt6AAC6SckwMEE+yuDGnE88sa0WBuxDCm8p5 25BuWxaFh7tL.E.fYn3yxZ4cRgJnkMqNkAubJCCRMorTfIYALef.qMmQtXNK z68R4OryiaXsRQCqOq0m1TgeAztUCdjVFxJC5KCetdh86OvfmqqQN5B5iGz2 H1.s2O.94th7yfVCrpCeU2xNeMtGPrqqnGhgzaChWWaAx4ks4uvpdRIR4OOo Cy5hNokFwGl6CdO2FALtotQVeIF3ATVBDOkg.a0qQuvcTsx2N5YqCVB8bUHq sKiRL4djgRxROouNj4txTcMWtLIDI3ADln0SlPergI9VBySJlElzEKmZDRg1 VCAq89O8a+oSE1wSxuVJNHZ5YHhRRIXHITuhlRQI9qfdwmptr7eYUNFGc7Ch hUz4TndEXp1E6mXjTp5kYqWZE0OIdNZjWJqegckFdIRBDzC5fvX63.zkXIPQ IwjD.0EJcEEGXi2007qYzcoCPDJEgiwZGBihIYlrHHKEPl5dKOZoO2htxbqn oh0LI+hG.wyW4+SaOkWpRN5elK7JqaJOvlhVFyifwzrdyChHIj3gwLmWV6JD sE3gyEL7CsX4UFn5YHdNVu5fEzzuQB3p0Ol2rulquQ5DLCsRLyeB13btagTR EOpIDRAeQhoB7kajUUyJTewQm+gBPqTua2g8G9J3VFfw8TAHbYtrVv8ZNnzz HHNCfUfNJKIhPAY.UWIAaX3xhvYTRJwG4O0IOJpLFG3avWlUTlASnDSC94qt HWArGZGuLnmynvYFUvmXV3Pg63pzdjdpYm4wuioW6vvD5XhzL2PecQ1FDc3L I195YQCIVUQFtvh4MJSQaavMautV.oQzwqXlVpjKbhI7k4htJOV4e2lus3.0 9CgOgoYF4w0aA+CvmMsiZc0YO.FBzswPvJLDDKPO7o0POnJhIowojejYGR0y wLSPTSGwI9qd3jC8GgLYLM99bCX78ja3S+ja3dxMPnuC2vGUk8.nFf2apgOu BpAXVbTLDjjf+g9jCi+UHr9UnmrGM4flbcHal3kM+.Jh65wG97OoHtqTDIu2 wG9nhsGvS8.FbCUkOxm5ALy++QYzH3PMe9ih23YZ4Si8VQWSoyD1GXc33y7L nh0Jq4FZKOcPSz445pJF2mP5Xc0Igxe6cgI3f5Kee6+SIqNHb -----------end_max5_patcher-----------
> Can i "bright" the pattr stuff from the little patch bellow, into my old patcher with preset-object, in order to, then, interpolate between the already existing presets ?? how ?
> (If i complete the "pattrstorage" preset-object atribute, the preset-object loses all its datas which i need !! )
> (and yes i know i have to put [autopattr @autoname 1].)
Unfortunately you can’t just refer the existing preset object to a
pattrstorage, it would erase all presets.
I’do it that way:
create a new preset object, bind it to your pattrstorage, place an
autopattr into the same patch then either name all UI objects, or just
connect them to the autopattr. Then recall each old preset, and save it
into the new pattrstorage. The last step could be automated with some
patching. (Only worth if you have a lot of presets to transfer…)
If all went well, delete the old preset object, and save your xml…
Forums > MaxMSP