]> git.dabkitsch.com - zeropointnine.git/commitdiff
updated legacy code to support new xyz ordering and improved docs
authorJeffrey Lubow <jml@dabkitsch.com>
Sat, 7 May 2016 04:56:38 +0000 (21:56 -0700)
committerJeffrey Lubow <jml@dabkitsch.com>
Sat, 7 May 2016 04:56:38 +0000 (21:56 -0700)
14 files changed:
max/externals/o.io.leap.mxo/Contents/Info.plist [new file with mode: 0644]
max/externals/o.io.leap.mxo/Contents/MacOS/libLeap.dylib [new file with mode: 0755]
max/externals/o.io.leap.mxo/Contents/MacOS/o.io.leap [new file with mode: 0755]
max/externals/o.io.leap.mxo/Contents/PkgInfo [new file with mode: 0644]
max/help/zpn_mig_hover.maxhelp
max/help/zpn_swipe.maxhelp
max/help/zpn_warp.maxhelp
max/lib_audiorate/unused/zpn_slipperline~.maxpat
max/lib_audiorate/zpn_presets.json
max/lib_krate/zpn_mig_hover.maxpat
max/lib_krate/zpn_slip_hover.maxpat
max/lib_krate/zpn_swipe.maxpat
max/lib_krate/zpn_warp.maxpat
max/test/basic_leaptest.maxpat [new file with mode: 0644]

diff --git a/max/externals/o.io.leap.mxo/Contents/Info.plist b/max/externals/o.io.leap.mxo/Contents/Info.plist
new file mode 100644 (file)
index 0000000..fce6429
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>BuildMachineOSBuild</key>
+       <string>14F1713</string>
+       <key>CFBundleDevelopmentRegion</key>
+       <string>English</string>
+       <key>CFBundleExecutable</key>
+       <string>o.io.leap</string>
+       <key>CFBundleIdentifier</key>
+       <string>edu.cnmat.berkeley.o.io.leap</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundlePackageType</key>
+       <string>iLaX</string>
+       <key>CFBundleSignature</key>
+       <string>????</string>
+       <key>CFBundleSupportedPlatforms</key>
+       <array>
+               <string>MacOSX</string>
+       </array>
+       <key>CFBundleVersion</key>
+       <string>1.0</string>
+       <key>CSResourcesFileMapped</key>
+       <true/>
+       <key>DTCompiler</key>
+       <string>com.apple.compilers.llvm.clang.1_0</string>
+       <key>DTPlatformBuild</key>
+       <string>7A1001</string>
+       <key>DTPlatformVersion</key>
+       <string>GM</string>
+       <key>DTSDKBuild</key>
+       <string>15A278</string>
+       <key>DTSDKName</key>
+       <string>macosx10.11</string>
+       <key>DTXcode</key>
+       <string>0701</string>
+       <key>DTXcodeBuild</key>
+       <string>7A1001</string>
+       <key>LSApplicationCategoryType</key>
+       <string></string>
+</dict>
+</plist>
diff --git a/max/externals/o.io.leap.mxo/Contents/MacOS/libLeap.dylib b/max/externals/o.io.leap.mxo/Contents/MacOS/libLeap.dylib
new file mode 100755 (executable)
index 0000000..1dc439e
Binary files /dev/null and b/max/externals/o.io.leap.mxo/Contents/MacOS/libLeap.dylib differ
diff --git a/max/externals/o.io.leap.mxo/Contents/MacOS/o.io.leap b/max/externals/o.io.leap.mxo/Contents/MacOS/o.io.leap
new file mode 100755 (executable)
index 0000000..187b0d4
Binary files /dev/null and b/max/externals/o.io.leap.mxo/Contents/MacOS/o.io.leap differ
diff --git a/max/externals/o.io.leap.mxo/Contents/PkgInfo b/max/externals/o.io.leap.mxo/Contents/PkgInfo
new file mode 100644 (file)
index 0000000..925ce4a
--- /dev/null
@@ -0,0 +1 @@
+iLaX????
\ No newline at end of file
index 078f741fc3548195dd85e82e567cbc53a7042439..fc3ab2927f1da9eda1823733e3eaa3fd6eb402f9 100644 (file)
@@ -3,9 +3,9 @@
                "fileversion" : 1,
                "appversion" :          {
                        "major" : 7,
-                       "minor" : 1,
-                       "revision" : 0,
-                       "architecture" : "x86",
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
                        "modernui" : 1
                }
 ,
                                        "fontface" : 0,
                                        "fontsize" : 12.0,
                                        "id" : "obj-19",
-                                       "linecount" : 15,
                                        "maxclass" : "o.display",
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 585.0, 60.0, 360.0, 224.0 ],
-                                       "presentation_rect" : [ 387.0, 224.0, 0.0, 0.0 ],
-                                       "text" : "/xyz : [0.5, 0.5, 0.],\n/ampval : 0.,\n/mig/var : [\"var\", 0.500005],\n/id : 0,\n/len : 21,\n/len/part : 7,\n/idx : [0, 3, 6, 9, 12, 15, 18],\n/allfreqs : [13., 24.31, 35.62, 46.93, 58.24, 69.55, 80.86, 92.17, 103.48, 114.79, 126.1, 137.41, 148.72, 160.03, 171.34, 182.65, 193.96, 205.27, 216.58, 227.89, 239.2],\n/picked : [13., 46.93, 80.86, 114.79, 148.72, 182.65, 216.58],\n/amplist : [0., 0., 0., 0., 0., 0., 0.],\n/mig/list : [0., 0.]",
+                                       "patching_rect" : [ 585.0, 60.0, 360.0, 34.0 ],
                                        "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
                                }
 
@@ -87,7 +84,6 @@
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
                                        "patching_rect" : [ 268.5, 120.0, 29.5, 22.0 ],
-                                       "presentation_rect" : [ 286.0, 106.0, 0.0, 0.0 ],
                                        "style" : "",
                                        "text" : "3"
                                }
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
                                        "patching_rect" : [ 221.0, 120.0, 29.5, 22.0 ],
-                                       "presentation_rect" : [ 239.0, 106.0, 0.0, 0.0 ],
                                        "style" : "",
                                        "text" : "2"
                                }
                                        "fontface" : 0,
                                        "fontsize" : 12.0,
                                        "id" : "obj-3",
