diff --git a/MIDIfoot Max Interface.maxpat b/MIDIfoot Max Interface.maxpat new file mode 100644 index 0000000..9913f6d --- /dev/null +++ b/MIDIfoot Max Interface.maxpat @@ -0,0 +1,4188 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 5, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 34.0, 79.0, 976.0, 717.0 ], + "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], + "editing_bgcolor" : [ 0.086275, 0.309804, 0.52549, 0.25 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "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" : 8, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "dark theme", + "boxes" : [ { + "box" : { + "id" : "obj-226", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 930.0, 315.0, 150.0, 33.0 ], + "style" : "", + "text" : "hold time to clear is set to 2000 ms" + } + + } +, { + "box" : { + "fontface" : 3, + "fontsize" : 36.0, + "id" : "obj-212", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 822.5, 345.0, 39.0, 47.0 ], + "presentation_rect" : [ 841.5, 432.0, 0.0, 0.0 ], + "style" : "", + "text" : "F" + } + + } +, { + "box" : { + "id" : "obj-213", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 901.0, 437.0, 35.0, 20.0 ], + "presentation_rect" : [ 916.0, 522.0, 0.0, 0.0 ], + "style" : "", + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-214", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 822.5, 435.0, 45.0, 20.0 ], + "presentation_rect" : [ 841.5, 522.0, 0.0, 0.0 ], + "style" : "", + "text" : "freeze" + } + + } +, { + "box" : { + "bgcolor" : [ 0.646639, 0.821777, 0.854593, 1.0 ], + "blinkcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], + "id" : "obj-215", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 796.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 815.0, 522.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-216", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 5, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 334.0, 223.0, 710.0, 526.0 ], + "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], + "editing_bgcolor" : [ 0.086275, 0.309804, 0.52549, 0.25 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "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" : "dark theme", + "boxes" : [ { + "box" : { + "id" : "obj-75", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 280.0, 425.0, 85.0, 20.0 ], + "style" : "", + "text" : "Hold to clear" + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 275.0, 410.0, 120.0, 13.0 ], + "size" : 2000.0, + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-17", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 150.0, 405.0, 45.0, 33.0 ], + "style" : "", + "text" : "button off" + } + + } +, { + "box" : { + "id" : "obj-15", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 405.0, 50.0, 33.0 ], + "style" : "", + "text" : "button on" + } + + } +, { + "box" : { + "id" : "obj-14", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 465.0, 460.0, 81.75, 33.0 ], + "style" : "", + "text" : "clear after 2 seconds" + } + + } +, { + "box" : { + "id" : "obj-13", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 294.125, 446.5, 81.75, 47.0 ], + "style" : "", + "text" : "slider to show time left to clear buffer" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 195.0, 470.0, 75.0, 20.0 ], + "style" : "", + "text" : "button on/off" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 225.0, 440.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-137", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 75.0, 315.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-133", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 120.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-134", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 75.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-135", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 360.0, 52.0, 22.0 ], + "style" : "", + "text" : "select 1" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 285.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 1" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 335.0, 335.0, 37.0, 22.0 ], + "style" : "", + "text" : "2000" + } + + } +, { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 335.0, 293.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 275.0, 305.0, 48.0, 22.0 ], + "style" : "", + "text" : "!- 2000" + } + + } +, { + "box" : { + "id" : "obj-63", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 505.0, 255.0, 90.0, 60.0 ], + "style" : "", + "text" : "if held for 2 seconds, send CLEAR message" + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 181.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 430.0, 285.0, 70.0, 22.0 ], + "style" : "", + "text" : "sel 2000" + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 430.0, 255.0, 70.0, 22.0 ], + "style" : "", + "text" : "clocker 50" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 125.0, 190.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 125.0, 100.0, 65.0, 22.0 ], + "style" : "", + "text" : "select 127" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-78", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-81", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 430.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 84.5, 438.0, 84.5, 438.0 ], + "source" : [ "obj-134", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-133", 0 ], + "midpoints" : [ 117.5, 396.0, 129.5, 396.0 ], + "source" : [ "obj-135", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-134", 0 ], + "midpoints" : [ 84.5, 384.0, 84.5, 384.0 ], + "source" : [ "obj-135", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-135", 0 ], + "midpoints" : [ 84.5, 342.0, 84.5, 342.0 ], + "source" : [ "obj-137", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "midpoints" : [ 134.5, 123.0, 134.5, 123.0 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "midpoints" : [ 180.5, 132.0, 190.5, 132.0 ], + "source" : [ "obj-40", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 134.5, 168.0, 134.5, 168.0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "midpoints" : [ 134.5, 345.0, 234.5, 345.0 ], + "order" : 2, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "midpoints" : [ 134.5, 240.0, 439.5, 240.0 ], + "order" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "midpoints" : [ 134.5, 279.0, 344.5, 279.0 ], + "order" : 1, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "midpoints" : [ 134.5, 270.0, 84.5, 270.0 ], + "order" : 3, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "midpoints" : [ 439.5, 279.0, 439.5, 279.0 ], + "order" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "midpoints" : [ 439.5, 279.0, 284.5, 279.0 ], + "order" : 1, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "midpoints" : [ 439.5, 309.0, 439.5, 309.0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 190.5, 177.0, 134.5, 177.0 ], + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 284.5, 330.0, 284.5, 330.0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "midpoints" : [ 344.5, 318.0, 344.5, 318.0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 344.5, 396.0, 284.5, 396.0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "midpoints" : [ 134.5, 72.0, 134.5, 72.0 ], + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "midpoints" : [ 84.5, 309.0, 84.5, 309.0 ], + "source" : [ "obj-83", 0 ] + } + + } + ], + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "patching_rect" : [ 796.0, 390.0, 90.0, 22.0 ], + "presentation_rect" : [ 815.0, 477.0, 0.0, 0.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "", + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "style" : "", + "text" : "p holdToClear" + } + + } +, { + "box" : { + "bgcolor" : [ 0.880169, 0.755396, 0.471904, 1.0 ], + "blinkcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], + "id" : "obj-217", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 871.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 890.0, 522.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontface" : 3, + "fontsize" : 36.0, + "id" : "obj-218", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 672.5, 345.0, 39.0, 47.0 ], + "presentation_rect" : [ 688.0, 432.0, 0.0, 0.0 ], + "style" : "", + "text" : "E" + } + + } +, { + "box" : { + "id" : "obj-219", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 747.0, 435.0, 35.0, 20.0 ], + "presentation_rect" : [ 762.5, 522.0, 0.0, 0.0 ], + "style" : "", + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-220", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 672.5, 435.0, 45.0, 20.0 ], + "presentation_rect" : [ 688.0, 522.0, 0.0, 0.0 ], + "style" : "", + "text" : "freeze" + } + + } +, { + "box" : { + "bgcolor" : [ 0.646639, 0.821777, 0.854593, 1.0 ], + "blinkcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], + "id" : "obj-221", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 646.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 661.5, 522.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-222", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 5, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 334.0, 223.0, 710.0, 526.0 ], + "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], + "editing_bgcolor" : [ 0.086275, 0.309804, 0.52549, 0.25 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "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" : "dark theme", + "boxes" : [ { + "box" : { + "id" : "obj-75", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 280.0, 425.0, 85.0, 20.0 ], + "style" : "", + "text" : "Hold to clear" + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 275.0, 410.0, 120.0, 13.0 ], + "size" : 2000.0, + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-17", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 150.0, 405.0, 45.0, 33.0 ], + "style" : "", + "text" : "button off" + } + + } +, { + "box" : { + "id" : "obj-15", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 405.0, 50.0, 33.0 ], + "style" : "", + "text" : "button on" + } + + } +, { + "box" : { + "id" : "obj-14", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 465.0, 460.0, 81.75, 33.0 ], + "style" : "", + "text" : "clear after 2 seconds" + } + + } +, { + "box" : { + "id" : "obj-13", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 294.125, 446.5, 81.75, 47.0 ], + "style" : "", + "text" : "slider to show time left to clear buffer" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 195.0, 470.0, 75.0, 20.0 ], + "style" : "", + "text" : "button on/off" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 225.0, 440.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-137", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 75.0, 315.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-133", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 120.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-134", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 75.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-135", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 360.0, 52.0, 22.0 ], + "style" : "", + "text" : "select 1" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 285.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 1" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 335.0, 335.0, 37.0, 22.0 ], + "style" : "", + "text" : "2000" + } + + } +, { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 335.0, 293.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 275.0, 305.0, 48.0, 22.0 ], + "style" : "", + "text" : "!- 2000" + } + + } +, { + "box" : { + "id" : "obj-63", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 505.0, 255.0, 90.0, 60.0 ], + "style" : "", + "text" : "if held for 2 seconds, send CLEAR message" + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 181.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 430.0, 285.0, 70.0, 22.0 ], + "style" : "", + "text" : "sel 2000" + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 430.0, 255.0, 70.0, 22.0 ], + "style" : "", + "text" : "clocker 50" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 125.0, 190.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 125.0, 100.0, 65.0, 22.0 ], + "style" : "", + "text" : "select 127" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-78", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-81", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 430.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 84.5, 438.0, 84.5, 438.0 ], + "source" : [ "obj-134", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-133", 0 ], + "midpoints" : [ 117.5, 396.0, 129.5, 396.0 ], + "source" : [ "obj-135", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-134", 0 ], + "midpoints" : [ 84.5, 384.0, 84.5, 384.0 ], + "source" : [ "obj-135", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-135", 0 ], + "midpoints" : [ 84.5, 342.0, 84.5, 342.0 ], + "source" : [ "obj-137", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "midpoints" : [ 134.5, 123.0, 134.5, 123.0 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "midpoints" : [ 180.5, 132.0, 190.5, 132.0 ], + "source" : [ "obj-40", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 134.5, 168.0, 134.5, 168.0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "midpoints" : [ 134.5, 345.0, 234.5, 345.0 ], + "order" : 2, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "midpoints" : [ 134.5, 240.0, 439.5, 240.0 ], + "order" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "midpoints" : [ 134.5, 279.0, 344.5, 279.0 ], + "order" : 1, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "midpoints" : [ 134.5, 270.0, 84.5, 270.0 ], + "order" : 3, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "midpoints" : [ 439.5, 279.0, 439.5, 279.0 ], + "order" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "midpoints" : [ 439.5, 279.0, 284.5, 279.0 ], + "order" : 1, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "midpoints" : [ 439.5, 309.0, 439.5, 309.0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 190.5, 177.0, 134.5, 177.0 ], + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 284.5, 330.0, 284.5, 330.0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "midpoints" : [ 344.5, 318.0, 344.5, 318.0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 344.5, 396.0, 284.5, 396.0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "midpoints" : [ 134.5, 72.0, 134.5, 72.0 ], + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "midpoints" : [ 84.5, 309.0, 84.5, 309.0 ], + "source" : [ "obj-83", 0 ] + } + + } + ], + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "patching_rect" : [ 646.0, 390.0, 90.0, 22.0 ], + "presentation_rect" : [ 661.5, 477.0, 0.0, 0.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "", + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "style" : "", + "text" : "p holdToClear" + } + + } +, { + "box" : { + "bgcolor" : [ 0.880169, 0.755396, 0.471904, 1.0 ], + "blinkcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], + "id" : "obj-223", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 721.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 736.5, 522.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontface" : 3, + "fontsize" : 36.0, + "id" : "obj-200", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 522.5, 345.0, 39.0, 47.0 ], + "presentation_rect" : [ 529.0, 436.0, 0.0, 0.0 ], + "style" : "", + "text" : "D" + } + + } +, { + "box" : { + "id" : "obj-201", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 597.0, 435.0, 35.0, 20.0 ], + "presentation_rect" : [ 603.5, 526.0, 0.0, 0.0 ], + "style" : "", + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-202", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 522.5, 435.0, 45.0, 20.0 ], + "presentation_rect" : [ 529.0, 526.0, 0.0, 0.0 ], + "style" : "", + "text" : "freeze" + } + + } +, { + "box" : { + "bgcolor" : [ 0.646639, 0.821777, 0.854593, 1.0 ], + "blinkcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], + "id" : "obj-203", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 496.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 502.5, 526.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-204", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 5, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 334.0, 223.0, 710.0, 526.0 ], + "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], + "editing_bgcolor" : [ 0.086275, 0.309804, 0.52549, 0.25 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "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" : "dark theme", + "boxes" : [ { + "box" : { + "id" : "obj-75", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 280.0, 425.0, 85.0, 20.0 ], + "style" : "", + "text" : "Hold to clear" + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 275.0, 410.0, 120.0, 13.0 ], + "size" : 2000.0, + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-17", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 150.0, 405.0, 45.0, 33.0 ], + "style" : "", + "text" : "button off" + } + + } +, { + "box" : { + "id" : "obj-15", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 405.0, 50.0, 33.0 ], + "style" : "", + "text" : "button on" + } + + } +, { + "box" : { + "id" : "obj-14", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 465.0, 460.0, 81.75, 33.0 ], + "style" : "", + "text" : "clear after 2 seconds" + } + + } +, { + "box" : { + "id" : "obj-13", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 294.125, 446.5, 81.75, 47.0 ], + "style" : "", + "text" : "slider to show time left to clear buffer" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 195.0, 470.0, 75.0, 20.0 ], + "style" : "", + "text" : "button on/off" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 225.0, 440.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-137", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 75.0, 315.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-133", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 120.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-134", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 75.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-135", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 360.0, 52.0, 22.0 ], + "style" : "", + "text" : "select 1" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 285.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 1" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 335.0, 335.0, 37.0, 22.0 ], + "style" : "", + "text" : "2000" + } + + } +, { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 335.0, 293.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 275.0, 305.0, 48.0, 22.0 ], + "style" : "", + "text" : "!- 2000" + } + + } +, { + "box" : { + "id" : "obj-63", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 505.0, 255.0, 90.0, 60.0 ], + "style" : "", + "text" : "if held for 2 seconds, send CLEAR message" + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 181.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 430.0, 285.0, 70.0, 22.0 ], + "style" : "", + "text" : "sel 2000" + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 430.0, 255.0, 70.0, 22.0 ], + "style" : "", + "text" : "clocker 50" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 125.0, 190.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 125.0, 100.0, 65.0, 22.0 ], + "style" : "", + "text" : "select 127" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-78", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-81", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 430.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 84.5, 438.0, 84.5, 438.0 ], + "source" : [ "obj-134", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-133", 0 ], + "midpoints" : [ 117.5, 396.0, 129.5, 396.0 ], + "source" : [ "obj-135", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-134", 0 ], + "midpoints" : [ 84.5, 384.0, 84.5, 384.0 ], + "source" : [ "obj-135", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-135", 0 ], + "midpoints" : [ 84.5, 342.0, 84.5, 342.0 ], + "source" : [ "obj-137", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "midpoints" : [ 134.5, 123.0, 134.5, 123.0 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "midpoints" : [ 180.5, 132.0, 190.5, 132.0 ], + "source" : [ "obj-40", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 134.5, 168.0, 134.5, 168.0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "midpoints" : [ 134.5, 345.0, 234.5, 345.0 ], + "order" : 2, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "midpoints" : [ 134.5, 240.0, 439.5, 240.0 ], + "order" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "midpoints" : [ 134.5, 279.0, 344.5, 279.0 ], + "order" : 1, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "midpoints" : [ 134.5, 270.0, 84.5, 270.0 ], + "order" : 3, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "midpoints" : [ 439.5, 279.0, 439.5, 279.0 ], + "order" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "midpoints" : [ 439.5, 279.0, 284.5, 279.0 ], + "order" : 1, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "midpoints" : [ 439.5, 309.0, 439.5, 309.0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 190.5, 177.0, 134.5, 177.0 ], + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 284.5, 330.0, 284.5, 330.0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "midpoints" : [ 344.5, 318.0, 344.5, 318.0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 344.5, 396.0, 284.5, 396.0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "midpoints" : [ 134.5, 72.0, 134.5, 72.0 ], + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "midpoints" : [ 84.5, 309.0, 84.5, 309.0 ], + "source" : [ "obj-83", 0 ] + } + + } + ], + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "patching_rect" : [ 496.0, 390.0, 90.0, 22.0 ], + "presentation_rect" : [ 502.5, 481.0, 0.0, 0.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "", + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "style" : "", + "text" : "p holdToClear" + } + + } +, { + "box" : { + "bgcolor" : [ 0.880169, 0.755396, 0.471904, 1.0 ], + "blinkcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], + "id" : "obj-205", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 571.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 577.5, 526.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontface" : 3, + "fontsize" : 36.0, + "id" : "obj-206", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 371.5, 345.0, 39.0, 47.0 ], + "presentation_rect" : [ 375.5, 436.0, 0.0, 0.0 ], + "style" : "", + "text" : "C" + } + + } +, { + "box" : { + "id" : "obj-207", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 446.0, 435.0, 35.0, 20.0 ], + "presentation_rect" : [ 450.0, 526.0, 0.0, 0.0 ], + "style" : "", + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-208", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 371.5, 435.0, 45.0, 20.0 ], + "presentation_rect" : [ 375.5, 526.0, 0.0, 0.0 ], + "style" : "", + "text" : "freeze" + } + + } +, { + "box" : { + "bgcolor" : [ 0.646639, 0.821777, 0.854593, 1.0 ], + "blinkcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], + "id" : "obj-209", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 345.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 349.0, 526.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-210", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 5, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 334.0, 223.0, 710.0, 526.0 ], + "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], + "editing_bgcolor" : [ 0.086275, 0.309804, 0.52549, 0.25 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "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" : "dark theme", + "boxes" : [ { + "box" : { + "id" : "obj-75", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 280.0, 425.0, 85.0, 20.0 ], + "style" : "", + "text" : "Hold to clear" + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 275.0, 410.0, 120.0, 13.0 ], + "size" : 2000.0, + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-17", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 150.0, 405.0, 45.0, 33.0 ], + "style" : "", + "text" : "button off" + } + + } +, { + "box" : { + "id" : "obj-15", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 405.0, 50.0, 33.0 ], + "style" : "", + "text" : "button on" + } + + } +, { + "box" : { + "id" : "obj-14", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 465.0, 460.0, 81.75, 33.0 ], + "style" : "", + "text" : "clear after 2 seconds" + } + + } +, { + "box" : { + "id" : "obj-13", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 294.125, 446.5, 81.75, 47.0 ], + "style" : "", + "text" : "slider to show time left to clear buffer" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 195.0, 470.0, 75.0, 20.0 ], + "style" : "", + "text" : "button on/off" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 225.0, 440.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-137", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 75.0, 315.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-133", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 120.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-134", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 75.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-135", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 360.0, 52.0, 22.0 ], + "style" : "", + "text" : "select 1" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 285.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 1" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 335.0, 335.0, 37.0, 22.0 ], + "style" : "", + "text" : "2000" + } + + } +, { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 335.0, 293.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 275.0, 305.0, 48.0, 22.0 ], + "style" : "", + "text" : "!- 2000" + } + + } +, { + "box" : { + "id" : "obj-63", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 505.0, 255.0, 90.0, 60.0 ], + "style" : "", + "text" : "if held for 2 seconds, send CLEAR message" + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 181.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 430.0, 285.0, 70.0, 22.0 ], + "style" : "", + "text" : "sel 2000" + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 430.0, 255.0, 70.0, 22.0 ], + "style" : "", + "text" : "clocker 50" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 125.0, 190.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 125.0, 100.0, 65.0, 22.0 ], + "style" : "", + "text" : "select 127" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-78", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-81", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 430.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 84.5, 438.0, 84.5, 438.0 ], + "source" : [ "obj-134", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-133", 0 ], + "midpoints" : [ 117.5, 396.0, 129.5, 396.0 ], + "source" : [ "obj-135", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-134", 0 ], + "midpoints" : [ 84.5, 384.0, 84.5, 384.0 ], + "source" : [ "obj-135", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-135", 0 ], + "midpoints" : [ 84.5, 342.0, 84.5, 342.0 ], + "source" : [ "obj-137", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "midpoints" : [ 134.5, 123.0, 134.5, 123.0 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "midpoints" : [ 180.5, 132.0, 190.5, 132.0 ], + "source" : [ "obj-40", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 134.5, 168.0, 134.5, 168.0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "midpoints" : [ 134.5, 345.0, 234.5, 345.0 ], + "order" : 2, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "midpoints" : [ 134.5, 240.0, 439.5, 240.0 ], + "order" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "midpoints" : [ 134.5, 279.0, 344.5, 279.0 ], + "order" : 1, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "midpoints" : [ 134.5, 270.0, 84.5, 270.0 ], + "order" : 3, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "midpoints" : [ 439.5, 279.0, 439.5, 279.0 ], + "order" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "midpoints" : [ 439.5, 279.0, 284.5, 279.0 ], + "order" : 1, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "midpoints" : [ 439.5, 309.0, 439.5, 309.0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 190.5, 177.0, 134.5, 177.0 ], + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 284.5, 330.0, 284.5, 330.0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "midpoints" : [ 344.5, 318.0, 344.5, 318.0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 344.5, 396.0, 284.5, 396.0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "midpoints" : [ 134.5, 72.0, 134.5, 72.0 ], + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "midpoints" : [ 84.5, 309.0, 84.5, 309.0 ], + "source" : [ "obj-83", 0 ] + } + + } + ], + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "patching_rect" : [ 345.0, 390.0, 90.0, 22.0 ], + "presentation_rect" : [ 349.0, 481.0, 0.0, 0.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "", + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "style" : "", + "text" : "p holdToClear" + } + + } +, { + "box" : { + "bgcolor" : [ 0.880169, 0.755396, 0.471904, 1.0 ], + "blinkcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], + "id" : "obj-211", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 420.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 424.0, 526.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontface" : 3, + "fontsize" : 36.0, + "id" : "obj-194", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 222.5, 345.0, 39.0, 47.0 ], + "presentation_rect" : [ 219.5, 429.0, 0.0, 0.0 ], + "style" : "", + "text" : "B" + } + + } +, { + "box" : { + "id" : "obj-195", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 297.0, 435.0, 35.0, 20.0 ], + "presentation_rect" : [ 294.0, 519.0, 0.0, 0.0 ], + "style" : "", + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-196", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 222.5, 435.0, 45.0, 20.0 ], + "presentation_rect" : [ 219.5, 519.0, 0.0, 0.0 ], + "style" : "", + "text" : "freeze" + } + + } +, { + "box" : { + "bgcolor" : [ 0.646639, 0.821777, 0.854593, 1.0 ], + "blinkcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], + "id" : "obj-197", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 196.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 193.0, 519.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-198", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 5, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 334.0, 223.0, 710.0, 526.0 ], + "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], + "editing_bgcolor" : [ 0.086275, 0.309804, 0.52549, 0.25 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "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" : "dark theme", + "boxes" : [ { + "box" : { + "id" : "obj-75", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 280.0, 425.0, 85.0, 20.0 ], + "style" : "", + "text" : "Hold to clear" + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 275.0, 410.0, 120.0, 13.0 ], + "size" : 2000.0, + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-17", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 150.0, 405.0, 45.0, 33.0 ], + "style" : "", + "text" : "button off" + } + + } +, { + "box" : { + "id" : "obj-15", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 405.0, 50.0, 33.0 ], + "style" : "", + "text" : "button on" + } + + } +, { + "box" : { + "id" : "obj-14", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 465.0, 460.0, 81.75, 33.0 ], + "style" : "", + "text" : "clear after 2 seconds" + } + + } +, { + "box" : { + "id" : "obj-13", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 294.125, 446.5, 81.75, 47.0 ], + "style" : "", + "text" : "slider to show time left to clear buffer" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 195.0, 470.0, 75.0, 20.0 ], + "style" : "", + "text" : "button on/off" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 225.0, 440.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-137", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 75.0, 315.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-133", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 120.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-134", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 75.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-135", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 360.0, 52.0, 22.0 ], + "style" : "", + "text" : "select 1" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 285.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 1" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 335.0, 335.0, 37.0, 22.0 ], + "style" : "", + "text" : "2000" + } + + } +, { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 335.0, 293.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 275.0, 305.0, 48.0, 22.0 ], + "style" : "", + "text" : "!- 2000" + } + + } +, { + "box" : { + "id" : "obj-63", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 505.0, 255.0, 90.0, 60.0 ], + "style" : "", + "text" : "if held for 2 seconds, send CLEAR message" + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 181.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 430.0, 285.0, 70.0, 22.0 ], + "style" : "", + "text" : "sel 2000" + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 430.0, 255.0, 70.0, 22.0 ], + "style" : "", + "text" : "clocker 50" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 125.0, 190.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 125.0, 100.0, 65.0, 22.0 ], + "style" : "", + "text" : "select 127" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-78", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-81", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 430.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 84.5, 438.0, 84.5, 438.0 ], + "source" : [ "obj-134", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-133", 0 ], + "midpoints" : [ 117.5, 396.0, 129.5, 396.0 ], + "source" : [ "obj-135", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-134", 0 ], + "midpoints" : [ 84.5, 384.0, 84.5, 384.0 ], + "source" : [ "obj-135", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-135", 0 ], + "midpoints" : [ 84.5, 342.0, 84.5, 342.0 ], + "source" : [ "obj-137", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "midpoints" : [ 134.5, 123.0, 134.5, 123.0 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "midpoints" : [ 180.5, 132.0, 190.5, 132.0 ], + "source" : [ "obj-40", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 134.5, 168.0, 134.5, 168.0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "midpoints" : [ 134.5, 345.0, 234.5, 345.0 ], + "order" : 2, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "midpoints" : [ 134.5, 240.0, 439.5, 240.0 ], + "order" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "midpoints" : [ 134.5, 279.0, 344.5, 279.0 ], + "order" : 1, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "midpoints" : [ 134.5, 270.0, 84.5, 270.0 ], + "order" : 3, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "midpoints" : [ 439.5, 279.0, 439.5, 279.0 ], + "order" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "midpoints" : [ 439.5, 279.0, 284.5, 279.0 ], + "order" : 1, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "midpoints" : [ 439.5, 309.0, 439.5, 309.0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 190.5, 177.0, 134.5, 177.0 ], + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 284.5, 330.0, 284.5, 330.0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "midpoints" : [ 344.5, 318.0, 344.5, 318.0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 344.5, 396.0, 284.5, 396.0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "midpoints" : [ 134.5, 72.0, 134.5, 72.0 ], + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "midpoints" : [ 84.5, 309.0, 84.5, 309.0 ], + "source" : [ "obj-83", 0 ] + } + + } + ], + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "patching_rect" : [ 196.0, 390.0, 90.0, 22.0 ], + "presentation_rect" : [ 193.0, 474.0, 0.0, 0.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "", + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "style" : "", + "text" : "p holdToClear" + } + + } +, { + "box" : { + "bgcolor" : [ 0.880169, 0.755396, 0.471904, 1.0 ], + "blinkcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], + "id" : "obj-199", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 271.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 268.0, 519.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontface" : 3, + "fontsize" : 36.0, + "id" : "obj-188", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 71.5, 345.0, 39.0, 47.0 ], + "presentation_rect" : [ 103.0, 592.0, 0.0, 0.0 ], + "style" : "", + "text" : "A" + } + + } +, { + "box" : { + "id" : "obj-163", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 146.0, 435.0, 35.0, 20.0 ], + "presentation_rect" : [ 159.0, 462.0, 0.0, 0.0 ], + "style" : "", + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-164", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 71.5, 435.0, 45.0, 20.0 ], + "presentation_rect" : [ 77.0, 462.0, 0.0, 0.0 ], + "style" : "", + "text" : "freeze" + } + + } +, { + "box" : { + "bgcolor" : [ 0.646639, 0.821777, 0.854593, 1.0 ], + "blinkcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], + "id" : "obj-165", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 45.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 47.0, 462.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-166", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 5, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 334.0, 223.0, 710.0, 526.0 ], + "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], + "editing_bgcolor" : [ 0.086275, 0.309804, 0.52549, 0.25 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "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" : "dark theme", + "boxes" : [ { + "box" : { + "id" : "obj-75", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 280.0, 425.0, 85.0, 20.0 ], + "style" : "", + "text" : "Hold to clear" + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 275.0, 410.0, 120.0, 13.0 ], + "size" : 2000.0, + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-17", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 150.0, 405.0, 45.0, 33.0 ], + "style" : "", + "text" : "button off" + } + + } +, { + "box" : { + "id" : "obj-15", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 405.0, 50.0, 33.0 ], + "style" : "", + "text" : "button on" + } + + } +, { + "box" : { + "id" : "obj-14", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 465.0, 460.0, 81.75, 33.0 ], + "style" : "", + "text" : "clear after 2 seconds" + } + + } +, { + "box" : { + "id" : "obj-13", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 294.125, 446.5, 85.0, 47.0 ], + "style" : "", + "text" : "slider to show time left to clear buffer" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 195.0, 470.0, 75.0, 20.0 ], + "style" : "", + "text" : "button on/off" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 225.0, 440.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-137", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 75.0, 315.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-133", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 120.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-134", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 75.0, 405.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-135", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 360.0, 52.0, 22.0 ], + "style" : "", + "text" : "select 1" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 75.0, 285.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 1" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 335.0, 335.0, 37.0, 22.0 ], + "style" : "", + "text" : "2000" + } + + } +, { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 335.0, 293.0, 36.0, 22.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 275.0, 305.0, 48.0, 22.0 ], + "style" : "", + "text" : "!- 2000" + } + + } +, { + "box" : { + "id" : "obj-63", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 505.0, 255.0, 90.0, 60.0 ], + "style" : "", + "text" : "if held for 2 seconds, send CLEAR message" + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 181.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 430.0, 285.0, 70.0, 22.0 ], + "style" : "", + "text" : "sel 2000" + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 430.0, 255.0, 70.0, 22.0 ], + "style" : "", + "text" : "clocker 50" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 125.0, 190.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 145.0, 29.5, 22.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 125.0, 100.0, 65.0, 22.0 ], + "style" : "", + "text" : "select 127" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-78", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 125.0, 40.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-81", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 430.0, 460.0, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 84.5, 438.0, 84.5, 438.0 ], + "source" : [ "obj-134", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-133", 0 ], + "midpoints" : [ 117.5, 396.0, 129.5, 396.0 ], + "source" : [ "obj-135", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-134", 0 ], + "midpoints" : [ 84.5, 384.0, 84.5, 384.0 ], + "source" : [ "obj-135", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-135", 0 ], + "midpoints" : [ 84.5, 342.0, 84.5, 342.0 ], + "source" : [ "obj-137", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "midpoints" : [ 134.5, 123.0, 134.5, 123.0 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "midpoints" : [ 180.5, 132.0, 190.5, 132.0 ], + "source" : [ "obj-40", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 134.5, 168.0, 134.5, 168.0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "midpoints" : [ 134.5, 345.0, 234.5, 345.0 ], + "order" : 2, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "midpoints" : [ 134.5, 240.0, 439.5, 240.0 ], + "order" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "midpoints" : [ 134.5, 279.0, 344.5, 279.0 ], + "order" : 1, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "midpoints" : [ 134.5, 270.0, 84.5, 270.0 ], + "order" : 3, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "midpoints" : [ 439.5, 279.0, 439.5, 279.0 ], + "order" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "midpoints" : [ 439.5, 279.0, 284.5, 279.0 ], + "order" : 1, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "midpoints" : [ 439.5, 309.0, 439.5, 309.0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 190.5, 177.0, 134.5, 177.0 ], + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 284.5, 330.0, 284.5, 330.0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "midpoints" : [ 344.5, 318.0, 344.5, 318.0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 344.5, 396.0, 284.5, 396.0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "midpoints" : [ 134.5, 72.0, 134.5, 72.0 ], + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "midpoints" : [ 84.5, 309.0, 84.5, 309.0 ], + "source" : [ "obj-83", 0 ] + } + + } + ], + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "patching_rect" : [ 45.0, 390.0, 90.0, 22.0 ], + "presentation_rect" : [ 47.0, 417.0, 0.0, 0.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "", + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.0 ] + } +, + "style" : "", + "text" : "p holdToClear" + } + + } +, { + "box" : { + "bgcolor" : [ 0.880169, 0.755396, 0.471904, 1.0 ], + "blinkcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], + "id" : "obj-167", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 120.0, 435.0, 24.0, 24.0 ], + "presentation_rect" : [ 133.0, 462.0, 0.0, 0.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-159", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 105.0, 270.0, 176.0, 33.0 ], + "style" : "", + "text" : "MIDIfoot is set to send on MIDI controller numbers 20-25" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 45.0, 270.0, 60.0, 22.0 ], + "style" : "", + "text" : "pak" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 7, + "numoutlets" : 7, + "outlettype" : [ "", "", "", "", "", "", "" ], + "patching_rect" : [ 45.0, 315.0, 870.0, 22.0 ], + "style" : "", + "text" : "route 20 21 22 23 24 25" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 45.0, 135.0, 60.0, 22.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 45.0, 165.0, 92.0, 22.0 ], + "style" : "", + "text" : "port \"MIDI foot\"" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "int", "int" ], + "patching_rect" : [ 45.0, 210.0, 105.0, 22.0 ], + "style" : "", + "text" : "ctlin" + } + + } +, { + "box" : { + "id" : "obj-3", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 45.0, 64.0, 210.0, 47.0 ], + "presentation_rect" : [ 210.0, 90.0, 0.0, 0.0 ], + "style" : "", + "text" : "unpacking the 6-pedal footswitch\n\no thurley, 2018" + } + + } +, { + "box" : { + "fontface" : 3, + "fontsize" : 36.0, + "id" : "obj-2", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 45.0, 15.0, 427.0, 47.0 ], + "style" : "", + "text" : "MIDI foot" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-165", 0 ], + "source" : [ "obj-166", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-167", 0 ], + "source" : [ "obj-166", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-166", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-198", 0 ], + "source" : [ "obj-17", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-204", 0 ], + "source" : [ "obj-17", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-210", 0 ], + "source" : [ "obj-17", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-216", 0 ], + "source" : [ "obj-17", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-222", 0 ], + "source" : [ "obj-17", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-197", 0 ], + "source" : [ "obj-198", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-199", 0 ], + "source" : [ "obj-198", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-203", 0 ], + "source" : [ "obj-204", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-205", 0 ], + "source" : [ "obj-204", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-209", 0 ], + "source" : [ "obj-210", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-211", 0 ], + "source" : [ "obj-210", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-215", 0 ], + "source" : [ "obj-216", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-217", 0 ], + "source" : [ "obj-216", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-221", 0 ], + "source" : [ "obj-222", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-223", 0 ], + "source" : [ "obj-222", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 1 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-7", 0 ] + } + + } + ], + "dependency_cache" : [ ], + "autosave" : 0, + "default_bgcolor" : [ 0.32549, 0.345098, 0.372549, 1.0 ], + "textcolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ], + "textcolor_inverse" : [ 0.952941, 0.564706, 0.098039, 1.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 + } + +}