{ "patcher" : { "fileversion" : 1, "rect" : [ 0.0, 44.0, 1920.0, 1006.0 ], "bglocked" : 0, "defrect" : [ 0.0, 44.0, 1920.0, 1006.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.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" : "newobj", "text" : "p first", "outlettype" : [ "signal" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 128.0, 227.0, 40.0, 20.0 ], "id" : "obj-100", "fontname" : "Arial", "numoutlets" : 1, "patcher" : { "fileversion" : 1, "rect" : [ 25.0, 69.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 25.0, 69.0, 640.0, 480.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.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" : "newobj", "text" : "p selector", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 563.0, 317.0, 63.0, 20.0 ], "id" : "obj-42", "fontname" : "Arial", "numoutlets" : 1, "patcher" : { "fileversion" : 1, "rect" : [ 468.0, 127.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 468.0, 127.0, 640.0, 480.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.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" : "inlet", "outlettype" : [ "int" ], "numinlets" : 0, "patching_rect" : [ 138.0, 6.0, 25.0, 25.0 ], "id" : "obj-12", "numoutlets" : 1, "comment" : "" } } , { "box" : { "maxclass" : "button", "outlettype" : [ "bang" ], "numinlets" : 1, "patching_rect" : [ 165.0, 82.0, 20.0, 20.0 ], "id" : "obj-5", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "metro 1000", "outlettype" : [ "bang" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 162.0, 50.0, 71.0, 20.0 ], "id" : "obj-3", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "3", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 255.0, 237.0, 32.5, 18.0 ], "id" : "obj-39", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "sel 0 1 2 3", "outlettype" : [ "bang", "bang", "bang", "bang", "" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 186.0, 189.0, 73.0, 20.0 ], "id" : "obj-36", "fontname" : "Arial", "numoutlets" : 5 } } , { "box" : { "maxclass" : "newobj", "text" : "counter 0 0 3", "outlettype" : [ "int", "", "", "int" ], "fontsize" : 12.0, "numinlets" : 5, "patching_rect" : [ 50.0, 100.0, 81.0, 20.0 ], "id" : "obj-35", "fontname" : "Arial", "numoutlets" : 4 } } , { "box" : { "maxclass" : "number", "outlettype" : [ "int", "bang" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 176.0, 145.0, 50.0, 20.0 ], "id" : "obj-28", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "random 3", "outlettype" : [ "int" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 168.0, 111.0, 61.0, 20.0 ], "id" : "obj-25", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "2", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 218.0, 228.0, 32.5, 18.0 ], "id" : "obj-23", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "1", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 182.0, 231.0, 32.5, 18.0 ], "id" : "obj-18", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "outlet", "numinlets" : 1, "patching_rect" : [ 213.333313, 315.0, 25.0, 25.0 ], "id" : "obj-40", "numoutlets" : 0, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-39", 0 ], "destination" : [ "obj-40", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-40", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-40", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 0 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-36", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-36", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-36", 1 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-36", 2 ], "destination" : [ "obj-39", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "globalpatchername" : "", "fontface" : 0, "fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial" } } } , { "box" : { "maxclass" : "preset", "outlettype" : [ "preset", "int", "preset", "int" ], "numinlets" : 1, "patching_rect" : [ 574.0, 385.0, 100.0, 40.0 ], "id" : "obj-14", "numoutlets" : 4, "preset_data" : [ { "number" : 1, "data" : [ 5, "", "toggle", "int", 1, 5, "obj-11", "number", "int", 2, 5, "obj-41", "number", "int", 41, 4, "obj-43", "function", "clear", 7, "obj-43", "function", "add", 69.148933, 0.186667, 2, 5, "obj-43", "function", "domain", 1000.0, 6, "obj-43", "function", "range", 0.0, 1.0, 5, "obj-45", "flonum", "float", 146.832382, 6, "", "gain~", "list", 116, 10.0, 5, "", "flonum", "float", 116.0 ] } , { "number" : 2, "data" : [ 5, "", "toggle", "int", 1, 5, "obj-11", "number", "int", 2, 5, "obj-41", "number", "int", 41, 4, "obj-43", "function", "clear", 7, "obj-43", "function", "add", 69.148933, 0.186667, 2, 7, "obj-43", "function", "add", 372.340424, 0.333333, 2, 7, "obj-43", "function", "add", 845.74469, 0.093333, 2, 5, "obj-43", "function", "domain", 1000.0, 6, "obj-43", "function", "range", 0.0, 1.0, 5, "obj-45", "flonum", "float", 146.832382, 6, "", "gain~", "list", 116, 10.0, 5, "", "flonum", "float", 116.0 ] } , { "number" : 3, "data" : [ 5, "", "toggle", "int", 1, 5, "obj-11", "number", "int", 2, 5, "obj-41", "number", "int", 41, 4, "obj-43", "function", "clear", 7, "obj-43", "function", "add", 69.148933, 0.186667, 2, 7, "obj-43", "function", "add", 388.297882, 0.506667, 2, 7, "obj-43", "function", "add", 558.51062, 0.0, 0, 5, "obj-43", "function", "domain", 1000.0, 6, "obj-43", "function", "range", 0.0, 1.0, 5, "obj-45", "flonum", "float", 146.832382, 6, "", "gain~", "list", 116, 10.0, 5, "", "flonum", "float", 116.0 ] } ] } } , { "box" : { "maxclass" : "newobj", "text" : "p degrade", "outlettype" : [ "signal" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 222.0, 807.0, 65.0, 20.0 ], "id" : "obj-90", "fontname" : "Arial", "color" : [ 0.929412, 0.360784, 0.866667, 1.0 ], "numoutlets" : 1, "patcher" : { "fileversion" : 1, "rect" : [ 29.0, 67.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 29.0, 67.0, 640.0, 480.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.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" : "newobj", "text" : "r LOADBANG", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 0, "patching_rect" : [ 226.0, 335.0, 85.0, 20.0 ], "id" : "obj-4", "fontname" : "Arial", "color" : [ 0.878431, 0.976471, 0.023529, 1.0 ], "numoutlets" : 1 } } , { "box" : { "maxclass" : "preset", "outlettype" : [ "preset", "int", "preset", "int" ], "numinlets" : 1, "patching_rect" : [ 224.0, 373.0, 100.0, 40.0 ], "id" : "obj-1", "numoutlets" : 4, "preset_data" : [ { "number" : 1, "data" : [ 5, "", "flonum", "float", 0.21, 5, "", "slider", "float", 21.0, 5, "", "slider", "float", 1.0, 5, "", "number", "int", 2 ] } ] } } , { "box" : { "maxclass" : "number", "outlettype" : [ "int", "bang" ], "triangle" : 0, "fontsize" : 11.595187, "cantchange" : 1, "numinlets" : 1, "patching_rect" : [ 238.0, 191.0, 50.0, 20.0 ], "triscale" : 0.9, "id" : "obj-23", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "comment", "text" : "12", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 299.0, 149.0, 23.0, 20.0 ], "id" : "obj-25", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "slider", "outlettype" : [ "" ], "min" : 1.0, "numinlets" : 1, "patching_rect" : [ 238.0, 165.0, 144.0, 18.0 ], "id" : "obj-26", "size" : 24.0, "numoutlets" : 1, "orientation" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "full", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 275.0, 96.0, 26.0, 20.0 ], "id" : "obj-27", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "half", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 212.0, 96.0, 27.0, 20.0 ], "id" : "obj-28", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "right inlet: signal quantization, in bits. must be in range [1, 24]", "linecount" : 3, "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 296.0, 221.0, 130.0, 46.0 ], "id" : "obj-29", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "slider", "outlettype" : [ "" ], "numinlets" : 1, "patching_rect" : [ 152.0, 112.0, 144.0, 18.0 ], "id" : "obj-30", "size" : 101.0, "numoutlets" : 1, "orientation" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "/ 100.", "outlettype" : [ "float" ], "fontsize" : 11.595187, "numinlets" : 2, "patching_rect" : [ 152.0, 153.0, 40.0, 20.0 ], "id" : "obj-31", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "flonum", "outlettype" : [ "float", "bang" ], "triangle" : 0, "fontsize" : 11.595187, "cantchange" : 1, "numinlets" : 1, "patching_rect" : [ 152.0, 178.0, 50.0, 20.0 ], "triscale" : 0.9, "id" : "obj-32", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "degrade~", "outlettype" : [ "signal" ], "fontsize" : 11.595187, "numinlets" : 3, "patching_rect" : [ 131.0, 237.0, 60.0, 20.0 ], "id" : "obj-33", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "middle inlet: sampling-rate multiplier. must be in range [0, 1]", "linecount" : 4, "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 191.0, 217.0, 100.0, 60.0 ], "id" : "obj-35", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "effective sampling rate:", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 149.0, 78.0, 128.0, 20.0 ], "id" : "obj-36", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "zero", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 150.0, 96.0, 31.0, 20.0 ], "id" : "obj-37", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "word size (bits):", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 237.0, 133.0, 90.0, 20.0 ], "id" : "obj-38", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "1", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 238.0, 149.0, 23.0, 20.0 ], "id" : "obj-39", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "audio out", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 159.0, 296.0, 60.0, 20.0 ], "id" : "obj-7", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "audio in", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 154.0, 45.0, 53.0, 20.0 ], "id" : "obj-5", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "outlet", "numinlets" : 1, "patching_rect" : [ 132.0, 292.0, 25.0, 25.0 ], "id" : "obj-3", "numoutlets" : 0, "comment" : "" } } , { "box" : { "maxclass" : "inlet", "outlettype" : [ "signal" ], "numinlets" : 0, "patching_rect" : [ 127.0, 43.0, 25.0, 25.0 ], "id" : "obj-2", "numoutlets" : 1, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-30", 0 ], "destination" : [ "obj-31", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 0 ], "destination" : [ "obj-32", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-32", 0 ], "destination" : [ "obj-33", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-33", 2 ], "hidden" : 0, "midpoints" : [ 247.5, 213.0, 181.5, 213.0 ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-33", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "globalpatchername" : "", "fontface" : 0, "fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial" } } } , { "box" : { "maxclass" : "comment", "text" : "Multiply the two signals", "linecount" : 2, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 378.0, 742.0, 76.0, 34.0 ], "id" : "obj-53", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Reads the \nwaveform", "linecount" : 2, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 268.0, 676.0, 72.0, 34.0 ], "id" : "obj-52", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "line~", "outlettype" : [ "signal", "bang" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 357.0, 708.0, 36.0, 20.0 ], "id" : "obj-51", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "*~", "outlettype" : [ "signal" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 222.0, 753.0, 152.5, 20.0 ], "id" : "obj-50", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "cycle~", "outlettype" : [ "signal" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 221.0, 679.0, 45.0, 20.0 ], "id" : "obj-49", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "BANG (b)", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 385.0, 445.0, 63.0, 20.0 ], "id" : "obj-48", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Function Box: (function)\nWorks as ASDR: Attack,\n Sustain, Decay Release", "linecount" : 3, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 566.0, 524.0, 142.0, 48.0 ], "id" : "obj-47", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Floating Pt. # Box (f)", "linecount" : 2, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 246.0, 448.0, 86.0, 34.0 ], "id" : "obj-46", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "flonum", "outlettype" : [ "float", "bang" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 194.0, 449.0, 50.0, 20.0 ], "id" : "obj-45", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "function", "outlettype" : [ "float", "", "", "bang" ], "numinlets" : 1, "patching_rect" : [ 363.0, 522.0, 200.0, 100.0 ], "linecolor" : [ 0.121569, 0.933333, 0.933333, 1.0 ], "bordercolor" : [ 0.32549, 0.027451, 0.027451, 1.0 ], "id" : "obj-43", "numoutlets" : 4, "addpoints" : [ 69.148933, 0.186667, 2, 388.297882, 0.506667, 2, 558.51062, 0.0, 0 ] } } , { "box" : { "maxclass" : "number", "outlettype" : [ "int", "bang" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 383.0, 241.0, 50.0, 20.0 ], "id" : "obj-41", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "button", "outlettype" : [ "bang" ], "numinlets" : 1, "patching_rect" : [ 363.0, 445.0, 20.0, 20.0 ], "id" : "obj-38", "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "MIDI to Frequency", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 232.0, 363.0, 109.0, 20.0 ], "id" : "obj-34", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Addition Object", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 235.0, 316.0, 92.0, 20.0 ], "id" : "obj-33", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Message box (m) containing MIDI value", "linecount" : 3, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 280.090912, 229.090912, 108.0, 48.0 ], "id" : "obj-32", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "mtof", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 193.0, 362.0, 34.0, 20.0 ], "id" : "obj-31", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Number Box (i)", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 438.0, 241.0, 91.0, 20.0 ], "id" : "obj-30", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "+", "outlettype" : [ "int" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 192.0, 316.0, 32.5, 20.0 ], "id" : "obj-29", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "6", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 215.090912, 243.909088, 32.5, 18.0 ], "id" : "obj-26", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "9", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 176.0, 244.0, 32.5, 18.0 ], "id" : "obj-24", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "5", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 134.454544, 245.0, 32.5, 18.0 ], "id" : "obj-22", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "12", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 93.363632, 245.0, 32.5, 18.0 ], "id" : "obj-20", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "counter 0 0 3", "outlettype" : [ "int", "", "", "int" ], "fontsize" : 12.0, "numinlets" : 5, "patching_rect" : [ 50.0, 112.0, 81.0, 20.0 ], "id" : "obj-12", "fontname" : "Arial", "numoutlets" : 4 } } , { "box" : { "maxclass" : "number", "outlettype" : [ "int", "bang" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 167.0, 139.0, 50.0, 20.0 ], "id" : "obj-11", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "sel 0 1 2 3", "outlettype" : [ "bang", "bang", "bang", "bang", "" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 169.0, 186.0, 73.0, 20.0 ], "id" : "obj-9", "fontname" : "Arial", "numoutlets" : 5 } } , { "box" : { "maxclass" : "newobj", "text" : "random 3", "outlettype" : [ "int" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 160.0, 100.0, 61.0, 20.0 ], "id" : "obj-7", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "inlet", "outlettype" : [ "bang" ], "numinlets" : 0, "patching_rect" : [ 160.0, 40.0, 25.0, 25.0 ], "id" : "obj-97", "numoutlets" : 1, "comment" : "" } } , { "box" : { "maxclass" : "inlet", "outlettype" : [ "int" ], "numinlets" : 0, "patching_rect" : [ 563.0, 40.0, 25.0, 25.0 ], "id" : "obj-98", "numoutlets" : 1, "comment" : "" } } , { "box" : { "maxclass" : "outlet", "numinlets" : 1, "patching_rect" : [ 222.0, 887.0, 25.0, 25.0 ], "id" : "obj-99", "numoutlets" : 0, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-41", 0 ], "destination" : [ "obj-29", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-43", 1 ], "destination" : [ "obj-51", 0 ], "hidden" : 0, "midpoints" : [ 432.833344, 664.5, 366.5, 664.5 ] } } , { "patchline" : { "source" : [ "obj-38", 0 ], "destination" : [ "obj-43", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-51", 0 ], "destination" : [ "obj-50", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-49", 0 ], "destination" : [ "obj-50", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 0 ], "destination" : [ "obj-45", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 0 ], "destination" : [ "obj-38", 0 ], "hidden" : 0, "midpoints" : [ 202.5, 413.0, 372.5, 413.0 ] } } , { "patchline" : { "source" : [ "obj-29", 0 ], "destination" : [ "obj-31", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 1 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 2 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 3 ], "destination" : [ "obj-26", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-50", 0 ], "destination" : [ "obj-90", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-42", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-45", 0 ], "destination" : [ "obj-49", 0 ], "hidden" : 0, "midpoints" : [ 203.5, 573.5, 230.5, 573.5 ] } } , { "patchline" : { "source" : [ "obj-97", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-98", 0 ], "destination" : [ "obj-42", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-90", 0 ], "destination" : [ "obj-99", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "globalpatchername" : "", "fontface" : 0, "fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial" } } } , { "box" : { "maxclass" : "newobj", "text" : "p second", "outlettype" : [ "signal" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 176.0, 226.0, 59.0, 20.0 ], "id" : "obj-96", "fontname" : "Arial", "numoutlets" : 1, "patcher" : { "fileversion" : 1, "rect" : [ 25.0, 69.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 25.0, 69.0, 640.0, 480.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.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" : "inlet", "outlettype" : [ "int" ], "numinlets" : 0, "patching_rect" : [ 476.0, 804.0, 25.0, 25.0 ], "id" : "obj-2", "numoutlets" : 1, "comment" : "" } } , { "box" : { "maxclass" : "newobj", "text" : "p selector", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 471.0, 859.0, 63.0, 20.0 ], "id" : "obj-42", "fontname" : "Arial", "numoutlets" : 1, "patcher" : { "fileversion" : 1, "rect" : [ 468.0, 127.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 468.0, 127.0, 640.0, 480.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.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" : "inlet", "outlettype" : [ "int" ], "numinlets" : 0, "patching_rect" : [ 138.0, 6.0, 25.0, 25.0 ], "id" : "obj-12", "numoutlets" : 1, "comment" : "" } } , { "box" : { "maxclass" : "button", "outlettype" : [ "bang" ], "numinlets" : 1, "patching_rect" : [ 165.0, 82.0, 20.0, 20.0 ], "id" : "obj-5", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "metro 1000", "outlettype" : [ "bang" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 162.0, 50.0, 71.0, 20.0 ], "id" : "obj-3", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "3", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 255.0, 237.0, 32.5, 18.0 ], "id" : "obj-39", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "sel 0 1 2 3", "outlettype" : [ "bang", "bang", "bang", "bang", "" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 186.0, 189.0, 73.0, 20.0 ], "id" : "obj-36", "fontname" : "Arial", "numoutlets" : 5 } } , { "box" : { "maxclass" : "newobj", "text" : "counter 0 0 3", "outlettype" : [ "int", "", "", "int" ], "fontsize" : 12.0, "numinlets" : 5, "patching_rect" : [ 50.0, 100.0, 81.0, 20.0 ], "id" : "obj-35", "fontname" : "Arial", "numoutlets" : 4 } } , { "box" : { "maxclass" : "number", "outlettype" : [ "int", "bang" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 176.0, 145.0, 50.0, 20.0 ], "id" : "obj-28", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "random 3", "outlettype" : [ "int" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 168.0, 111.0, 61.0, 20.0 ], "id" : "obj-25", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "2", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 218.0, 228.0, 32.5, 18.0 ], "id" : "obj-23", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "1", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 182.0, 231.0, 32.5, 18.0 ], "id" : "obj-18", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "outlet", "numinlets" : 1, "patching_rect" : [ 213.333313, 315.0, 25.0, 25.0 ], "id" : "obj-40", "numoutlets" : 0, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-39", 0 ], "destination" : [ "obj-40", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-40", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-40", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 0 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-36", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-36", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-36", 1 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-36", 2 ], "destination" : [ "obj-39", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "globalpatchername" : "", "fontface" : 0, "fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial" } } } , { "box" : { "maxclass" : "preset", "outlettype" : [ "preset", "int", "preset", "int" ], "numinlets" : 1, "patching_rect" : [ 427.0, 887.0, 100.0, 40.0 ], "id" : "obj-1", "numoutlets" : 4, "preset_data" : [ { "number" : 1, "data" : [ 5, "obj-68", "number", "int", 2, 5, "obj-44", "number", "int", 55, 5, "obj-72", "flonum", "float", 246.94165, 4, "obj-83", "function", "clear", 7, "obj-83", "function", "add", 164.893616, 0.346667, 2, 7, "obj-83", "function", "add", 345.74469, 0.44, 2, 7, "obj-83", "function", "add", 558.51062, 0.0, 0, 5, "obj-83", "function", "domain", 1000.0, 6, "obj-83", "function", "range", 0.0, 1.0 ] } , { "number" : 2, "data" : [ 5, "obj-68", "number", "int", 2, 5, "obj-44", "number", "int", 55, 5, "obj-72", "flonum", "float", 246.94165, 4, "obj-83", "function", "clear", 7, "obj-83", "function", "add", 26.595745, 0.826667, 0, 7, "obj-83", "function", "add", 244.680847, 0.306667, 0, 7, "obj-83", "function", "add", 558.51062, 0.0, 0, 5, "obj-83", "function", "domain", 1000.0, 6, "obj-83", "function", "range", 0.0, 1.0 ] } , { "number" : 3, "data" : [ 5, "obj-68", "number", "int", 0, 5, "obj-44", "number", "int", 55, 5, "obj-72", "flonum", "float", 277.182617, 4, "obj-83", "function", "clear", 7, "obj-83", "function", "add", 26.595745, 0.826667, 0, 7, "obj-83", "function", "add", 117.021278, 0.2, 2, 7, "obj-83", "function", "add", 260.638306, 0.0, 2, 7, "obj-83", "function", "add", 1000.0, 0.64, 2, 5, "obj-83", "function", "domain", 1000.0, 6, "obj-83", "function", "range", 0.0, 1.0 ] } ] } } , { "box" : { "maxclass" : "newobj", "text" : "p degrade", "outlettype" : [ "signal" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 228.0, 850.0, 65.0, 20.0 ], "id" : "obj-73", "fontname" : "Arial", "color" : [ 0.929412, 0.360784, 0.866667, 1.0 ], "numoutlets" : 1, "patcher" : { "fileversion" : 1, "rect" : [ 29.0, 67.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 29.0, 67.0, 640.0, 480.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.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" : "newobj", "text" : "r LOADBANG", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 0, "patching_rect" : [ 226.0, 335.0, 85.0, 20.0 ], "id" : "obj-4", "fontname" : "Arial", "color" : [ 0.878431, 0.976471, 0.023529, 1.0 ], "numoutlets" : 1 } } , { "box" : { "maxclass" : "preset", "outlettype" : [ "preset", "int", "preset", "int" ], "numinlets" : 1, "patching_rect" : [ 224.0, 373.0, 100.0, 40.0 ], "id" : "obj-1", "numoutlets" : 4, "preset_data" : [ { "number" : 1, "data" : [ 5, "obj-32", "flonum", "float", 0.09, 5, "obj-30", "slider", "float", 9.0, 5, "obj-26", "slider", "float", 1.0, 5, "obj-23", "number", "int", 2 ] } ] } } , { "box" : { "maxclass" : "number", "outlettype" : [ "int", "bang" ], "triangle" : 0, "fontsize" : 11.595187, "cantchange" : 1, "numinlets" : 1, "patching_rect" : [ 238.0, 191.0, 50.0, 20.0 ], "triscale" : 0.9, "id" : "obj-23", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "comment", "text" : "12", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 299.0, 149.0, 23.0, 20.0 ], "id" : "obj-25", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "slider", "outlettype" : [ "" ], "min" : 1.0, "numinlets" : 1, "patching_rect" : [ 238.0, 165.0, 144.0, 18.0 ], "id" : "obj-26", "size" : 24.0, "numoutlets" : 1, "orientation" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "full", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 275.0, 96.0, 26.0, 20.0 ], "id" : "obj-27", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "half", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 212.0, 96.0, 27.0, 20.0 ], "id" : "obj-28", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "right inlet: signal quantization, in bits. must be in range [1, 24]", "linecount" : 3, "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 296.0, 221.0, 130.0, 46.0 ], "id" : "obj-29", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "slider", "outlettype" : [ "" ], "numinlets" : 1, "patching_rect" : [ 152.0, 112.0, 144.0, 18.0 ], "id" : "obj-30", "size" : 101.0, "numoutlets" : 1, "orientation" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "/ 100.", "outlettype" : [ "float" ], "fontsize" : 11.595187, "numinlets" : 2, "patching_rect" : [ 152.0, 153.0, 40.0, 20.0 ], "id" : "obj-31", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "flonum", "outlettype" : [ "float", "bang" ], "triangle" : 0, "fontsize" : 11.595187, "cantchange" : 1, "numinlets" : 1, "patching_rect" : [ 152.0, 178.0, 50.0, 20.0 ], "triscale" : 0.9, "id" : "obj-32", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "degrade~", "outlettype" : [ "signal" ], "fontsize" : 11.595187, "numinlets" : 3, "patching_rect" : [ 131.0, 237.0, 60.0, 20.0 ], "id" : "obj-33", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "middle inlet: sampling-rate multiplier. must be in range [0, 1]", "linecount" : 4, "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 191.0, 217.0, 100.0, 60.0 ], "id" : "obj-35", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "effective sampling rate:", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 149.0, 78.0, 128.0, 20.0 ], "id" : "obj-36", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "zero", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 150.0, 96.0, 31.0, 20.0 ], "id" : "obj-37", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "word size (bits):", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 237.0, 133.0, 90.0, 20.0 ], "id" : "obj-38", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "1", "fontsize" : 11.595187, "numinlets" : 1, "patching_rect" : [ 238.0, 149.0, 23.0, 20.0 ], "id" : "obj-39", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "audio out", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 159.0, 296.0, 60.0, 20.0 ], "id" : "obj-7", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "audio in", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 154.0, 45.0, 53.0, 20.0 ], "id" : "obj-5", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "outlet", "numinlets" : 1, "patching_rect" : [ 132.0, 292.0, 25.0, 25.0 ], "id" : "obj-3", "numoutlets" : 0, "comment" : "" } } , { "box" : { "maxclass" : "inlet", "outlettype" : [ "signal" ], "numinlets" : 0, "patching_rect" : [ 127.0, 43.0, 25.0, 25.0 ], "id" : "obj-2", "numoutlets" : 1, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-33", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-33", 2 ], "hidden" : 0, "midpoints" : [ 247.5, 213.0, 181.5, 213.0 ] } } , { "patchline" : { "source" : [ "obj-32", 0 ], "destination" : [ "obj-33", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 0 ], "destination" : [ "obj-32", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-30", 0 ], "destination" : [ "obj-31", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "globalpatchername" : "", "fontface" : 0, "fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial" } } } , { "box" : { "maxclass" : "comment", "text" : "Multiply the two signals", "linecount" : 2, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 384.0, 785.0, 76.0, 34.0 ], "id" : "obj-74", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Reads the \nwaveform", "linecount" : 2, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 274.0, 719.0, 72.0, 34.0 ], "id" : "obj-75", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "line~", "outlettype" : [ "signal", "bang" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 363.0, 751.0, 36.0, 20.0 ], "id" : "obj-76", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "*~", "outlettype" : [ "signal" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 228.0, 796.0, 152.5, 20.0 ], "id" : "obj-77", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "cycle~", "outlettype" : [ "signal" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 227.0, 722.0, 45.0, 20.0 ], "id" : "obj-78", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "BANG (b)", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 391.0, 488.0, 63.0, 20.0 ], "id" : "obj-79", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Function Box: (function)\nWorks as ASDR: Attack,\n Sustain, Decay Release", "linecount" : 3, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 572.0, 567.0, 142.0, 48.0 ], "id" : "obj-80", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Floating Pt. # Box (f)", "linecount" : 2, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 252.0, 491.0, 86.0, 34.0 ], "id" : "obj-81", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "function", "outlettype" : [ "float", "", "", "bang" ], "numinlets" : 1, "patching_rect" : [ 366.0, 557.0, 200.0, 100.0 ], "linecolor" : [ 0.121569, 0.933333, 0.933333, 1.0 ], "bordercolor" : [ 0.32549, 0.027451, 0.027451, 1.0 ], "id" : "obj-83", "numoutlets" : 4, "addpoints" : [ 26.595745, 0.826667, 0, 117.021278, 0.2, 2, 260.638306, 0.0, 2, 1000.0, 0.64, 2 ] } } , { "box" : { "maxclass" : "button", "outlettype" : [ "bang" ], "numinlets" : 1, "patching_rect" : [ 369.0, 488.0, 20.0, 20.0 ], "id" : "obj-84", "numoutlets" : 1 } } , { "box" : { "maxclass" : "flonum", "outlettype" : [ "float", "bang" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 195.0, 430.0, 50.0, 20.0 ], "id" : "obj-72", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "number", "outlettype" : [ "int", "bang" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 383.0, 241.0, 50.0, 20.0 ], "id" : "obj-44", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "comment", "text" : "MIDI to Frequency", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 232.0, 363.0, 109.0, 20.0 ], "id" : "obj-56", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Addition Object", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 235.0, 316.0, 92.0, 20.0 ], "id" : "obj-57", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Message box (m) containing MIDI value", "linecount" : 3, "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 280.090942, 229.090942, 108.0, 48.0 ], "id" : "obj-59", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "mtof", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 193.0, 362.0, 34.0, 20.0 ], "id" : "obj-60", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Number Box (i)", "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 438.0, 241.0, 91.0, 20.0 ], "id" : "obj-61", "fontname" : "Arial", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "+", "outlettype" : [ "int" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 192.0, 316.0, 32.5, 20.0 ], "id" : "obj-62", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "3", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 215.090942, 243.909058, 32.5, 18.0 ], "id" : "obj-63", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "4", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 176.0, 244.0, 32.5, 18.0 ], "id" : "obj-64", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "2", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 134.454529, 245.0, 32.5, 18.0 ], "id" : "obj-65", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "6", "outlettype" : [ "" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 93.363647, 245.0, 32.5, 18.0 ], "id" : "obj-66", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "counter 0 0 3", "outlettype" : [ "int", "", "", "int" ], "fontsize" : 12.0, "numinlets" : 5, "patching_rect" : [ 50.0, 112.0, 81.0, 20.0 ], "id" : "obj-67", "fontname" : "Arial", "numoutlets" : 4 } } , { "box" : { "maxclass" : "number", "outlettype" : [ "int", "bang" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 167.0, 139.0, 50.0, 20.0 ], "id" : "obj-68", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "sel 0 1 2 3", "outlettype" : [ "bang", "bang", "bang", "bang", "" ], "fontsize" : 12.0, "numinlets" : 1, "patching_rect" : [ 169.0, 186.0, 73.0, 20.0 ], "id" : "obj-69", "fontname" : "Arial", "numoutlets" : 5 } } , { "box" : { "maxclass" : "newobj", "text" : "random 3", "outlettype" : [ "int" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 160.0, 100.0, 61.0, 20.0 ], "id" : "obj-70", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "inlet", "outlettype" : [ "bang" ], "numinlets" : 0, "patching_rect" : [ 160.0, 40.0, 25.0, 25.0 ], "id" : "obj-94", "numoutlets" : 1, "comment" : "" } } , { "box" : { "maxclass" : "outlet", "numinlets" : 1, "patching_rect" : [ 228.0, 930.0, 25.0, 25.0 ], "id" : "obj-95", "numoutlets" : 0, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-42", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-42", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-69", 3 ], "destination" : [ "obj-63", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-69", 2 ], "destination" : [ "obj-64", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-69", 1 ], "destination" : [ "obj-65", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-69", 0 ], "destination" : [ "obj-66", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-66", 0 ], "destination" : [ "obj-62", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-65", 0 ], "destination" : [ "obj-62", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-64", 0 ], "destination" : [ "obj-62", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-63", 0 ], "destination" : [ "obj-62", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-62", 0 ], "destination" : [ "obj-60", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-44", 0 ], "destination" : [ "obj-62", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-67", 0 ], "destination" : [ "obj-68", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-68", 0 ], "destination" : [ "obj-69", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-70", 0 ], "destination" : [ "obj-68", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-60", 0 ], "destination" : [ "obj-72", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-77", 0 ], "destination" : [ "obj-73", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-78", 0 ], "destination" : [ "obj-77", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-76", 0 ], "destination" : [ "obj-77", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-84", 0 ], "destination" : [ "obj-83", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-83", 1 ], "destination" : [ "obj-76", 0 ], "hidden" : 0, "midpoints" : [ 435.833344, 707.5, 372.5, 707.5 ] } } , { "patchline" : { "source" : [ "obj-72", 0 ], "destination" : [ "obj-78", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-60", 0 ], "destination" : [ "obj-84", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-94", 0 ], "destination" : [ "obj-70", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-73", 0 ], "destination" : [ "obj-95", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "globalpatchername" : "", "fontface" : 0, "fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial" } } } , { "box" : { "maxclass" : "meter~", "outlettype" : [ "float" ], "presentation_rect" : [ 970.140015, 987.01001, 0.0, 0.0 ], "numinlets" : 1, "patching_rect" : [ 201.140015, 304.01001, 12.0, 138.840012 ], "id" : "obj-85", "numoutlets" : 1 } } , { "box" : { "maxclass" : "gain~", "outlettype" : [ "signal", "int" ], "presentation_rect" : [ 951.210022, 985.619995, 0.0, 0.0 ], "numinlets" : 2, "patching_rect" : [ 182.210022, 302.619995, 20.0, 140.0 ], "id" : "obj-86", "numoutlets" : 2 } } , { "box" : { "maxclass" : "ezdac~", "numinlets" : 2, "patching_rect" : [ 144.454544, 538.818115, 45.0, 45.0 ], "id" : "obj-58", "numoutlets" : 0 } } , { "box" : { "maxclass" : "meter~", "outlettype" : [ "float" ], "numinlets" : 1, "patching_rect" : [ 150.139999, 302.01001, 12.0, 138.840012 ], "id" : "obj-55", "numoutlets" : 1 } } , { "box" : { "maxclass" : "gain~", "outlettype" : [ "signal", "int" ], "numinlets" : 2, "patching_rect" : [ 131.210007, 300.619995, 20.0, 140.0 ], "id" : "obj-54", "numoutlets" : 2 } } , { "box" : { "maxclass" : "button", "outlettype" : [ "bang" ], "numinlets" : 1, "patching_rect" : [ 118.0, 119.0, 20.0, 20.0 ], "id" : "obj-6", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "metro 250", "outlettype" : [ "bang" ], "fontsize" : 12.0, "numinlets" : 2, "patching_rect" : [ 116.0, 85.0, 65.0, 20.0 ], "id" : "obj-3", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "toggle", "outlettype" : [ "int" ], "numinlets" : 1, "patching_rect" : [ 115.0, 44.0, 20.0, 20.0 ], "id" : "obj-2", "numoutlets" : 1 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-100", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-100", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-100", 0 ], "destination" : [ "obj-54", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-96", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-96", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-96", 0 ], "destination" : [ "obj-86", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-86", 0 ], "destination" : [ "obj-58", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-86", 0 ], "destination" : [ "obj-85", 0 ], "hidden" : 0, "midpoints" : [ 190.210022, 452.619995, 222.890945, 452.619995, 222.890945, 294.01001, 207.140015, 294.01001 ] } } , { "patchline" : { "source" : [ "obj-54", 0 ], "destination" : [ "obj-55", 0 ], "hidden" : 0, "midpoints" : [ 139.210007, 450.619995, 171.89093, 450.619995, 171.89093, 292.01001, 156.139999, 292.01001 ] } } , { "patchline" : { "source" : [ "obj-54", 0 ], "destination" : [ "obj-58", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }