{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 4 } , "rect" : [ 0.0, 44.0, 594.0, 553.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-25", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 320.0, 374.0, 150.0, 34.0 ], "text" : "Toggle should turn on light, but it no worky." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-22", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 301.0, 300.0, 150.0, 62.0 ], "text" : "When the decimal is greater than .99, it's turning on this toggle which turns on a sound." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-12", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 360.0, 134.0, 154.0, 48.0 ], "text" : "This is telling me how loud my signal is and turning it into a decimal." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-10", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 386.0, 76.0, 150.0, 34.0 ], "text" : "This is my microphone input." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-14", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 354.0, 464.0, 77.0, 18.0 ], "text" : "Pretty Lights" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 502.0, 491.0, 34.0, 20.0 ], "text" : "print" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 239.0, 429.0, 51.0, 20.0 ], "text" : "metro 1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-2", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 239.0, 455.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "int", "int" ], "patching_rect" : [ 239.0, 399.0, 50.0, 20.0 ], "text" : "change" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "" ], "patching_rect" : [ 239.0, 482.0, 79.0, 20.0 ], "text" : "serial a 9600" } } , { "box" : { "id" : "obj-35", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 239.0, 304.0, 20.0, 20.0 ] } } , { "box" : { "id" : "obj-34", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 196.0, 234.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-32", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 196.0, 269.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "int", "int" ], "patching_rect" : [ 224.0, 234.0, 50.0, 20.0 ], "text" : "change" } } , { "box" : { "id" : "obj-27", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 239.0, 362.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 224.0, 200.0, 44.0, 20.0 ], "text" : "> 0.99" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-23", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 224.0, 164.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-19", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "float" ], "patching_rect" : [ 224.0, 127.0, 90.0, 20.0 ], "text" : "peakamp~ 125" } } , { "box" : { "id" : "obj-4", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 224.0, 48.0, 20.0, 20.0 ] } } , { "box" : { "id" : "obj-6", "maxclass" : "meter~", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "patching_rect" : [ 254.0, 103.0, 80.0, 13.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 8, "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal", "signal", "signal" ], "patching_rect" : [ 224.0, 76.0, 117.0, 20.0 ], "text" : "adc~ 1 2 3 4 5 6 7 8" } } , { "box" : { "fontface" : 0, "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "live.gain~", "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "", "float", "list" ], "parameter_enable" : 1, "patching_rect" : [ 43.0, 148.0, 54.0, 136.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_shortname" : "live.gain~", "parameter_longname" : "live.gain~", "parameter_unitstyle" : 4, "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_initial" : [ -70 ], "parameter_type" : 0, "parameter_initial_enable" : 1 } } , "showname" : 0, "varname" : "live.gain~" } } , { "box" : { "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "border" : 1.75, "bordercolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ], "id" : "obj-7", "local" : 1, "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 43.0, 300.0, 44.0, 44.0 ], "prototypename" : "helpfile" } } , { "box" : { "id" : "obj-42", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 113.0, 228.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-43", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 3, "outlettype" : [ "signal", "signal", "bang" ], "patching_rect" : [ 43.0, 103.0, 89.0, 21.0 ], "save" : [ "#N", "sfplay~", "", 2, 40320, 0, "", ";" ], "text" : "sfplay~ 2" } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-41", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 43.0, 56.0, 40.0, 19.0 ], "text" : "open" } } , { "box" : { "background" : 1, "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], "border" : 0, "bordercolor" : [ 0.0, 0.0, 0.0, 1.0 ], "fontface" : 1, "fontname" : "Arial", "fontsize" : 13.0, "hint" : "", "id" : "obj-93", "ignoreclick" : 1, "maxclass" : "textbutton", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, "patching_rect" : [ 23.0, 56.0, 20.0, 20.0 ], "rounded" : 60.0, "text" : "1", "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ], "textovercolor" : [ 0.2, 0.2, 0.2, 1.0 ] } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-14", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 308.5, 511.0, 339.0, 511.0, 339.0, 454.0, 363.5, 454.0 ], "source" : [ "obj-1", 1 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 363.5, 486.0, 511.5, 486.0 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-24", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-28", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-34", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 233.5, 223.5, 205.5, 223.5 ], "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-43", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 248.5, 388.0, 157.0, 388.0, 157.0, 93.0, 52.5, 93.0 ], "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-32", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-35", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 249.0, 260.0, 248.5, 260.0 ], "source" : [ "obj-28", 1 ] } } , { "patchline" : { "destination" : [ "obj-13", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-27", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 248.5, 321.5, 248.5, 321.5 ], "source" : [ "obj-35", 0 ] } } , { "patchline" : { "destination" : [ "obj-8", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-43", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-41", 0 ] } } , { "patchline" : { "destination" : [ "obj-42", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-43", 2 ] } } , { "patchline" : { "destination" : [ "obj-5", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-43", 1 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-43", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-5", 1 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-19", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 233.5, 81.0, 233.5, 81.0 ], "source" : [ "obj-8", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 233.5, 105.5, 263.5, 105.5 ], "source" : [ "obj-8", 0 ] } } ], "parameters" : { "obj-5" : [ "live.gain~", "live.gain~", 0 ] } , "dependency_cache" : [ ] } }