How do I make an assignable live.dial show the -units- used by chosen parameter?
Live 8.3.4 and Max for Live 5.1.9
Hi all.
In this simple example, there is a live.dial with the standard "Track/Device/Parameter chooser" to assign the dial to a parameter. Please show me how I can have the dial display the units used by the assigned parameter, instead of just 0-127. For example, if I assign the dial to control a track's pan, the dial should show 50L-0-50R, not 0-127. I have been trying for a while, but no luck. Any help is appreciated.
thx,
miguel3d
----------begin_max5_patcher----------
{
"boxes" : [ {
"box" : {
"maxclass" : "message",
"text" : "set value $1",
"id" : "obj-78",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 107.0, 448.0, 67.0, 16.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "change",
"id" : "obj-77",
"outlettype" : [ "", "int", "int" ],
"fontsize" : 10.0,
"patching_rect" : [ 106.0, 392.0, 46.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 3
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "scale 0. 127. 0. 127.",
"id" : "obj-80",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 106.0, 412.0, 102.0, 18.0 ],
"numinlets" : 6,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "route min max",
"id" : "obj-81",
"outlettype" : [ "", "", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 156.0, 382.0, 79.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 3
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "get min, get max",
"linecount" : 2,
"id" : "obj-82",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 156.0, 322.0, 57.0, 27.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "t b b l",
"id" : "obj-83",
"outlettype" : [ "bang", "bang", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 156.0, 292.0, 46.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 3
}
}
, {
"box" : {
"maxclass" : "live.dial",
"varname" : "live.dial[4]",
"id" : "obj-84",
"outlettype" : [ "", "float" ],
"textcolor" : [ 0.145098, 0.14902, 1.0, 1.0 ],
"presentation_rect" : [ 113.0, 71.0, 52.0, 26.0 ],
"fontsize" : 14.0,
"patching_rect" : [ 100.0, 250.0, 52.0, 26.0 ],
"presentation" : 1,
"parameter_enable" : 1,
"showname" : 0,
"numinlets" : 1,
"appearance" : 1,
"numoutlets" : 2,
"saved_attribute_attributes" : {
"valueof" : {
"parameter_type" : 0,
"parameter_initial_enable" : 0,
"parameter_shortname" : "live.dial",
"parameter_modmax" : 127.0,
"parameter_longname" : "live.dial[4]",
"parameter_modmin" : 0.0,
"parameter_linknames" : 0,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_units" : "",
"parameter_order" : 0,
"parameter_defer" : 0,
"parameter_speedlim" : 1.0,
"parameter_steps" : 0,
"parameter_invisible" : 0,
"parameter_exponent" : 1.0,
"parameter_annotation_name" : "",
"parameter_unitstyle" : 0,
"parameter_mmax" : 127.0,
"parameter_mmin" : 0.0,
"parameter_initial" : [ 0.0 ]
}
}
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "live.object",
"id" : "obj-85",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 156.0, 362.0, 59.0, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1,
"saved_object_attributes" : {
"_persistence" : 0
}
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Get types (display)",
"linecount" : 2,
"id" : "obj-104",
"fontsize" : 10.0,
"patching_rect" : [ 602.0, 108.0, 56.0, 29.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "universal",
"id" : "obj-105",
"fontsize" : 10.0,
"patching_rect" : [ 546.0, 116.0, 54.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "js gettype",
"id" : "obj-106",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 546.0, 92.0, 57.0, 16.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Store ID",
"id" : "obj-107",
"fontsize" : 10.0,
"patching_rect" : [ 554.0, 36.0, 47.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "patcher StoreID",
"id" : "obj-108",
"outlettype" : [ "bang", "bang" ],
"fontsize" : 10.0,
"patching_rect" : [ 474.0, 60.0, 91.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 2,
"color" : [ 0.239216, 0.643137, 0.709804, 1.0 ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 5,
"minor" : 1,
"revision" : 9
}
,
"rect" : [ 25.0, 69.0, 366.0, 237.0 ],
"bglocked" : 0,
"defrect" : [ 25.0, 69.0, 366.0, 237.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 10.0,
"default_fontface" : 0,
"default_fontname" : "Arial Bold",
"gridonopen" : 0,
"gridsize" : [ 8.0, 8.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "Get types",
"id" : "obj-4",
"fontsize" : 10.0,
"patching_rect" : [ 96.0, 184.0, 54.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "outlet",
"id" : "obj-1",
"patching_rect" : [ 112.0, 160.0, 18.0, 18.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Restore ID",
"id" : "obj-3",
"fontsize" : 10.0,
"patching_rect" : [ 16.0, 184.0, 61.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Store ID",
"id" : "obj-2",
"fontsize" : 10.0,
"patching_rect" : [ 160.0, 64.0, 49.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "gate",
"id" : "obj-28",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 80.0, 96.0, 74.5, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "t 1 b b",
"id" : "obj-27",
"outlettype" : [ "int", "bang", "bang" ],
"fontsize" : 10.0,
"patching_rect" : [ 80.0, 40.0, 51.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 3
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "live.thisdevice",
"id" : "obj-26",
"outlettype" : [ "bang", "int", "int" ],
"fontsize" : 10.0,
"patching_rect" : [ 80.0, 16.0, 79.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 3
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "< The blue live.object object has its \"Use Persistent Mapping\" attribute enabled, which means that it will retain the ID of the parameter which is selected when you save the Live set.",
"linecount" : 6,
"id" : "obj-45",
"fontsize" : 10.0,
"patching_rect" : [ 160.0, 120.0, 165.0, 75.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "< Bang when the device is loaded",
"linecount" : 2,
"id" : "obj-81",
"fontsize" : 10.0,
"patching_rect" : [ 160.0, 16.0, 88.0, 29.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "< Store ID (but not when restoring)",
"id" : "obj-82",
"fontsize" : 10.0,
"patching_rect" : [ 160.0, 96.0, 163.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "getid",
"id" : "obj-91",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 40.0, 96.0, 34.0, 16.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "live.object",
"id" : "obj-93",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 40.0, 120.0, 59.0, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1,
"color" : [ 0.239216, 0.643137, 0.709804, 1.0 ],
"saved_object_attributes" : {
"_persistence" : 1
}
}
}
, {
"box" : {
"maxclass" : "inlet",
"id" : "obj-18",
"outlettype" : [ "" ],
"patching_rect" : [ 136.0, 64.0, 18.0, 18.0 ],
"numinlets" : 0,
"numoutlets" : 1,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"id" : "obj-34",
"patching_rect" : [ 40.0, 160.0, 18.0, 18.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"comment" : ""
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-27", 2 ],
"destination" : [ "obj-34", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-93", 0 ],
"destination" : [ "obj-34", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-18", 0 ],
"destination" : [ "obj-28", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-28", 0 ],
"destination" : [ "obj-93", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-91", 0 ],
"destination" : [ "obj-93", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-26", 0 ],
"destination" : [ "obj-27", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 1 ],
"destination" : [ "obj-91", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 0 ],
"destination" : [ "obj-28", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 2 ],
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
,
"saved_object_attributes" : {
"fontface" : 0,
"default_fontface" : 0,
"fontsize" : 10.0,
"globalpatchername" : "",
"default_fontname" : "Arial Bold",
"default_fontsize" : 10.0,
"fontname" : "Arial Bold"
}
}
}
, {
"box" : {
"maxclass" : "live.text",
"annotation" : "If the \"Once\" option is set to on, the Map function will be auto-disabled as soon as a parameter is selected to avoid unwanted further selections.",
"varname" : "MapOnce",
"prototypename" : "onoff",
"id" : "obj-109",
"outlettype" : [ "", "" ],
"presentation_rect" : [ 69.0, 133.0, 40.0, 15.0 ],
"automation" : "off",
"automationon" : "on",
"patching_rect" : [ 442.0, 12.0, 40.0, 16.0 ],
"presentation" : 1,
"parameter_enable" : 1,
"text" : "Once",
"numinlets" : 1,
"numoutlets" : 2,
"texton" : "Once",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_type" : 2,
"parameter_initial_enable" : 1,
"parameter_shortname" : "MapOnce",
"parameter_modmax" : 127.0,
"parameter_longname" : "MapOnce",
"parameter_modmin" : 0.0,
"parameter_linknames" : 1,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_units" : "",
"parameter_order" : 0,
"parameter_defer" : 0,
"parameter_speedlim" : 0.0,
"parameter_steps" : 0,
"parameter_invisible" : 1,
"parameter_enum" : [ "off", "on" ],
"parameter_exponent" : 1.0,
"parameter_annotation_name" : "",
"parameter_unitstyle" : 10,
"parameter_mmax" : 1.0,
"parameter_mmin" : 0.0,
"parameter_initial" : [ 1 ]
}
}
}
}
, {
"box" : {
"maxclass" : "live.text",
"annotation" : "When Map is turned on, the next Live parameter clicked on will be selected as a target and the menus wil be modified accordingly. ",
"varname" : "Map",
"prototypename" : "onoff",
"id" : "obj-111",
"outlettype" : [ "", "" ],
"presentation_rect" : [ 20.0, 133.0, 40.0, 15.0 ],
"automation" : "off",
"activebgoncolor" : [ 1.0, 0.603922, 0.0, 1.0 ],
"automationon" : "on",
"patching_rect" : [ 386.0, 12.0, 40.0, 16.0 ],
"presentation" : 1,
"parameter_enable" : 1,
"text" : "Map",
"numinlets" : 1,
"numoutlets" : 2,
"texton" : "Map",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_type" : 2,
"parameter_initial_enable" : 0,
"parameter_shortname" : "Map",
"parameter_modmax" : 127.0,
"parameter_longname" : "Map",
"parameter_modmin" : 0.0,
"parameter_linknames" : 1,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_units" : "",
"parameter_order" : 0,
"parameter_defer" : 0,
"parameter_speedlim" : 0.0,
"parameter_steps" : 0,
"parameter_invisible" : 2,
"parameter_enum" : [ "off", "on" ],
"parameter_exponent" : 1.0,
"parameter_annotation_name" : "",
"parameter_unitstyle" : 10,
"parameter_mmax" : 1.0,
"parameter_mmin" : 0.0,
"parameter_initial" : [ 0.0 ]
}
}
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "patcher Map",
"id" : "obj-112",
"outlettype" : [ "", "int" ],
"fontsize" : 10.0,
"patching_rect" : [ 386.0, 36.0, 75.0, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 2,
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 5,
"minor" : 1,
"revision" : 9
}
,
"rect" : [ 25.0, 69.0, 387.0, 386.0 ],
"bglocked" : 0,
"defrect" : [ 25.0, 69.0, 387.0, 386.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 10.0,
"default_fontface" : 0,
"default_fontname" : "Arial Bold",
"gridonopen" : 0,
"gridsize" : [ 8.0, 8.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "When Map is turned on, the next Live parameter clicked on will be selected as a target and the menus wil be modified accordingly. If the \"Once\" option is set to on, the Map function will be auto-disabled as soon as a parameter is selected to avoid unwanted further selections.",
"linecount" : 8,
"id" : "obj-25",
"fontsize" : 10.0,
"patching_rect" : [ 176.0, 104.0, 188.0, 98.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "outlet",
"prototypename" : "M4L.Arial10",
"id" : "obj-4",
"patching_rect" : [ 96.0, 312.0, 18.0, 18.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Set ID",
"id" : "obj-5",
"fontsize" : 10.0,
"patching_rect" : [ 88.0, 336.0, 39.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "deferlow",
"id" : "obj-2",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 48.0, 192.0, 52.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "substitute 0",
"id" : "obj-3",
"outlettype" : [ "", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 48.0, 215.0, 67.0, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "t 0",
"id" : "obj-58",
"outlettype" : [ "int" ],
"fontsize" : 10.0,
"patching_rect" : [ 144.0, 280.0, 22.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "outlet",
"prototypename" : "M4L.Arial10",
"id" : "obj-56",
"patching_rect" : [ 144.0, 312.0, 18.0, 18.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Map",
"id" : "obj-57",
"fontsize" : 10.0,
"patching_rect" : [ 136.0, 336.0, 38.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "toggle",
"id" : "obj-53",
"outlettype" : [ "int" ],
"patching_rect" : [ 144.0, 64.0, 18.0, 18.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Auto-off",
"id" : "obj-54",
"fontsize" : 10.0,
"patching_rect" : [ 128.0, 8.0, 49.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "inlet",
"prototypename" : "M4L.Arial10",
"id" : "obj-55",
"outlettype" : [ "" ],
"patching_rect" : [ 144.0, 32.0, 18.0, 18.0 ],
"numinlets" : 0,
"numoutlets" : 1,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "gate",
"id" : "obj-50",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 144.0, 256.0, 32.5, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 1 0",
"id" : "obj-38",
"outlettype" : [ "bang", "bang", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 32.0, 88.0, 67.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 3
}
}
, {
"box" : {
"maxclass" : "toggle",
"id" : "obj-34",
"outlettype" : [ "int" ],
"patching_rect" : [ 32.0, 64.0, 18.0, 18.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Map",
"id" : "obj-32",
"fontsize" : 10.0,
"patching_rect" : [ 24.0, 8.0, 38.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "inlet",
"prototypename" : "M4L.Arial10",
"id" : "obj-27",
"outlettype" : [ "" ],
"patching_rect" : [ 32.0, 32.0, 18.0, 18.0 ],
"numinlets" : 0,
"numoutlets" : 1,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "path",
"id" : "obj-21",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 56.0, 112.0, 32.5, 16.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "live.path",
"id" : "obj-14",
"outlettype" : [ "", "", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 32.0, 167.0, 51.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 3,
"color" : [ 0.984314, 0.819608, 0.05098, 1.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "path live_set view selected_parameter",
"linecount" : 2,
"id" : "obj-17",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 32.0, 136.0, 104.0, 27.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-3", 1 ],
"destination" : [ "obj-4", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-2", 0 ],
"destination" : [ "obj-3", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-14", 1 ],
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-3", 1 ],
"destination" : [ "obj-50", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-58", 0 ],
"destination" : [ "obj-56", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-50", 0 ],
"destination" : [ "obj-58", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-53", 0 ],
"destination" : [ "obj-50", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-55", 0 ],
"destination" : [ "obj-53", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-27", 0 ],
"destination" : [ "obj-34", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-17", 0 ],
"destination" : [ "obj-14", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-38", 0 ],
"destination" : [ "obj-17", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-38", 1 ],
"destination" : [ "obj-21", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-21", 0 ],
"destination" : [ "obj-14", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-34", 0 ],
"destination" : [ "obj-38", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
,
"saved_object_attributes" : {
"fontface" : 0,
"default_fontface" : 0,
"fontsize" : 10.0,
"globalpatchername" : "",
"default_fontname" : "Arial Bold",
"default_fontsize" : 10.0,
"fontname" : "Arial Bold"
}
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Menu sync",
"id" : "obj-115",
"fontsize" : 10.0,
"patching_rect" : [ 482.0, 257.0, 59.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Menu sync",
"id" : "obj-116",
"fontsize" : 10.0,
"patching_rect" : [ 434.0, 161.0, 59.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend id",
"id" : "obj-117",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 474.0, 340.0, 62.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "< Arg. = type",
"id" : "obj-118",
"fontsize" : 10.0,
"patching_rect" : [ 546.0, 196.0, 67.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Type",
"id" : "obj-120",
"fontsize" : 10.0,
"patching_rect" : [ 444.0, 123.0, 32.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Refresh list",
"id" : "obj-122",
"fontsize" : 10.0,
"patching_rect" : [ 314.0, 48.0, 61.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend iterate",
"linecount" : 2,
"id" : "obj-127",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 426.0, 244.0, 51.0, 29.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend iterate",
"linecount" : 2,
"id" : "obj-128",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 378.0, 148.0, 51.0, 29.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "panel",
"annotation" : "Select an item.",
"id" : "obj-129",
"presentation_rect" : [ 20.0, 110.0, 89.0, 17.0 ],
"grad2" : [ 0.415686, 0.454902, 0.52549, 1.0 ],
"bgcolor" : [ 0.094118, 0.113725, 0.137255, 0.0 ],
"patching_rect" : [ 426.0, 316.0, 80.0, 17.0 ],
"border" : 1,
"presentation" : 1,
"numinlets" : 1,
"rounded" : 0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "panel",
"annotation" : "Select an item.",
"id" : "obj-130",
"presentation_rect" : [ 20.0, 78.0, 89.0, 17.0 ],
"grad2" : [ 0.415686, 0.454902, 0.52549, 1.0 ],
"bgcolor" : [ 0.094118, 0.113725, 0.137255, 0.0 ],
"patching_rect" : [ 378.0, 220.0, 80.0, 17.0 ],
"border" : 1,
"presentation" : 1,
"numinlets" : 1,
"rounded" : 0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "umenu",
"annotation" : "When no item has been selected, the menu font is italic. When an item is selected, the menu displays in non-italics. Clicking the buttons clears the menus, sets the font to italic, and deselects any previously selected mapping. ",
"varname" : "ParamChooser",
"id" : "obj-131",
"outlettype" : [ "int", "", "" ],
"textcolor" : [ 0.42, 0.45, 0.53, 1.0 ],
"presentation_rect" : [ 20.0, 110.0, 89.0, 18.0 ],
"fontface" : 2,
"fontsize" : 10.0,
"patching_rect" : [ 426.0, 316.0, 80.0, 18.0 ],
"framecolor" : [ 0.572549, 0.615686, 0.658824, 0.0 ],
"presentation" : 1,
"numinlets" : 1,
"items" : "",
"togcolor" : [ 0.568627, 0.619608, 0.662745, 1.0 ],
"rounded" : 0,
"fontname" : "Arial Bold",
"numoutlets" : 3,
"types" : [ ],
"arrowcolor" : [ 0.494118, 0.556863, 0.607843, 1.0 ],
"textcolor2" : [ 0.094118, 0.113725, 0.137255, 1.0 ]
}
}
, {
"box" : {
"maxclass" : "umenu",
"annotation" : "When no item has been selected, the menu font is italic. When an item is selected, the menu displays in non-italics. Clicking the buttons clears the menus, sets the font to italic, and deselects any previously selected mapping. ",
"varname" : "DeviceChooser",
"id" : "obj-132",
"outlettype" : [ "int", "", "" ],
"textcolor" : [ 0.42, 0.45, 0.53, 1.0 ],
"presentation_rect" : [ 20.0, 78.0, 89.0, 18.0 ],
"fontface" : 2,
"fontsize" : 10.0,
"patching_rect" : [ 378.0, 220.0, 80.0, 18.0 ],
"framecolor" : [ 0.572549, 0.615686, 0.658824, 0.0 ],
"presentation" : 1,
"numinlets" : 1,
"items" : "",
"togcolor" : [ 0.568627, 0.619608, 0.662745, 1.0 ],
"rounded" : 0,
"fontname" : "Arial Bold",
"numoutlets" : 3,
"types" : [ ],
"arrowcolor" : [ 0.494118, 0.556863, 0.607843, 1.0 ],
"textcolor2" : [ 0.094118, 0.113725, 0.137255, 1.0 ]
}
}
, {
"box" : {
"maxclass" : "live.text",
"annotation" : "List all available items.",
"varname" : "ListParams",
"prototypename" : "numbers.default",
"id" : "obj-133",
"outlettype" : [ "", "" ],
"presentation_rect" : [ 89.0, 97.0, 20.0, 12.0 ],
"automation" : "arm",
"fontface" : 0,
"fontsize" : 9.0,
"automationon" : "trigger",
"mode" : 0,
"patching_rect" : [ 394.0, 256.0, 24.0, 16.0 ],
"presentation" : 1,
"parameter_enable" : 1,
"text" : "list",
"numinlets" : 1,
"numoutlets" : 2,
"texton" : "list",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_type" : 3,
"parameter_initial_enable" : 1,
"parameter_shortname" : "MG1QDialSettings",
"parameter_modmax" : 127.0,
"parameter_longname" : "MG1QDialSettings",
"parameter_modmin" : 0.0,
"parameter_linknames" : 1,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_units" : "",
"parameter_order" : 0,
"parameter_defer" : 0,
"parameter_speedlim" : 1.0,
"parameter_steps" : 0,
"parameter_invisible" : 1,
"parameter_exponent" : 1.0,
"parameter_annotation_name" : "",
"parameter_unitstyle" : 10,
"parameter_mmax" : 127.0,
"parameter_mmin" : 0.0,
"parameter_initial" : [ {
"pattrstorage" : {
"name" : "MG1QDialSettings",
"slots" : {
"1" : {
"id" : 1,
"data" : {
"u953009099" : [ ],
"patcher::here" : [ 0.898039, 0.898039, 0.898039, 1.0 ],
"patcher::Settings::symQuantize" : [ 0 ],
"patcher::Settings::mainBG" : [ 0.898039, 0.898039, 0.898039, 1.0 ],
"patcher::Settings::nameBG" : [ 0.941176, 0.92549, 0.709804, 1.0 ],
"patcher::Settings::nameFG" : [ 0.372549, 0.196078, 0.247059, 1.0 ],
"patcher::Settings::dialName" : [ "wwww" ],
"patcher::Settings::paramID" : [ "id", 109 ],
"patcher::Settings::quantizeBG" : [ 0.372549, 0.619608, 0.427451, 1.0 ],
"patcher::Settings::quantizeFG" : [ 1.0, 0.023529, 0.05098, 1.0 ],
"patcher::Settings::quantize0BG" : [ 0.85098, 0.215686, 0.392157, 1.0 ],
"patcher::Settings::quantize0FG" : [ 0.407843, 0.658824, 0.521569, 1.0 ]
}
}
,
"2" : {
"id" : 2,
"data" : {
"u953009099" : [ ],
"patcher::here" : [ 0.898039, 0.898039, 0.898039, 1.0 ],
"patcher::Settings::symQuantize" : [ 0 ],
"patcher::Settings::mainBG" : [ 0.898039, 0.898039, 0.898039, 1.0 ],
"patcher::Settings::nameBG" : [ 0.941176, 0.92549, 0.709804, 1.0 ],
"patcher::Settings::nameFG" : [ 0.372549, 0.196078, 0.247059, 1.0 ],
"patcher::Settings::dialName" : [ "eeee" ],
"patcher::Settings::paramID" : [ "id", 13 ],
"patcher::Settings::quantizeBG" : [ 0.372549, 0.619608, 0.427451, 1.0 ],
"patcher::Settings::quantizeFG" : [ 1.0, 0.023529, 0.05098, 1.0 ],
"patcher::Settings::quantize0BG" : [ 0.85098, 0.215686, 0.392157, 1.0 ],
"patcher::Settings::quantize0FG" : [ 0.407843, 0.658824, 0.521569, 1.0 ]
}
}
}
}
}
]
}
}
}
}
, {
"box" : {
"maxclass" : "live.text",
"annotation" : "List all available items.",
"varname" : "ListDevices",
"prototypename" : "numbers.default",
"id" : "obj-134",
"outlettype" : [ "", "" ],
"presentation_rect" : [ 89.0, 65.0, 20.0, 12.0 ],
"automation" : "arm",
"fontface" : 0,
"fontsize" : 9.0,
"automationon" : "trigger",
"mode" : 0,
"patching_rect" : [ 346.0, 160.0, 24.0, 16.0 ],
"presentation" : 1,
"parameter_enable" : 1,
"text" : "list",
"numinlets" : 1,
"numoutlets" : 2,
"texton" : "list",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_type" : 2,
"parameter_initial_enable" : 0,
"parameter_shortname" : "ListDevices",
"parameter_modmax" : 127.0,
"parameter_longname" : "ListDevices",
"parameter_modmin" : 0.0,
"parameter_linknames" : 1,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_units" : "",
"parameter_order" : 0,
"parameter_defer" : 0,
"parameter_speedlim" : 0.0,
"parameter_steps" : 0,
"parameter_invisible" : 2,
"parameter_enum" : [ "arm", "trigger" ],
"parameter_exponent" : 1.0,
"parameter_annotation_name" : "",
"parameter_unitstyle" : 10,
"parameter_mmax" : 1.0,
"parameter_mmin" : 0.0,
"parameter_initial" : [ 0.0 ]
}
}
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "set $1",
"id" : "obj-135",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 570.0, 316.0, 39.0, 16.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Parameter",
"id" : "obj-136",
"presentation_rect" : [ 19.0, 95.0, 73.0, 18.0 ],
"fontsize" : 10.0,
"patching_rect" : [ 570.0, 336.0, 88.0, 18.0 ],
"presentation" : 1,
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"varname" : "List&Select[2]",
"text" : "js M4L.chooser.js parameter",
"id" : "obj-137",
"outlettype" : [ "", "", "", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 426.0, 292.0, 163.0, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 4,
"color" : [ 0.984314, 0.819608, 0.05098, 1.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "set $1",
"id" : "obj-138",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 522.0, 220.0, 39.0, 16.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Device",
"id" : "obj-139",
"presentation_rect" : [ 19.0, 63.0, 73.0, 18.0 ],
"fontsize" : 10.0,
"patching_rect" : [ 522.0, 240.0, 88.0, 18.0 ],
"presentation" : 1,
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"varname" : "List&Select[1]",
"text" : "js M4L.chooser.js device",
"id" : "obj-140",
"outlettype" : [ "", "", "", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 378.0, 196.0, 163.0, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 4,
"color" : [ 0.984314, 0.819608, 0.05098, 1.0 ]
}
}
, {
"box" : {
"maxclass" : "panel",
"annotation" : "Select an item.",
"id" : "obj-141",
"presentation_rect" : [ 20.0, 47.0, 89.0, 16.0 ],
"grad2" : [ 0.415686, 0.454902, 0.52549, 1.0 ],
"bgcolor" : [ 0.094118, 0.113725, 0.137255, 0.0 ],
"patching_rect" : [ 330.0, 124.0, 80.0, 17.0 ],
"border" : 1,
"presentation" : 1,
"numinlets" : 1,
"rounded" : 0,
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "live.text",
"annotation" : "List all available items.",
"varname" : "ListTracks",
"prototypename" : "numbers.default",
"id" : "obj-142",
"outlettype" : [ "", "" ],
"presentation_rect" : [ 89.0, 34.0, 20.0, 12.0 ],
"automation" : "arm",
"fontface" : 0,
"fontsize" : 9.0,
"automationon" : "trigger",
"mode" : 0,
"patching_rect" : [ 330.0, 64.0, 24.0, 16.0 ],
"presentation" : 1,
"parameter_enable" : 1,
"text" : "list",
"numinlets" : 1,
"numoutlets" : 2,
"texton" : "list",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_type" : 2,
"parameter_initial_enable" : 0,
"parameter_shortname" : "ListTracks",
"parameter_modmax" : 127.0,
"parameter_longname" : "ListTracks",
"parameter_modmin" : 0.0,
"parameter_linknames" : 1,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_units" : "",
"parameter_order" : 0,
"parameter_defer" : 0,
"parameter_speedlim" : 0.0,
"parameter_steps" : 0,
"parameter_invisible" : 2,
"parameter_enum" : [ "arm", "trigger" ],
"parameter_exponent" : 1.0,
"parameter_annotation_name" : "",
"parameter_unitstyle" : 10,
"parameter_mmax" : 1.0,
"parameter_mmin" : 0.0,
"parameter_initial" : [ 0.0 ]
}
}
}
}
, {
"box" : {
"maxclass" : "umenu",
"hint" : "",
"annotation" : "When no item has been selected, the menu font is italic. When an item is selected, the menu displays in non-italics. Clicking the buttons clears the menus, sets the font to italic, and deselects any previously selected mapping. ",
"varname" : "TrackChooser",
"id" : "obj-143",
"outlettype" : [ "int", "", "" ],
"textcolor" : [ 0.42, 0.45, 0.53, 1.0 ],
"presentation_rect" : [ 20.0, 46.0, 89.0, 18.0 ],
"fontface" : 2,
"fontsize" : 10.0,
"patching_rect" : [ 330.0, 124.0, 80.0, 18.0 ],
"framecolor" : [ 0.572549, 0.615686, 0.658824, 0.0 ],
"presentation" : 1,
"numinlets" : 1,
"items" : "",
"togcolor" : [ 0.568627, 0.619608, 0.662745, 1.0 ],
"rounded" : 0,
"fontname" : "Arial Bold",
"numoutlets" : 3,
"types" : [ ],
"arrowcolor" : [ 0.494118, 0.556863, 0.607843, 1.0 ],
"textcolor2" : [ 0.094118, 0.113725, 0.137255, 1.0 ]
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "set $1",
"id" : "obj-144",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 474.0, 124.0, 39.0, 16.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Track",
"id" : "obj-145",
"presentation_rect" : [ 19.0, 32.0, 73.0, 18.0 ],
"fontsize" : 10.0,
"patching_rect" : [ 474.0, 144.0, 88.0, 18.0 ],
"presentation" : 1,
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"varname" : "List&Select[3]",
"text" : "js M4L.chooser.js track",
"id" : "obj-146",
"outlettype" : [ "", "", "", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 330.0, 100.0, 163.0, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 4,
"color" : [ 0.984314, 0.819608, 0.05098, 1.0 ]
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "< Toggles and (no selection) messages.",
"linecount" : 3,
"id" : "obj-147",
"fontsize" : 10.0,
"patching_rect" : [ 578.0, 380.0, 121.0, 41.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Object ID",
"id" : "obj-148",
"fontsize" : 10.0,
"patching_rect" : [ 396.0, 392.0, 54.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "patcher Enable",
"id" : "obj-149",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 474.0, 403.0, 83.0, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1,
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 5,
"minor" : 1,
"revision" : 9
}
,
"rect" : [ 415.0, 50.0, 289.0, 312.0 ],
"bglocked" : 0,
"defrect" : [ 415.0, 50.0, 289.0, 312.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 10.0,
"default_fontface" : 0,
"default_fontname" : "Arial Bold",
"gridonopen" : 0,
"gridsize" : [ 8.0, 8.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "< Don't trigger a Live API event directly in response to parameter value recall",
"linecount" : 3,
"id" : "obj-11",
"fontsize" : 10.0,
"patching_rect" : [ 144.0, 48.0, 125.0, 41.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "deferlow",
"id" : "obj-7",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 72.0, 48.0, 52.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "< Turn mapping on or off: if it's on, set the ID of the Live parameter which is selected in the menus, if its off, set the (no mapping).",
"linecount" : 6,
"id" : "obj-24",
"fontsize" : 10.0,
"patching_rect" : [ 152.0, 120.0, 117.0, 75.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-9",
"outlettype" : [ "bang" ],
"patching_rect" : [ 96.0, 144.0, 18.0, 18.0 ],
"blinkcolor" : [ 0.921569, 0.94902, 0.05098, 1.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "button",
"id" : "obj-8",
"outlettype" : [ "bang" ],
"patching_rect" : [ 72.0, 144.0, 18.0, 18.0 ],
"blinkcolor" : [ 0.921569, 0.94902, 0.05098, 1.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "toggle",
"id" : "obj-3",
"outlettype" : [ "int" ],
"patching_rect" : [ 120.0, 200.0, 18.0, 18.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "1/0",
"id" : "obj-31",
"fontsize" : 10.0,
"patching_rect" : [ 88.0, 72.0, 24.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "toggle",
"id" : "obj-26",
"outlettype" : [ "int" ],
"patching_rect" : [ 72.0, 72.0, 18.0, 18.0 ],
"numinlets" : 1,
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "ID",
"id" : "obj-6",
"fontsize" : 10.0,
"patching_rect" : [ 120.0, 264.0, 20.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "ID",
"id" : "obj-5",
"fontsize" : 10.0,
"patching_rect" : [ 16.0, 16.0, 20.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "On/off",
"id" : "obj-4",
"fontsize" : 10.0,
"patching_rect" : [ 96.0, 16.0, 40.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "trigger i i",
"id" : "obj-2",
"outlettype" : [ "int", "int" ],
"fontsize" : 10.0,
"patching_rect" : [ 72.0, 96.0, 67.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "gate",
"id" : "obj-1",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 120.0, 232.0, 34.5, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "zl reg",
"id" : "obj-52",
"outlettype" : [ "", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 40.0, 176.0, 37.0, 18.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 2
}
}
, {
"box" : {
"maxclass" : "message",
"text" : "id 0",
"id" : "obj-43",
"outlettype" : [ "" ],
"fontsize" : 10.0,
"patching_rect" : [ 96.0, 176.0, 30.5, 16.0 ],
"numinlets" : 2,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 1 0",
"id" : "obj-34",
"outlettype" : [ "bang", "bang", "" ],
"fontsize" : 10.0,
"patching_rect" : [ 72.0, 120.0, 66.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 3
}
}
, {
"box" : {
"maxclass" : "inlet",
"id" : "obj-53",
"outlettype" : [ "" ],
"patching_rect" : [ 40.0, 16.0, 18.0, 18.0 ],
"numinlets" : 0,
"numoutlets" : 1,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "inlet",
"id" : "obj-57",
"outlettype" : [ "" ],
"patching_rect" : [ 72.0, 16.0, 18.0, 18.0 ],
"numinlets" : 0,
"numoutlets" : 1,
"comment" : ""
}
}
, {
"box" : {
"maxclass" : "outlet",
"id" : "obj-60",
"patching_rect" : [ 96.0, 264.0, 18.0, 18.0 ],
"numinlets" : 1,
"numoutlets" : 0,
"comment" : ""
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-9", 0 ],
"destination" : [ "obj-43", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-8", 0 ],
"destination" : [ "obj-52", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-7", 0 ],
"destination" : [ "obj-26", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-57", 0 ],
"destination" : [ "obj-7", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-53", 0 ],
"destination" : [ "obj-52", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-52", 0 ],
"destination" : [ "obj-1", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-43", 0 ],
"destination" : [ "obj-60", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-34", 1 ],
"destination" : [ "obj-9", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-34", 0 ],
"destination" : [ "obj-8", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-3", 0 ],
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-26", 0 ],
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-2", 0 ],
"destination" : [ "obj-34", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-2", 1 ],
"destination" : [ "obj-3", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-1", 0 ],
"destination" : [ "obj-60", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
]
}
,
"saved_object_attributes" : {
"fontface" : 0,
"default_fontface" : 0,
"fontsize" : 10.0,
"globalpatchername" : "",
"default_fontname" : "Arial Bold",
"default_fontsize" : 10.0,
"fontname" : "Arial Bold"
}
}
}
, {
"box" : {
"maxclass" : "live.text",
"annotation" : "Enables/disables mapping of the selected parameter.",
"varname" : "TargetEnable",
"prototypename" : "onoff",
"id" : "obj-150",
"outlettype" : [ "", "" ],
"presentation_rect" : [ 64.0, 14.0, 32.0, 15.0 ],
"automation" : "off",
"automationon" : "on",
"patching_rect" : [ 538.0, 380.0, 31.0, 15.0 ],
"presentation" : 1,
"parameter_enable" : 1,
"text" : "Off",
"numinlets" : 1,
"numoutlets" : 2,
"texton" : "On",
"saved_attribute_attributes" : {
"valueof" : {
"parameter_type" : 2,
"parameter_initial_enable" : 1,
"parameter_shortname" : "Enable",
"parameter_modmax" : 127.0,
"parameter_longname" : "TargetEnable",
"parameter_modmin" : 0.0,
"parameter_linknames" : 1,
"parameter_modmode" : 0,
"parameter_info" : "",
"parameter_units" : "",
"parameter_order" : 0,
"parameter_defer" : 0,
"parameter_speedlim" : 0.0,
"parameter_steps" : 0,
"parameter_invisible" : 0,
"parameter_enum" : [ "off", "on" ],
"parameter_exponent" : 1.0,
"parameter_annotation_name" : "",
"parameter_unitstyle" : 10,
"parameter_mmax" : 1.0,
"parameter_mmin" : 0.0,
"parameter_initial" : [ 1 ]
}
}
}
}
, {
"box" : {
"maxclass" : "comment",
"text" : "Target",
"id" : "obj-151",
"textcolor" : [ 0.301961, 0.337255, 0.403922, 1.0 ],
"presentation_rect" : [ 60.0, -2.0, 40.0, 18.0 ],
"fontsize" : 10.0,
"frgb" : [ 0.301961, 0.337255, 0.403922, 1.0 ],
"patching_rect" : [ 490.0, 380.0, 40.0, 18.0 ],
"presentation" : 1,
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "midiout",
"id" : "obj-10",
"fontsize" : 10.0,
"patching_rect" : [ 10.0, 34.0, 47.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 0
}
}
, {
"box" : {
"maxclass" : "newobj",
"text" : "midiin",
"id" : "obj-4",
"outlettype" : [ "int" ],
"fontsize" : 10.0,
"patching_rect" : [ 10.0, 10.0, 40.0, 18.0 ],
"numinlets" : 1,
"fontname" : "Arial Bold",
"numoutlets" : 1
}
}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-149", 0 ],
"destination" : [ "obj-83", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-78", 0 ],
"destination" : [ "obj-85", 0 ],
"hidden" : 0,
"color" : [ 0.756863, 0.329412, 0.843137, 1.0 ],
"midpoints" : [ 116.5, 466.0, 93.0, 466.0, 93.0, 358.0, 165.5, 358.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-80", 0 ],
"destination" : [ "obj-78", 0 ],
"hidden" : 0,
"midpoints" : [ 115.5, 430.0, 116.5, 430.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-84", 0 ],
"destination" : [ "obj-77", 0 ],
"hidden" : 0,
"midpoints" : [ 109.5, 379.0, 115.5, 379.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-85", 0 ],
"destination" : [ "obj-81", 0 ],
"hidden" : 0,
"midpoints" : [ 165.5, 382.0, 165.5, 382.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-82", 0 ],
"destination" : [ "obj-85", 0 ],
"hidden" : 0,
"midpoints" : [ 165.5, 351.0, 165.5, 351.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-81", 1 ],
"destination" : [ "obj-80", 4 ],
"hidden" : 0,
"midpoints" : [ 195.5, 400.0, 181.899994, 400.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-81", 0 ],
"destination" : [ "obj-80", 3 ],
"hidden" : 0,
"midpoints" : [ 165.5, 400.0, 165.300003, 400.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-77", 0 ],
"destination" : [ "obj-80", 0 ],
"hidden" : 0,
"midpoints" : [ 115.5, 412.0, 115.5, 412.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-83", 2 ],
"destination" : [ "obj-85", 1 ],
"hidden" : 0,
"midpoints" : [ 192.5, 310.0, 225.0, 310.0, 225.0, 358.0, 205.5, 358.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-83", 1 ],
"destination" : [ "obj-82", 0 ],
"hidden" : 0,
"midpoints" : [ 179.0, 312.0, 166.0, 312.0, 166.0, 318.0, 165.5, 318.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-117", 0 ],
"destination" : [ "obj-149", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-150", 0 ],
"destination" : [ "obj-149", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-137", 1 ],
"destination" : [ "obj-117", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-131", 0 ],
"destination" : [ "obj-137", 0 ],
"hidden" : 0,
"midpoints" : [ 435.5, 343.0, 418.5, 343.0, 418.5, 282.0, 435.5, 282.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-132", 0 ],
"destination" : [ "obj-140", 0 ],
"hidden" : 0,
"midpoints" : [ 387.5, 247.0, 370.5, 247.0, 370.5, 186.0, 387.5, 186.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-143", 0 ],
"destination" : [ "obj-146", 0 ],
"hidden" : 0,
"midpoints" : [ 339.5, 151.0, 322.5, 151.0, 322.5, 90.0, 339.5, 90.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-127", 0 ],
"destination" : [ "obj-137", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-140", 1 ],
"destination" : [ "obj-127", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-128", 0 ],
"destination" : [ "obj-140", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-146", 1 ],
"destination" : [ "obj-128", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-137", 0 ],
"destination" : [ "obj-131", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-140", 0 ],
"destination" : [ "obj-132", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-146", 0 ],
"destination" : [ "obj-143", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-133", 0 ],
"destination" : [ "obj-137", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-134", 0 ],
"destination" : [ "obj-140", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-140", 2 ],
"destination" : [ "obj-137", 1 ],
"hidden" : 0,
"midpoints" : [ 483.5, 272.5, 579.5, 272.5 ]
}
}
, {
"patchline" : {
"source" : [ "obj-140", 3 ],
"destination" : [ "obj-138", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-146", 2 ],
"destination" : [ "obj-140", 1 ],
"hidden" : 0,
"midpoints" : [ 435.5, 176.5, 531.5, 176.5 ]
}
}
, {
"patchline" : {
"source" : [ "obj-142", 0 ],
"destination" : [ "obj-146", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-146", 3 ],
"destination" : [ "obj-144", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-137", 3 ],
"destination" : [ "obj-135", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-135", 0 ],
"destination" : [ "obj-136", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-138", 0 ],
"destination" : [ "obj-139", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-144", 0 ],
"destination" : [ "obj-145", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-109", 0 ],
"destination" : [ "obj-112", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-111", 0 ],
"destination" : [ "obj-112", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-112", 1 ],
"destination" : [ "obj-111", 0 ],
"hidden" : 0,
"color" : [ 0.568627, 0.619608, 0.662745, 1.0 ],
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-112", 0 ],
"destination" : [ "obj-146", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-108", 0 ],
"destination" : [ "obj-146", 1 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-117", 0 ],
"destination" : [ "obj-108", 0 ],
"hidden" : 0,
"midpoints" : [ 483.5, 367.0, 670.5, 367.0, 670.5, 50.0, 483.5, 50.0 ]
}
}
, {
"patchline" : {
"source" : [ "obj-106", 0 ],
"destination" : [ "obj-105", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-108", 1 ],
"destination" : [ "obj-106", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}
}
, {
"patchline" : {
"source" : [ "obj-4", 0 ],
"destination" : [ "obj-10", 0 ],
"hidden" : 0,
"midpoints" : [ 19.5, 29.0, 19.5, 29.0 ]
}
}
]
}
-----------end_max5_patcher-----------
Wondering this as well... Nobody seems to know... Seems like it should be simple, right?