{ "patcher" : { "fileversion" : 1, "rect" : [ 48.0, 49.0, 613.0, 636.0 ], "bglocked" : 0, "defrect" : [ 48.0, 49.0, 613.0, 636.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" : [ 16.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "metadata" : [ ], "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "note periodicity", "id" : "obj-62", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 116.0, 312.0, 91.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "max", "id" : "obj-59", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 388.0, 280.0, 33.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "min", "id" : "obj-57", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 196.0, 280.0, 30.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "use the chosen offset to determine the maximum allowable range, then choose the range", "linecount" : 4, "id" : "obj-55", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 420.0, 128.0, 150.0, 62.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "offset from low end of piano", "id" : "obj-49", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 84.0, 200.0, 158.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "range", "id" : "obj-47", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 356.0, 200.0, 41.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "number", "id" : "obj-45", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 240.0, 200.0, 50.0, 20.0 ], "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "21 is set as this rangeslider's minimum, so it adds 21 to everything that comes in", "linecount" : 2, "id" : "obj-40", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 322.0, 242.0, 227.0, 34.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "periodicity of change", "id" : "obj-34", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 344.0, 80.0, 121.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "all on/off", "id" : "obj-32", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 68.0, 24.0, 56.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "toggle", "id" : "obj-26", "numinlets" : 1, "patching_rect" : [ 48.0, 24.0, 20.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "metro 5000", "id" : "obj-24", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 272.0, 80.0, 71.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "number", "id" : "obj-23", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 304.0, 200.0, 50.0, 20.0 ], "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "+", "id" : "obj-21", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 304.0, 224.0, 113.5, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "random", "id" : "obj-17", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 304.0, 176.0, 51.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "t i b 88 i i", "id" : "obj-13", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 272.0, 128.0, 146.0, 20.0 ], "numoutlets" : 5, "outlettype" : [ "int", "bang", "int", "int", "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "toggle", "id" : "obj-11", "numinlets" : 1, "patching_rect" : [ 272.0, 56.0, 20.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "-", "id" : "obj-3", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 336.0, 152.0, 49.5, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "random 88", "id" : "obj-1", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 272.0, 104.0, 68.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "noteout", "id" : "obj-20", "numinlets" : 3, "fontsize" : 12.0, "patching_rect" : [ 144.0, 464.0, 51.0, 20.0 ], "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "makenote 127 62.5", "id" : "obj-19", "numinlets" : 3, "fontsize" : 12.0, "patching_rect" : [ 144.0, 432.0, 113.0, 20.0 ], "numoutlets" : 2, "outlettype" : [ "int", "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "toggle", "id" : "obj-18", "numinlets" : 1, "patching_rect" : [ 48.0, 288.0, 20.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "metro 62.5", "id" : "obj-16", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 48.0, 312.0, 68.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "+ 1", "id" : "obj-15", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 288.0, 304.0, 34.5, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "number", "id" : "obj-14", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 336.0, 280.0, 50.0, 20.0 ], "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "number", "id" : "obj-12", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 144.0, 280.0, 50.0, 20.0 ], "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "!-", "id" : "obj-10", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 288.0, 280.0, 34.5, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "rslider", "min" : 21, "id" : "obj-9", "numinlets" : 2, "patching_rect" : [ 144.0, 248.0, 179.0, 18.0 ], "numoutlets" : 2, "outlettype" : [ "", "" ], "bgcolor" : [ 1.0, 0.384314, 0.384314, 1.0 ], "size" : 88, "fgcolor" : [ 0.258824, 0.792157, 0.337255, 1.0 ] } } , { "box" : { "maxclass" : "multislider", "id" : "obj-8", "numinlets" : 1, "settype" : 0, "patching_rect" : [ 288.0, 432.0, 256.0, 176.0 ], "numoutlets" : 2, "outlettype" : [ "", "" ], "setminmax" : [ 21.0, 108.0 ], "setstyle" : 2 } } , { "box" : { "maxclass" : "number", "maximum" : 108, "id" : "obj-7", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 224.0, 376.0, 50.0, 20.0 ], "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "minimum" : 21, "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "+", "id" : "obj-5", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 144.0, 400.0, 98.5, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "number", "id" : "obj-4", "numinlets" : 1, "fontsize" : 12.0, "patching_rect" : [ 192.0, 344.0, 50.0, 20.0 ], "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "random", "id" : "obj-2", "numinlets" : 2, "fontsize" : 12.0, "patching_rect" : [ 144.0, 368.0, 67.0, 20.0 ], "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "panel", "id" : "obj-60", "numinlets" : 1, "mode" : 1, "patching_rect" : [ 34.0, 18.0, 96.0, 31.0 ], "numoutlets" : 0 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ 153.5, 425.0, 297.5, 425.0 ] } } , { "patchline" : { "source" : [ "obj-19", 1 ], "destination" : [ "obj-20", 1 ], "hidden" : 0, "midpoints" : [ 247.5, 456.0, 169.5, 456.0 ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ 57.5, 336.0, 153.5, 336.0 ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ 297.5, 336.0, 201.5, 336.0 ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 1 ], "destination" : [ "obj-10", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ 153.5, 272.0, 297.5, 272.0 ] } } , { "patchline" : { "source" : [ "obj-9", 1 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ 313.5, 272.0, 345.5, 272.0 ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ 153.5, 272.0, 248.0, 272.0, 248.0, 368.0, 233.5, 368.0 ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-5", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-2", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-17", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-9", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ 57.5, 48.0, 281.5, 48.0 ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 1 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 2 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 3 ], "destination" : [ "obj-3", 1 ], "hidden" : 0, "midpoints" : [ 376.75, 146.0 ] } } , { "patchline" : { "source" : [ "obj-13", 4 ], "destination" : [ "obj-21", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-45", 0 ], "hidden" : 0, "midpoints" : [ 281.5, 192.0, 249.5, 192.0 ] } } , { "patchline" : { "source" : [ "obj-45", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ 249.5, 240.0, 153.5, 240.0 ] } } ] } }