diff --git a/rel-electro-immersif-src/max/osc_slip_direct.maxpat b/rel-electro-immersif-src/max/osc_slip_direct.maxpat index b908493..07543a4 100644 --- a/rel-electro-immersif-src/max/osc_slip_direct.maxpat +++ b/rel-electro-immersif-src/max/osc_slip_direct.maxpat @@ -3,14 +3,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 3, - "revision" : 1, + "minor" : 5, + "revision" : 5, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 1156.0, 326.0, 651.0, 549.0 ], + "rect" : [ 1156.0, 326.0, 713.0, 961.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -39,114 +39,6 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { - "box" : { - "id" : "obj-7", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 128.5, 397.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "number", - "maximum" : 1023, - "minimum" : 0, - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 89.5, 434.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "number", - "maximum" : 1023, - "minimum" : 0, - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 50.5, 461.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-35", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 50.5, 366.0, 136.0, 22.0 ], - "text" : "route /pot /photo /button" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "number", - "maximum" : 255, - "minimum" : 0, - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 50.5, 83.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.5, 127.0, 45.0, 22.0 ], - "text" : "/led $1" - } - - } -, { - "box" : { - "fontface" : 1, - "fontsize" : 16.0, - "id" : "obj-18", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.5, 21.0, 530.0, 43.0 ], - "text" : "Note: This patcher uses CNMAT's slipOSC and OpenSoundControl. Please install CNMAT from Max's Package Manager.", - "textcolor" : [ 0.996078431372549, 0.427450980392157, 0.0, 1.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "fontsize" : 16.0, - "id" : "obj-5", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 322.5, 236.5, 179.0, 43.0 ], - "text" : "Don't forget to set the proper baud and port.", - "textcolor" : [ 0.792156862745098, 0.0, 0.0, 1.0 ] - } - - } -, { "box" : { "bgmode" : 0, "border" : 0, @@ -154,10 +46,11 @@ "embed" : 1, "enablehscroll" : 0, "enablevscroll" : 0, - "id" : "obj-13", + "id" : "obj-19", "lockeddragscroll" : 0, "lockedsize" : 0, "maxclass" : "bpatcher", + "name" : "tof_debug-box", "numinlets" : 1, "numoutlets" : 1, "offset" : [ 0.0, 0.0 ], @@ -166,14 +59,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 3, - "revision" : 1, + "minor" : 5, + "revision" : 5, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 502.0, 118.0, 1352.0, 912.0 ], + "rect" : [ 416.0, 529.0, 1033.0, 661.0 ], "bglocked" : 0, "openinpresentation" : 1, "default_fontsize" : 12.0, @@ -203,976 +96,2751 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-26", - "maxclass" : "newobj", + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-3", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 378.0, 199.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 24.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-2", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 363.0, 184.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 0.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "activebgoncolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-29", + "ignoreclick" : 1, + "maxclass" : "live.button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 3, - "revision" : 1, - "architecture" : "x64", - "modernui" : 1 + "parameter_enable" : 1, + "patching_rect" : [ 399.0, 421.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "activebgoncolor" : { + "expression" : "" } , - "classnamespace" : "box", - "rect" : [ 366.0, 359.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 50.0, 120.0, 49.0, 22.0 ], - "text" : "route [ ]" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 84.0, 152.0, 29.5, 22.0 ], - "text" : "t b l" - } + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[4]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 230.0, 135.0, 117.0, 22.0 ], - "style" : "default", - "text" : "resetallthewaymode" - } + } +, + "varname" : "live.button" + } - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 234.0, 97.0, 58.0, 22.0 ], - "text" : "loadbang" - } + } +, { + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "bordercolor" : [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], + "id" : "obj-30", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 144.0, 288.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 13.0, 20.0 ], + "proportion" : 0.39, + "rounded" : 0 + } - } -, { - "box" : { - "id" : "obj-30", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "OSCTimeTag" ], - "patching_rect" : [ 72.0, 221.0, 113.0, 22.0 ], - "style" : "default", - "text" : "OpenSoundControl" - } + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 645.0, 343.0, 72.0, 22.0 ], + "text" : "prepend set" + } - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "", "", "OSCTimeTag" ], - "patching_rect" : [ 77.0, 277.0, 125.0, 22.0 ], - "style" : "default", - "text" : "slipOSC" - } + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "border" : 0.0, + "hint" : "Embedded tof_display-message v1.0 from tof-max. Simply displays any message it receives and passes it thru. ", + "id" : "obj-22", + "ignoreclick" : 1, + "lines" : 1, + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "parameter_enable" : 0, + "parameter_mappable" : 0, + "patching_rect" : [ 636.5, 386.0, 100.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ 13.0, 4.0, 232.0, 20.0 ], + "readonly" : 1, + "rounded" : 0.0, + "text" : "/pixel 111 154 255", + "wordwrap" : 0 + } - } -, { - "box" : { - "comment" : "", - "id" : "obj-24", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] - } + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 114.0, 142.0, 61.0, 22.0 ], + "text" : "delay 200" + } - } -, { - "box" : { - "comment" : "", - "id" : "obj-25", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 183.0, 359.0, 30.0, 30.0 ] - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 346.5, 532.0, 30.0, 30.0 ] + } - } + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 434.0, 231.0, 29.5, 22.0 ], + "text" : "set" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 615.0, 67.0, 65.0, 22.0 ], + "text" : "pastebang" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "" ], + "patching_rect" : [ 346.5, 96.0, 40.0, 22.0 ], + "text" : "t l b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 356.5, 9.0, 30.0, 30.0 ] + } + + } ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-1", 0 ] - } + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-2", 1 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-10", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-2", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-10", 2 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-24", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "order" : 0, + "source" : [ "obj-10", 1 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-29", 1 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-10", 1 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-3", 2 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-12", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-30", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-23", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-5", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-8", 0 ] + } - } + } ] - } + } , - "patching_rect" : [ 1055.0, 139.0, 265.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } + "patching_rect" : [ 91.0, 116.0, 243.0, 27.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 44.0, 82.0, 84.0, 22.0 ], + "text" : "prepend /pixel" + } + + } +, { + "box" : { + "compatibility" : 1, + "id" : "obj-3", + "maxclass" : "swatch", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "float" ], + "parameter_enable" : 0, + "patching_rect" : [ 44.0, 38.0, 128.0, 32.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-37", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 113.0, 694.0, 260.0, 20.0 ], + "text" : "Affichage dans Max des messages OSC SLIP", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-32", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "tof_debug-box", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } , - "text" : "p \"Convert Max Messages to OSC then to SLIP\"" + "classnamespace" : "box", + "rect" : [ 416.0, 529.0, 1033.0, 661.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-3", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 378.0, 199.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 24.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-2", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 363.0, 184.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 0.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "activebgoncolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-29", + "ignoreclick" : 1, + "maxclass" : "live.button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 1, + "patching_rect" : [ 399.0, 421.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "activebgoncolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[6]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } + + } +, + "varname" : "live.button" + } + + } +, { + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "bordercolor" : [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], + "id" : "obj-30", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 144.0, 288.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 13.0, 20.0 ], + "proportion" : 0.39, + "rounded" : 0 + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 645.0, 343.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "border" : 0.0, + "hint" : "Embedded tof_display-message v1.0 from tof-max. Simply displays any message it receives and passes it thru. ", + "id" : "obj-22", + "ignoreclick" : 1, + "lines" : 1, + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "parameter_enable" : 0, + "parameter_mappable" : 0, + "patching_rect" : [ 636.5, 386.0, 100.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ 13.0, 4.0, 232.0, 20.0 ], + "readonly" : 1, + "rounded" : 0.0, + "wordwrap" : 0 + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 114.0, 142.0, 61.0, 22.0 ], + "text" : "delay 200" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 346.5, 532.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 434.0, 231.0, 29.5, 22.0 ], + "text" : "set" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 615.0, 67.0, 65.0, 22.0 ], + "text" : "pastebang" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "" ], + "patching_rect" : [ 346.5, 96.0, 40.0, 22.0 ], + "text" : "t l b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 356.5, 9.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "order" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 122.0, 569.0, 243.0, 27.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-31", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "tof_debug-box", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 416.0, 529.0, 1033.0, 661.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-3", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 378.0, 199.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 24.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-2", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 363.0, 184.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 0.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "activebgoncolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-29", + "ignoreclick" : 1, + "maxclass" : "live.button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 1, + "patching_rect" : [ 399.0, 421.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "activebgoncolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[5]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } + + } +, + "varname" : "live.button" + } + + } +, { + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "bordercolor" : [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], + "id" : "obj-30", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 144.0, 288.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 13.0, 20.0 ], + "proportion" : 0.39, + "rounded" : 0 + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 645.0, 343.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "border" : 0.0, + "hint" : "Embedded tof_display-message v1.0 from tof-max. Simply displays any message it receives and passes it thru. ", + "id" : "obj-22", + "ignoreclick" : 1, + "lines" : 1, + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "parameter_enable" : 0, + "parameter_mappable" : 0, + "patching_rect" : [ 636.5, 386.0, 100.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ 13.0, 4.0, 232.0, 20.0 ], + "readonly" : 1, + "rounded" : 0.0, + "wordwrap" : 0 + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 114.0, 142.0, 61.0, 22.0 ], + "text" : "delay 200" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 346.5, 532.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 434.0, 231.0, 29.5, 22.0 ], + "text" : "set" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 615.0, 67.0, 65.0, 22.0 ], + "text" : "pastebang" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "" ], + "patching_rect" : [ 346.5, 96.0, 40.0, 22.0 ], + "text" : "t l b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 356.5, 9.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "order" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 83.0, 602.0, 243.0, 27.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-28", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "tof_debug-box", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 416.0, 529.0, 1033.0, 661.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-3", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 378.0, 199.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 24.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-2", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 363.0, 184.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 0.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "activebgoncolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-29", + "ignoreclick" : 1, + "maxclass" : "live.button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 1, + "patching_rect" : [ 399.0, 421.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "activebgoncolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[8]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } + + } +, + "varname" : "live.button" + } + + } +, { + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "bordercolor" : [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], + "id" : "obj-30", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 144.0, 288.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 13.0, 20.0 ], + "proportion" : 0.39, + "rounded" : 0 + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 645.0, 343.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "border" : 0.0, + "hint" : "Embedded tof_display-message v1.0 from tof-max. Simply displays any message it receives and passes it thru. ", + "id" : "obj-22", + "ignoreclick" : 1, + "lines" : 1, + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "parameter_enable" : 0, + "parameter_mappable" : 0, + "patching_rect" : [ 636.5, 386.0, 100.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ 13.0, 4.0, 232.0, 20.0 ], + "readonly" : 1, + "rounded" : 0.0, + "wordwrap" : 0 + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 114.0, 142.0, 61.0, 22.0 ], + "text" : "delay 200" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 346.5, 532.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 434.0, 231.0, 29.5, 22.0 ], + "text" : "set" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 615.0, 67.0, 65.0, 22.0 ], + "text" : "pastebang" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "" ], + "patching_rect" : [ 346.5, 96.0, 40.0, 22.0 ], + "text" : "t l b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 356.5, 9.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "order" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 44.0, 643.0, 243.0, 27.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 24.0, + "id" : "obj-20", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 302.0, 239.5, 495.0, 62.0 ], + "text" : "Ne pas oublier de configurer le BAUD du port!", + "textcolor" : [ 0.996078431372549, 0.0, 0.0, 1.0 ] + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-36", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 247.0, 131.0, 1151.0, 877.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "fontname" : "Ableton Sans Bold Regular", + "fontsize" : 10.0, + "id" : "obj-10", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 103.0, 37.0, 62.0, 54.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 17.0, 242.727272868156433, 18.0 ], + "text" : "tof-serial V1.1 (embedded)", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.2, 0.2, 0.2, 1.0 ], + "id" : "obj-11", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 954.0, 14.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 17.0, 242.727272868156433, 17.0 ], + "proportion" : 0.39, + "rounded" : 0 + } + + } +, { + "box" : { + "bgcolor" : [ 0.886274509803922, 0.635294117647059, 0.415686274509804, 1.0 ], + "fontname" : "Ableton Sans Bold Regular", + "fontsize" : 9.0, + "id" : "obj-7", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 172.154784999999947, 84.0, 29.0, 28.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 0.0, 70.0, 17.0 ], + "text" : "Serial (*)", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "bgcolor" : [ 0.886274509803922, 0.635294117647059, 0.415686274509804, 1.0 ], + "fontname" : "Ableton Sans Bold Regular", + "fontsize" : 9.0, + "id" : "obj-9", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 65.154784999999947, 97.0, 34.0, 28.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 88.0, 70.0, 17.0 ], + "text" : "Serial (*)", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 322.5, 703.0, 57.0, 22.0 ], + "restore" : [ 0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr port", + "varname" : "port" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 608.0, 151.0, 63.0, 22.0 ], + "restore" : [ "115200" ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr baud", + "varname" : "baud" + } + + } +, { + "box" : { + "id" : "obj-71", + "maxclass" : "live.text", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 942.0, 343.0, 44.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 111.0, 37.0, 76.0, 22.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_enum" : [ "val1", "val2" ], + "parameter_longname" : "live.text[2]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.text[1]", + "parameter_type" : 2 + } + + } +, + "text" : "refresh ports", + "varname" : "live.text[1]" + } + + } +, { + "box" : { + "id" : "obj-67", + "ignoreclick" : 1, + "maxclass" : "live.text", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 425.0, 336.0, 44.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 189.0, 37.0, 48.0, 22.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_enum" : [ "val1", "val2" ], + "parameter_longname" : "live.text[3]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.text", + "parameter_type" : 2 + } + + } +, + "text" : "closed", + "texton" : "opened", + "varname" : "live.text" + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 938.5, 109.0, 29.5, 22.0 ], + "text" : "t l b" + } + + } +, { + "box" : { + "id" : "obj-65", + "ignoreclick" : 1, + "maxclass" : "live.button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 1, + "patching_rect" : [ 976.0, 151.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 5.0, 40.5, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[2]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } + + } +, + "varname" : "live.button" + } + + } +, { + "box" : { + "id" : "obj-63", + "ignoreclick" : 1, + "maxclass" : "live.button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 1, + "patching_rect" : [ 256.0, 608.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 5.0, 63.5, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[3]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } + + } +, + "varname" : "live.button[1]" + } + + } +, { + "box" : { + "id" : "obj-60", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 468.0, 819.0, 72.0, 22.0 ], + "text" : "route (serial" + } + + } +, { + "box" : { + "id" : "obj-51", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 304.0, 384.0, 52.0, 22.0 ], + "text" : "baud $1" + } + + } +, { + "box" : { + "id" : "obj-46", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 966.0, 744.0, 150.0, 20.0 ], + "text" : "was a debug outlet" + } + + } +, { + "box" : { + "id" : "obj-44", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 938.5, 744.0, 19.0, 22.0 ], + "text" : "t l" + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "clearchecks", "bang" ], + "patching_rect" : [ 710.5, 711.0, 95.0, 22.0 ], + "text" : "t l clearchecks b" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-41", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 716.5, 775.0, 65.0, 22.0 ], + "text" : "symbol $1" + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "clearchecks" ], + "patching_rect" : [ 500.5, 114.0, 85.0, 22.0 ], + "text" : "t l clearchecks" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 500.5, 75.0, 457.0, 22.0 ], + "text" : "route baud port" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 207.75, 570.0, 29.5, 22.0 ], + "text" : "t l b" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 525.0, 371.0, 81.0, 22.0 ], + "text" : "t b b" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-15", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 991.0, 679.0, 39.0, 22.0 ], + "text" : "close" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-37", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 888.0, 680.0, 98.0, 22.0 ], + "text" : "port $1, baud $2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "bang", "bang" ], + "patching_rect" : [ 705.0, 384.0, 59.5, 22.0 ], + "text" : "t l l b b" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 919.5, 371.0, 46.0, 22.0 ], + "text" : "t b b b" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-29", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 587.0, 423.0, 39.0, 22.0 ], + "text" : "close" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 515.0, 336.0, 36.0, 22.0 ], + "text" : "sel 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-23", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1005.0, 423.0, 108.0, 22.0 ], + "text" : "ignoreclick 1, set 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 515.0, 266.0, 108.0, 22.0 ], + "text" : "set 1, ignoreclick 0" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-8", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 500.5, 37.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 500.5, 155.0, 65.0, 22.0 ], + "text" : "symbol $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-27", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 218.5, 783.0, 161.0, 22.0 ], + "text" : "clearchecks, checkitem $1 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-25", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 337.0, 198.0, 159.0, 22.0 ], + "text" : "clearchecks, checkitem $1 1" + } + + } +, { + "box" : { + "allowdrag" : 0, + "id" : "obj-22", + "items" : [ "(baud)", ",", 300, ",", 1200, ",", 2400, ",", 4800, ",", 9600, ",", 14400, ",", 19200, ",", 28800, ",", 38400, ",", 57600, ",", 115200, ",", 250000, ",", 500000, ",", 1000000, ",", 2000000 ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 500.5, 198.0, 100.0, 22.0 ], + "pattrmode" : 1, + "presentation" : 1, + "presentation_rect" : [ 22.0, 37.0, 85.5, 22.0 ], + "varname" : "umenu" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-4", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 166.0, 694.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-28", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 946.5, 538.0, 217.0, 22.0 ], + "text" : "clear, clearchecks, append (serial port)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 860.5, 179.0, 60.0, 22.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "allowdrag" : 0, + "id" : "obj-19", + "items" : [ "(serial", "port)" ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 405.0, 783.0, 145.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 22.0, 60.0, 215.0, 22.0 ], + "varname" : "umenu[1]" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 405.0, 703.0, 98.0, 22.0 ], + "text" : "prepend append" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 372.0, 604.0, 118.0, 22.0 ], + "text" : "route read port write" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 405.0, 655.0, 27.0, 22.0 ], + "text" : "iter" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-2", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 368.0, 436.0, 79.0, 22.0 ], + "text" : "port $1, open" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 151.0, 436.0, 115.0, 22.0 ], + "text" : "qmetro 1 @active 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-3", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 933.0, 465.0, 113.0, 22.0 ], + "text" : "close, refresh, print" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "" ], + "patching_rect" : [ 299.0, 514.0, 152.0, 22.0 ], + "text" : "serial @autoopen 0 @dtr 1" + } + + } +, { + "box" : { + "angle" : 0.0, + "background" : 1, + "bgcolor" : [ 0.301961, 0.301961, 0.301961, 1.0 ], + "id" : "obj-17", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 797.386206393390694, 48.726723360343954, 44.0, 9.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 17.0, 242.727272868156433, 71.0 ], + "proportion" : 0.39, + "rounded" : 0 + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-14", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "source" : [ "obj-16", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-22", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-24", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-30", 0 ] } } , { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 3, - "revision" : 1, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 337.0, 734.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "OSCTimeTag" ], - "patching_rect" : [ 50.0, 152.0, 113.0, 22.0 ], - "style" : "default", - "text" : "OpenSoundControl" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "", "", "OSCTimeTag" ], - "patching_rect" : [ 50.0, 100.0, 125.0, 22.0 ], - "style" : "default", - "text" : "slipOSC" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-20", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 156.0, 40.0, 30.0, 30.0 ] - } + "patchline" : { + "destination" : [ "obj-23", 0 ], + "order" : 0, + "source" : [ "obj-30", 2 ] + } - } -, { - "box" : { - "comment" : "", - "id" : "obj-21", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 97.0, 251.0, 30.0, 30.0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "order" : 1, + "source" : [ "obj-30", 2 ] + } - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-10", 1 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-30", 1 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-12", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-31", 2 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-12", 1 ], - "source" : [ "obj-20", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-31", 3 ] + } - } - ] - } -, - "patching_rect" : [ 61.0, 650.0, 265.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p \"Convert SLIP to OSC then to Max Messages\"" + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-31", 1 ] } } , { - "box" : { - "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], - "fontname" : "Ableton Sans Bold Regular", - "fontsize" : 9.0, - "id" : "obj-7", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 679.154784999999947, 11.0, 29.0, 39.0 ], - "presentation" : 1, - "presentation_rect" : [ 0.0, 1.0, 70.0, 17.0 ], - "text" : "OSC message", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "textjustification" : 1 + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-31", 0 ] } } , { - "box" : { - "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], - "fontname" : "Ableton Sans Bold Regular", - "fontsize" : 9.0, - "id" : "obj-5", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 572.154784999999947, 24.0, 29.0, 39.0 ], - "presentation" : 1, - "presentation_rect" : [ 0.0, 91.0, 70.0, 17.0 ], - "text" : "OSC message", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "textjustification" : 1 + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-32", 0 ] } } , { - "box" : { - "id" : "obj-71", - "maxclass" : "live.text", - "mode" : 0, - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 1, - "patching_rect" : [ 942.0, 343.0, 44.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 110.0, 38.0, 76.0, 22.0 ], - "saved_attribute_attributes" : { - "valueof" : { - "parameter_enum" : [ "val1", "val2" ], - "parameter_longname" : "live.text[1]", - "parameter_mmax" : 1, - "parameter_shortname" : "live.text[1]", - "parameter_type" : 2 - } + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-34", 1 ] + } - } -, - "text" : "refresh ports", - "varname" : "live.text[1]" + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "source" : [ "obj-37", 0 ] } } , { - "box" : { - "id" : "obj-67", - "maxclass" : "live.text", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 1, - "patching_rect" : [ 425.0, 336.0, 44.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 188.0, 38.0, 48.0, 22.0 ], - "saved_attribute_attributes" : { - "valueof" : { - "parameter_enum" : [ "val1", "val2" ], - "parameter_longname" : "live.text", - "parameter_mmax" : 1, - "parameter_shortname" : "live.text", - "parameter_type" : 2 - } + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-39", 1 ] + } - } -, - "text" : "closed", - "texton" : "opened", - "varname" : "live.text" + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "source" : [ "obj-39", 0 ] } } , { - "box" : { - "id" : "obj-66", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 938.5, 109.0, 29.5, 22.0 ], - "text" : "t l b" + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-40", 1 ] } } , { - "box" : { - "id" : "obj-65", - "ignoreclick" : 1, - "maxclass" : "live.button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 1, - "patching_rect" : [ 976.0, 151.0, 15.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 41.5, 15.0, 15.0 ], - "saved_attribute_attributes" : { - "valueof" : { - "parameter_enum" : [ "off", "on" ], - "parameter_longname" : "live.button[1]", - "parameter_mmax" : 1, - "parameter_shortname" : "live.button", - "parameter_type" : 2 - } - - } -, - "varname" : "live.button" + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-40", 2 ] } } , { - "box" : { - "id" : "obj-63", - "ignoreclick" : 1, - "maxclass" : "live.button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 1, - "patching_rect" : [ 256.0, 608.0, 15.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 64.5, 15.0, 15.0 ], - "saved_attribute_attributes" : { - "valueof" : { - "parameter_enum" : [ "off", "on" ], - "parameter_longname" : "live.button", - "parameter_mmax" : 1, - "parameter_shortname" : "live.button", - "parameter_type" : 2 - } - - } -, - "varname" : "live.button[1]" + "patchline" : { + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-40", 0 ] } } , { - "box" : { - "id" : "obj-60", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 468.0, 819.0, 72.0, 22.0 ], - "text" : "route (serial" + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-41", 0 ] } } , { - "box" : { - "id" : "obj-51", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 304.0, 384.0, 52.0, 22.0 ], - "text" : "baud $1" + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-42", 0 ] } } , { - "box" : { - "id" : "obj-46", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 966.0, 744.0, 150.0, 20.0 ], - "text" : "was a debug outlet" + "patchline" : { + "destination" : [ "obj-63", 0 ], + "source" : [ "obj-42", 1 ] } } , { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 938.5, 744.0, 19.0, 22.0 ], - "text" : "t l" + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-5", 1 ] } } , { - "box" : { - "id" : "obj-40", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "clearchecks", "bang" ], - "patching_rect" : [ 710.5, 711.0, 95.0, 22.0 ], - "text" : "t l clearchecks b" + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-51", 0 ] } } , { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-41", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 716.5, 775.0, 65.0, 22.0 ], - "text" : "symbol $1" + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 0 ] } } , { - "box" : { - "id" : "obj-39", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "clearchecks" ], - "patching_rect" : [ 500.5, 114.0, 85.0, 22.0 ], - "text" : "t l clearchecks" + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-60", 0 ] } } , { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 495.5, 73.0, 457.0, 22.0 ], - "text" : "route baud port" + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-60", 1 ] } } , { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-42", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 207.75, 570.0, 29.5, 22.0 ], - "text" : "t l b" + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-66", 0 ] } } , { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 525.0, 371.0, 81.0, 22.0 ], - "text" : "t b b" + "patchline" : { + "destination" : [ "obj-65", 0 ], + "source" : [ "obj-66", 1 ] } } , { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-15", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 991.0, 679.0, 39.0, 22.0 ], - "text" : "close" + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-67", 0 ] } } , { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-37", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 888.0, 680.0, 98.0, 22.0 ], - "text" : "port $1, baud $2" + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-71", 0 ] } } , { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-31", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "bang", "bang" ], - "patching_rect" : [ 705.0, 384.0, 59.5, 22.0 ], - "text" : "t l l b b" + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-8", 0 ] } } -, { + ] + } +, + "patching_rect" : [ 44.0, 286.0, 241.0, 107.0 ], + "varname" : "serial[1]", + "viewvisibility" : 1 + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-14", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 564.0, 278.0, 589.0, 551.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-30", + "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 919.5, 371.0, 46.0, 22.0 ], - "text" : "t b b b" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-29", - "maxclass" : "message", - "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 587.0, 423.0, 39.0, 22.0 ], - "text" : "close" + "outlettype" : [ "bang" ], + "patching_rect" : [ 611.0, 59.0, 58.0, 22.0 ], + "text" : "loadbang" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-24", + "id" : "obj-49", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 515.0, 336.0, 36.0, 22.0 ], - "text" : "sel 1" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-23", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1005.0, 423.0, 108.0, 22.0 ], - "text" : "ignoreclick 1, set 0" + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 715.0, 33.0, 32.0, 22.0 ], + "text" : "t b b" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-12", + "id" : "obj-45", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 515.0, 266.0, 108.0, 22.0 ], - "text" : "set 1, ignoreclick 0" + "patching_rect" : [ 715.0, 103.0, 65.0, 22.0 ], + "text" : "/test, bang" } } , { "box" : { - "comment" : "", - "id" : "obj-8", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 274.5, -3.0, 25.0, 25.0 ] + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "OSCTimeTag" ], + "patching_rect" : [ 715.0, 135.0, 113.0, 22.0 ], + "style" : "default", + "text" : "OpenSoundControl" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-32", + "id" : "obj-36", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 500.5, 155.0, 65.0, 22.0 ], - "text" : "symbol $1" + "patching_rect" : [ 715.0, 180.0, 29.5, 22.0 ], + "text" : "1" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-27", - "maxclass" : "message", + "id" : "obj-2", + "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 218.5, 783.0, 161.0, 22.0 ], - "text" : "clearchecks, checkitem $1 1" + "outlettype" : [ "int" ], + "patching_rect" : [ 797.0, 209.726723360343954, 31.0, 22.0 ], + "text" : "int 0" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-25", + "id" : "obj-34", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 337.0, 198.0, 159.0, 22.0 ], - "text" : "clearchecks, checkitem $1 1" + "patching_rect" : [ 797.0, 244.726723360343954, 61.0, 22.0 ], + "text" : "hidden $1" } } , { "box" : { - "allowdrag" : 0, - "id" : "obj-22", - "items" : [ "(baud)", ",", 300, ",", 1200, ",", 2400, ",", 4800, ",", 9600, ",", 14400, ",", 19200, ",", 28800, ",", 38400, ",", 57600, ",", 115200 ], - "maxclass" : "umenu", + "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], + "hidden" : 1, + "id" : "obj-35", + "linecount" : 2, + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 500.5, 198.0, 100.0, 22.0 ], - "pattrmode" : 1, + "numoutlets" : 0, + "patching_rect" : [ 797.0, 283.726723360343954, 198.0, 34.0 ], "presentation" : 1, - "presentation_rect" : [ 21.0, 38.0, 85.5, 22.0 ] + "presentation_linecount" : 2, + "presentation_rect" : [ -0.5, 17.0, 247.0, 34.0 ], + "text" : "INSTALL CNMAT PACKAGE AND REOPEN PATCHER", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 } } , { "box" : { - "comment" : "", - "id" : "obj-4", - "index" : 1, - "maxclass" : "outlet", + "id" : "obj-33", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 166.0, 694.0, 25.0, 25.0 ] - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-28", - "maxclass" : "message", - "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 946.5, 538.0, 217.0, 22.0 ], - "text" : "clear, clearchecks, append (serial port)" - } + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 337.0, 734.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "OSCTimeTag" ], + "patching_rect" : [ 50.0, 152.0, 113.0, 22.0 ], + "style" : "default", + "text" : "OpenSoundControl" + } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 860.5, 179.0, 60.0, 22.0 ], - "text" : "loadbang" - } + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "", "", "OSCTimeTag" ], + "patching_rect" : [ 50.0, 100.0, 125.0, 22.0 ], + "style" : "default", + "text" : "slipOSC" + } - } -, { - "box" : { - "allowdrag" : 0, - "id" : "obj-19", - "items" : [ "(serial", "port)", ",", "COM8" ], - "maxclass" : "umenu", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 405.0, 783.0, 145.0, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 21.0, 61.0, 215.0, 22.0 ] - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 156.0, 40.0, 30.0, 30.0 ] + } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 405.0, 703.0, 98.0, 22.0 ], - "text" : "prepend append" - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 97.0, 251.0, 30.0, 30.0 ] + } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 372.0, 604.0, 118.0, 22.0 ], - "text" : "route read port write" - } + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-10", 1 ] + } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 405.0, 655.0, 27.0, 22.0 ], - "text" : "iter" - } + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-12", 0 ] + } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-2", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 368.0, 436.0, 79.0, 22.0 ], - "text" : "port $1, open" - } + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "source" : [ "obj-20", 0 ] + } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 151.0, 436.0, 115.0, 22.0 ], - "text" : "qmetro 1 @active 1" + } + ] + } +, + "patching_rect" : [ 269.0, 80.0, 265.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"Convert SLIP to OSC then to Max Messages\"" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-3", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 933.0, 465.0, 113.0, 22.0 ], - "text" : "close, refresh, print" + "bgcolor" : [ 0.886274509803922, 0.635294117647059, 0.415686274509804, 1.0 ], + "fontname" : "Ableton Sans Bold Regular", + "fontsize" : 9.0, + "id" : "obj-7", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 172.154784999999947, 84.0, 29.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 0.0, 70.0, 17.0 ], + "text" : "Serial (SLIP)", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "textjustification" : 1 } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, + "comment" : "", "id" : "obj-1", - "maxclass" : "newobj", + "index" : 1, + "maxclass" : "outlet", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "" ], - "patching_rect" : [ 299.0, 514.0, 152.0, 22.0 ], - "text" : "serial @autoopen 0 @dtr 1" + "numoutlets" : 0, + "patching_rect" : [ 251.0, 129.0, 30.0, 30.0 ] } } @@ -1180,14 +2848,15 @@ "box" : { "fontname" : "Ableton Sans Bold Regular", "fontsize" : 10.0, - "id" : "obj-9", + "id" : "obj-10", + "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 39.154785000000004, 58.0, 62.0, 18.0 ], + "patching_rect" : [ 103.0, 37.0, 68.0, 42.0 ], "presentation" : 1, - "presentation_rect" : [ 0.0, 18.0, 258.0, 18.0 ], - "text" : "tof.slip.osc", + "presentation_rect" : [ -0.5, 17.0, 244.0, 18.0 ], + "text" : "tof-slip-to-message V1.0 (embedded)", "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } @@ -1201,27 +2870,59 @@ "mode" : 0, "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 54.154785000000004, 73.0, 576.0, 17.0 ], + "patching_rect" : [ 129.0, 273.0, 576.0, 17.0 ], "presentation" : 1, - "presentation_rect" : [ 0.0, 18.0, 258.0, 17.0 ], + "presentation_rect" : [ -0.5, 17.0, 242.727272868156433, 17.0 ], "proportion" : 0.39, "rounded" : 0 } + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "fontname" : "Ableton Sans Bold Regular", + "fontsize" : 9.0, + "id" : "obj-9", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 65.154784999999947, 97.0, 31.0, 39.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 51.0, 70.0, 17.0 ], + "text" : "Max Message", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-8", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 251.0, 8.0, 25.0, 25.0 ] + } + } , { "box" : { "angle" : 0.0, "background" : 1, "bgcolor" : [ 0.301961, 0.301961, 0.301961, 1.0 ], - "id" : "obj-10", + "id" : "obj-17", "maxclass" : "panel", "mode" : 0, "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 192.386206393390637, 260.726723360343954, 44.0, 9.0 ], + "patching_rect" : [ 395.0, 222.726723360343954, 44.0, 9.0 ], "presentation" : 1, - "presentation_rect" : [ 0.0, 30.969033999999965, 258.0, 60.030966000000035 ], + "presentation_rect" : [ -0.5, 29.0, 242.727272868156433, 22.0 ], "proportion" : 0.39, "rounded" : 0 } @@ -1230,387 +2931,642 @@ ], "lines" : [ { "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-1", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-14", 1 ] + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-2", 0 ] } } , { "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-15", 0 ] + "destination" : [ "obj-49", 0 ], + "source" : [ "obj-3", 0 ] } } , { "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-16", 0 ] + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-33", 0 ] } } , { "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-16", 1 ] + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-34", 0 ] } } , { "patchline" : { - "destination" : [ "obj-66", 0 ], - "source" : [ "obj-16", 2 ] + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-36", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-17", 0 ] + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-38", 0 ] } } , { "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-18", 0 ] + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-45", 0 ] } } , { "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-19", 0 ] + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-49", 1 ] } } , { "patchline" : { - "destination" : [ "obj-60", 0 ], - "source" : [ "obj-19", 1 ] + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-49", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-2", 0 ] + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-8", 0 ] } } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-20", 0 ] - } + ] + } +, + "patching_rect" : [ 44.0, 398.0, 243.0, 68.0 ], + "varname" : "serial[3]", + "viewvisibility" : 1 + } - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-21", 0 ] + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-2", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 564.0, 278.0, 1040.0, 551.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 611.0, 59.0, 58.0, 22.0 ], + "text" : "loadbang" } } , { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-21", 1 ] + "box" : { + "id" : "obj-49", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 715.0, 33.0, 32.0, 22.0 ], + "text" : "t b b" } } , { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-22", 0 ] + "box" : { + "id" : "obj-45", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 715.0, 103.0, 65.0, 22.0 ], + "text" : "/test, bang" } } , { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-22", 1 ] + "box" : { + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "OSCTimeTag" ], + "patching_rect" : [ 715.0, 135.0, 113.0, 22.0 ], + "style" : "default", + "text" : "OpenSoundControl" } } , { - "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-23", 0 ] + "box" : { + "id" : "obj-36", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 715.0, 180.0, 29.5, 22.0 ], + "text" : "1" } } , { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-24", 0 ] + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 797.0, 209.726723360343954, 31.0, 22.0 ], + "text" : "int 0" } } , { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-24", 1 ] + "box" : { + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 797.0, 244.726723360343954, 61.0, 22.0 ], + "text" : "hidden $1" } } , { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-25", 0 ] + "box" : { + "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], + "hidden" : 1, + "id" : "obj-35", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 797.0, 283.726723360343954, 198.0, 34.0 ], + "presentation" : 1, + "presentation_linecount" : 2, + "presentation_rect" : [ -0.5, 17.0, 247.0, 34.0 ], + "text" : "INSTALL CNMAT PACKAGE AND REOPEN PATCHER", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 } } , { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-26", 0 ] - } + "box" : { + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 366.0, 359.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 50.0, 120.0, 49.0, 22.0 ], + "text" : "route [ ]" + } - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-27", 0 ] - } + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 84.0, 152.0, 29.5, 22.0 ], + "text" : "t b l" + } - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-28", 0 ] - } + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 230.0, 135.0, 117.0, 22.0 ], + "style" : "default", + "text" : "resetallthewaymode" + } - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-29", 0 ] - } + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 234.0, 97.0, 58.0, 22.0 ], + "text" : "loadbang" + } - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-3", 0 ] - } + } +, { + "box" : { + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "OSCTimeTag" ], + "patching_rect" : [ 72.0, 221.0, 113.0, 22.0 ], + "style" : "default", + "text" : "OpenSoundControl" + } - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-30", 0 ] - } + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "", "", "OSCTimeTag" ], + "patching_rect" : [ 77.0, 277.0, 125.0, 22.0 ], + "style" : "default", + "text" : "slipOSC" + } - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 0, - "source" : [ "obj-30", 2 ] - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-24", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "order" : 1, - "source" : [ "obj-30", 2 ] - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-25", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 183.0, 359.0, 30.0, 30.0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-30", 1 ] - } + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-2", 1 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-31", 2 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-2", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-31", 3 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-24", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-31", 1 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-29", 1 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-31", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-3", 2 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-32", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-30", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-37", 0 ] + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-5", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 251.0, 78.0, 265.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"Convert Max Messages to OSC then to SLIP\"" } } , { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-39", 1 ] + "box" : { + "bgcolor" : [ 0.886274509803922, 0.635294117647059, 0.415686274509804, 1.0 ], + "fontname" : "Ableton Sans Bold Regular", + "fontsize" : 9.0, + "id" : "obj-7", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 172.154784999999947, 84.0, 29.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 51.0, 70.0, 17.0 ], + "text" : "Serial (SLIP)", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "textjustification" : 1 } } , { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-39", 0 ] + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 251.0, 129.0, 30.0, 30.0 ] } } , { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-40", 1 ] + "box" : { + "fontname" : "Ableton Sans Bold Regular", + "fontsize" : 10.0, + "id" : "obj-10", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 103.0, 37.0, 68.0, 42.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 17.0, 244.0, 18.0 ], + "text" : "tof-message-to-slip V1.0 (embedded)", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-40", 2 ] + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.2, 0.2, 0.2, 1.0 ], + "id" : "obj-11", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 129.0, 273.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 17.0, 242.727272868156433, 17.0 ], + "proportion" : 0.39, + "rounded" : 0 } } , { - "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-40", 0 ] + "box" : { + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "fontname" : "Ableton Sans Bold Regular", + "fontsize" : 9.0, + "id" : "obj-9", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 65.154784999999947, 97.0, 31.0, 39.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 0.0, 70.0, 17.0 ], + "text" : "Max Message", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 } } , { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-41", 0 ] + "box" : { + "comment" : "", + "id" : "obj-8", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 251.0, 8.0, 25.0, 25.0 ] } } , { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-42", 0 ] + "box" : { + "angle" : 0.0, + "background" : 1, + "bgcolor" : [ 0.301961, 0.301961, 0.301961, 1.0 ], + "id" : "obj-17", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 395.0, 222.726723360343954, 44.0, 9.0 ], + "presentation" : 1, + "presentation_rect" : [ -0.5, 29.0, 242.727272868156433, 22.0 ], + "proportion" : 0.39, + "rounded" : 0 } } -, { + ], + "lines" : [ { "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-42", 1 ] + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-2", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-51", 0 ] + "destination" : [ "obj-49", 0 ], + "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], - "source" : [ "obj-6", 0 ] + "source" : [ "obj-33", 0 ] } } , { "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-60", 0 ] + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-34", 0 ] } } , { "patchline" : { - "destination" : [ "obj-31", 0 ], - "source" : [ "obj-60", 1 ] + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-36", 0 ] } } , { "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-66", 0 ] + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-38", 0 ] } } , { "patchline" : { - "destination" : [ "obj-65", 0 ], - "source" : [ "obj-66", 1 ] + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-45", 0 ] } } , { "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-67", 0 ] + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-49", 1 ] } } , { "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-71", 0 ] + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-49", 0 ] } } , { "patchline" : { - "destination" : [ "obj-16", 0 ], + "destination" : [ "obj-33", 0 ], "source" : [ "obj-8", 0 ] } @@ -1618,63 +3574,153 @@ ] } , - "patching_rect" : [ 50.5, 204.0, 258.0, 108.0 ], - "varname" : "serial", + "patching_rect" : [ 44.0, 205.5, 243.0, 68.0 ], + "varname" : "serial[2]", "viewvisibility" : 1 } + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 44.0, 536.0, 136.0, 22.0 ], + "text" : "route /pot /photo /button" + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 24.0, + "id" : "obj-5", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 302.0, 310.5, 495.0, 144.0 ], + "text" : "Note: Ce patcher utilise l'objet slipOSC et OpenSoundControl du paquet CNMAT. Installez le paquet CNMAT à partir du «Package Manager» de Max.\n", + "textcolor" : [ 0.996078431372549, 0.0, 0.0, 1.0 ] + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ], + "border" : 1, + "bordercolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-33", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 28.0, 509.0, 345.0, 185.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + } ], "lines" : [ { "patchline" : { "destination" : [ "obj-35", 0 ], - "source" : [ "obj-13", 0 ] + "source" : [ "obj-14", 0 ] } } , { "patchline" : { - "destination" : [ "obj-13", 0 ], + "destination" : [ "obj-36", 0 ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], "source" : [ "obj-35", 0 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], + "destination" : [ "obj-31", 0 ], "source" : [ "obj-35", 1 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], + "destination" : [ "obj-32", 0 ], "source" : [ "obj-35", 2 ] } + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "order" : 0, + "source" : [ "obj-6", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-2", 0 ], + "order" : 1, "source" : [ "obj-6", 0 ] } } ], "parameters" : { - "obj-13::obj-63" : [ "live.button", "live.button", 0 ], - "obj-13::obj-65" : [ "live.button[1]", "live.button", 0 ], - "obj-13::obj-67" : [ "live.text", "live.text", 0 ], - "obj-13::obj-71" : [ "live.text[1]", "live.text[1]", 0 ], + "obj-19::obj-29" : [ "live.button[4]", "live.button", 0 ], + "obj-19::obj-8::obj-2" : [ "pastebang[4]", "pastebang", 0 ], + "obj-28::obj-29" : [ "live.button[8]", "live.button", 0 ], + "obj-28::obj-8::obj-2" : [ "pastebang", "pastebang", 0 ], + "obj-31::obj-29" : [ "live.button[5]", "live.button", 0 ], + "obj-31::obj-8::obj-2" : [ "pastebang[5]", "pastebang", 0 ], + "obj-32::obj-29" : [ "live.button[6]", "live.button", 0 ], + "obj-32::obj-8::obj-2" : [ "pastebang[6]", "pastebang", 0 ], + "obj-36::obj-63" : [ "live.button[3]", "live.button", 0 ], + "obj-36::obj-65" : [ "live.button[2]", "live.button", 0 ], + "obj-36::obj-67" : [ "live.text[3]", "live.text", 0 ], + "obj-36::obj-71" : [ "live.text[2]", "live.text[1]", 0 ], "parameterbanks" : { + } +, + "parameter_overrides" : { + "obj-19::obj-8::obj-2" : { + "parameter_longname" : "pastebang[4]" + } +, + "obj-31::obj-8::obj-2" : { + "parameter_longname" : "pastebang[5]" + } +, + "obj-32::obj-8::obj-2" : { + "parameter_longname" : "pastebang[6]" + } + } , "inherited_shortname" : 1 @@ -1684,6 +3730,12 @@ "name" : "OpenSoundControl.mxe64", "type" : "mx64" } +, { + "name" : "pastebang.maxpat", + "bootpath" : "C74:/packages/Beap/misc", + "type" : "JSON", + "implicit" : 1 + } , { "name" : "slipOSC.mxe64", "type" : "mx64" diff --git a/rel-electro-immersif-src/unity/osc_slip_udp.maxpat b/rel-electro-immersif-src/unity/osc_slip_udp.maxpat index 947ec30..78fe066 100644 --- a/rel-electro-immersif-src/unity/osc_slip_udp.maxpat +++ b/rel-electro-immersif-src/unity/osc_slip_udp.maxpat @@ -4,13 +4,13 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 1, + "revision" : 5, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 34.0, 85.0, 2037.0, 1299.0 ], + "rect" : [ 42.0, 85.0, 2037.0, 1283.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -39,6 +39,1318 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-44", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 345.0, 74.5, 260.0, 20.0 ], + "text" : "Affichage dans Max des messages OSC UDP", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-41", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 38.0, 30.5, 150.0, 20.0 ], + "text" : "Réception par OSC UDP", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-39", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 38.0, 740.0, 150.0, 20.0 ], + "text" : "Envoi par OSC UDP", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-37", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 398.0, 740.0, 260.0, 20.0 ], + "text" : "Affichage dans Max des messages OSC SLIP", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-32", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "tof_debug-box", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 416.0, 529.0, 1033.0, 661.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-3", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 378.0, 199.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 24.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-2", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 363.0, 184.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 0.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "activebgoncolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-29", + "ignoreclick" : 1, + "maxclass" : "live.button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 1, + "patching_rect" : [ 399.0, 421.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "activebgoncolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[7]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } + + } +, + "varname" : "live.button" + } + + } +, { + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "bordercolor" : [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], + "id" : "obj-30", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 144.0, 288.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 13.0, 20.0 ], + "proportion" : 0.39, + "rounded" : 0 + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 645.0, 343.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "border" : 0.0, + "hint" : "Embedded tof_display-message v1.0 from tof-max. Simply displays any message it receives and passes it thru. ", + "id" : "obj-22", + "ignoreclick" : 1, + "lines" : 1, + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "parameter_enable" : 0, + "parameter_mappable" : 0, + "patching_rect" : [ 636.5, 386.0, 100.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ 13.0, 4.0, 232.0, 20.0 ], + "readonly" : 1, + "rounded" : 0.0, + "wordwrap" : 0 + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 114.0, 142.0, 61.0, 22.0 ], + "text" : "delay 200" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 346.5, 532.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 434.0, 231.0, 29.5, 22.0 ], + "text" : "set" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 615.0, 67.0, 65.0, 22.0 ], + "text" : "pastebang" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "" ], + "patching_rect" : [ 346.5, 96.0, 40.0, 22.0 ], + "text" : "t l b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 356.5, 9.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "order" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 407.0, 615.0, 243.0, 27.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-31", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "tof_debug-box", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 416.0, 529.0, 1033.0, 661.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-3", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 378.0, 199.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 24.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-2", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 363.0, 184.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 0.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "activebgoncolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-29", + "ignoreclick" : 1, + "maxclass" : "live.button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 1, + "patching_rect" : [ 399.0, 421.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "activebgoncolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[6]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } + + } +, + "varname" : "live.button" + } + + } +, { + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "bordercolor" : [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], + "id" : "obj-30", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 144.0, 288.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 13.0, 20.0 ], + "proportion" : 0.39, + "rounded" : 0 + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 645.0, 343.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "border" : 0.0, + "hint" : "Embedded tof_display-message v1.0 from tof-max. Simply displays any message it receives and passes it thru. ", + "id" : "obj-22", + "ignoreclick" : 1, + "lines" : 1, + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "parameter_enable" : 0, + "parameter_mappable" : 0, + "patching_rect" : [ 636.5, 386.0, 100.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ 13.0, 4.0, 232.0, 20.0 ], + "readonly" : 1, + "rounded" : 0.0, + "wordwrap" : 0 + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 114.0, 142.0, 61.0, 22.0 ], + "text" : "delay 200" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 346.5, 532.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 434.0, 231.0, 29.5, 22.0 ], + "text" : "set" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 615.0, 67.0, 65.0, 22.0 ], + "text" : "pastebang" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "" ], + "patching_rect" : [ 346.5, 96.0, 40.0, 22.0 ], + "text" : "t l b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 356.5, 9.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "order" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 368.0, 648.0, 243.0, 27.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-28", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "tof_debug-box", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 416.0, 529.0, 1033.0, 661.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-3", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 378.0, 199.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 24.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-2", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 363.0, 184.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 0.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "activebgoncolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-29", + "ignoreclick" : 1, + "maxclass" : "live.button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 1, + "patching_rect" : [ 399.0, 421.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "activebgoncolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[8]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } + + } +, + "varname" : "live.button" + } + + } +, { + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "bordercolor" : [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], + "id" : "obj-30", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 144.0, 288.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 13.0, 20.0 ], + "proportion" : 0.39, + "rounded" : 0 + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 645.0, 343.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "border" : 0.0, + "hint" : "Embedded tof_display-message v1.0 from tof-max. Simply displays any message it receives and passes it thru. ", + "id" : "obj-22", + "ignoreclick" : 1, + "lines" : 1, + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "parameter_enable" : 0, + "parameter_mappable" : 0, + "patching_rect" : [ 636.5, 386.0, 100.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ 13.0, 4.0, 232.0, 20.0 ], + "readonly" : 1, + "rounded" : 0.0, + "wordwrap" : 0 + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 114.0, 142.0, 61.0, 22.0 ], + "text" : "delay 200" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 346.5, 532.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 434.0, 231.0, 29.5, 22.0 ], + "text" : "set" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 615.0, 67.0, 65.0, 22.0 ], + "text" : "pastebang" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "" ], + "patching_rect" : [ 346.5, 96.0, 40.0, 22.0 ], + "text" : "t l b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 356.5, 9.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "order" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 329.0, 689.0, 243.0, 27.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "embed" : 1, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-19", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "tof_debug-box", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 5, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 416.0, 529.0, 1033.0, 661.0 ], + "bglocked" : 0, + "openinpresentation" : 1, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-3", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 378.0, 199.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 24.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-2", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 363.0, 184.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 0.0, 20.0, 4.0 ], + "proportion" : 0.5, + "rounded" : 0 + } + + } +, { + "box" : { + "activebgoncolor" : [ 0.0, 0.694117647058824, 0.294117647058824, 1.0 ], + "id" : "obj-29", + "ignoreclick" : 1, + "maxclass" : "live.button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 1, + "patching_rect" : [ 399.0, 421.0, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 15.0, 15.0 ], + "saved_attribute_attributes" : { + "activebgoncolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "live.button[4]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.button", + "parameter_type" : 2 + } + + } +, + "varname" : "live.button" + } + + } +, { + "box" : { + "angle" : 0.0, + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "bordercolor" : [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], + "id" : "obj-30", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 144.0, 288.0, 576.0, 17.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 4.0, 13.0, 20.0 ], + "proportion" : 0.39, + "rounded" : 0 + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 645.0, 343.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "border" : 0.0, + "hint" : "Embedded tof_display-message v1.0 from tof-max. Simply displays any message it receives and passes it thru. ", + "id" : "obj-22", + "ignoreclick" : 1, + "lines" : 1, + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "parameter_enable" : 0, + "parameter_mappable" : 0, + "patching_rect" : [ 636.5, 386.0, 100.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ 13.0, 4.0, 232.0, 20.0 ], + "readonly" : 1, + "rounded" : 0.0, + "wordwrap" : 0 + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 114.0, 142.0, 61.0, 22.0 ], + "text" : "delay 200" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 346.5, 532.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 434.0, 231.0, 29.5, 22.0 ], + "text" : "set" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 615.0, 67.0, 65.0, 22.0 ], + "text" : "pastebang" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "" ], + "patching_rect" : [ 346.5, 96.0, 40.0, 22.0 ], + "text" : "t l b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 356.5, 9.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "order" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 338.5, 146.0, 243.0, 27.0 ], + "viewvisibility" : 1 + } + + } +, { "box" : { "fontface" : 1, "fontsize" : 24.0, @@ -47,8 +1359,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 394.0, 460.5, 495.0, 62.0 ], - "presentation_linecount" : 2, + "patching_rect" : [ 302.0, 239.5, 495.0, 62.0 ], "text" : "Ne pas oublier de configurer le BAUD du port!", "textcolor" : [ 0.996078431372549, 0.0, 0.0, 1.0 ] } @@ -75,7 +1386,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 1, + "revision" : 5, "architecture" : "x64", "modernui" : 1 } @@ -1216,7 +2527,7 @@ ] } , - "patching_rect" : [ 143.0, 438.0, 241.0, 107.0 ], + "patching_rect" : [ 44.0, 286.0, 241.0, 107.0 ], "varname" : "serial[1]", "viewvisibility" : 1 } @@ -1243,7 +2554,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 1, + "revision" : 5, "architecture" : "x64", "modernui" : 1 } @@ -1393,7 +2704,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 1, + "revision" : 5, "architecture" : "x64", "modernui" : 1 } @@ -1704,7 +3015,7 @@ ] } , - "patching_rect" : [ 143.0, 550.0, 243.0, 68.0 ], + "patching_rect" : [ 44.0, 398.0, 243.0, 68.0 ], "varname" : "serial[3]", "viewvisibility" : 1 } @@ -1731,7 +3042,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 1, + "revision" : 5, "architecture" : "x64", "modernui" : 1 } @@ -1881,7 +3192,7 @@ "appversion" : { "major" : 8, "minor" : 5, - "revision" : 1, + "revision" : 5, "architecture" : "x64", "modernui" : 1 } @@ -2276,23 +3587,11 @@ ] } , - "patching_rect" : [ 143.0, 357.5, 243.0, 68.0 ], + "patching_rect" : [ 44.0, 205.5, 243.0, 68.0 ], "varname" : "serial[2]", "viewvisibility" : 1 } - } -, { - "box" : { - "id" : "obj-32", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 216.5, 302.0, 240.0, 22.0 ], - "text" : "164 164 164" - } - } , { "box" : { @@ -2301,7 +3600,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 437.5, 267.0, 67.0, 22.0 ], + "patching_rect" : [ 338.5, 115.0, 67.0, 22.0 ], "text" : "route /pixel" } @@ -2314,7 +3613,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 274.0, 623.0, 50.0, 22.0 ] + "patching_rect" : [ 69.0, 582.0, 50.0, 22.0 ] } } @@ -2326,7 +3625,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 346.0, 623.0, 50.0, 22.0 ] + "patching_rect" : [ 141.0, 582.0, 50.0, 22.0 ] } } @@ -2337,7 +3636,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 346.0, 675.0, 45.0, 22.0 ], + "patching_rect" : [ 141.0, 634.0, 45.0, 22.0 ], "text" : "/pot $1" } @@ -2349,7 +3648,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 274.0, 675.0, 59.0, 22.0 ], + "patching_rect" : [ 69.0, 634.0, 59.0, 22.0 ], "text" : "/photo $1" } @@ -2362,7 +3661,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 252.0, 730.0, 181.0, 27.0 ], + "patching_rect" : [ 47.0, 689.0, 181.0, 27.0 ], "text" : "udpsend 127.0.0.1 7001" } @@ -2376,72 +3675,103 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 143.0, 213.0, 127.0, 27.0 ], + "patching_rect" : [ 44.0, 61.0, 127.0, 27.0 ], "text" : "udpreceive 7000" } } , { "box" : { - "id" : "obj-7", - "maxclass" : "toggle", + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 329.0, 582.0, 136.0, 22.0 ], + "text" : "route /pot /photo /button" + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 24.0, + "id" : "obj-5", + "linecount" : 4, + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 221.0, 820.0, 24.0, 24.0 ] + "numoutlets" : 0, + "patching_rect" : [ 302.0, 310.5, 495.0, 144.0 ], + "text" : "Note: Ce patcher utilise l'objet slipOSC et OpenSoundControl du paquet CNMAT. Installez le paquet CNMAT à partir du «Package Manager» de Max.\n", + "textcolor" : [ 0.996078431372549, 0.0, 0.0, 1.0 ] } } , { "box" : { - "id" : "obj-3", - "maxclass" : "number", - "minimum" : 0, + "angle" : 270.0, + "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ], + "border" : 1, + "bordercolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-43", + "maxclass" : "panel", + "mode" : 0, "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 182.0, 857.0, 50.0, 22.0 ] + "numoutlets" : 0, + "patching_rect" : [ 321.0, 95.0, 284.0, 107.0 ], + "proportion" : 0.5, + "rounded" : 0 } } , { "box" : { - "id" : "obj-1", - "maxclass" : "number", + "angle" : 270.0, + "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ], + "border" : 1, + "bordercolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-40", + "maxclass" : "panel", + "mode" : 0, "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 143.0, 884.0, 50.0, 22.0 ] + "numoutlets" : 0, + "patching_rect" : [ 38.0, 50.5, 178.0, 68.0 ], + "proportion" : 0.5, + "rounded" : 0 } } , { "box" : { - "id" : "obj-35", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 143.0, 789.0, 136.0, 22.0 ], - "text" : "route /pot /photo /button" + "angle" : 270.0, + "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ], + "border" : 1, + "bordercolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-34", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 38.0, 555.0, 212.0, 185.0 ], + "proportion" : 0.5, + "rounded" : 0 } } , { "box" : { - "fontface" : 1, - "fontsize" : 24.0, - "id" : "obj-5", - "linecount" : 4, - "maxclass" : "comment", + "angle" : 270.0, + "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ], + "border" : 1, + "bordercolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "id" : "obj-33", + "maxclass" : "panel", + "mode" : 0, "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 143.0, 58.5, 495.0, 144.0 ], - "text" : "Note: Ce patcher utilise l'objet slipOSC et OpenSoundControl du paquet CNMAT's slipOSC. Installez le paquet CNMAT à partir du «Package Manager» de Max.\n", - "textcolor" : [ 0.996078431372549, 0.0, 0.0, 1.0 ] + "patching_rect" : [ 313.0, 555.0, 345.0, 185.0 ], + "proportion" : 0.5, + "rounded" : 0 } } @@ -2456,7 +3786,7 @@ , { "patchline" : { "destination" : [ "obj-35", 0 ], - "order" : 1, + "order" : 0, "source" : [ "obj-14", 0 ] } @@ -2464,7 +3794,7 @@ , { "patchline" : { "destination" : [ "obj-4", 0 ], - "order" : 0, + "order" : 1, "source" : [ "obj-14", 0 ] } @@ -2515,28 +3845,28 @@ } , { "patchline" : { - "destination" : [ "obj-32", 1 ], + "destination" : [ "obj-19", 0 ], "source" : [ "obj-30", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], + "destination" : [ "obj-28", 0 ], "source" : [ "obj-35", 0 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], + "destination" : [ "obj-31", 0 ], "source" : [ "obj-35", 1 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], + "destination" : [ "obj-32", 0 ], "source" : [ "obj-35", 2 ] } @@ -2550,12 +3880,35 @@ } ], "parameters" : { + "obj-19::obj-29" : [ "live.button[4]", "live.button", 0 ], + "obj-19::obj-8::obj-2" : [ "pastebang[4]", "pastebang", 0 ], + "obj-28::obj-29" : [ "live.button[8]", "live.button", 0 ], + "obj-28::obj-8::obj-2" : [ "pastebang", "pastebang", 0 ], + "obj-31::obj-29" : [ "live.button[6]", "live.button", 0 ], + "obj-31::obj-8::obj-2" : [ "pastebang[2]", "pastebang", 0 ], + "obj-32::obj-29" : [ "live.button[7]", "live.button", 0 ], + "obj-32::obj-8::obj-2" : [ "pastebang[3]", "pastebang", 0 ], "obj-36::obj-63" : [ "live.button[3]", "live.button", 0 ], "obj-36::obj-65" : [ "live.button[2]", "live.button", 0 ], "obj-36::obj-67" : [ "live.text[3]", "live.text", 0 ], "obj-36::obj-71" : [ "live.text[2]", "live.text[1]", 0 ], "parameterbanks" : { + } +, + "parameter_overrides" : { + "obj-19::obj-8::obj-2" : { + "parameter_longname" : "pastebang[4]" + } +, + "obj-31::obj-8::obj-2" : { + "parameter_longname" : "pastebang[2]" + } +, + "obj-32::obj-8::obj-2" : { + "parameter_longname" : "pastebang[3]" + } + } , "inherited_shortname" : 1 @@ -2565,6 +3918,12 @@ "name" : "OpenSoundControl.mxe64", "type" : "mx64" } +, { + "name" : "pastebang.maxpat", + "bootpath" : "C74:/packages/Beap/misc", + "type" : "JSON", + "implicit" : 1 + } , { "name" : "slipOSC.mxe64", "type" : "mx64" diff --git a/rel-electro-immersif-src/unity/osc_udp_unity.md b/rel-electro-immersif-src/unity/osc_udp_unity.md index 679de41..17bf7d3 100644 --- a/rel-electro-immersif-src/unity/osc_udp_unity.md +++ b/rel-electro-immersif-src/unity/osc_udp_unity.md @@ -6,12 +6,12 @@ Pour envoyer de l'OSC UDP à Unity, vous devez utiliser l'une des solutions suiv * **de préférence** un microcontrôleur avec une connexion WiFI ou Ethernet qui peut communiquer en UDP ; dans ce cas, vous pouvez utilisez [MicroOsc UDP](../osc_udp/osc_udp.md). * **sinon** un microcontrôleur avec une connexion série ; dans ce cas, vous pouvez utilisez [MicroOsc SLIP](../osc_slip/osc_slip.md) ainsi qu'un logiciel permettant de faire le relais SLIP à UDP : [relais avec PD](../pd/relais_osc_slip_udp.md) ou [relais avec Max](../max/relais_osc_slip_udp.md). - ## Avant tout : Activez «Run in Background» dans Unity Pour que Unity puisse continuer à rouler son code quand sa fenêtre n'est pas en avant plan, cochez la case «Run in Background» dans «Project Settings→Player→Resolution and Presentation→Run in Background» : ![Désactivation de «Run in Background» dans les «Project Settings»](./run_in_background.png) + ## Option #1 : Solution C# avec le paquet extOSC ### Installation @@ -37,6 +37,8 @@ Importez tous les *assets* : Vous devriez maintenant trouver *extOSC* dans vos *assets* : ![«extOSC» dans les Assets du projet](./extosc_install7.png) + + ### Intégration * Créez un nouveau GameObject vide nommé «OSC». @@ -48,13 +50,18 @@ Vous devriez maintenant trouver *extOSC* dans vos *assets* : Créez un nouveau script nommé «MyOSC» : ![Le script «MyOSC» dans les Assets](./extosc_script_myosc.png) -Dans ce script il faut deux variables qui pointent vers les scripts *components* «OSCTransmitter» et «OSCReceiver» : +Dans ce script, indiquez que vous allez utiliser le paquet « extOSC » en ajoutant `using extOSC` au tout début (après les autres `using`) : +```csharp +using extOSC; +``` + +Ensuite, ajoutez deux variables qui pointeront vers les scripts *components* «OSCTransmitter» et «OSCReceiver» : ```csharp public extOSC.OSCReceiver oscReceiver; public extOSC.OSCTransmitter oscTransmitter; ``` -Dans Unity vous devez lier ces variables aux scripts *components* «OSCTransmitter» et «OSCReceiver»: +Dans l'éditeur Unity liez ces variables aux scripts *components* «OSCTransmitter» et «OSCReceiver»: ![Les scripts *components* «OSCTransmitter» et «OSCReceiver» liés aux variables publqiues](./extosc_script_myosc_lien.png) Pour interagir avec les GameObjects dans la scène, vous devez aussi ajouter une variable publique au script «MyOSC» :