Forums > Max For Live

patternSTORAGE whats the deal???

August 18, 2010 | 5:18 am

OK so I have made an M4L patch that I use to modulate and recall parameters parameters for samplers holding one shot drum hits. It’s kind of like my DrumRack helper.

I previously read some posts about patternStorage and pattr objects, and downloaded the current updates. BUT still after closing live and re-opening it, the saved presets are gone.

This would be a small example of the Preset/pattrStorage/pattr multi set up.

What am I doing wrong? Or is this just not possible right now?

{
"boxes" : [ {
"box" : {
"maxclass" : "live.dial",
"varname" : "live.dial",
"patching_rect" : [ 193.0, 401.0, 44.0, 47.0 ],
"parameter_enable" : 1,
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "float" ],
"id" : "obj-93",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_steps" : 0,
"parameter_exponent" : 1.0,
"parameter_unitstyle" : 0,
"parameter_mmax" : 127.0,
"parameter_mmin" : 0.0,
"parameter_type" : 0,
"parameter_initial_enable" : 0,
"parameter_shortname" : "live.dial",
"parameter_invisible" : 0,
"parameter_modmax" : 127.0,
"parameter_annotation_name" : "",
"parameter_longname" : "live.dial",
"parameter_modmin" : 0.0,
"parameter_linknames" : 0,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_order" : 0,
"parameter_units" : "",
"parameter_speedlim" : 0
}

}

}

}
, {
"box" : {
"maxclass" : "newobj",
"varname" : "multi",
"text" : "pattr multi",
"patching_rect" : [ 167.0, 371.0, 70.0, 18.0 ],
"numinlets" : 1,
"fontsize" : 10.0,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"id" : "obj-84",
"fontname" : "Arial Bold",
"restore" : [ 0.0 ],
"saved_object_attributes" : {
"parameter_enable" : 0
}

}

}
, {
"box" : {
"maxclass" : "live.text",
"varname" : "live.text[4]",
"patching_rect" : [ -6.170898, 62.879486, 40.0, 20.0 ],
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"parameter_enable" : 1,
"textcolor" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"text" : "SET",
"bordercolor" : [ 0.627451, 0.858824, 0.0, 1.0 ],
"numinlets" : 1,
"bgoncolor" : [ 1.0, 0.45098, 0.0, 1.0 ],
"focusbordercolor" : [ 0.627451, 0.858824, 0.0, 1.0 ],
"numoutlets" : 2,
"activebgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"activetextcolor" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"texton" : "SET",
"outlettype" : [ "", "" ],
"activebgoncolor" : [ 1.0, 0.45098, 0.0, 1.0 ],
"activetextoncolor" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"id" : "obj-71",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_steps" : 0,
"parameter_enum" : [ "val1", "val2" ],
"parameter_exponent" : 1.0,
"parameter_unitstyle" : 10,
"parameter_mmax" : 1.0,
"parameter_mmin" : 0.0,
"parameter_type" : 2,
"parameter_initial_enable" : 0,
"parameter_shortname" : "live.button",
"parameter_invisible" : 0,
"parameter_modmax" : 127.0,
"parameter_annotation_name" : "",
"parameter_longname" : "live.button[5]",
"parameter_modmin" : 0.0,
"parameter_linknames" : 0,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_order" : 0,
"parameter_units" : "",
"parameter_speedlim" : 0
}

}

}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0.",
"patching_rect" : [ 21.829102, 98.879456, 38.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-122",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "PRESET",
"frgb" : [ 1.0, 0.45098, 0.0, 1.0 ],
"patching_rect" : [ 41.0, 15.0, 103.0, 18.0 ],
"textcolor" : [ 1.0, 0.45098, 0.0, 1.0 ],
"numinlets" : 1,
"fontsize" : 10.0,
"numoutlets" : 0,
"id" : "obj-50",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "live.numbox",
"varname" : "live.numbox[14]",
"patching_rect" : [ 41.0, 34.0, 104.0, 49.0 ],
"parameter_enable" : 1,
"bordercolor" : [ 0.27451, 0.32549, 0.4, 0.0 ],
"numinlets" : 1,
"fontsize" : 40.0,
"numoutlets" : 2,
"activebgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"outlettype" : [ "", "float" ],
"id" : "obj-54",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_steps" : 0,
"parameter_exponent" : 1.0,
"parameter_unitstyle" : 0,
"parameter_mmax" : 127.0,
"parameter_mmin" : 0.0,
"parameter_type" : 0,
"parameter_initial_enable" : 0,
"parameter_shortname" : "live.numbox[12]",
"parameter_invisible" : 0,
"parameter_modmax" : 127.0,
"parameter_annotation_name" : "",
"parameter_longname" : "live.numbox[14]",
"parameter_modmin" : 0.0,
"parameter_linknames" : 0,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_order" : 0,
"parameter_units" : "",
"parameter_speedlim" : 0
}

}

}

}
, {
"box" : {
"maxclass" : "message",
"text" : "3",
"patching_rect" : [ 269.0, 40.0, 34.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-6",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "2",
"patching_rect" : [ 232.0, 40.0, 34.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-5",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "1",
"patching_rect" : [ 196.0, 40.0, 34.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-4",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "storage window",
"patching_rect" : [ 176.0, 16.0, 87.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-3",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "newobj",
"varname" : "DRUMS",
"text" : "pattrstorage DRUMS",
"patching_rect" : [ 176.329102, 63.079468, 176.0, 18.0 ],
"numinlets" : 1,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-20",
"fontname" : "Arial Bold",
"autorestore" : "DRUMS.json",
"saved_object_attributes" : {
"parameter_enable" : 0,
"paraminitmode" : 0,
"storage_rect" : [ 200, 200, 800, 500 ],
"client_rect" : [ 100, 100, 500, 600 ]
}

}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "pgmin",
"patching_rect" : [ -42.170898, 132.879486, 43.0, 18.0 ],
"numinlets" : 1,
"fontsize" : 10.0,
"numoutlets" : 2,
"outlettype" : [ "int", "int" ],
"id" : "obj-19",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend clear",
"patching_rect" : [ 203.829102, 101.879486, 77.0, 18.0 ],
"numinlets" : 1,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-15",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "live.text",
"varname" : "live.text[2]",
"patching_rect" : [ 165.829102, 123.879486, 40.0, 20.0 ],
"mode" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"parameter_enable" : 1,
"textcolor" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"text" : "D",
"bordercolor" : [ 0.627451, 0.858824, 0.0, 1.0 ],
"numinlets" : 1,
"bgoncolor" : [ 1.0, 0.45098, 0.0, 1.0 ],
"focusbordercolor" : [ 0.627451, 0.858824, 0.0, 1.0 ],
"numoutlets" : 2,
"activebgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"activetextcolor" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"outlettype" : [ "", "" ],
"activebgoncolor" : [ 1.0, 0.45098, 0.0, 1.0 ],
"activetextoncolor" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"id" : "obj-14",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_steps" : 0,
"parameter_enum" : [ "val1", "val2" ],
"parameter_exponent" : 1.0,
"parameter_unitstyle" : 10,
"parameter_mmax" : 1.0,
"parameter_mmin" : 0.0,
"parameter_type" : 2,
"parameter_initial_enable" : 0,
"parameter_shortname" : "live.button",
"parameter_invisible" : 0,
"parameter_modmax" : 127.0,
"parameter_annotation_name" : "",
"parameter_longname" : "live.button[2]",
"parameter_modmin" : 0.0,
"parameter_linknames" : 0,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_order" : 0,
"parameter_units" : "",
"parameter_speedlim" : 0
}

}

}

}
, {
"box" : {
"maxclass" : "message",
"text" : "clear 0.",
"patching_rect" : [ 165.829102, 146.879456, 57.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-2",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "live.text",
"varname" : "live.text[1]",
"patching_rect" : [ 82.829102, 96.879486, 40.0, 20.0 ],
"mode" : 0,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"parameter_enable" : 1,
"textcolor" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"text" : "S",
"bordercolor" : [ 0.627451, 0.858824, 0.0, 1.0 ],
"numinlets" : 1,
"bgoncolor" : [ 1.0, 0.45098, 0.0, 1.0 ],
"focusbordercolor" : [ 0.627451, 0.858824, 0.0, 1.0 ],
"numoutlets" : 2,
"activebgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"activetextcolor" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"outlettype" : [ "", "" ],
"activebgoncolor" : [ 1.0, 0.45098, 0.0, 1.0 ],
"activetextoncolor" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"id" : "obj-41",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_steps" : 0,
"parameter_enum" : [ "val1", "val2" ],
"parameter_exponent" : 1.0,
"parameter_unitstyle" : 10,
"parameter_mmax" : 1.0,
"parameter_mmin" : 0.0,
"parameter_type" : 2,
"parameter_initial_enable" : 0,
"parameter_shortname" : "live.button",
"parameter_invisible" : 0,
"parameter_modmax" : 127.0,
"parameter_annotation_name" : "",
"parameter_longname" : "live.button[1]",
"parameter_modmin" : 0.0,
"parameter_linknames" : 0,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_order" : 0,
"parameter_units" : "",
"parameter_speedlim" : 0
}

}

}

}
, {
"box" : {
"maxclass" : "message",
"text" : "125",
"patching_rect" : [ 66.829102, 336.879456, 27.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-38",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "store 0.",
"patching_rect" : [ 82.829102, 120.879486, 60.0, 16.0 ],
"numinlets" : 2,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-33",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend store",
"patching_rect" : [ 123.829102, 100.879486, 76.0, 18.0 ],
"numinlets" : 1,
"fontsize" : 10.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"id" : "obj-32",
"fontname" : "Arial Bold"
}

}
, {
"box" : {
"maxclass" : "preset",
"patching_rect" : [ -0.170898, 173.879456, 244.0, 158.0 ],
"stored2" : [ 0.737255, 1.0, 0.0, 1.0 ],
"presentation" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"circlecolor" : [ 0.858824, 0.858824, 0.858824, 1.0 ],
"active2" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"spacing" : 2,
"bordercolor" : [ 0.858824, 0.858824, 0.858824, 1.0 ],
"numinlets" : 1,
"bubblesize" : 15,
"stored1" : [ 0.737255, 1.0, 0.0, 1.0 ],
"clicked2" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"numoutlets" : 4,
"active1" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"presentation_rect" : [ 7.400002, 6.365895, 244.795624, 159.0 ],
"outlettype" : [ "preset", "int", "preset", "int" ],
"emptycolor" : [ 0.827451, 0.827451, 0.827451, 1.0 ],
"clicked1" : [ 0.360784, 0.360784, 0.360784, 1.0 ],
"id" : "obj-23",
"pattrstorage" : "DRUMS"
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-84", 1 ],
"destination" : [ "obj-93", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-20", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-4", 0 ],
"destination" : [ "obj-20", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-5", 0 ],
"destination" : [ "obj-20", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-6", 0 ],
"destination" : [ "obj-20", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-54", 0 ],
"destination" : [ "obj-15", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-54", 0 ],
"destination" : [ "obj-32", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-122", 0 ],
"destination" : [ "obj-23", 0 ],
"hidden" : 0,
"midpoints" : [ 31.329102, 154.0, 9.329102, 154.0 ]
}

}
, {
"patchline" : {
"source" : [ "obj-54", 0 ],
"destination" : [ "obj-122", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-33", 0 ],
"destination" : [ "obj-23", 0 ],
"hidden" : 0,
"midpoints" : [ 92.329102, 168.879471, 9.329102, 168.879471 ]
}

}
, {
"patchline" : {
"source" : [ "obj-19", 0 ],
"destination" : [ "obj-23", 0 ],
"hidden" : 0,
"midpoints" : [ -32.670898, 154.879486, 9.329102, 154.879486 ]
}

}
, {
"patchline" : {
"source" : [ "obj-14", 0 ],
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-2", 0 ],
"destination" : [ "obj-23", 0 ],
"hidden" : 0,
"midpoints" : [ 175.329102, 168.879486, 9.329102, 168.879486 ]
}

}
, {
"patchline" : {
"source" : [ "obj-32", 0 ],
"destination" : [ "obj-33", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-23", 1 ],
"destination" : [ "obj-38", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-41", 0 ],
"destination" : [ "obj-33", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-15", 0 ],
"destination" : [ "obj-2", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-71", 0 ],
"destination" : [ "obj-122", 0 ],
"hidden" : 0,
"midpoints" : [ 3.329102, 92.879471, 31.329102, 92.879471 ]
}

}
]
}


Viewing 1 post (of 1 total)