{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 7, "minor" : 0, "revision" : 4, "architecture" : "x86", "modernui" : 1 } , "rect" : [ 140.0, 78.0, 982.0, 632.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 14.0, "default_fontface" : 0, "default_fontname" : "Andale Mono", "gridonopen" : 1, "gridsize" : [ 5.0, 5.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" : "", "boxes" : [ { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], "patching_rect" : [ 246.5, 265.0, 128.0, 24.0 ], "style" : "", "text" : "o.betweentimes" } } , { "box" : { "fontface" : 0, "fontsize" : 14.0, "id" : "obj-9", "maxclass" : "o.compose", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 699.5, 158.0, 157.0, 26.0 ], "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 97, 110, 97, 108, 111, 103, 47, 123, 50, 44, 51, 125, 47, 117, 0, 44, 0, 0, 0 ], "saved_bundle_length" : 40, "text" : "/analog/{2,3}/u", "textcolor" : [ 0.188, 0.188, 0.188, 1.0 ] } } , { "box" : { "fontface" : 0, "fontsize" : 14.0, "id" : "obj-8", "maxclass" : "o.compose", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 448.5, 159.0, 150.0, 26.0 ], "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 97, 110, 97, 108, 111, 103, 47, 91, 48, 45, 51, 93, 47, 117, 0, 44, 0, 0, 0 ], "saved_bundle_length" : 40, "text" : "/analog/[0-3]/u", "textcolor" : [ 0.188, 0.188, 0.188, 1.0 ] } } , { "box" : { "fontface" : 0, "fontsize" : 14.0, "id" : "obj-6", "maxclass" : "o.compose", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 246.5, 159.0, 150.0, 26.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, 110, 97, 108, 111, 103, 47, 42, 0, 0, 0, 44, 0, 0, 0 ], "saved_bundle_length" : 36, "text" : "/analog/*", "textcolor" : [ 0.188, 0.188, 0.188, 1.0 ] } } , { "box" : { "fontface" : 0, "fontsize" : 14.0, "id" : "obj-4", "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 246.5, 308.0, 265.0, 36.0 ], "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 246.5, 55.0, 95.0, 24.0 ], "style" : "", "text" : "loadmess 1" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-1", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 726.5, 77.0, 222.0, 38.0 ], "style" : "", "text" : "read analog pins 2 and 3 with pullup turned on" } } , { "box" : { "id" : "obj-78", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 699.5, 95.0, 20.0, 20.0 ], "style" : "" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-79", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 699.5, 126.0, 86.0, 24.0 ], "style" : "", "text" : "qmetro 20" } } , { "box" : { "id" : "obj-56", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 179.333328, 500.0, 20.0, 20.0 ], "style" : "" } } , { "box" : { "fontname" : "Andale Mono", "id" : "obj-64", "maxclass" : "live.slider", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "float" ], "parameter_enable" : 1, "patching_rect" : [ 179.333328, 396.0, 34.0, 95.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "a[37]", "parameter_shortname" : "a", "parameter_type" : 0, "parameter_mmax" : 1023.0, "parameter_unitstyle" : 0 } } , "varname" : "a[25]" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-13", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 11.0, 542.0, 137.0, 22.0 ], "style" : "", "text" : "analog readings" } } , { "box" : { "id" : "obj-110", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 145.666672, 500.0, 20.0, 20.0 ], "style" : "" } } , { "box" : { "id" : "obj-109", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 112.0, 500.0, 20.0, 20.0 ], "style" : "" } } , { "box" : { "id" : "obj-108", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 78.333336, 500.0, 20.0, 20.0 ], "style" : "" } } , { "box" : { "id" : "obj-107", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 44.666668, 500.0, 20.0, 20.0 ], "style" : "" } } , { "box" : { "fontname" : "Andale Mono", "id" : "obj-105", "maxclass" : "live.slider", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "float" ], "parameter_enable" : 1, "patching_rect" : [ 145.666672, 396.0, 34.0, 95.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "a[19]", "parameter_shortname" : "a", "parameter_type" : 0, "parameter_mmax" : 1023.0, "parameter_unitstyle" : 0 } } , "varname" : "a[4]" } } , { "box" : { "fontname" : "Andale Mono", "id" : "obj-104", "maxclass" : "live.slider", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "float" ], "parameter_enable" : 1, "patching_rect" : [ 112.0, 396.0, 34.0, 95.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "a[20]", "parameter_shortname" : "a", "parameter_type" : 0, "parameter_mmax" : 1023.0, "parameter_unitstyle" : 0 } } , "varname" : "a[3]" } } , { "box" : { "fontname" : "Andale Mono", "id" : "obj-103", "maxclass" : "live.slider", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "float" ], "parameter_enable" : 1, "patching_rect" : [ 78.333336, 396.0, 34.0, 95.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "a[21]", "parameter_shortname" : "a", "parameter_type" : 0, "parameter_mmax" : 1023.0, "parameter_unitstyle" : 0 } } , "varname" : "a[2]" } } , { "box" : { "fontname" : "Andale Mono", "id" : "obj-102", "maxclass" : "live.slider", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "float" ], "parameter_enable" : 1, "patching_rect" : [ 44.666668, 396.0, 34.0, 95.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "a[22]", "parameter_shortname" : "a", "parameter_type" : 0, "parameter_mmax" : 1023.0, "parameter_unitstyle" : 0 } } , "varname" : "a[1]" } } , { "box" : { "fontname" : "Andale Mono", "id" : "obj-101", "maxclass" : "live.slider", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "float" ], "parameter_enable" : 1, "patching_rect" : [ 11.0, 396.0, 34.0, 95.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "a[23]", "parameter_shortname" : "a", "parameter_type" : 0, "parameter_mmax" : 1023.0, "parameter_unitstyle" : 0 } } , "varname" : "a" } } , { "box" : { "id" : "obj-84", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 11.0, 500.0, 20.0, 20.0 ], "style" : "" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-81", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 7, "outlettype" : [ "", "", "", "", "", "", "FullPacket" ], "patching_rect" : [ 11.0, 323.0, 221.0, 24.0 ], "style" : "", "text" : "o.route /0 /1 /2 /3 /4 /5" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-45", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], "patching_rect" : [ 11.0, 265.0, 137.0, 24.0 ], "style" : "", "text" : "o.route /analog" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-15", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 475.5, 86.0, 187.0, 38.0 ], "style" : "", "text" : "read analog pins 0-3 with pullup turned on" } } , { "box" : { "id" : "obj-18", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 448.5, 95.0, 20.0, 20.0 ], "style" : "" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 448.5, 125.0, 86.0, 24.0 ], "style" : "", "text" : "qmetro 20" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-46", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 261.5, 95.0, 187.0, 22.0 ], "style" : "", "text" : "read all analog pins" } } , { "box" : { "id" : "obj-60", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 246.5, 95.0, 20.0, 20.0 ], "style" : "" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-61", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 246.5, 124.0, 95.0, 24.0 ], "style" : "", "text" : "qmetro 100" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 246.5, 214.0, 288.0, 24.0 ], "style" : "", "text" : "o.io.udp 128.32.122.252 8888 9999" } } , { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-91", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, "patcher" : { "fileversion" : 1, "appversion" : { "major" : 7, "minor" : 0, "revision" : 4, "architecture" : "x86", "modernui" : 1 } , "rect" : [ 34.0, 78.0, 738.0, 421.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 14.0, "default_fontface" : 0, "default_fontname" : "Andale Mono", "gridonopen" : 1, "gridsize" : [ 5.0, 5.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" : "", "boxes" : [ { "box" : { "fontname" : "Andale Mono", "fontsize" : 14.0, "id" : "obj-2", "linecount" : 25, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 15.0, 20.0, 768.0, 400.0 ], "style" : "", "text" : "/*\n Written by Yotam Mann and Adrian Freed,\n The Center for New Music and Audio Technologies,\n University of California, Berkeley. Copyright (c) 2012, The Regents of\n the University of California (Regents).\n \n Permission to use, copy, modify, distribute, and distribute modified versions\n of this software and its documentation without fee and without a signed\n licensing agreement, is hereby granted, provided that the above copyright\n notice, this paragraph and the following two paragraphs appear in all copies,\n modifications, and distributions.\n \n IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,\n SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING\n OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF REGENTS HAS\n BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED\n HEREUNDER IS PROVIDED \"AS IS\". REGENTS HAS NO OBLIGATION TO PROVIDE\n MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.\n \n For bug reports and feature requests please email me at yotam@cnmat.berkeley.edu\n */" } } ], "lines" : [ ] } , "patching_rect" : [ 666.5, 494.0, 111.0, 24.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", "fontname" : "Andale Mono", "fontsize" : 14.0, "globalpatchername" : "", "style" : "", "tags" : "" } , "style" : "", "text" : "p disclaimer" } } ], "lines" : [ { "patchline" : { "color" : [ 1.0, 0.8, 0.4, 1.0 ], "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-84", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-101", 0 ] } } , { "patchline" : { "destination" : [ "obj-107", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-102", 0 ] } } , { "patchline" : { "destination" : [ "obj-108", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-103", 0 ] } } , { "patchline" : { "destination" : [ "obj-109", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-104", 0 ] } } , { "patchline" : { "destination" : [ "obj-110", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-105", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-8", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-22", 0 ] } } , { "patchline" : { "color" : [ 1.0, 0.8, 0.4, 1.0 ], "destination" : [ "obj-10", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-26", 0 ] } } , { "patchline" : { "color" : [ 1.0, 0.8, 0.4, 1.0 ], "destination" : [ "obj-45", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-60", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "color" : [ 1.0, 0.8, 0.4, 1.0 ], "destination" : [ "obj-81", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-45", 0 ] } } , { "patchline" : { "color" : [ 1.0, 0.8, 0.4, 1.0 ], "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-61", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-60", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-61", 0 ] } } , { "patchline" : { "destination" : [ "obj-56", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-64", 0 ] } } , { "patchline" : { "destination" : [ "obj-79", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-78", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-79", 0 ] } } , { "patchline" : { "color" : [ 1.0, 0.8, 0.4, 1.0 ], "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-8", 0 ] } } , { "patchline" : { "destination" : [ "obj-101", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-81", 0 ] } } , { "patchline" : { "destination" : [ "obj-102", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-81", 1 ] } } , { "patchline" : { "destination" : [ "obj-103", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-81", 2 ] } } , { "patchline" : { "destination" : [ "obj-104", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-81", 3 ] } } , { "patchline" : { "destination" : [ "obj-105", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-81", 4 ] } } , { "patchline" : { "destination" : [ "obj-64", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-81", 5 ] } } , { "patchline" : { "color" : [ 1.0, 0.8, 0.4, 1.0 ], "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] } } ], "parameters" : { "obj-105" : [ "a[19]", "a", 0 ], "obj-104" : [ "a[20]", "a", 0 ], "obj-103" : [ "a[21]", "a", 0 ], "obj-64" : [ "a[37]", "a", 0 ], "obj-102" : [ "a[22]", "a", 0 ], "obj-101" : [ "a[23]", "a", 0 ] } , "dependency_cache" : [ { "name" : "o.io.udp.maxpat", "bootpath" : "~/Documents/Max/Packages/o.io/experimental/Protocols/udp", "type" : "JSON", "implicit" : 1 } , { "name" : "o.betweentimes.maxpat", "bootpath" : "~/Documents/Max/Packages/odot/patchers/time", "type" : "JSON", "implicit" : 1 } , { "name" : "o.was.maxpat", "bootpath" : "~/Documents/Max/Packages/odot/dev", "type" : "JSON", "implicit" : 1 } , { "name" : "o.righttoleft.maxpat", "bootpath" : "~/Documents/Max/Packages/odot/patchers/ordering", "type" : "JSON", "implicit" : 1 } , { "name" : "o.route.mxo", "type" : "iLaX" } , { "name" : "o.display.mxo", "type" : "iLaX" } , { "name" : "o.compose.mxo", "type" : "iLaX" } , { "name" : "o.timetag.mxo", "type" : "iLaX" } , { "name" : "o.prepend.mxo", "type" : "iLaX" } , { "name" : "o.intersection.mxo", "type" : "iLaX" } , { "name" : "o.union.mxo", "type" : "iLaX" } , { "name" : "o.var.mxo", "type" : "iLaX" } , { "name" : "o.collect.mxo", "type" : "iLaX" } , { "name" : "o.if.mxo", "type" : "iLaX" } , { "name" : "o.expr.codebox.mxo", "type" : "iLaX" } ], "embedsnapshot" : 0 } }