-                                       "linecount" : 2,
                                        "maxclass" : "o.display",
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 450.0, 344.0, 300.0, 48.0 ],
-                                       "text" : "/mig/var : [\"var\", 0.500005],\n/mig/list : [0., 0.]",
+                                       "patching_rect" : [ 450.0, 344.0, 300.0, 34.0 ],
                                        "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
                                }
 
                                        "id" : "obj-5",
                                        "maxclass" : "newobj",
                                        "numinlets" : 2,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
                                        "patching_rect" : [ 102.0, 192.0, 93.0, 22.0 ],
                                        "style" : "",
                                        "text" : "zpn_mig_hover"
                                        "source" : [ "obj-4", 0 ]
                                }
 
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-20", 0 ],
-                                       "disabled" : 0,
-                                       "hidden" : 0,
-                                       "source" : [ "obj-5", 1 ]
-                               }
-
                        }
 ,                      {
                                "patchline" :                           {
  ],
                "dependency_cache" : [                  {
                                "name" : "cardiod_spread~.maxpat",
-                               "bootpath" : "~/Documents/BCNM/zero_point_nine/_zpn_max/util",
+                               "bootpath" : "~/Documents/programming/git_equilet/zeropointnine/max/util",
                                "type" : "JSON",
                                "implicit" : 1
                        }
 ,                      {
                                "name" : "zpn_synth_migration~.maxpat",
-                               "bootpath" : "~/Documents/BCNM/zero_point_nine/_zpn_max/lib_audiorate",
+                               "bootpath" : "~/Documents/programming/git_equilet/zeropointnine/max/lib_audiorate",
                                "type" : "JSON",
                                "implicit" : 1
                        }
 ,                      {
                                "name" : "zpn_mig_hover.maxpat",
-                               "bootpath" : "~/Documents/BCNM/zero_point_nine/_zpn_max/lib_krate",
+                               "bootpath" : "~/Documents/programming/git_equilet/zeropointnine/max/lib_krate",
                                "type" : "JSON",
                                "implicit" : 1
                        }
                                "name" : "o.timetag.mxo",
                                "type" : "iLaX"
                        }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
 ,                      {
                                "name" : "o.display.mxo",
                                "type" : "iLaX"
index 7683f9699cdc5ecd6560175251f35a9f9b926f07..b3edb404b1c6ee20929bd8b049a3efdbd9ab7568 100644 (file)
@@ -3,13 +3,13 @@
                "fileversion" : 1,
                "appversion" :          {
                        "major" : 7,
-                       "minor" : 1,
-                       "revision" : 0,
-                       "architecture" : "x86",
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
                        "modernui" : 1
                }
 ,
-               "rect" : [ 65.0, 110.0, 895.0, 644.0 ],
+               "rect" : [ 167.0, 79.0, 895.0, 644.0 ],
                "bglocked" : 0,
                "openinpresentation" : 0,
                "default_fontsize" : 12.0,
                "style" : "",
                "subpatcher_template" : "gridded",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 330.0, 135.0, 129.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "o.route /gesture/swipe"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 510.0, 15.0, 60.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-9",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 525.0, 96.75, 203.0, 24.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 103, 101, 115, 116, 117, 114, 101, 47, 115, 119, 105, 112, 101, 47, 97, 99, 116, 105, 118, 101, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 52,
+                                       "text" : "/gesture/swipe/active : 0",
+                                       "textcolor" : [ 0.188, 0.188, 0.188, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-8",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 525.0, 60.0, 203.0, 24.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 103, 101, 115, 116, 117, 114, 101, 47, 115, 119, 105, 112, 101, 47, 97, 99, 116, 105, 118, 101, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1 ],
+                                       "saved_bundle_length" : 52,
+                                       "text" : "/gesture/swipe/active : 1",
+                                       "textcolor" : [ 0.188, 0.188, 0.188, 1.0 ]
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "fontface" : 0,
                                        "fontsize" : 12.0,
                                        "id" : "obj-4",
-                                       "linecount" : 15,
                                        "maxclass" : "o.display",
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 360.0, 225.0, 480.0, 224.0 ],
-                                       "text" : "/gesture/swipe/state : 0.,\n/gesture/swipe/direction/xyz : [0.850996, 0.476404, 0.0406685],\n/gesture/swipe/position/xyz : [168.153, -30.0028, 94.3132],\n/gesture/swipe/pitch : 1.88839,\n/gesture/swipe/yaw : 1.75312,\n/gesture/swipe/roll : 2.08195,\n/gesture/swipe/speed : 195.273,\n/gesture/swipe/duration/sec : 0.043437,\n/gesture/swipe/xyz : [107.099, -97.8595, 101.976],\n/gesture/swipe/normalized/xyz : [0.955264, 0., 0.0833151],\n/gesture/swipe/amp : 50.988,\n/gesture/swipe/time : 304.059,\n/gesture/swipe/up : [49.5, 0, 58.79, 304.059],\n/gesture/swipe/down : [58.79, 0, 49.5, 304.059],\n/gesture/swipe/c/msg : [49.5, 0, 58.79, 304.059]",
+                                       "patching_rect" : [ 360.0, 225.0, 480.0, 34.0 ],
                                        "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
                                }
 
                                        "id" : "obj-10",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "signal" ],
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "" ],
                                        "patching_rect" : [ 105.0, 257.75, 95.0, 22.0 ],
                                        "style" : "",
                                        "text" : "zpn_synth_roll~"
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "FullPacket" ],
-                                       "patching_rect" : [ 105.0, 162.25, 67.0, 22.0 ],
+                                       "patching_rect" : [ 105.0, 180.0, 67.0, 22.0 ],
                                        "style" : "",
                                        "text" : "zpn_swipe"
                                }
                                        "source" : [ "obj-1", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-10", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-4", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-118", 0 ]
+                                       "source" : [ "obj-12", 0 ]
                                }
 
                        }
                                        "source" : [ "obj-77", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
                        }
  ],
                "dependency_cache" : [                  {
                                "name" : "cardiod_spread~.maxpat",
-                               "bootpath" : "~/Documents/BCNM/zero_point_nine/_zpn_max/util",
+                               "bootpath" : "~/Documents/programming/git_equilet/zeropointnine/max/util",
                                "type" : "JSON",
                                "implicit" : 1
                        }
 ,                      {
                                "name" : "zpn_swipe.maxpat",
-                               "bootpath" : "~/Documents/BCNM/zero_point_nine/_zpn_max/lib_krate",
+                               "bootpath" : "~/Documents/programming/git_equilet/zeropointnine/max/lib_krate",
                                "type" : "JSON",
                                "implicit" : 1
                        }
 ,                      {
                                "name" : "zpn_synth_roll~.maxpat",
-                               "bootpath" : "~/Documents/BCNM/zero_point_nine/_zpn_max/lib_audiorate",
+                               "bootpath" : "~/Documents/programming/git_equilet/zeropointnine/max/lib_audiorate",
                                "type" : "JSON",
                                "implicit" : 1
                        }
                                "name" : "o.pack.mxo",
                                "type" : "iLaX"
                        }
+,                      {
+                               "name" : "o.collect.mxo",
+                               "type" : "iLaX"
+                       }
 ,                      {
                                "name" : "o.expr.codebox.mxo",
                                "type" : "iLaX"
                                "name" : "o.if.mxo",
                                "type" : "iLaX"
                        }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
 ,                      {
                                "name" : "o.display.mxo",
                                "type" : "iLaX"
                        }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
  ],
                "autosave" : 0,
                "bgfillcolor_type" : "gradient",
index 222e559d949333e9d8c87dee5c510d687c83c388..399df2bd1cbca84c99fc618e07c4a8e9c7483a9a 100644 (file)
@@ -3,9 +3,9 @@
                "fileversion" : 1,
                "appversion" :          {
                        "major" : 7,
-                       "minor" : 1,
-                       "revision" : 0,
-                       "architecture" : "x86",
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
                        "modernui" : 1
                }
 ,
                "style" : "",
                "subpatcher_template" : "gridded",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-9",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 195.0, 240.0, 330.0, 34.0 ],
+                                       "presentation_rect" : [ 240.0, 247.0, 0.0, 0.0 ],
+                                       "text" : "/hands : 0.",
+                                       "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 240.0, 210.0, 92.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "o.select /hands"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-7",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 285.0, 142.93866, 231.0, 24.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 103, 101, 115, 116, 117, 114, 101, 47, 111, 112, 101, 110, 99, 108, 111, 115, 101, 47, 97, 99, 116, 105, 118, 101, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 56,
+                                       "text" : "/gesture/openclose/active : 0",
+                                       "textcolor" : [ 0.188, 0.188, 0.188, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-6",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 314.0, 105.0, 231.0, 24.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 103, 101, 115, 116, 117, 114, 101, 47, 111, 112, 101, 110, 99, 108, 111, 115, 101, 47, 97, 99, 116, 105, 118, 101, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1 ],
+                                       "saved_bundle_length" : 56,
+                                       "text" : "/gesture/openclose/active : 1",
+                                       "textcolor" : [ 0.188, 0.188, 0.188, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "gain~",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 195.0, 420.0, 30.0, 75.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 195.0, 525.0, 57.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "dac~ 1 2"
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "fontface" : 0,
                                        "fontsize" : 12.0,
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 240.0, 255.0, 330.0, 34.0 ],
+                                       "patching_rect" : [ 240.0, 330.0, 330.0, 34.0 ],
                                        "text" : "/gesture/openclose/active : 0",
                                        "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
                                }
                                        "id" : "obj-25",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "signal" ],
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "signal", "", "FullPacket" ],
                                        "patching_rect" : [ 15.0, 285.0, 102.0, 22.0 ],
                                        "style" : "",
                                        "text" : "zpn_wavefolder~"
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 150.0, 75.0, 162.0, 114.0 ],
+                                       "patching_rect" : [ 121.0, 45.0, 162.0, 114.0 ],
                                        "style" : "",
                                        "text" : "both hands enter box with right hand folded downward\n\nleft hand middle finger and thumb dist control\n\nright hand extending - ends event"
                                }
                                        "source" : [ "obj-1", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-25", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-77", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
                        }
  ],
                "dependency_cache" : [                  {
                                "name" : "zpn_warp.maxpat",
-                               "bootpath" : "~/Documents/BCNM/zero_point_nine/_zpn_max/lib_krate",
+                               "bootpath" : "~/Documents/programming/git_equilet/zeropointnine/max/lib_krate",
                                "type" : "JSON",
                                "implicit" : 1
                        }
                        }
 ,                      {
                                "name" : "zpn_wavefolder~.maxpat",
-                               "bootpath" : "~/Documents/BCNM/zero_point_nine/_zpn_max/lib_audiorate",
-                               "type" : "JSON",
-                               "implicit" : 1
-                       }
-,                      {
-                               "name" : "cardiod_spread~.maxpat",
-                               "bootpath" : "~/Documents/BCNM/zero_point_nine/_zpn_max/lib_audiorate/util",
+                               "bootpath" : "~/Documents/programming/git_equilet/zeropointnine/max/lib_audiorate",
                                "type" : "JSON",
                                "implicit" : 1
                        }
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.if.mxo",
+                               "name" : "o.intersection.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.compose.mxo",
+                               "name" : "o.collect.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.change.mxo",
+                               "name" : "o.difference.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.route.mxo",
+                               "name" : "o.compose.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.union.mxo",
+                               "name" : "o.prepend.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.intersection.mxo",
+                               "name" : "o.change.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.collect.mxo",
+                               "name" : "o.if.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.difference.mxo",
+                               "name" : "o.cond.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.prepend.mxo",
+                               "name" : "o.route.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
                                "name" : "o.display.mxo",
                                "type" : "iLaX"
                        }
-,                      {
-                               "name" : "o.pack.mxo",
-                               "type" : "iLaX"
-                       }
  ],
                "autosave" : 0,
                "bgfillcolor_type" : "gradient",
index 26318a8297008962f4c89296acee4b33c7941d1f..efadc46bf0b3b6ae9783089a03b1acb6f0013a70 100644 (file)
@@ -3,9 +3,9 @@
                "fileversion" : 1,
                "appversion" :          {
                        "major" : 7,
-                       "minor" : 1,
-                       "revision" : 0,
-                       "architecture" : "x86",
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
                        "modernui" : 1
                }
 ,
