{ "patcher" : { "fileversion" : 1, "rect" : [ 921.0, 91.0, 333.0, 316.0 ], "bglocked" : 0, "defrect" : [ 921.0, 91.0, 333.0, 316.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" : "comment", "text" : "WARNING: When big window, the CPU usage goes thru the roof", "linecount" : 2, "numoutlets" : 0, "fontsize" : 10.0, "patching_rect" : [ 151.0, 120.0, 163.0, 29.0 ], "numinlets" : 1, "id" : "obj-10", "fontname" : "Arial" } } , { "box" : { "maxclass" : "flonum", "numoutlets" : 2, "triscale" : 0.9, "outlettype" : [ "float", "bang" ], "fontsize" : 9.0, "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "patching_rect" : [ 78.0, 101.0, 35.0, 17.0 ], "numinlets" : 1, "id" : "obj-1", "fontname" : "Arial", "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ] } } , { "box" : { "maxclass" : "number", "numoutlets" : 2, "triscale" : 0.9, "outlettype" : [ "int", "bang" ], "fontsize" : 9.0, "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "patching_rect" : [ 136.0, 102.0, 35.0, 17.0 ], "numinlets" : 1, "id" : "obj-2", "fontname" : "Arial", "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ] } } , { "box" : { "maxclass" : "flonum", "numoutlets" : 2, "triscale" : 0.9, "outlettype" : [ "float", "bang" ], "fontsize" : 9.0, "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "patching_rect" : [ 20.0, 155.0, 35.0, 17.0 ], "numinlets" : 1, "id" : "obj-3", "fontname" : "Arial", "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ] } } , { "box" : { "maxclass" : "flonum", "numoutlets" : 2, "triscale" : 0.9, "outlettype" : [ "float", "bang" ], "fontsize" : 9.0, "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "patching_rect" : [ 20.0, 101.0, 35.0, 17.0 ], "numinlets" : 1, "id" : "obj-4", "fontname" : "Arial", "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ] } } , { "box" : { "maxclass" : "newobj", "text" : "r_average 4", "numoutlets" : 1, "outlettype" : [ "float" ], "fontsize" : 9.0, "patching_rect" : [ 20.0, 125.0, 127.0, 17.0 ], "numinlets" : 3, "id" : "obj-5", "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "inertia", "numoutlets" : 0, "fontsize" : 9.0, "patching_rect" : [ 135.0, 83.0, 41.0, 17.0 ], "numinlets" : 1, "id" : "obj-6", "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "simply calculates running average on int/float with variable inertia(window)", "linecount" : 2, "numoutlets" : 0, "fontsize" : 9.0, "patching_rect" : [ 11.0, 47.0, 251.0, 27.0 ], "numinlets" : 1, "id" : "obj-7", "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "it will weight the input value to the current value (which can be set in the mid inlet) in the ratio of 1/inertia", "linecount" : 3, "numoutlets" : 0, "fontsize" : 9.0, "patching_rect" : [ 18.0, 192.0, 190.0, 38.0 ], "numinlets" : 1, "id" : "obj-8", "fontname" : "Arial" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-5", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-5", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }