{ "patcher" : { "fileversion" : 1, "rect" : [ 161.0, 44.0, 1039.0, 730.0 ], "bglocked" : 0, "defrect" : [ 161.0, 44.0, 1039.0, 730.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" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : [ 0.0, 0.0, 0.0, 1.0 ], "id" : "obj-58", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 745.0, 315.0, 173.0, 62.0 ], "text" : "<----Bang same points to a function with a different domain, and everything is changed" } } , { "box" : { "id" : "obj-57", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 524.0, 270.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : [ 0.0, 0.0, 0.0, 1.0 ], "id" : "obj-54", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 756.0, 563.0, 173.0, 62.0 ], "text" : "<----And then there is the problem of a different domain size once the commas problem is solved" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-53", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 524.0, 448.0, 99.0, 20.0 ], "text" : "r changefunction" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-52", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 524.0, 391.0, 101.0, 20.0 ], "text" : "s changefunction" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-49", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 645.0, 444.0, 79.0, 20.0 ], "text" : "loadmess 20" } } , { "box" : { "fontname" : "Arial", "fontsize" : 10.0, "id" : "obj-50", "maxclass" : "number", "minimum" : 1, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "patching_rect" : [ 645.0, 471.0, 75.0, 18.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-51", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 645.0, 496.0, 83.0, 18.0 ], "text" : "setdomain $1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-48", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 152.0, 458.0, 72.0, 20.0 ], "text" : "loadmess 1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-47", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 199.0, 13.0, 72.0, 20.0 ], "text" : "loadmess 1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 18.0, "frgb" : [ 0.0, 0.0, 0.0, 1.0 ], "id" : "obj-46", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 518.0, 122.0, 227.0, 89.0 ], "text" : "I need to figure out how to add the commas and then figure out how to deal with a variable domain. " } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-44", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 566.0, 474.0, 37.0, 18.0 ], "text" : "clear" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-1", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 136.0, 30.0, 35.0, 18.0 ], "text" : "write" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-2", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 93.0, 31.0, 34.0, 18.0 ], "text" : "read" } } , { "box" : { "fontname" : "Arial", "fontsize" : 10.0, "id" : "obj-15", "maxclass" : "number", "minimum" : 1, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "patching_rect" : [ 199.0, 36.0, 75.0, 18.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-16", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 199.0, 61.0, 83.0, 18.0 ], "text" : "setdomain $1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 10.0, "id" : "obj-60", "maxclass" : "number", "minimum" : 1, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "patching_rect" : [ 152.0, 485.0, 75.0, 18.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-55", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 152.0, 510.0, 83.0, 18.0 ], "text" : "setdomain $1" } } , { "box" : { "embedstate" : [ [ "CreateNFunctions", 2, "Amplitude", "Second function", 0, 1, 0, 20, 0, 1, 0, 1000 ], [ "SetColor", 0, "brgb", 204, 204, 204 ], [ "SetColor", 0, "frgb", 82, 82, 82 ], [ "SetColor", 0, "rgb2", 107, 107, 107 ], [ "SetColor", 0, "rgb3", 255, 0, 0 ], [ "SetColor", 0, "rgb4", 51, 51, 51 ], [ "SetColor", 0, "rgb5", 128, 128, 128 ], [ "SetColor", 0, "rgb6", 107, 107, 107 ], [ "SetColor", 1, "brgb", 204, 204, 204 ], [ "SetColor", 1, "frgb", 82, 82, 82 ], [ "SetColor", 1, "rgb2", 107, 107, 107 ], [ "SetColor", 1, "rgb3", 255, 0, 0 ], [ "SetColor", 1, "rgb4", 51, 51, 51 ], [ "SetColor", 1, "rgb5", 128, 128, 128 ], [ "SetColor", 1, "rgb6", 107, 107, 107 ], [ "fsaa", 1 ], [ "redrawon" ], [ "bordersync", 0 ], [ "movemode", 0 ], [ "snap2grid", 0 ], [ "autosustain", 0 ], [ "notifyrecalled", 0 ], [ "clickadd", 1 ], [ "autocursor", 1 ], [ "numcurvepoints", 12 ], [ "mode", 0 ], [ "grid", 0 ], [ "clicksustain", 1 ], [ "legend", 1 ], [ "ghost", 20 ], [ "nbfunction", 2 ], [ "hiddenpoint", 0 ], [ "timedisplay", 0 ], [ "mousereport", 0 ], [ "clickmove", 1 ] ], "filename" : "ej.function.js", "id" : "obj-12", "jsarguments" : [ ], "maxclass" : "jsui", "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "", "", "", "", "" ], "patching_rect" : [ 524.0, 544.0, 171.0, 92.0 ], "presentation_rect" : [ 60.0, 60.0, 171.0, 92.0 ], "varname" : "ej.function[2]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "linecount" : 5, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 524.0, 307.0, 178.0, 73.0 ], "text" : "clear, 0 0.305556, 0.134969 0.458333, 0.294479 0.652778, 0.361963 0.152778, 0.730061 0.722222, 0.730061 0.305556, 0.907975 0.388889" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-10", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 91.0, 492.0, 37.0, 18.0 ], "text" : "clear" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : [ 0.0, 0.0, 0.0, 1.0 ], "id" : "obj-9", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 262.0, 353.0, 173.0, 48.0 ], "text" : "<----But to refill the ej.function with a message, I need to add commas." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : [ 0.0, 0.0, 0.0, 1.0 ], "id" : "obj-8", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 264.0, 226.0, 155.0, 34.0 ], "text" : "<----List dump give me the points," } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-6", "linecount" : 5, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 66.0, 336.0, 185.0, 73.0 ], "text" : "0 0.305556, 0.134969 0.458333, 0.294479 0.652778, 0.361963 0.152778, 0.730061 0.722222, 0.730061 0.305556, 0.907975 0.388889" } } , { "box" : { "embedstate" : [ [ "CreateNFunctions", 2, "Amplitude", "Second function", 0, 1, 0, 1, 0, 1, 0, 1000 ], [ "SetColor", 0, "brgb", 204, 204, 204 ], [ "SetColor", 0, "frgb", 82, 82, 82 ], [ "SetColor", 0, "rgb2", 107, 107, 107 ], [ "SetColor", 0, "rgb3", 255, 0, 0 ], [ "SetColor", 0, "rgb4", 51, 51, 51 ], [ "SetColor", 0, "rgb5", 128, 128, 128 ], [ "SetColor", 0, "rgb6", 107, 107, 107 ], [ "SetColor", 1, "brgb", 204, 204, 204 ], [ "SetColor", 1, "frgb", 82, 82, 82 ], [ "SetColor", 1, "rgb2", 107, 107, 107 ], [ "SetColor", 1, "rgb3", 255, 0, 0 ], [ "SetColor", 1, "rgb4", 51, 51, 51 ], [ "SetColor", 1, "rgb5", 128, 128, 128 ], [ "SetColor", 1, "rgb6", 107, 107, 107 ], [ "fsaa", 1 ], [ "redrawon" ], [ "bordersync", 0 ], [ "movemode", 0 ], [ "snap2grid", 0 ], [ "autosustain", 0 ], [ "notifyrecalled", 0 ], [ "clickadd", 1 ], [ "autocursor", 1 ], [ "numcurvepoints", 12 ], [ "mode", 0 ], [ "grid", 0 ], [ "clicksustain", 1 ], [ "legend", 1 ], [ "ghost", 20 ], [ "nbfunction", 2 ], [ "hiddenpoint", 0 ], [ "timedisplay", 0 ], [ "mousereport", 0 ], [ "clickmove", 1 ] ], "filename" : "ej.function.js", "id" : "obj-5", "jsarguments" : [ ], "maxclass" : "jsui", "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "", "", "", "", "" ], "patching_rect" : [ 66.0, 543.0, 171.0, 92.0 ], "presentation_rect" : [ 45.0, 45.0, 171.0, 92.0 ], "varname" : "ej.function[1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-42", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 149.0, 54.0, 37.0, 18.0 ], "text" : "clear" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "linecount" : 5, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 67.0, 198.0, 185.0, 73.0 ], "text" : "Amplitude 0 0.305556 0.134969 0.458333 0.294479 0.652778 0.361963 0.152778 0.730061 0.722222 0.730061 0.305556 0.907975 0.388889" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-32", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 68.0, 6.0, 54.0, 18.0 ], "text" : "listdump" } } , { "box" : { "embedstate" : [ [ "CreateNFunctions", 2, "Amplitude", "Second function", 0, 1, 0, 1, 0, 1, 0, 1000 ], [ "SetColor", 0, "brgb", 204, 204, 204 ], [ "SetColor", 0, "frgb", 82, 82, 82 ], [ "SetColor", 0, "rgb2", 107, 107, 107 ], [ "SetColor", 0, "rgb3", 255, 0, 0 ], [ "SetColor", 0, "rgb4", 51, 51, 51 ], [ "SetColor", 0, "rgb5", 128, 128, 128 ], [ "SetColor", 0, "rgb6", 107, 107, 107 ], [ "SetColor", 1, "brgb", 204, 204, 204 ], [ "SetColor", 1, "frgb", 82, 82, 82 ], [ "SetColor", 1, "rgb2", 107, 107, 107 ], [ "SetColor", 1, "rgb3", 255, 0, 0 ], [ "SetColor", 1, "rgb4", 51, 51, 51 ], [ "SetColor", 1, "rgb5", 128, 128, 128 ], [ "SetColor", 1, "rgb6", 107, 107, 107 ], [ "fsaa", 1 ], [ "redrawon" ], [ "bordersync", 0 ], [ "movemode", 0 ], [ "snap2grid", 0 ], [ "autosustain", 0 ], [ "notifyrecalled", 0 ], [ "clickadd", 1 ], [ "autocursor", 1 ], [ "numcurvepoints", 12 ], [ "mode", 0 ], [ "grid", 0 ], [ "clicksustain", 1 ], [ "legend", 1 ], [ "ghost", 20 ], [ "nbfunction", 2 ], [ "hiddenpoint", 0 ], [ "timedisplay", 0 ], [ "mousereport", 0 ], [ "clickmove", 1 ] ], "filename" : "ej.function.js", "id" : "obj-4", "jsarguments" : [ ], "maxclass" : "jsui", "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "", "", "", "", "" ], "patching_rect" : [ 68.0, 89.0, 171.0, 92.0 ], "presentation_rect" : [ 30.0, 30.0, 171.0, 92.0 ], "varname" : "ej.function" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-52", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-11", 0 ] } } , { "patchline" : { "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ 208.5, 58.0, 208.5, 58.0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-32", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 1 ], "hidden" : 0, "midpoints" : [ 153.5, 191.0, 242.5, 191.0 ], "source" : [ "obj-4", 2 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-42", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-44", 0 ] } } , { "patchline" : { "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-47", 0 ] } } , { "patchline" : { "destination" : [ "obj-60", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-48", 0 ] } } , { "patchline" : { "destination" : [ "obj-50", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-49", 0 ] } } , { "patchline" : { "destination" : [ "obj-51", 0 ], "hidden" : 0, "midpoints" : [ 654.5, 493.0, 654.5, 493.0 ], "source" : [ "obj-50", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-51", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-53", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-55", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-57", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-55", 0 ], "hidden" : 0, "midpoints" : [ 161.5, 507.0, 161.5, 507.0 ], "source" : [ "obj-60", 0 ] } } ] } }