@@ -44,7 +44,6 @@
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
                                        "patching_rect" : [ 405.0, 270.0, 34.0, 22.0 ],
-                                       "presentation_rect" : [ 400.0, 268.0, 0.0, 0.0 ],
                                        "style" : "",
                                        "text" : "$1 5"
                                }
                                                "fileversion" : 1,
                                                "appversion" :                                          {
                                                        "major" : 7,
-                                                       "minor" : 1,
-                                                       "revision" : 0,
-                                                       "architecture" : "x86",
+                                                       "minor" : 2,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
                                                        "modernui" : 1
                                                }
 ,
-                                               "rect" : [ 0.0, 0.0, 640.0, 480.0 ],
+                                               "rect" : [ 59.0, 104.0, 640.0, 480.0 ],
                                                "bglocked" : 0,
                                                "openinpresentation" : 0,
                                                "default_fontsize" : 12.0,
  ]
                                        }
 ,
-                                       "patching_rect" : [ 30.0, 120.0, 130.0, 22.0 ],
+                                       "patching_rect" : [ 30.0, 120.0, 97.0, 22.0 ],
                                        "saved_object_attributes" :                                     {
                                                "description" : "",
                                                "digest" : "",
                                        }
 ,
                                        "style" : "",
-                                       "text" : "p good_ethical_values"
+                                       "text" : "p ethical_values"
                                }
 
                        }
index 269fdbb485ec61faf40f27a93b7625e414c0ce8b..f3538fb777800cc6fbc5273e38d2ebc41b5a9394 100644 (file)
@@ -1,223 +1,7 @@
 {
        "pattrstorage" :        {
-               "name" : "u601003953",
+               "name" : "u333004034",
                "slots" :               {
-                       "1" :                   {
-                               "id" : 1,
-                               "data" :                                {
-                                       "all_poke" : [ 0 ],
-                                       "all_swipe" : [ 0 ],
-                                       "all_warp" : [ 0 ],
-                                       "all_summon" : [ 0 ],
-                                       "all_migrate" : [ 0 ],
-                                       "all_slip" : [ 0 ],
-                                       "client1::tog_migrate" : [  ],
-                                       "client1::tog_openclose" : [  ],
-                                       "client1::tog_poke" : [  ],
-                                       "client1::tog_slip" : [  ],
-                                       "client1::tog_summon" : [  ],
-                                       "client1::tog_swipe" : [  ],
-                                       "client2::tog_migrate" : [  ],
-                                       "client2::tog_openclose" : [  ],
-                                       "client2::tog_poke" : [  ],
-                                       "client2::tog_slip" : [  ],
-                                       "client2::tog_summon" : [  ],
-                                       "client2::tog_swipe" : [  ],
-                                       "client3::tog_migrate" : [  ],
-                                       "client3::tog_openclose" : [  ],
-                                       "client3::tog_poke" : [  ],
-                                       "client3::tog_slip" : [  ],
-                                       "client3::tog_summon" : [  ],
-                                       "client3::tog_swipe" : [  ]
-                               }
-
-                       }
-,
-                       "2" :                   {
-                               "id" : 2,
-                               "data" :                                {
-                                       "all_poke" : [ 0 ],
-                                       "all_swipe" : [ 0 ],
-                                       "all_warp" : [ 0 ],
-                                       "all_summon" : [ 93 ],
-                                       "all_migrate" : [ 87 ],
-                                       "all_slip" : [ 86 ],
-                                       "client1::tog_migrate" : [  ],
-                                       "client1::tog_openclose" : [  ],
-                                       "client1::tog_poke" : [  ],
-                                       "client1::tog_slip" : [  ],
-                                       "client1::tog_summon" : [  ],
-                                       "client1::tog_swipe" : [  ],
-                                       "client2::tog_migrate" : [  ],
-                                       "client2::tog_openclose" : [  ],
-                                       "client2::tog_poke" : [  ],
-                                       "client2::tog_slip" : [  ],
-                                       "client2::tog_summon" : [  ],
-                                       "client2::tog_swipe" : [  ],
-                                       "client3::tog_migrate" : [  ],
-                                       "client3::tog_openclose" : [  ],
-                                       "client3::tog_poke" : [  ],
-                                       "client3::tog_slip" : [  ],
-                                       "client3::tog_summon" : [  ],
-                                       "client3::tog_swipe" : [  ]
-                               }
-
-                       }
-,
-                       "3" :                   {
-                               "id" : 3,
-                               "data" :                                {
-                                       "all_poke" : [ 0 ],
-                                       "all_swipe" : [ 0 ],
-                                       "all_warp" : [ 0 ],
-                                       "all_summon" : [ 0 ],
-                                       "all_migrate" : [ 87 ],
-                                       "all_slip" : [ 86 ],
-                                       "client1::tog_migrate" : [  ],
-                                       "client1::tog_openclose" : [  ],
-                                       "client1::tog_poke" : [  ],
-                                       "client1::tog_slip" : [  ],
-                                       "client1::tog_summon" : [  ],
-                                       "client1::tog_swipe" : [  ],
-                                       "client2::tog_migrate" : [  ],
-                                       "client2::tog_openclose" : [  ],
-                                       "client2::tog_poke" : [  ],
-                                       "client2::tog_slip" : [  ],
-                                       "client2::tog_summon" : [  ],
-                                       "client2::tog_swipe" : [  ],
-                                       "client3::tog_migrate" : [  ],
-                                       "client3::tog_openclose" : [  ],
-                                       "client3::tog_poke" : [  ],
-                                       "client3::tog_slip" : [  ],
-                                       "client3::tog_summon" : [  ],
-                                       "client3::tog_swipe" : [  ]
-                               }
-
-                       }
-,
-                       "4" :                   {
-                               "id" : 4,
-                               "data" :                                {
-                                       "all_poke" : [ 0 ],
-                                       "all_swipe" : [ 0 ],
-                                       "all_warp" : [ 91 ],
-                                       "all_summon" : [ 0 ],
-                                       "all_migrate" : [ 0 ],
-                                       "all_slip" : [ 0 ],
-                                       "client1::tog_migrate" : [  ],
-                                       "client1::tog_openclose" : [  ],
-                                       "client1::tog_poke" : [  ],
-                                       "client1::tog_slip" : [  ],
-                                       "client1::tog_summon" : [  ],
-                                       "client1::tog_swipe" : [  ],
-                                       "client2::tog_migrate" : [  ],
-                                       "client2::tog_openclose" : [  ],
-                                       "client2::tog_poke" : [  ],
-                                       "client2::tog_slip" : [  ],
-                                       "client2::tog_summon" : [  ],
-                                       "client2::tog_swipe" : [  ],
-                                       "client3::tog_migrate" : [  ],
-                                       "client3::tog_openclose" : [  ],
-                                       "client3::tog_poke" : [  ],
-                                       "client3::tog_slip" : [  ],
-                                       "client3::tog_summon" : [  ],
-                                       "client3::tog_swipe" : [  ]
-                               }
-
-                       }
-,
-                       "6" :                   {
-                               "id" : 6,
-                               "data" :                                {
-                                       "all_poke" : [ 0 ],
-                                       "all_swipe" : [ 0 ],
-                                       "all_warp" : [ 0 ],
-                                       "all_summon" : [ 0 ],
-                                       "all_migrate" : [ 87 ],
-                                       "all_slip" : [ 86 ],
-                                       "client1::tog_migrate" : [  ],
-                                       "client1::tog_openclose" : [  ],
-                                       "client1::tog_poke" : [  ],
-                                       "client1::tog_slip" : [  ],
-                                       "client1::tog_summon" : [  ],
-                                       "client1::tog_swipe" : [  ],
-                                       "client2::tog_migrate" : [  ],
-                                       "client2::tog_openclose" : [  ],
-                                       "client2::tog_poke" : [  ],
-                                       "client2::tog_slip" : [  ],
-                                       "client2::tog_summon" : [  ],
-                                       "client2::tog_swipe" : [  ],
-                                       "client3::tog_migrate" : [  ],
-                                       "client3::tog_openclose" : [  ],
-                                       "client3::tog_poke" : [  ],
-                                       "client3::tog_slip" : [  ],
-                                       "client3::tog_summon" : [  ],
-                                       "client3::tog_swipe" : [  ]
-                               }
-
-                       }
-,
-                       "7" :                   {
-                               "id" : 7,
-                               "data" :                                {
-                                       "all_poke" : [ 0 ],
-                                       "all_swipe" : [ 0 ],
-                                       "all_warp" : [ 91 ],
-                                       "all_summon" : [ 93 ],
-                                       "all_migrate" : [ 87 ],
-                                       "all_slip" : [ 86 ],
-                                       "client1::tog_migrate" : [  ],
-                                       "client1::tog_openclose" : [  ],
-                                       "client1::tog_poke" : [  ],
-                                       "client1::tog_slip" : [  ],
-                                       "client1::tog_summon" : [  ],
-                                       "client1::tog_swipe" : [  ],
-                                       "client2::tog_migrate" : [  ],
-                                       "client2::tog_openclose" : [  ],
-                                       "client2::tog_poke" : [  ],
-                                       "client2::tog_slip" : [  ],
-                                       "client2::tog_summon" : [  ],
-                                       "client2::tog_swipe" : [  ],
-                                       "client3::tog_migrate" : [  ],
-                                       "client3::tog_openclose" : [  ],
-                                       "client3::tog_poke" : [  ],
-                                       "client3::tog_slip" : [  ],
-                                       "client3::tog_summon" : [  ],
-                                       "client3::tog_swipe" : [  ]
-                               }
-
-                       }
-,
-                       "8" :                   {
-                               "id" : 8,
-                               "data" :                                {
-                                       "all_poke" : [ 0 ],
-                                       "all_swipe" : [ 0 ],
-                                       "all_warp" : [ 0 ],
-                                       "all_summon" : [ 0 ],
-                                       "all_migrate" : [ 0 ],
-                                       "all_slip" : [ 0 ],
-                                       "client1::tog_migrate" : [  ],
-                                       "client1::tog_openclose" : [  ],
-                                       "client1::tog_poke" : [  ],
-                                       "client1::tog_slip" : [  ],
-                                       "client1::tog_summon" : [  ],
-                                       "client1::tog_swipe" : [  ],
-                                       "client2::tog_migrate" : [  ],
-                                       "client2::tog_openclose" : [  ],
-                                       "client2::tog_poke" : [  ],
-                                       "client2::tog_slip" : [  ],
-                                       "client2::tog_summon" : [  ],
-                                       "client2::tog_swipe" : [  ],
-                                       "client3::tog_migrate" : [  ],
-                                       "client3::tog_openclose" : [  ],
-                                       "client3::tog_poke" : [  ],
-                                       "client3::tog_slip" : [  ],
-                                       "client3::tog_summon" : [  ],
-                                       "client3::tog_swipe" : [  ]
-                               }
-
-                       }
 
                }
 
index bf4aa28e378eae2f3264b59521455b9527d0773a..93be44105773ac5403e0530e3c50d0389388e991 100644 (file)
@@ -3,13 +3,13 @@
                "fileversion" : 1,
                "appversion" :          {
                        "major" : 7,
-                       "minor" : 1,
-                       "revision" : 0,
-                       "architecture" : "x86",
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
                        "modernui" : 1
                }
 ,
-               "rect" : [ 178.0, 173.0, 1057.0, 949.0 ],
+               "rect" : [ 224.0, 79.0, 1057.0, 949.0 ],
                "bglocked" : 0,
                "openinpresentation" : 0,
                "default_fontsize" : 12.0,
                "style" : "",
                "subpatcher_template" : "gridded",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 728.0, 41.0, 34.0, 20.0 ],
+                                       "style" : "",
+                                       "text" : "prev"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-26",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 635.5, 63.0, 416.0, 59.0 ],
+                                       "text" : "/ampval = pow(/xyz[[2]], 3.),\n/on = bool(/xyz[[2]] > 0.),\n/mig/var = [\"var\", scale(/xyz[[0]], 0., 1., 0.00001, 1)]",
+                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "linecount" : 3,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 315.0, 26.0, 150.0, 47.0 ],
+                                       "style" : "",
+                                       "text" : "remap:  \n/xyz 2 should be 1\n/xyz 1 should be 2"
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "fontface" : 0,
                                        "fontsize" : 12.0,
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 424.0, 45.0, 150.0, 20.0 ],
+                                       "patching_rect" : [ 490.0, 26.0, 150.0, 20.0 ],
                                        "style" : "",
                                        "text" : "/client/*/hover/migrate/"
                                }
                                                "fileversion" : 1,
                                                "appversion" :                                          {
                                                        "major" : 7,
-                                                       "minor" : 1,
-                                                       "revision" : 0,
-                                                       "architecture" : "x86",
+                                                       "minor" : 2,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
                                                        "modernui" : 1
                                                }
 ,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
                                        "patching_rect" : [ 44.5, 184.5, 424.0, 59.0 ],
-                                       "text" : "/ampval = pow(/xyz[[2]], 3.),\n/on = bool(/xyz[[2]] > 0.),\n/mig/var = [\"var\", scale(/xyz[[0]], 0., 1., 0.00001, 1)]",
+                                       "text" : "/ampval = pow(/xyz[[1]], 3.),\n/on = bool(/xyz[[1]] > 0.),\n/mig/var = [\"var\", scale(/xyz[[0]], 0., 1., 0.00001, 1)]",
                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                }
 
                                                "fileversion" : 1,
                                                "appversion" :                                          {
                                                        "major" : 7,
-                                                       "minor" : 1,
-                                                       "revision" : 0,
-                                                       "architecture" : "x86",
+                                                       "minor" : 2,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
                                                        "modernui" : 1
                                                }
 ,
index 074b9a50054c4ba2f03fe928304b429a478bd112..ecf9829a58f61ea24c84ffecf8c0bdec735f1877 100644 (file)
@@ -3,13 +3,13 @@
                "fileversion" : 1,
                "appversion" :          {
                        "major" : 7,
-                       "minor" : 1,
-                       "revision" : 0,
-                       "architecture" : "x86",
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
                        "modernui" : 1
                }
 ,
-               "rect" : [ 694.0, 202.0, 717.0, 836.0 ],
+               "rect" : [ 34.0, 79.0, 1372.0, 783.0 ],
                "bglocked" : 0,
                "openinpresentation" : 0,
                "default_fontsize" : 12.0,
                                "box" :                                 {
                                        "fontface" : 0,
                                        "fontsize" : 11.0,
-                                       "id" : "obj-7",
-                                       "linecount" : 9,
+                                       "id" : "obj-13",
+                                       "linecount" : 7,
                                        "maxclass" : "o.expr.codebox",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 193.0, 5.0, 435.0, 131.0 ],
-                                       "text" : "/freq = scale(/xyz[[0]], 0., 1., 2, 20),\n/scale/min = 25,\n/scale/max = 240,\n/exponent = scale(/xyz[[1]], 0., 1., 0.5, 33),\nif(/xyz[[0]] > 0.5,\n  /add = scale(/xyz[[0]], 0.5, 1., 0., 0.125),\n  /add = 0\n),\nif(exists(/ampkill), /amp = 0., /amp = (/xyz[[2]] * 0.8) + /add)",
+                                       "patching_rect" : [ 564.0, 287.0, 501.0, 106.0 ],
+                                       "presentation_rect" : [ 564.0, 287.0, 0.0, 0.0 ],
+                                       "text" : "/freq = scale(/xyz[[0]], 0., 1., 2, 20),\n/exponent = scale(/xyz[[1]], 0., 1., 0.5, 33),\nif(/xyz[[0]] > 0.5,\n  /add = scale(/xyz[[0]], 0.5, 1., 0., 0.125),\n  /add = 0\n),\nif(exists(/ampkill), /amp = 0., /amp = pow((/xyz[[2]] * 0.8) + /add, 3.))",
                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                }
 
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 99.0, 31.0, 150.0, 20.0 ],
+                                       "style" : "",
+                                       "text" : "/client/*/hover/slip"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "linecount" : 3,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 152.5, 78.0, 150.0, 47.0 ],
+                                       "style" : "",
+                                       "text" : "remap:  \n/xyz 2 should be 1\n/xyz 1 should be 2"
+                               }
+
                        }
 ,                      {
                                "box" :                                 {
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
                                        "patching_rect" : [ 83.0, 490.0, 501.0, 106.0 ],
-                                       "text" : "/freq = scale(/xyz[[0]], 0., 1., 2, 20),\n/exponent = scale(/xyz[[1]], 0., 1., 0.5, 33),\nif(/xyz[[0]] > 0.5,\n  /add = scale(/xyz[[0]], 0.5, 1., 0., 0.125),\n  /add = 0\n),\nif(exists(/ampkill), /amp = 0., /amp = pow((/xyz[[2]] * 0.8) + /add, 3.))",
+                                       "text" : "/freq = scale(/xyz[[0]], 0., 1., 2, 20),\n/exponent = scale(/xyz[[2]], 0., 1., 0.5, 33),\nif(/xyz[[0]] > 0.5,\n  /add = scale(/xyz[[0]], 0.5, 1., 0., 0.125),\n  /add = 0\n),\nif(exists(/ampkill), /amp = 0., /amp = pow((/xyz[[1]] * 0.8) + /add, 3.))",
                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                }
 
index 9e934102abcd56ca221b0125af46c6c6fc957e0d..7cd4cd8b28f3fad93dde4dc34d53909a614041ee 100644 (file)
@@ -3,13 +3,13 @@
                "fileversion" : 1,
                "appversion" :          {
                        "major" : 7,
-                       "minor" : 1,
-                       "revision" : 0,
-                       "architecture" : "x86",
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
                        "modernui" : 1
                }
 ,
-               "rect" : [ 817.0, 375.0, 644.0, 664.0 ],
+               "rect" : [ 51.0, 111.0, 964.0, 664.0 ],
                "bglocked" : 0,
                "openinpresentation" : 0,
                "default_fontsize" : 12.0,
                "style" : "",
                "subpatcher_template" : "gridded",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 10.0,
+                                       "id" : "obj-19",
+                                       "linecount" : 8,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 585.0, 257.0, 259.0, 109.0 ],
+                                       "text" : "/amp = /xyz[[2]] / 2.,\n/time = /duration/sec * 7000.,\n/up = [49.5 + /rand, 0, 58.79, /time],\n/down = [58.79, 0, 49.5 + /rand, /time],\nif(/direction/xyz[[0]] > 0., \n  /c/msg = /up,\n  /c/msg = /down\n)",
+                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 541.0, 28.0, 150.0, 20.0 ],
+                                       "style" : "",
+                                       "text" : "/client/*/gesture/swipe"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "linecount" : 3,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 523.0, 149.56488, 150.0, 47.0 ],
+                                       "style" : "",
+                                       "text" : "remap:  \n/xyz 2 should be 1\n/xyz 1 should be 2"
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "id" : "obj-15",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "bang" ],
-                                       "patching_rect" : [ 186.0, 164.0, 30.0, 22.0 ],
+                                       "patching_rect" : [ 189.0, 244.0, 30.0, 22.0 ],
                                        "style" : "",
                                        "text" : "t l b"
                                }
