{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 1 } , "rect" : [ 25.0, 69.0, 640.0, 480.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-185", "maxclass" : "number", "maximum" : 200, "minimum" : 0, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 549.0, 219.0, 50.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 1724.0, 676.0, 50.0, 20.0 ] } } , { "box" : { "id" : "obj-115", "maxclass" : "slider", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 1, "patching_rect" : [ 362.5, 373.0, 251.0, 22.0 ], "presentation" : 1, "presentation_rect" : [ 1134.0, 1023.0, 317.0, 32.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_type" : 3, "parameter_invisible" : 1, "parameter_shortname" : "slider", "parameter_longname" : "slider" } } , "size" : 16.0, "varname" : "slider" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-187", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 463.0, 320.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-188", "maxclass" : "newobj", "numinlets" : 4, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 391.0, 277.0, 94.0, 20.0 ], "text" : "tempo 120 1 16" } } , { "box" : { "fontname" : "Verdana", "fontsize" : 16.0, "id" : "obj-14", "linecount" : 5, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 28.0, 134.0, 199.0, 104.0 ], "presentation" : 1, "presentation_linecount" : 20, "presentation_rect" : [ 1364.0, 481.0, 66.0, 395.0 ], "text" : "using the toggle box that inputs a 1 or a 0. is there anyway to pres it once to start and press again to stop?" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 308.0, 173.5, 46.0, 20.0 ], "text" : "switch" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 308.0, 134.0, 34.0, 20.0 ], "text" : "gate" } } , { "box" : { "bgcolor" : [ 1.0, 0.435294, 0.811765, 1.0 ], "id" : "obj-127", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 461.75, 140.0, 69.0, 69.0 ], "presentation" : 1, "presentation_rect" : [ 1531.5, 628.5, 69.0, 69.0 ] } } , { "box" : { "bgcolor" : [ 1.0, 0.435294, 0.811765, 1.0 ], "id" : "obj-8", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 250.0, 134.0, 20.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 918.0, 608.0, 20.0, 20.0 ] } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-188", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-127", 0 ] } } , { "patchline" : { "destination" : [ "obj-188", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-185", 0 ] } } , { "patchline" : { "destination" : [ "obj-115", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-188", 0 ] } } , { "patchline" : { "destination" : [ "obj-187", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-188", 0 ] } } ], "parameters" : { "obj-115" : [ "slider", "slider", 0 ] } , "dependency_cache" : [ ] } }