Forums > MaxMSP

What is this patcher feature …

June 20, 2010 | 7:18 pm

… that allows to automatically set the patcher size to the interesting zone of gui?
Is this a M4L feature or can I get use it directly in Max patches?

thx.

{
"patcher" : {
"fileversion" : 1,
"rect" : [ 55.0, 139.0, 389.0, 255.0 ],
"bglocked" : 0,
"defrect" : [ 55.0, 139.0, 389.0, 255.0 ],
"openrect" : [ 55.0, 139.0, 294.0, 184.0 ],
"openinpresentation" : 1,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-12",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 75.0, 90.0, 150.0, 20.0 ],
"presentation" : 1,
"presentation_rect" : [ 75.0, 90.0, 150.0, 20.0 ],
"text" : "Just unlock and enlarge .."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 18.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-11",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 159.0, 158.0, 196.0, 27.0 ],
"presentation" : 1,
"presentation_rect" : [ 165.0, 150.0, 23.0, 27.0 ],
"text" : "v"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 18.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-9",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 50.0, 150.0, 196.0, 27.0 ],
"presentation" : 1,
"presentation_rect" : [ 30.0, 150.0, 23.0, 27.0 ],
"text" : "v"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 18.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-8",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 268.0, 44.0, 196.0, 27.0 ],
"presentation" : 1,
"presentation_rect" : [ 270.0, 30.0, 23.0, 27.0 ],
"text" : ">"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 18.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-5",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 180.0, 150.0, 196.0, 27.0 ],
"presentation" : 1,
"presentation_rect" : [ 270.0, 135.0, 23.0, 27.0 ],
"text" : ">"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-18",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 420.0, 525.0, 127.0, 20.0 ],
"text" : "r wacomStyletContact"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 285.0, 300.0, 129.0, 20.0 ],
"text" : "s wacomStyletContact"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-130",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 389.0, 708.0, 99.0, 20.0 ],
"text" : "s wacomButton4"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-129",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 392.0, 681.0, 99.0, 20.0 ],
"text" : "s wacomButton3"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-128",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 389.0, 658.0, 99.0, 20.0 ],
"text" : "s wacomButton2"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-126",
"linecount" : 4,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 525.0, 555.0, 154.0, 62.0 ],
"text" : "PERMET D’√©VITER D’ENVOYER X et Y lorsque le stylet ne touche pas la tablette"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-123",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 360.0, 270.0, 24.0, 20.0 ],
"text" : "t b"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-110",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 462.0, 585.0, 34.0, 20.0 ],
"text" : "gate"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-109",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 390.0, 585.0, 34.0, 20.0 ],
"text" : "gate"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-107",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 203.0, 697.0, 95.0, 20.0 ],
"text" : "s wacomSlider2"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-108",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 200.0, 662.0, 95.0, 20.0 ],
"text" : "s wacomSlider1"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-105",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 450.0, 465.0, 81.0, 20.0 ],
"text" : "s wacomTiltY"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-106",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 450.0, 480.0, 81.0, 20.0 ],
"text" : "s wacomTiltX"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-104",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 462.0, 608.0, 66.0, 20.0 ],
"text" : "s wacomY"
}

}
, {
"box" : {
"color" : [ 0.94902, 1.0, 0.003922, 1.0 ],
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-103",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 390.0, 609.0, 66.0, 20.0 ],
"text" : "s wacomX"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-112",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 70.0, 114.0, 60.0, 20.0 ],
"text" : "loadbang"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"id" : "obj-139",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 98.0, 173.0, 67.0, 17.0 ],
"text" : "prepend port"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-89",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 75.0, 285.0, 48.0, 18.0 ],
"text" : "$1 100"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-90",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 75.0, 315.0, 46.0, 20.0 ],
"text" : "line 0."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-84",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 15.0, 285.0, 48.0, 18.0 ],
"text" : "$1 100"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-83",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 15.0, 315.0, 46.0, 20.0 ],
"text" : "line 0."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 330.0, 30.0, 60.0, 20.0 ],
"text" : "loadbang"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-70",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 630.0, 75.0, 150.0, 20.0 ],
"text" : "Tablet ID:"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-49",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 579.0, 46.0, 640.0, 480.0 ],
"bglocked" : 0,
"defrect" : [ 579.0, 46.0, 640.0, 480.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"comment" : "",
"id" : "obj-2",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 45.0, 195.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"comment" : "",
"id" : "obj-1",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 45.0, 15.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-48",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 45.0, 60.0, 57.0, 20.0 ],
"text" : "zl slice 1"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-74",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 45.0, 150.0, 145.0, 18.0 ],
"text" : "bordercolor 0.5 0.5 0.5 1."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-73",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 75.0, 120.0, 145.0, 18.0 ],
"text" : "bordercolor 0.8 0.2 0.2 1."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-72",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 45.0, 90.0, 58.0, 20.0 ],
"text" : "route 0 1"
}

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

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

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

}
, {
"patchline" : {
"destination" : [ "obj-74", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-72", 0 ]
}

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

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

}
]
}
,
"patching_rect" : [ 30.0, 525.0, 79.0, 20.0 ],
"saved_object_attributes" : {
"default_fontface" : 0,
"default_fontname" : "Arial",
"fontname" : "Arial",
"default_fontsize" : 12.0,
"globalpatchername" : "",
"fontface" : 0,
"fontsize" : 12.0
}
,
"text" : "p slider-color"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-20",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 15.0, 495.0, 58.0, 20.0 ],
"text" : "route 1 2"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-23",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 360.0, 135.0, 183.0, 20.0 ],
"text" : "match message type and tool id"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-10",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 30.0, 75.0, 150.0, 20.0 ],
"text" : "match wacom tablet id"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "" ],
"patching_rect" : [ 210.0, 135.0, 144.0, 20.0 ],
"text" : "regexp (\\w+)/(\\d)[\\s/](.*)"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "" ],
"patching_rect" : [ 390.0, 15.0, 493.0, 20.0 ],
"text" : "regexp /wacom/(\\d)/(strip|key|pen|eraser|puck)[\\-/](\\d+)[/\\s](proximity)?\\s?(\\d\\.?\\d*)*\\s*"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-32",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 330.0, 90.0, 32.5, 20.0 ],
"text" : "+ 1"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-27",
"items" : [ 1, ",", 2, ",", 3, ",", 4 ],
"maxclass" : "umenu",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "int", "", "" ],
"patching_rect" : [ 330.0, 60.0, 100.0, 20.0 ],
"types" : [ ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-26",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 640.0, 167.0, 352.0, 441.0 ],
"bglocked" : 0,
"defrect" : [ 640.0, 167.0, 352.0, 441.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-1",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 111.0, 244.0, 54.0, 17.0 ],
"text" : "whole list"
}

}
, {
"box" : {
"comment" : "whole list",
"id" : "obj-2",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 126.0, 227.0, 15.0, 15.0 ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-3",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 42.0, 244.0, 59.0, 17.0 ],
"text" : "rest of list"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-4",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 53.0, 37.0, 23.0, 17.0 ],
"text" : "list"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 28.0, 204.0, 51.0, 17.0 ],
"text" : "zl slice 1"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 28.0, 154.0, 38.0, 17.0 ],
"text" : "gate 2"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 73.0, 114.0, 36.0, 17.0 ],
"text" : "== -1"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"id" : "obj-8",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 73.0, 95.0, 46.0, 17.0 ],
"text" : "unpack i"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"id" : "obj-9",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 56.0, 76.0, 27.0, 17.0 ],
"text" : "t l l"
}

}
, {
"box" : {
"comment" : "list",
"id" : "obj-10",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 56.0, 51.0, 15.0, 15.0 ]
}

}
, {
"box" : {
"comment" : "rest of list if index match",
"id" : "obj-11",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 69.0, 227.0, 15.0, 15.0 ]
}

}
, {
"box" : {
"comment" : "index to match (int)",
"id" : "obj-12",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 99.0, 51.0, 15.0, 15.0 ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-13",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 87.0, 37.0, 76.0, 17.0 ],
"text" : "index to match"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 9.0,
"id" : "obj-14",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 28.0, 135.0, 27.0, 17.0 ],
"text" : "+ 1"
}

}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-10", 0 ]
}

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

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

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

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

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

}
, {
"patchline" : {
"destination" : [ "obj-14", 0 ],
"hidden" : 0,
"midpoints" : [ 82.5, 133.0, 37.5, 133.0 ],
"source" : [ "obj-7", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-8", 0 ]
}

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

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

}
]
}
,
"patching_rect" : [ 210.0, 105.0, 83.0, 20.0 ],
"saved_object_attributes" : {
"default_fontface" : 0,
"default_fontname" : "Arial",
"fontname" : "Arial",
"default_fontsize" : 12.0,
"globalpatchername" : "",
"fontface" : 0,
"fontsize" : 12.0
}
,
"text" : "p route_index"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-62",
"linecount" : 3,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 465.0, 390.0, 89.0, 46.0 ],
"text" : ";rbutton bgcolor 1 0 0 1"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-61",
"linecount" : 3,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 435.0, 330.0, 89.0, 46.0 ],
"text" : ";rbutton bgcolor 0.7 0.7 0.7 1."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-60",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 435.0, 300.0, 48.0, 20.0 ],
"text" : "route 0"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-55",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "int" ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 114.0, 238.0, 640.0, 480.0 ],
"bglocked" : 0,
"defrect" : [ 114.0, 238.0, 640.0, 480.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 120.0, 90.0, 57.0, 20.0 ],
"text" : "zl slice 2"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-2",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 180.0, 90.0, 205.0, 20.0 ],
"text" : "ignore device type and id arguments"
}

}
, {
"box" : {
"comment" : "Button State",
"id" : "obj-9",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 270.0, 210.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"comment" : "Button ID",
"id" : "obj-8",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 210.0, 210.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "int" ],
"patching_rect" : [ 210.0, 180.0, 79.0, 20.0 ],
"text" : "unpack 0 0"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "" ],
"patching_rect" : [ 165.0, 135.0, 177.0, 20.0 ],
"text" : "regexp button/(\\d)\\s(\\d[.]?\\d*)"
}

}
, {
"box" : {
"comment" : "",
"id" : "obj-1",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 120.0, 45.0, 25.0, 25.0 ]
}

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

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

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

}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-7", 0 ]
}

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

}
]
}
,
"patching_rect" : [ 360.0, 240.0, 103.0, 20.0 ],
"saved_object_attributes" : {
"default_fontface" : 0,
"default_fontname" : "Arial",
"fontname" : "Arial",
"default_fontsize" : 12.0,
"globalpatchername" : "",
"fontface" : 0,
"fontsize" : 12.0
}
,
"text" : "p decode-buttons"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-54",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 666.0, 287.0, 131.0, 20.0 ],
"text" : "prepend set Proximité:"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-53",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 666.0, 257.0, 181.0, 20.0 ],
"text" : "if $i1 then Près else Eloigné"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-28",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 9,
"outlettype" : [ "", "", "", "", "", "", "", "", "" ],
"patching_rect" : [ 195.0, 495.0, 127.0, 20.0 ],
"text" : "route 1 2 3 4 5 6 7 8"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-81",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 510.0, 255.0, 74.0, 20.0 ],
"text" : "prepend set"
}

}
, {
"box" : {
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"floatoutput" : 1,
"id" : "obj-1",
"ignoreclick" : 1,
"knobcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"maxclass" : "slider",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 15.0, 555.0, 20.0, 140.0 ],
"size" : 1.0
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-76",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 640.0, 147.0, 640.0, 480.0 ],
"bglocked" : 0,
"defrect" : [ 640.0, 147.0, 640.0, 480.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"comment" : "Value",
"id" : "obj-24",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 75.0, 270.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"comment" : "Value",
"id" : "obj-23",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 135.0, 270.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-21",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 120.0, 150.0, 57.0, 20.0 ],
"text" : "zl slice 1"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-22",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 120.0, 120.0, 73.0, 20.0 ],
"text" : "fromsymbol"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-18",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 60.0, 75.0, 58.0, 20.0 ],
"text" : "route 1 2"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-12",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 30.0, 150.0, 57.0, 20.0 ],
"text" : "zl slice 1"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-9",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 30.0, 120.0, 73.0, 20.0 ],
"text" : "fromsymbol"
}

}
, {
"box" : {
"comment" : "",
"id" : "obj-2",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 60.0, 30.0, 25.0, 25.0 ]
}

}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-24", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-12", 0 ]
}

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

}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-18", 0 ]
}

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

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

}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-22", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-9", 0 ]
}

}
]
}
,
"patching_rect" : [ 15.0, 240.0, 93.0, 20.0 ],
"saved_object_attributes" : {
"default_fontface" : 0,
"default_fontname" : "Arial",
"fontname" : "Arial",
"default_fontsize" : 12.0,
"globalpatchername" : "",
"fontface" : 0,
"fontsize" : 12.0
}
,
"text" : "p decode-slider"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-67",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 300.0, 481.0, 449.0, 449.0 ],
"bglocked" : 0,
"defrect" : [ 300.0, 481.0, 449.0, 449.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 285.0, 225.0, 89.0, 20.0 ],
"text" : "route proximity"
}

}
, {
"box" : {
"comment" : "",
"id" : "obj-5",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 285.0, 270.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 285.0, 195.0, 73.0, 20.0 ],
"text" : "fromsymbol"
}

}
, {
"box" : {
"comment" : "",
"id" : "obj-3",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 105.0, 240.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"comment" : "",
"id" : "obj-2",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 180.0, 120.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-60",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "int", "" ],
"patching_rect" : [ 180.0, 150.0, 78.0, 20.0 ],
"text" : "unpack s 0 s"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-58",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 105.0, 195.0, 110.0, 20.0 ],
"text" : "sprintf Tool: %s %i"
}

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

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

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

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

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

}
, {
"patchline" : {
"destination" : [ "obj-58", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-60", 0 ]
}

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

}
]
}
,
"patching_rect" : [ 510.0, 210.0, 130.0, 20.0 ],
"saved_object_attributes" : {
"default_fontface" : 0,
"default_fontname" : "Arial",
"fontname" : "Arial",
"default_fontsize" : 12.0,
"globalpatchername" : "",
"fontface" : 0,
"fontsize" : 12.0
}
,
"text" : "p decode-object-name"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-56",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "float", "float", "float", "float", "float" ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 357.0, 116.0, 640.0, 480.0 ],
"bglocked" : 0,
"defrect" : [ 357.0, 116.0, 640.0, 480.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-8",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "float", "float", "float", "float", "float" ],
"patching_rect" : [ 255.0, 195.0, 116.0, 20.0 ],
"text" : "unpack 0. 1. 2. 3. 4."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 120.0, 105.0, 57.0, 20.0 ],
"text" : "zl slice 2"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-16",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 345.0, 300.0, 42.0, 20.0 ],
"text" : "* 127."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-13",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 300.0, 300.0, 42.0, 20.0 ],
"text" : "* 127."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-14",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 255.0, 300.0, 42.0, 20.0 ],
"text" : "* 127."
}

}
, {
"box" : {
"comment" : "Pressure",
"id" : "obj-12",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 345.0, 330.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"comment" : "Tilt Y",
"id" : "obj-11",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 300.0, 330.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"comment" : "Tilt X",
"id" : "obj-10",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 255.0, 330.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-9",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 375.0, 225.0, 73.0, 20.0 ],
"text" : "fromsymbol"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "" ],
"patching_rect" : [ 375.0, 255.0, 154.0, 20.0 ],
"text" : "regexp /(proximity|button).*"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-6",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 435.0, 225.0, 150.0, 20.0 ],
"text" : "filter /proximity and /button"
}

}
, {
"box" : {
"comment" : "Y coordinate",
"id" : "obj-3",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 210.0, 330.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"comment" : "X coordinates",
"hint" : "",
"id" : "obj-2",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 165.0, 330.0, 25.0, 25.0 ]
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : [ 0.0, 0.0, 0.0, 1.0 ],
"id" : "obj-54",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 180.0, 105.0, 205.0, 20.0 ],
"text" : "ignore device type and id arguments"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-49",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "" ],
"patching_rect" : [ 165.0, 150.0, 395.0, 20.0 ],
"text" : "regexp (\\d[.]\\d*)\\s?(\\d[.]\\d*)\\s?(\\d[.]\\d*)?\\s?(\\d[.]\\d*)?\\s?(\\d[.]\\d*)?"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-46",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 210.0, 300.0, 42.0, 20.0 ],
"text" : "* 127."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-45",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 165.0, 300.0, 42.0, 20.0 ],
"text" : "* 127."
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-38",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "float", "float", "float", "float", "float" ],
"patching_rect" : [ 480.0, 300.0, 116.0, 20.0 ],
"text" : "unpack 1. 2. 3. 4. 5."
}

}
, {
"box" : {
"comment" : "",
"id" : "obj-1",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 120.0, 60.0, 25.0, 25.0 ]
}

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

}
, {
"patchline" : {
"destination" : [ "obj-11", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-13", 0 ]
}

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

}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-16", 0 ]
}

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

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

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

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

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

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

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

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

}
, {
"patchline" : {
"destination" : [ "obj-45", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-8", 0 ]
}

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

}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-9", 0 ]
}

}
]
}
,
"patching_rect" : [ 240.0, 345.0, 139.0, 20.0 ],
"saved_object_attributes" : {
"default_fontface" : 0,
"default_fontname" : "Arial",
"fontname" : "Arial",
"default_fontsize" : 12.0,
"globalpatchername" : "",
"fontface" : 0,
"fontsize" : 12.0
}
,
"text" : "p decode-coords"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-35",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 210.0, 180.0, 86.0, 20.0 ],
"text" : "route strip key"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-19",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "" ],
"patching_rect" : [ 180.0, 75.0, 136.0, 20.0 ],
"text" : "regexp /wacom/(\\d)/(.*)"
}

}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 180.0, 45.0, 99.0, 20.0 ],
"text" : "udpreceive 9001"
}

}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-103", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-109", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-104", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-110", 0 ]
}

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

}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"hidden" : 0,
"midpoints" : [ 107.5, 199.0, 148.5, 199.0, 148.5, 35.0, 189.5, 35.0 ],
"source" : [ "obj-139", 0 ]
}

}
, {



MIB
June 20, 2010 | 7:22 pm

Your patch got truncated. Use copy compressed from the edit menu when you post!!


June 20, 2010 | 7:38 pm

Yes it is truncated, Thanks MIB.
But I can’t use copy compressed because this not keeps what is seems to be a patcher property.

attached …

Attachments:
  1. asd.maxpat

June 21, 2010 | 3:14 pm

Okay, when you do File Menu > New Patcher, how do you get this resizable layout/background square in edit mode, which auto-resize the patcher when you launch it?



MIB
June 21, 2010 | 6:50 pm

I didn’t even know you could do that. I always used thispatcher with the window size message for resizing… have to look into this some more.


Viewing 5 posts - 1 through 5 (of 5 total)