@@ -56,7 +97,7 @@
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "FullPacket" ],
-                                       "patching_rect" : [ 328.0, 209.0, 77.0, 22.0 ],
+                                       "patching_rect" : [ 331.0, 289.0, 77.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.pack /rand"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 328.0, 234.56488, 175.0, 30.0 ],
-                                       "presentation_rect" : [ 367.5, 200.56488, 0.0, 0.0 ],
+                                       "patching_rect" : [ 331.0, 314.56488, 175.0, 30.0 ],
                                        "text" : "/rand = (/rand / 999.) * 2.",
                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                }
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "int" ],
-                                       "patching_rect" : [ 328.0, 179.0, 81.0, 22.0 ],
+                                       "patching_rect" : [ 331.0, 259.0, 81.0, 22.0 ],
                                        "style" : "",
                                        "text" : "random 1000"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "bang" ],
-                                       "patching_rect" : [ 328.0, 143.0, 60.0, 22.0 ],
+                                       "patching_rect" : [ 331.0, 223.0, 60.0, 22.0 ],
                                        "style" : "",
                                        "text" : "loadbang"
                                }
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "FullPacket" ],
-                                       "patching_rect" : [ 186.0, 264.0, 50.0, 22.0 ],
-                                       "presentation_rect" : [ 111.0, 247.56488, 0.0, 0.0 ],
+                                       "patching_rect" : [ 189.0, 344.0, 50.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.union"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 482.0, 344.0, 92.0, 22.0 ],
+                                       "patching_rect" : [ 485.0, 424.0, 92.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.if /active == 0"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "FullPacket" ],
-                                       "patching_rect" : [ 115.0, 94.56488, 90.0, 22.0 ],
+                                       "patching_rect" : [ 118.0, 174.56488, 90.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.select /active"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 482.0, 372.56488, 127.0, 52.0 ],
+                                       "patching_rect" : [ 485.0, 452.56488, 127.0, 52.0 ],
                                        "text" : "/c/msg = [0, 100],\n/amp = 0.,\n/time = 10.",
                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-2",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 3,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "signal", "bang" ],
-                                       "patching_rect" : [ 448.0, 481.0, 47.0, 22.0 ],
-                                       "style" : "",
-                                       "text" : "curve~"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 186.0, 293.0, 129.0, 22.0 ],
+                                       "patching_rect" : [ 189.0, 373.0, 129.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.if /duration/sec < 0.2"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "FullPacket" ],
-                                       "patching_rect" : [ 186.0, 499.0, 145.0, 22.0 ],
+                                       "patching_rect" : [ 189.0, 579.0, 145.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.prepend /gesture/swipe"
                                }
                                                "fileversion" : 1,
                                                "appversion" :                                          {
                                                        "major" : 7,
-                                                       "minor" : 1,
-                                                       "revision" : 0,
-                                                       "architecture" : "x86",
+                                                       "minor" : 2,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
                                                        "modernui" : 1
                                                }
 ,
  ]
                                        }
 ,
-                                       "patching_rect" : [ 482.0, 276.56488, 69.0, 22.0 ],
+                                       "patching_rect" : [ 485.0, 356.56488, 69.0, 22.0 ],
                                        "saved_object_attributes" :                                     {
                                                "description" : "",
                                                "digest" : "",
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "FullPacket" ],
-                                       "patching_rect" : [ 186.0, 126.56488, 110.5, 22.0 ],
+                                       "patching_rect" : [ 189.0, 206.56488, 110.5, 22.0 ],
                                        "style" : "",
                                        "text" : "o.union"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 186.0, 347.56488, 259.0, 109.0 ],
-                                       "text" : "/amp = /xyz[[2]] / 2.,\n/time = /duration/sec * 7000.,\n/up = [49.5 + /rand, 0, 58.79, /time],\n/down = [58.79, 0, 49.5 + /rand, /time],\nif(/direction/xyz[[0]] > 0., \n  /c/msg = /up,\n  /c/msg = /down\n)",
+                                       "patching_rect" : [ 189.0, 427.56488, 259.0, 109.0 ],
+                                       "text" : "/amp = /xyz[[1]] / 2.,\n/time = /duration/sec * 7000.,\n/up = [49.5 + /rand, 0, 58.79, /time],\n/down = [58.79, 0, 49.5 + /rand, /time],\nif(/direction/xyz[[0]] > 0., \n  /c/msg = /up,\n  /c/msg = /down\n)",
                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                }
 
                                        "maxclass" : "outlet",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 186.0, 538.56488, 30.0, 30.0 ],
+                                       "patching_rect" : [ 189.0, 618.56488, 30.0, 30.0 ],
                                        "style" : ""
                                }
 
                                        "destination" : [ "obj-7", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "midpoints" : [ 195.5, 211.0 ],
+                                       "midpoints" : [ 198.5, 291.0 ],
                                        "source" : [ "obj-15", 0 ]
                                }
 
index 9950a813bbda78730c41091b859291b4f73e3c65..523bf891b47eaa9671b6f40f4c29507e536a66e5 100644 (file)
@@ -3,13 +3,13 @@
                "fileversion" : 1,
                "appversion" :          {
                        "major" : 7,
-                       "minor" : 1,
-                       "revision" : 0,
-                       "architecture" : "x86",
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
                        "modernui" : 1
                }
 ,
-               "rect" : [ 242.0, 97.0, 804.0, 555.0 ],
+               "rect" : [ 519.0, 79.0, 642.0, 711.0 ],
                "bglocked" : 0,
                "openinpresentation" : 0,
                "default_fontsize" : 12.0,
                "style" : "",
                "subpatcher_template" : "gridded",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 179.0, 230.833328, 78.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "o.route /gate"
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "fontface" : 0,
-                                       "fontsize" : 11.0,
-                                       "id" : "obj-4",
-                                       "linecount" : 8,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-22",
+                                       "linecount" : 2,
                                        "maxclass" : "o.expr.codebox",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 34.5, 412.0, 415.0, 118.0 ],
-                                       "text" : "/f0 = /hand/leftmost/finger/1/distance/to/finger/3,\n/gain = /hand/leftmost/finger/1/distance/to/finger/4,\n/modulator = /hand/leftmost/finger/1/distance/to/finger/5,\n/f0 = scale(/f0, 0, 1, 14, 240),\n/gain = scale(/gain, 0, 1, 25, 60),\n/modulator = scale(/modulator, 0, 1, 1., 3.333333),\n/p1/freq = /modulator * 0.5,\n/p2/freq = /modulator * 0.125",
+                                       "patching_rect" : [ 179.0, 174.777786, 358.0, 46.0 ],
+                                       "presentation_rect" : [ 312.5, 181.0, 0.0, 0.0 ],
+                                       "text" : "if(/hands != 2, /gesture/openclose/active = 0),\n/gate = (/hands == 2)",
                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-12",
+                                       "id" : "obj-18",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
-                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 586.5, 242.0, 193.0, 22.0 ],
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 427.5, 337.0, 90.0, 22.0 ],
                                        "style" : "",
