{ "patcher" : { "fileversion" : 1, "rect" : [ 28.0, 65.0, 1102.0, 640.0 ], "bglocked" : 0, "defrect" : [ 28.0, 65.0, 1102.0, 640.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, "metadata" : [ ], "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "start-time, end-time time-to-get-there", "patching_rect" : [ 90.0, 0.0, 206.0, 20.0 ], "id" : "obj-40", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "presentation_rect" : [ 97.0, 5.0, 0.0, 0.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "message", "text" : "clear", "patching_rect" : [ 545.0, 71.0, 37.0, 18.0 ], "id" : "obj-39", "fontname" : "Arial", "numinlets" : 2, "fontsize" : 12.0, "presentation_rect" : [ 545.0, 71.0, 0.0, 0.0 ], "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "clear", "patching_rect" : [ 311.0, 69.0, 37.0, 18.0 ], "id" : "obj-38", "fontname" : "Arial", "numinlets" : 2, "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "multislider", "patching_rect" : [ 298.0, 198.0, 192.0, 10.0 ], "id" : "obj-36", "orientation" : 0, "setminmax" : [ 0.0, 1.0 ], "numinlets" : 1, "contdata" : 1, "presentation_rect" : [ 84.0, 207.0, 0.0, 0.0 ], "numoutlets" : 2, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "multislider", "patching_rect" : [ 494.0, 112.0, 8.0, 82.0 ], "id" : "obj-35", "numinlets" : 1, "contdata" : 1, "presentation_rect" : [ 93.0, 150.0, 0.0, 0.0 ], "numoutlets" : 2, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "comment", "text" : "if you give this object a single floating point number, it will lookup the y-value of the function you have hand drawn (with points), and it will output that looked-up value.", "linecount" : 6, "patching_rect" : [ 876.0, 143.0, 191.0, 89.0 ], "id" : "obj-34", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "presentation_rect" : [ 728.0, 118.0, 0.0, 0.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "y", "patching_rect" : [ 231.0, 217.0, 19.0, 20.0 ], "id" : "obj-33", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "presentation_rect" : [ 277.0, 197.0, 0.0, 0.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "x", "patching_rect" : [ 277.0, 88.0, 19.0, 20.0 ], "id" : "obj-32", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "flonum", "patching_rect" : [ 341.0, 37.0, 50.0, 20.0 ], "id" : "obj-30", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "float", "bang" ] } } , { "box" : { "maxclass" : "comment", "text" : "starts at -1, goes to 1, in 3000ms", "patching_rect" : [ 262.0, 259.0, 185.0, 20.0 ], "id" : "obj-28", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "presentation_rect" : [ 308.0, 204.0, 0.0, 0.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "starts at 0, goes to 127 in 3000ms", "patching_rect" : [ 541.0, 204.0, 191.0, 20.0 ], "id" : "obj-27", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "presentation_rect" : [ 541.0, 204.0, 0.0, 0.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "starts at 0, goes to 1 in 3000 milisec", "patching_rect" : [ 530.0, 5.0, 202.0, 20.0 ], "id" : "obj-26", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "function", "patching_rect" : [ 516.0, 96.0, 200.0, 100.0 ], "id" : "obj-20", "range" : [ 0.0, 127.0 ], "domain" : 1.0, "numinlets" : 1, "presentation_rect" : [ 703.0, 96.0, 0.0, 0.0 ], "numoutlets" : 4, "outlettype" : [ "float", "", "", "bang" ], "addpoints" : [ 0.0, 0.0, 0, 0.43617, 60.959999, 0, 0.808511, 62.653332, 0, 1.0, 127.0, 0 ] } } , { "box" : { "maxclass" : "function", "patching_rect" : [ 291.0, 96.0, 200.0, 100.0 ], "id" : "obj-17", "range" : [ -1.0, 1.0 ], "domain" : 1.0, "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "float", "", "", "bang" ], "addpoints" : [ 0.0, -1.0, 0, 0.202128, -0.946667, 0, 0.335106, 0.493333, 0, 0.707447, 0.813333, 0, 0.75, 0.066667, 0, 1.0, 1.0, 0 ] } } , { "box" : { "maxclass" : "message", "text" : "0, 1. 3000.", "patching_rect" : [ 292.0, 4.0, 67.0, 18.0 ], "id" : "obj-14", "fontname" : "Arial", "numinlets" : 2, "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "line 0.", "patching_rect" : [ 292.0, 36.0, 46.0, 20.0 ], "id" : "obj-12", "fontname" : "Arial", "numinlets" : 3, "fontsize" : 12.0, "numoutlets" : 3, "outlettype" : [ "", "", "" ] } } , { "box" : { "maxclass" : "comment", "text" : "0 and 127.", "patching_rect" : [ 367.0, 557.0, 106.0, 20.0 ], "id" : "obj-11", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "presentation_rect" : [ 346.0, 390.0, 0.0, 0.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "gain", "patching_rect" : [ 369.0, 532.0, 106.0, 20.0 ], "id" : "obj-10", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "presentation_rect" : [ 296.0, 322.0, 0.0, 0.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "play speed -1 to 1", "patching_rect" : [ 309.0, 275.0, 106.0, 20.0 ], "id" : "obj-9", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "gain~", "patching_rect" : [ 251.0, 476.0, 107.0, 137.0 ], "id" : "obj-7", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "signal", "int" ] } } , { "box" : { "maxclass" : "multislider", "patching_rect" : [ 251.0, 306.0, 162.0, 22.0 ], "id" : "obj-6", "orientation" : 0, "numinlets" : 1, "contdata" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "sig~", "patching_rect" : [ 251.0, 366.0, 33.0, 20.0 ], "id" : "obj-4", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "signal" ] } } , { "box" : { "maxclass" : "flonum", "patching_rect" : [ 251.0, 340.0, 50.0, 20.0 ], "id" : "obj-3", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "float", "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "groove~", "patching_rect" : [ 251.0, 393.0, 54.0, 20.0 ], "id" : "obj-1", "fontname" : "Arial", "numinlets" : 3, "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ] } } ], "lines" : [ { "patchline" : { "source" : [ "obj-39", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-38", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-36", 0 ], "hidden" : 1, "midpoints" : [ 265.0, 82.0, 265.0, 183.0, 289.0, 214.0 ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ 300.5, 218.0, 506.0, 218.0, 506.0, 104.0, 497.799988, 104.0 ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-30", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ 525.5, 381.0 ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }