]> git.dabkitsch.com - zeropointnine.git/commitdiff
reverting to prior state of active detection
authorequilet <jml@dabkitsch.com>
Sat, 26 May 2018 23:03:15 +0000 (18:03 -0500)
committerequilet <jml@dabkitsch.com>
Sat, 26 May 2018 23:03:15 +0000 (18:03 -0500)
max/lib_krate/zpn_warp.maxpat

index 034b22a9cb7a4549098fa4c8105aad28574ed52f..fa3f6143b6643176d206d756b2fef669788527c4 100644 (file)
                "style" : "",
                "subpatcher_template" : "gridded",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 7,
+                                                       "minor" : 3,
+                                                       "revision" : 5,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "rect" : [ 59.0, 104.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" : "gridded",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "fontsize" : 10.0,
+                                                                       "id" : "obj-22",
+                                                                       "linecount" : 4,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 126.888901, 205.0, 64.0 ],
+                                                                       "text" : "if(/hands != 2, \n  /gesture/openclose/active = 0\n),\n/gate = (/hands == 2)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 60.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "o.change"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-10",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ],
+                                                                       "style" : ""
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-11",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 250.888885, 30.0, 30.0 ],
+                                                                       "style" : ""
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-10", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-11", 0 ],
+                                                                       "source" : [ "obj-22", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-22", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 179.0, 147.888885, 137.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "globalpatchername" : "",
+                                               "style" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "style" : "",
+                                       "text" : "p detect_active_change"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 502.5, 327.0, 153.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "o.route /gesture/openclose"
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "fontface" : 0,
                                        "fontsize" : 10.0,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
                                        "patching_rect" : [ 463.5, 43.5, 218.0, 75.0 ],
-                                       "presentation_rect" : [ 465.0, 42.777786, 0.0, 0.0 ],
                                        "text" : "if(/hands == 2, \n  /gesture/openclose/active = 1, \n  /gesture/openclose/active = 0\n),\n/gate = (/hands == 2)"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "FullPacket" ],
-                                       "patching_rect" : [ 502.5, 334.0, 191.0, 22.0 ],
+                                       "patching_rect" : [ 502.5, 354.0, 90.0, 22.0 ],
                                        "style" : "",
-                                       "text" : "o.select /gesture/openclose/active"
+                                       "text" : "o.select /active"
                                }
 
                        }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "FullPacket" ],
-                                       "patching_rect" : [ 179.0, 246.0, 78.0, 22.0 ],
+                                       "patching_rect" : [ 179.0, 175.0, 78.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.route /gate"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "fontface" : 0,
-                                       "fontsize" : 10.0,
-                                       "id" : "obj-22",
-                                       "linecount" : 4,
-                                       "maxclass" : "o.expr.codebox",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 179.0, 174.777786, 205.0, 64.0 ],
-                                       "text" : "if(/hands != 2, \n  /gesture/openclose/active = 0\n),\n/gate = (/hands == 2)"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "text" : "o.if /gesture/openclose/active == 0"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-9",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 2,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 179.0, 147.888885, 60.0, 22.0 ],
-                                       "style" : "",
-                                       "text" : "o.change"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-2", 0 ],
+                                       "destination" : [ "obj-7", 0 ],
                                        "source" : [ "obj-12", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-1", 0 ],
-                                       "source" : [ "obj-15", 0 ]
+                                       "destination" : [ "obj-23", 0 ],
+                                       "source" : [ "obj-13", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-16", 0 ],
-                                       "source" : [ "obj-2", 0 ]
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-15", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-16", 0 ],
-                                       "source" : [ "obj-20", 0 ]
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-2", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-23", 0 ],
-                                       "source" : [ "obj-22", 0 ]
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-20", 0 ]
                                }
 
                        }
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-12", 0 ],
-                                       "source" : [ "obj-8", 1 ]
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-7", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-9", 0 ],
-                                       "source" : [ "obj-8", 0 ]
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-8", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-22", 0 ],
-                                       "source" : [ "obj-9", 0 ]
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-8", 0 ]
                                }
 
                        }
                                "name" : "o.select.mxo",
                                "type" : "iLaX"
                        }
-,                      {
-                               "name" : "o.change.mxo",
-                               "type" : "iLaX"
-                       }
 ,                      {
                                "name" : "o.if.mxo",
                                "type" : "iLaX"
                                "name" : "o.route.mxo",
                                "type" : "iLaX"
                        }
+,                      {
+                               "name" : "o.change.mxo",
+                               "type" : "iLaX"
+                       }
  ],
                "autosave" : 0
        }