-                                       "text" : "o.if /gesture/openclose/active == 0"
+                                       "text" : "o.select /active"
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "fontface" : 0,
-                                       "fontsize" : 12.0,
-                                       "id" : "obj-7",
-                                       "maxclass" : "o.expr.codebox",
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
-                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 586.5, 271.0, 85.0, 32.0 ],
-                                       "text" : "/hands = 0",
-                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 427.5, 309.0, 153.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "o.route /gesture/openclose"
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-2",
+                                       "id" : "obj-6",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 0,
-                                       "numoutlets" : 0,
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 10.5, 257.0, 34.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-91",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
                                        "patcher" :                                     {
                                                "fileversion" : 1,
                                                "appversion" :                                          {
                                                        "major" : 7,
-                                                       "minor" : 1,
-                                                       "revision" : 0,
-                                                       "architecture" : "x86",
+                                                       "minor" : 2,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
                                                        "modernui" : 1
                                                }
 ,
-                                               "rect" : [ 0.0, 0.0, 640.0, 480.0 ],
+                                               "rect" : [ 59.0, 104.0, 295.0, 291.0 ],
                                                "bglocked" : 0,
                                                "openinpresentation" : 0,
                                                "default_fontsize" : 12.0,
                                                                "box" :                                                                 {
                                                                        "fontface" : 0,
                                                                        "fontsize" : 12.0,
-                                                                       "id" : "obj-7",
-                                                                       "maxclass" : "o.display",
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "o.expr.codebox",
                                                                        "numinlets" : 1,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 251.0, 422.0, 282.0, 34.0 ],
-                                                                       "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-6",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "FullPacket" ],
-                                                                       "patching_rect" : [ 201.0, 352.0, 50.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "o.union"
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 97.0, 111.0, 92.0, 32.0 ],
+                                                                       "text" : "/active = 0",
+                                                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                                                }
 
                                                        }
                                                                "box" :                                                                 {
                                                                        "fontface" : 0,
                                                                        "fontsize" : 12.0,
-                                                                       "id" : "obj-4",
-                                                                       "linecount" : 3,
+                                                                       "id" : "obj-6",
                                                                        "maxclass" : "o.expr.codebox",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 2,
                                                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                                                       "patching_rect" : [ 334.0, 244.5, 230.0, 59.0 ],
-                                                                       "text" : "/active = /interactionBox/hands/present && /hands",
+                                                                       "patching_rect" : [ 39.0, 154.0, 92.0, 32.0 ],
+                                                                       "text" : "/active = 1",
                                                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                                                }
 
                                                        }
 ,                                                      {
                                                                "box" :                                                                 {
-                                                                       "id" : "obj-2",
+                                                                       "id" : "obj-37",
                                                                        "maxclass" : "newobj",
                                                                        "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "FullPacket" ],
-                                                                       "patching_rect" : [ 291.0, 139.0, 256.0, 22.0 ],
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 39.0, 58.0, 184.0, 22.0 ],
                                                                        "style" : "",
-                                                                       "text" : "o.gather /interactionBox/hands/present /hands"
+                                                                       "text" : "o.cond /hands == 2\\, /hands == 1"
                                                                }
 
                                                        }
 ,                                                      {
                                                                "box" :                                                                 {
-                                                                       "fontface" : 0,
-                                                                       "fontsize" : 12.0,
-                                                                       "id" : "obj-117",
-                                                                       "maxclass" : "o.compose",
-                                                                       "numinlets" : 2,
+                                                                       "comment" : "",
+                                                                       "id" : "obj-89",
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 501.0, 372.0, 102.0, 24.0 ],
-                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 97, 99, 116, 105, 118, 101, 0, 44, 105, 0, 0, 0, 0, 0, 0 ],
-                                                                       "saved_bundle_length" : 36,
-                                                                       "text" : "/active : 0",
-                                                                       "textcolor" : [ 0.188, 0.188, 0.188, 1.0 ]
+                                                                       "patching_rect" : [ 39.0, 17.0, 30.0, 30.0 ],
+                                                                       "style" : ""
                                                                }
 
                                                        }
 ,                                                      {
                                                                "box" :                                                                 {
-                                                                       "fontface" : 0,
-                                                                       "fontsize" : 12.0,
-                                                                       "id" : "obj-108",
-                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "comment" : "",
+                                                                       "id" : "obj-90",
+                                                                       "maxclass" : "outlet",
                                                                        "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                                                       "patching_rect" : [ 50.0, 169.0, 402.0, 32.0 ],
-                                                                       "text" : "if(!/interactionBox/hands/present, /active = 0, NULL) ",
-                                                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 47.0, 230.0, 30.0, 30.0 ],
+                                                                       "style" : ""
                                                                }
 
                                                        }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-100",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                                                       "patching_rect" : [ 50.0, 130.0, 60.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "o.change"
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-90", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-1", 0 ]
                                                                }
 
                                                        }
 ,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-51",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "FullPacket" ],
-                                                                       "patching_rect" : [ 50.0, 100.0, 214.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "o.select /interactionBox/hands/present"
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-37", 1 ]
                                                                }
 
                                                        }
- ],
-                                               "lines" : [                                                     {
+,                                                      {
                                                                "patchline" :                                                           {
-                                                                       "destination" : [ "obj-108", 0 ],
+                                                                       "destination" : [ "obj-6", 0 ],
                                                                        "disabled" : 0,
                                                                        "hidden" : 0,
-                                                                       "source" : [ "obj-100", 0 ]
+                                                                       "source" : [ "obj-37", 0 ]
                                                                }
 
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
-                                                                       "destination" : [ "obj-100", 0 ],
+                                                                       "destination" : [ "obj-90", 0 ],
                                                                        "disabled" : 0,
                                                                        "hidden" : 0,
-                                                                       "source" : [ "obj-51", 0 ]
+                                                                       "source" : [ "obj-6", 0 ]
                                                                }
 
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
-                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "destination" : [ "obj-37", 0 ],
                                                                        "disabled" : 0,
                                                                        "hidden" : 0,
-                                                                       "source" : [ "obj-6", 0 ]
+                                                                       "source" : [ "obj-89", 0 ]
                                                                }
 
                                                        }
  ]
                                        }
 ,
-                                       "patching_rect" : [ 684.5, 324.0, 27.0, 22.0 ],
+                                       "patching_rect" : [ 153.0, 9.5, 162.0, 22.0 ],
                                        "saved_object_attributes" :                                     {
                                                "description" : "",
                                                "digest" : "",
                                        }
 ,
                                        "style" : "",
-                                       "text" : "p ?"
+                                       "text" : "p pass_if_right_indexExtend"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "linecount" : 3,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 153.0, 43.5, 150.0, 47.0 ],
+                                       "style" : "",
+                                       "text" : "remap:  \n/xyz 2 should be 1\n/xyz 1 should be 2"
                                }
 
                        }
 ,                      {
                                "box" :                                 {
                                        "fontface" : 0,
-                                       "fontsize" : 12.0,
-                                       "id" : "obj-11",
-                                       "linecount" : 2,
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-4",
+                                       "linecount" : 8,
                                        "maxclass" : "o.expr.codebox",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 480.5, 331.0, 157.0, 46.0 ],
-                                       "text" : "/active = 0,\ndelete(/hands)",
+                                       "patching_rect" : [ 10.5, 527.5, 415.0, 118.0 ],
+                                       "text" : "/f0 = /hand/leftmost/finger/1/distance/to/finger/3,\n/gain = /hand/rightmost/palm/position/normalized/xyz[[2]],\n/modulator = /hand/leftmost/finger/1/distance/to/finger/5,\n/f0 = scale(/f0, 0, 1, 14, 240),\n/gain/fold = scale(/gain, 0, 1, 25., 60.),\n/modulator = scale(/modulator, 0, 1, 1., 12.333333),\n/p1/freq = /modulator * 0.5,\n/p2/freq = /modulator * 0.125",
                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-10",
+                                       "id" : "obj-12",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 480.5, 276.0, 86.0, 22.0 ],
+                                       "patching_rect" : [ 427.5, 285.0, 193.0, 22.0 ],
                                        "style" : "",
-                                       "text" : "o.if /hands < 1"
+                                       "text" : "o.if /gesture/openclose/active == 0"
                                }
 
                        }
                                        "numinlets" : 2,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 480.5, 242.0, 60.0, 22.0 ],
