{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, "minor" : 5, "revision" : 6, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", "rect" : [ 264.0, 92.0, 1260.0, 869.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 1, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 1, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, "lefttoolbarpinned" : 0, "toptoolbarpinned" : 0, "righttoolbarpinned" : 0, "bottomtoolbarpinned" : 0, "toolbars_unpinned_last_save" : 0, "tallnewobj" : 0, "boxanimatetime" : 200, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "style" : "", "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { "box" : { "bubble" : 1, "id" : "obj-30", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 137.5, 440.0, 245.0, 64.0 ], "text" : "this param is sent in its already enumerated form, so it will first be turned into a number halfway between the enumeration boundaries" } } , { "box" : { "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1019.0, 544.0, 32.0, 22.0 ], "text" : "print" } } , { "box" : { "id" : "obj-22", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 22.0, 444.0, 105.0, 22.0 ], "text" : "param meter \"3 4\"" } } , { "box" : { "id" : "obj-41", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 947.0, 595.0, 156.0, 22.0 ], "text" : "attenuation 200" } } , { "box" : { "id" : "obj-39", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 822.0, 595.0, 101.0, 22.0 ], "text" : "scale major" } } , { "box" : { "id" : "obj-35", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 660.0, 595.0, 157.0, 22.0 ], "text" : "harmoniclarity 0.000872" } } , { "box" : { "id" : "obj-33", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 567.0, 595.0, 87.0, 22.0 ], "text" : "meter 7 8" } } , { "box" : { "id" : "obj-31", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 483.0, 595.0, 80.0, 22.0 ], "text" : "stream 0" } } , { "box" : { "id" : "obj-29", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 345.0, 595.0, 133.0, 22.0 ], "text" : "metriclarity 69.973845" } } , { "box" : { "id" : "obj-27", "maxclass" : "newobj", "numinlets" : 7, "numoutlets" : 7, "outlettype" : [ "", "", "", "", "", "", "" ], "patching_rect" : [ 421.5, 536.0, 369.0, 22.0 ], "text" : "routepass metriclarity stream meter harmoniclarity scale attenuation" } } , { "box" : { "id" : "obj-17", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 497.0, 489.0, 268.0, 33.0 ], "text" : "we can only output symbols from jweb, so this turns them into lists" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 421.52631402015686, 489.0, 71.0, 22.0 ], "text" : "fromsymbol" } } , { "box" : { "id" : "obj-19", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 541.52631402015686, 69.0, 150.0, 20.0 ], "text" : "self explanatory" } } , { "box" : { "id" : "obj-14", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 817.0, 45.0, 150.0, 47.0 ], "text" : "self explanatory. Warning-will overwrite whatever is saved." } } , { "box" : { "id" : "obj-11", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1039.0, 50.0, 152.0, 60.0 ], "text" : "You can use the `phase` control to phase offset two LFOs of the same frequency" } } , { "box" : { "bubble" : 1, "id" : "obj-7", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 153.0, 274.0, 197.0, 51.0 ], "text" : "This parameter is defined in the enumerators but not the modulators" } } , { "box" : { "id" : "obj-5", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 59.0, 256.0, 94.0, 22.0 ], "text" : "param scale 1.6" } } , { "box" : { "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 454.0, 27.5, 48.0, 22.0 ], "text" : "del 200" } } , { "box" : { "bubble" : 1, "id" : "obj-24", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 133.0, 347.0, 254.0, 51.0 ], "text" : "This parameter is not defined by either the Modulators or Enumerators, so it will be passed directly to the output" } } , { "box" : { "bubble" : 1, "id" : "obj-23", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 159.0, 190.0, 197.0, 64.0 ], "text" : "This parameter is defined in the modulators, and when sent will act as the low value for that LFO" } } , { "box" : { "id" : "obj-21", "linecount" : 10, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 45.0, 564.0, 254.0, 141.0 ], "text" : "The operation runs\n\nInput > Modulators > Enumerators > Output\n\nA parameter from the input not established by a Modulator will be passed directly to the Enumerators\n\nLikewise, the Enumerators will pass not established parameters" } } , { "box" : { "id" : "obj-15", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 48.0, 181.0, 121.0, 22.0 ], "text" : "param metriclarity 40" } } , { "box" : { "id" : "obj-8", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 28.0, 331.0, 129.0, 22.0 ], "text" : "param attenuation 200" } } , { "box" : { "id" : "obj-16", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 438.52631402015686, 69.0, 101.0, 22.0 ], "text" : "load localStorage" } } , { "box" : { "data" : { "data" : { "enumArrays" : [ [ 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], [ "2", 2, 2, 2, "2", "2", "2", "2", "2", "2" ], [ "event_length", "meter", "stream", "scale", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation" ] ], "enumMats" : [ [ [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ "0", "1", "2", 3, 4, 5, 6, 7, 8, 9, 10 ], [ "0", "1", "2", 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ] ], [ [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "3 4", "7 8", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "0", "1", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "pentatonic", "major", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ], [ "param", "param", "param", "param", "param", "param", "param", "param", "param", "param" ] ] ], "modArrays" : [ [ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], [ "Sine", "SawUp", "SawDown", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine", "Sine" ], [ "metriclarity", "stream", "meter", "harmoniclarity", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation", "attenuation" ], [ "0.6", "0.3", "0.1", "0.6", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1" ], [ "30", "2", "2", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1" ], [ "0", "0", "0", "0.5", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0" ] ] } } , "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 4, "outlettype" : [ "dictionary", "", "", "" ], "patching_rect" : [ 22.0, 102.0, 159.0, 22.0 ], "saved_object_attributes" : { "embed" : 1, "parameter_enable" : 0, "parameter_mappable" : 0 } , "text" : "dict localStorage @embed 1" } } , { "box" : { "id" : "obj-6", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 504.0, 6.0, 150.0, 33.0 ], "text" : "required due to the asynchronous operation" } } , { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 374.157894849777222, 27.5, 55.0, 22.0 ], "text" : "del 1000" } } , { "box" : { "id" : "obj-45", "linecount" : 5, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 31.0, 18.0, 150.0, 74.0 ], "text" : "Storage for the matrix. Unfortunately, jsweb dictionary handling isn't great, so we can't use it like a native dict object" } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 217.0, 6.0, 58.0, 22.0 ], "text" : "loadbang" } } , { "box" : { "id" : "obj-12", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 700.894735336303711, 69.0, 104.0, 22.0 ], "text" : "save localStorage" } } , { "box" : { "id" : "obj-18", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 217.0, 69.0, 106.0, 22.0 ], "text" : "readfile lfogui.html" } } , { "box" : { "id" : "obj-2", "maxclass" : "jweb", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 421.52631402015686, 157.0, 728.105266809463501, 322.0 ], "rendermode" : 0, "url" : "file://lfogui.html" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-27", 0 ], "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-10", 0 ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "order" : 1, "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "order" : 0, "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-15", 0 ], "order" : 0, "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "order" : 1, "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "source" : [ "obj-27", 6 ] } } , { "patchline" : { "destination" : [ "obj-29", 1 ], "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 1 ], "source" : [ "obj-27", 1 ] } } , { "patchline" : { "destination" : [ "obj-33", 1 ], "source" : [ "obj-27", 2 ] } } , { "patchline" : { "destination" : [ "obj-35", 1 ], "source" : [ "obj-27", 3 ] } } , { "patchline" : { "destination" : [ "obj-39", 1 ], "source" : [ "obj-27", 4 ] } } , { "patchline" : { "destination" : [ "obj-41", 1 ], "source" : [ "obj-27", 5 ] } } , { "patchline" : { "destination" : [ "obj-16", 0 ], "order" : 1, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-25", 0 ], "order" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "source" : [ "obj-8", 0 ] } } ], "dependency_cache" : [ ], "autosave" : 0 } }