{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 5, "minor" : 1, "revision" : 9 } , "rect" : [ 535.0, 44.0, 446.0, 363.0 ], "bglocked" : 0, "defrect" : [ 535.0, 44.0, 446.0, 363.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "button", "outlettype" : [ "bang" ], "patching_rect" : [ 210.0, 276.0, 20.0, 20.0 ], "id" : "obj-7", "numinlets" : 1, "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "BoolStat evaluates the percentage of received 1's vs received 0's. You can reset the stat using the right inlet", "linecount" : 3, "fontsize" : 10.0, "patching_rect" : [ 240.0, 301.0, 178.0, 41.0 ], "id" : "obj-5", "fontname" : "Arial", "numinlets" : 1, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "chance makes boolean decisions based on the percentage given.", "linecount" : 2, "fontsize" : 10.0, "patching_rect" : [ 19.0, 50.0, 173.0, 29.0 ], "id" : "obj-4", "fontname" : "Arial", "numinlets" : 1, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Chance and Boolstat", "frgb" : [ 0.560784, 0.631373, 0.709804, 1.0 ], "fontface" : 1, "fontsize" : 14.0, "bgcolor" : [ 0.239216, 0.223529, 0.282353, 1.0 ], "patching_rect" : [ 18.0, 21.0, 413.0, 23.0 ], "id" : "obj-2", "fontname" : "Arial", "numinlets" : 1, "textcolor" : [ 0.560784, 0.631373, 0.709804, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "select 1", "fontsize" : 10.0, "outlettype" : [ "bang", "" ], "patching_rect" : [ 210.0, 255.0, 47.0, 18.0 ], "id" : "obj-73", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "BoolStat", "fontsize" : 10.0, "outlettype" : [ "float" ], "patching_rect" : [ 19.0, 301.0, 210.0, 18.0 ], "id" : "obj-72", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "chance", "fontsize" : 10.0, "outlettype" : [ "int" ], "patching_rect" : [ 19.0, 177.5, 121.0, 18.0 ], "id" : "obj-76", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 1 } } , { "box" : { "maxclass" : "flonum", "fontsize" : 10.0, "outlettype" : [ "float", "bang" ], "patching_rect" : [ 19.0, 324.0, 50.0, 18.0 ], "id" : "obj-114", "fontname" : "Arial Bold", "numinlets" : 1, "numoutlets" : 2 } } , { "box" : { "maxclass" : "toggle", "outlettype" : [ "int" ], "patching_rect" : [ 19.0, 89.0, 20.0, 20.0 ], "id" : "obj-103", "numinlets" : 1, "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "metro 1", "fontsize" : 10.0, "outlettype" : [ "bang" ], "patching_rect" : [ 19.0, 120.0, 47.0, 18.0 ], "id" : "obj-101", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 1 } } , { "box" : { "maxclass" : "live.dial", "varname" : "live.dial", "outlettype" : [ "", "float" ], "patching_rect" : [ 121.0, 123.0, 44.0, 47.0 ], "id" : "obj-90", "parameter_enable" : 1, "numinlets" : 1, "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_modmax" : 127.0, "parameter_longname" : "live.dial", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_units" : "", "parameter_order" : 0, "parameter_defer" : 0, "parameter_speedlim" : 1.0, "parameter_invisible" : 0, "parameter_steps" : 0, "parameter_annotation_name" : "", "parameter_exponent" : 1.0, "parameter_unitstyle" : 5, "parameter_mmax" : 100.0, "parameter_mmin" : 0.0, "parameter_type" : 1, "parameter_initial_enable" : 0, "parameter_shortname" : "chance" } } } } , { "box" : { "maxclass" : "toggle", "outlettype" : [ "int" ], "patching_rect" : [ 19.0, 201.0, 20.0, 20.0 ], "id" : "obj-89", "numinlets" : 1, "numoutlets" : 1 } } , { "box" : { "maxclass" : "button", "outlettype" : [ "bang" ], "patching_rect" : [ 19.0, 147.0, 20.0, 20.0 ], "id" : "obj-84", "numinlets" : 1, "numoutlets" : 1 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-72", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-73", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-101", 0 ], "destination" : [ "obj-84", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-103", 0 ], "destination" : [ "obj-101", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-76", 0 ], "destination" : [ "obj-89", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-90", 0 ], "destination" : [ "obj-76", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-84", 0 ], "destination" : [ "obj-76", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-89", 0 ], "destination" : [ "obj-72", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-72", 0 ], "destination" : [ "obj-114", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-103", 0 ], "destination" : [ "obj-73", 0 ], "hidden" : 0, "midpoints" : [ 28.5, 113.5, 219.5, 113.5 ] } } ], "parameters" : { "obj-90" : [ "live.dial", "chance", 0 ] } } }