+                                       "patching_rect" : [ 179.0, 147.888885, 60.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.change"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 3,
                                        "outlettype" : [ "", "", "FullPacket" ],
-                                       "patching_rect" : [ 480.5, 213.0, 231.0, 22.0 ],
+                                       "patching_rect" : [ 179.0, 121.0, 231.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.select /hands /gesture/openclose/active"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "" ],
-                                       "patching_rect" : [ 24.0, 59.0, 29.5, 22.0 ],
+                                       "patching_rect" : [ 25.5, 80.0, 29.5, 22.0 ],
                                        "style" : "",
                                        "text" : "t l l"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "FullPacket" ],
-                                       "patching_rect" : [ 480.5, 412.0, 169.0, 22.0 ],
+                                       "patching_rect" : [ 427.5, 470.0, 169.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.prepend /gesture/openclose"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "FullPacket" ],
-                                       "patching_rect" : [ 34.5, 276.0, 339.0, 22.0 ],
+                                       "patching_rect" : [ 10.5, 423.0, 339.0, 22.0 ],
                                        "style" : "",
                                        "text" : "o.gather /f0 /gain /modulator /active /p1/freq /p2/freq /gain/fold"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-91",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "FullPacket" ],
-                                       "patcher" :                                     {
-                                               "fileversion" : 1,
-                                               "appversion" :                                          {
-                                                       "major" : 7,
-                                                       "minor" : 1,
-                                                       "revision" : 0,
-                                                       "architecture" : "x86",
-                                                       "modernui" : 1
-                                               }
-,
-                                               "rect" : [ 59.0, 104.0, 565.0, 561.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" :                                                                 {
-                                                                       "id" : "obj-69",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "FullPacket" ],
-                                                                       "patching_rect" : [ 210.0, 72.0, 249.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "o.select /hand/rightmost/finger/2/is_extended"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "fontface" : 0,
-                                                                       "fontsize" : 12.0,
-                                                                       "id" : "obj-72",
-                                                                       "maxclass" : "o.expr.codebox",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                                                       "patching_rect" : [ 215.0, 132.0, 359.0, 32.0 ],
-                                                                       "text" : "/active = !/hand/rightmost/finger/2/is_extended",
-                                                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-7",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "FullPacket" ],
-                                                                       "patching_rect" : [ 215.0, 198.0, 50.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "o.union"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-74",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 3,
-                                                                       "outlettype" : [ "", "", "" ],
-                                                                       "patching_rect" : [ 215.0, 39.0, 94.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "t l l l"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-78",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "FullPacket" ],
-                                                                       "patching_rect" : [ 290.0, 521.0, 91.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "o.route /extend"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-70",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                                                       "patching_rect" : [ 290.0, 489.0, 60.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "o.change"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "fontface" : 0,
-                                                                       "fontsize" : 12.0,
-                                                                       "id" : "obj-6",
-                                                                       "maxclass" : "o.expr.codebox",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                                                       "patching_rect" : [ 39.0, 85.0, 92.0, 32.0 ],
-                                                                       "text" : "/active = 1",
-                                                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "fontface" : 0,
-                                                                       "fontsize" : 12.0,
-                                                                       "id" : "obj-5",
-                                                                       "maxclass" : "o.compose",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 248.0, 313.0, 102.0, 24.0 ],
-                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 97, 99, 116, 105, 118, 101, 0, 44, 105, 0, 0, 0, 0, 0, 0 ],
-                                                                       "saved_bundle_length" : 36,
-                                                                       "text" : "/active : 0",
-                                                                       "textcolor" : [ 0.188, 0.188, 0.188, 1.0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-4",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "bang" ],
-                                                                       "patching_rect" : [ 248.0, 278.0, 24.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "t b"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-37",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                                                       "patching_rect" : [ 39.0, 58.0, 93.0, 22.0 ],
-                                                                       "style" : "",
-                                                                       "text" : "o.if /hands == 2"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "comment" : "",
-                                                                       "id" : "obj-89",
-                                                                       "maxclass" : "inlet",
-                                                                       "numinlets" : 0,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 39.0, 17.0, 30.0, 30.0 ],
-                                                                       "style" : ""
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "comment" : "",
-                                                                       "id" : "obj-90",
-                                                                       "maxclass" : "outlet",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 0,
-                                                                       "patching_rect" : [ 26.0, 422.0, 30.0, 30.0 ],
-                                                                       "style" : ""
-                                                               }
-
-                                                       }
- ],
-                                               "lines" : [                                                     {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-6", 0 ],
-                                                                       "disabled" : 0,
-                                                                       "hidden" : 0,
-                                                                       "source" : [ "obj-37", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-5", 0 ],
-                                                                       "disabled" : 0,
-                                                                       "hidden" : 0,
-                                                                       "source" : [ "obj-4", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-90", 0 ],
-                                                                       "disabled" : 0,
-                                                                       "hidden" : 0,
-                                                                       "source" : [ "obj-6", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-72", 0 ],
-                                                                       "disabled" : 0,
-                                                                       "hidden" : 0,
-                                                                       "source" : [ "obj-69", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-78", 0 ],
-                                                                       "disabled" : 0,
-                                                                       "hidden" : 0,
-                                                                       "source" : [ "obj-70", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-7", 0 ],
-                                                                       "disabled" : 0,
-                                                                       "hidden" : 0,
-                                                                       "source" : [ "obj-72", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-69", 0 ],
-                                                                       "disabled" : 0,
-                                                                       "hidden" : 0,
-                                                                       "source" : [ "obj-74", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-7", 1 ],
-                                                                       "disabled" : 0,
-                                                                       "hidden" : 0,
-                                                                       "source" : [ "obj-74", 1 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-37", 0 ],
-                                                                       "disabled" : 0,
-                                                                       "hidden" : 0,
-                                                                       "source" : [ "obj-89", 0 ]
-                                                               }
-
-                                                       }
- ]
-                                       }
-,
-                                       "patching_rect" : [ 34.5, 119.0, 162.0, 22.0 ],
-                                       "saved_object_attributes" :                                     {
-                                               "description" : "",
-                                               "digest" : "",
-                                               "globalpatchername" : "",
-                                               "style" : "",
-                                               "tags" : ""
-                                       }
-,
-                                       "style" : "",
-                                       "text" : "p pass_if_right_indexExtend"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "fontface" : 0,
                                        "fontsize" : 11.0,
                                        "id" : "obj-3",
-                                       "linecount" : 8,
+                                       "linecount" : 9,
                                        "maxclass" : "o.expr.codebox",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 34.5, 150.0, 415.0, 118.0 ],
-                                       "text" : "/f0 = /hand/leftmost/finger/1/distance/to/finger/3,\n/gain = /hand/rightmost/palm/position/normalized/xyz[[2]],\n/modulator = /hand/leftmost/finger/1/distance/to/finger/5,\n/f0 = scale(/f0, 0, 1, 14, 240),\n/gain/fold = scale(/gain, 0, 1, 25., 60.),\n/modulator = scale(/modulator, 0, 1, 1., 12.333333),\n/p1/freq = /modulator * 0.5,\n/p2/freq = /modulator * 0.125",
+                                       "patching_rect" : [ 10.5, 285.0, 399.5, 130.0 ],
+                                       "text" : "/f0 = /hand/leftmost/finger/1/distance/to/finger/3,\n/gain = /hand/rightmost/palm/position/normalized/xyz[[1]],\n/modulator = /hand/leftmost/finger/1/distance/to/finger/5,\n/f0 = scale(/f0, 0, 1, 14, 240),\n/gain/fold = scale(/gain, 0, 1, 25., 60.),\n/modulator = scale(/modulator, 0, 1, 1., 12.333333),\n/p1/freq = /modulator * 0.5,\n/p2/freq = /modulator * 0.125,\n/active = 1",
                                        "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
                                }
 
                                        "numinlets" : 0,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 24.0, 19.0, 30.0, 30.0 ],
+                                       "patching_rect" : [ 25.5, 19.5, 30.0, 30.0 ],
                                        "style" : ""
                                }
 
                                        "maxclass" : "outlet",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 480.5, 488.0, 30.0, 30.0 ],
+                                       "patching_rect" : [ 463.5, 636.0, 30.0, 30.0 ],
                                        "style" : ""
                                }
 
  ],
                "lines" : [                     {
                                "patchline" :                           {
-                                       "destination" : [ "obj-8", 0 ],
+                                       "destination" : [ "obj-6", 1 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-1", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-91", 0 ],
+                                       "destination" : [ "obj-8", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-1", 1 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-11", 0 ],
+                                       "destination" : [ "obj-17", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-10", 0 ]
+                                       "source" : [ "obj-12", 0 ]
                                }
 
                        }
                                        "destination" : [ "obj-20", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-11", 0 ]
+                                       "source" : [ "obj-120", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-7", 0 ],
+                                       "destination" : [ "obj-1", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-12", 0 ]
+                                       "source" : [ "obj-15", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-20", 0 ],
+                                       "destination" : [ "obj-18", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-120", 0 ]
+                                       "source" : [ "obj-17", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-1", 0 ],
+                                       "destination" : [ "obj-20", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-15", 0 ]
+                                       "source" : [ "obj-18", 0 ]
                                }
 
                        }
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-120", 0 ],
+                                       "destination" : [ "obj-23", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-3", 0 ]
+                                       "source" : [ "obj-22", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-11", 0 ],
+                                       "destination" : [ "obj-12", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-7", 0 ]
+                                       "source" : [ "obj-23", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-12", 0 ],
+                                       "destination" : [ "obj-6", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-8", 1 ]
+                                       "source" : [ "obj-23", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-9", 0 ],
+                                       "destination" : [ "obj-120", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-8", 0 ]
+                                       "source" : [ "obj-3", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-10", 0 ],
+                                       "destination" : [ "obj-3", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-9", 0 ]
+                                       "source" : [ "obj-6", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-3", 0 ],
+                                       "destination" : [ "obj-12", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-8", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-91", 0 ]
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-9", 0 ]
                                }
 
                        }
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.if.mxo",
+                               "name" : "o.intersection.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.compose.mxo",
+                               "name" : "o.collect.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.change.mxo",
+                               "name" : "o.difference.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.route.mxo",
+                               "name" : "o.compose.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.union.mxo",
+                               "name" : "o.prepend.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.intersection.mxo",
-                               "type" : "iLaX"
-                       }
-,                      {
-                               "name" : "o.collect.mxo",
+                               "name" : "o.change.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.difference.mxo",
+                               "name" : "o.if.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.prepend.mxo",
+                               "name" : "o.cond.mxo",
                                "type" : "iLaX"
                        }
 ,                      {
-                               "name" : "o.display.mxo",
+                               "name" : "o.route.mxo",
                                "type" : "iLaX"
                        }
  ],
diff --git a/max/test/basic_leaptest.maxpat b/max/test/basic_leaptest.maxpat
new file mode 100644 (file)
index 0000000..d6b7fe4
--- /dev/null
@@ -0,0 +1,1384 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 7,
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "rect" : [ 54.0, 86.0, 1438.0, 721.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 2,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 2,
+               "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" : 12.0,
+                                       "id" : "obj-72",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 915.0, 75.0, 407.0, 34.0 ],
+                                       "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-71",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 7,
+                                                       "minor" : 2,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "rect" : [ 0.0, 0.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" :                                                                 {
+                                                                       "id" : "obj-44",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patcher" :                                                                     {
+                                                                               "fileversion" : 1,
+                                                                               "appversion" :                                                                          {
+                                                                                       "major" : 7,
+                                                                                       "minor" : 2,
+                                                                                       "revision" : 2,
+                                                                                       "architecture" : "x64",
+                                                                                       "modernui" : 1
+                                                                               }
+,
+                                                                               "rect" : [ 59.0, 104.0, 820.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" :                                                                                                 {
+                                                                                                       "id" : "obj-15",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 359.0, 287.0, 90.0, 22.0 ],
+                                                                                                       "style" : "",
+                                                                                                       "text" : "o.select /active"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-14",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 300.0, 250.0, 78.0, 22.0 ],
+                                                                                                       "style" : "",
+                                                                                                       "text" : "o.route /gate"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontface" : 0,
+                                                                                                       "fontsize" : 12.0,
+                                                                                                       "id" : "obj-22",
+                                                                                                       "maxclass" : "o.expr.codebox",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 300.0, 195.0, 236.0, 32.0 ],
+                                                                                                       "text" : "/gate = /active = (/hands == 2)",
+                                                                                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-12",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 300.0, 168.111099, 60.0, 22.0 ],
+                                                                                                       "style" : "",
+                                                                                                       "text" : "o.change"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-37",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 50.0, 310.0, 34.0, 22.0 ],
+                                                                                                       "style" : "",
+                                                                                                       "text" : "gate"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-36",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 300.0, 139.0, 91.0, 22.0 ],
+                                                                                                       "style" : "",
+                                                                                                       "text" : "o.select /hands"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-34",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 65.0, 100.0, 29.5, 22.0 ],
+                                                                                                       "style" : "",
+                                                                                                       "text" : "t l l"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-42",
+                                                                                                       "maxclass" : "inlet",
+                                                                                                       "numinlets" : 0,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 65.0, 40.0, 30.0, 30.0 ],
+                                                                                                       "style" : ""
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-43",
+                                                                                                       "maxclass" : "outlet",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 50.0, 392.0, 30.0, 30.0 ],
+                                                                                                       "style" : ""
+                                                                                               }
+
+                                                                                       }
+ ],
+                                                                               "lines" : [                                                                                     {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-22", 0 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-12", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-15", 0 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-14", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-37", 0 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-14", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-43", 0 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-15", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-14", 0 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-22", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-36", 0 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-34", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-37", 1 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-34", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-12", 0 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-36", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-43", 0 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-37", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-34", 0 ],
+                                                                                                       "disabled" : 0,
+                                                                                                       "hidden" : 0,
+                                                                                                       "source" : [ "obj-42", 0 ]
+                                                                                               }
+
+                                                                                       }
+ ]
+                                                                       }
+,
+                                                                       "patching_rect" : [ 50.0, 100.0, 53.0, 22.0 ],
+                                                                       "saved_object_attributes" :                                                                     {
+                                                                               "description" : "",
+                                                                               "digest" : "",
+                                                                               "globalpatchername" : "",
+                                                                               "style" : "",
+                                                                               "tags" : ""
+                                                                       }
+,
+                                                                       "style" : "",
+                                                                       "text" : "p hands"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 124.0, 534.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "o.gather /hand/leftmost/palm/position/normalized/xyz /hand/rightmost/palm/position/normalized/xyz"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-68",
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ],
+                                                                       "style" : ""
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-69",
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 206.0, 30.0, 30.0 ],
+                                                                       "style" : ""
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-70",
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 565.0, 206.0, 30.0, 30.0 ],
+                                                                       "style" : ""
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-44", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-44", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-68", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-69", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-70", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-7", 1 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 780.0, 45.0, 103.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "globalpatchername" : "",
+                                               "style" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "style" : "",
+                                       "text" : "p capture_motion"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-67",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 7,
+                                                       "minor" : 2,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "rect" : [ 59.0, 104.0, 275.0, 424.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" :                                                                 {
+                                                                       "id" : "obj-58",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "signal", "bang" ],
+                                                                       "patching_rect" : [ 169.0, 209.0, 50.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "line~ 0."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-57",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 169.0, 162.0, 47.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "$1 100"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-55",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "signal" ],
+                                                                       "patching_rect" : [ 43.0, 274.0, 79.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "*~"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-33",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 43.0, 145.0, 47.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "$1 100"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-29",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "signal", "bang" ],
+                                                                       "patching_rect" : [ 43.0, 175.0, 50.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "line~ 0."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-28",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "signal" ],
+                                                                       "patching_rect" : [ 43.0, 235.0, 79.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "*~"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-27",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "signal" ],
+                                                                       "patching_rect" : [ 103.0, 175.0, 46.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "noise~"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-15",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "", "", "FullPacket" ],
+                                                                       "patching_rect" : [ 43.0, 95.0, 121.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "o.route /d/line /active"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-64",
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 43.0, 35.0, 30.0, 30.0 ],
+                                                                       "style" : ""
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-66",
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 43.0, 373.5, 30.0, 30.0 ],
+                                                                       "style" : ""
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-33", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-15", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-57", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-15", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-28", 1 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-27", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-55", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-28", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-28", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-29", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-29", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-33", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-66", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-55", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-58", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-57", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-55", 1 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-58", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-15", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-64", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 780.0, 105.0, 52.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "globalpatchername" : "",
+                                               "style" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "style" : "",
+                                       "text" : "p sonify"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-63",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 7,
+                                                       "minor" : 2,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "rect" : [ 0.0, 0.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" : 12.0,
+                                                                       "id" : "obj-4",
+                                                                       "linecount" : 11,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 560.0, 168.0 ],
+                                                                       "text" : "/hand/rightmost/palm/position/normalized/xyz ??= [0., 0., 0.],\n/hand/leftmost/palm/position/normalized/xyz ??= [0., 0., 0.],\n/l/x = /hand/leftmost/palm/position/normalized/xyz[[0]],\n/l/y = /hand/leftmost/palm/position/normalized/xyz[[1]],\n/l/z = /hand/leftmost/palm/position/normalized/xyz[[2]],\n/r/x = /hand/rightmost/palm/position/normalized/xyz[[0]],\n/r/y = /hand/rightmost/palm/position/normalized/xyz[[1]],\n/r/z = /hand/rightmost/palm/position/normalized/xyz[[2]],\n\n/d = sqrt(pow(/r/x - /l/x, 2) + pow(/r/y - /l/y, 2) + pow(/r/z - /l/z, 2)),\n/d/line = 1.0 - clip(/d, 0., 1.)",
+                                                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-61",
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ],
+                                                                       "style" : ""
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-62",
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 328.0, 30.0, 30.0 ],
+                                                                       "style" : ""
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-62", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-61", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 780.0, 75.0, 119.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "globalpatchername" : "",
+                                               "style" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "style" : "",
+                                       "text" : "p calculate_distance"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-49",
+                                       "maxclass" : "gain~",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 930.0, 195.0, 22.0, 140.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-48",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 930.0, 351.0, 57.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "dac~ 1 2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "scope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 780.0, 195.0, 130.0, 130.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 30.0, 465.0, 93.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "o.gather /x /y /z"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-22",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 30.0, 390.0, 309.0, 59.0 ],
+                                       "text" : "/x = /palm/position/normalized/xyz[[0]],\n/y = /palm/position/normalized/xyz[[1]],\n/z = /palm/position/normalized/xyz[[2]]",
+                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 30.0, 315.0, 24.0, 24.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 30.0, 360.0, 34.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-25",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 30.0, 540.0, 240.0, 34.0 ],
+                                       "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 457.5, 465.0, 93.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "o.gather /x /y /z"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-19",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 457.5, 390.0, 309.0, 59.0 ],
+                                       "text" : "/x = /palm/position/normalized/xyz[[0]],\n/y = /palm/position/normalized/xyz[[1]],\n/z = /palm/position/normalized/xyz[[2]]",
+                                       "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 457.5, 315.0, 24.0, 24.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 457.5, 360.0, 34.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-18",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 457.5, 540.0, 240.0, 61.0 ],
+                                       "text" : "/x : 0.5,\n/y : 0.,\n/z : 0.5",
+                                       "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "FullPacket" ],
+                                       "patching_rect" : [ 104.0, 150.0, 213.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "o.route /hand/leftmost /hand/rightmost"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 104.0, 15.0, 24.0, 24.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 104.0, 45.0, 51.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "metro 3"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 104.0, 75.0, 24.0, 24.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 104.0, 120.0, 56.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "o.io.leap"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-71", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-49", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-49", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-63", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-67", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-49", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-67", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-63", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-71", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-71", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-72", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-71", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-9", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.gather.maxpat",
+                               "bootpath" : "~/Documents/Max 7/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.righttoleft.maxpat",
+                               "bootpath" : "~/Documents/Max 7/Packages/odot/patchers/ordering",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.io.leap.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.intersection.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.collect.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.difference.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.change.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0,
+               "bgfillcolor_type" : "gradient",
+               "bgfillcolor_color1" : [ 0.376471, 0.384314, 0.4, 1.0 ],
+               "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
+               "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
+               "bgfillcolor_angle" : 270.0,
+               "bgfillcolor_proportion" : 0.39
+       }
+
+}