diff --git a/Press-a-Sketch/Press-a-Sketch.maxproj b/Press-a-Sketch/Press-a-Sketch.maxproj index 16fb616..44ec01f 100644 --- a/Press-a-Sketch/Press-a-Sketch.maxproj +++ b/Press-a-Sketch/Press-a-Sketch.maxproj @@ -2,7 +2,7 @@ "name" : "Press-a-Sketch", "version" : 1, "creationdate" : -732900327, - "modificationdate" : -732830694, + "modificationdate" : -732713434, "viewrect" : [ 25.0, 69.0, 300.0, 500.0 ], "autoorganize" : 1, "hideprojectwindow" : 0, @@ -14,6 +14,11 @@ "kind" : "patcher", "local" : 1 } +, + "GUI_GrainDisplay.maxpat" : { + "kind" : "patcher", + "local" : 1 + } , "main.maxpat" : { "kind" : "patcher", @@ -46,9 +51,33 @@ } , "externals" : { + "dynamic.in~.mxo" : { + "kind" : "object" + } +, + "dynamic.this~.mxo" : { + "kind" : "object" + } +, "depack.mxo" : { "kind" : "object" } +, + "dynamic.out~.mxo" : { + "kind" : "object" + } +, + "ibufconcatedrive~.mxo" : { + "kind" : "object" + } +, + "randomvals~.mxo" : { + "kind" : "object" + } +, + "dynamicdsp~.mxo" : { + "kind" : "object" + } } diff --git a/Press-a-Sketch/code/Rodriguez_pitcher.gendsp b/Press-a-Sketch/code/Rodriguez_pitcher.gendsp index 8216c46..fca3eba 100644 --- a/Press-a-Sketch/code/Rodriguez_pitcher.gendsp +++ b/Press-a-Sketch/code/Rodriguez_pitcher.gendsp @@ -8,7 +8,7 @@ "architecture" : "x86" } , - "rect" : [ 0.0, 45.0, 1155.0, 693.0 ], + "rect" : [ 0.0, 44.0, 922.0, 693.0 ], "bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ], "bglocked" : 0, "openinpresentation" : 0, @@ -29,6 +29,34 @@ "digest" : "", "tags" : "", "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 86.0, 27.0, 30.0, 20.0 ], + "text" : "in 4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 23.5, 138.0, 40.0, 20.0 ], + "text" : "sah 0" + } + + } +, { "box" : { "fontname" : "Arial", "fontsize" : 12.0, @@ -37,7 +65,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 171.0, 177.0, 30.0, 20.0 ], + "patching_rect" : [ 23.5, 26.0, 30.0, 20.0 ], "text" : "in 3" } @@ -55,20 +83,6 @@ "text" : "phasor" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 23.5, 63.0, 105.0, 20.0 ], - "text" : "param window 20" - } - } , { "box" : { @@ -980,7 +994,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 56.333328, 147.0, 45.0, 20.0 ], + "patching_rect" : [ 101.0, 115.0, 45.0, 20.0 ], "text" : "* 1000" } @@ -994,7 +1008,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 56.333328, 120.0, 31.0, 20.0 ], + "patching_rect" : [ 101.0, 88.0, 31.0, 20.0 ], "text" : "!- 1." } @@ -1008,7 +1022,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 56.333328, 90.0, 172.0, 20.0 ], + "patching_rect" : [ 101.0, 58.0, 172.0, 20.0 ], "text" : "in 2 @comment \"shift amount\"" } @@ -1064,8 +1078,8 @@ "numinlets" : 5, "numoutlets" : 4, "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 23.5, 540.0, 622.333313, 20.0 ], - "text" : "delay 88200 4" + "patching_rect" : [ 23.5, 540.0, 93.0, 20.0 ], + "text" : "delay 188200 4" } } @@ -1287,6 +1301,24 @@ "source" : [ "obj-10", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + } , { "patchline" : { @@ -1426,7 +1458,7 @@ } , { "patchline" : { - "destination" : [ "obj-75", 1 ], + "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] @@ -2212,16 +2244,7 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-9", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 1 ], + "destination" : [ "obj-11", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] diff --git a/Press-a-Sketch/code/delaynoint.gendsp b/Press-a-Sketch/code/delaynoint.gendsp index 7110244..6c51b88 100644 --- a/Press-a-Sketch/code/delaynoint.gendsp +++ b/Press-a-Sketch/code/delaynoint.gendsp @@ -29,6 +29,92 @@ "digest" : "", "tags" : "", "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 238.333328, 286.0, 37.0, 20.0 ], + "text" : "delta" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-60", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 99.333328, 235.0, 120.0, 47.0 ], + "text" : "update delay at phasor loop to prevent clicks" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 217.333328, 314.0, 40.0, 20.0 ], + "text" : "sah 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 217.333328, 249.0, 72.0, 20.0 ], + "text" : "mstosamps" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 288.0, 249.0, 31.0, 20.0 ], + "text" : "% 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-6", + "linecount" : 6, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 319.75, 136.0, 150.0, 87.0 ], + "text" : "Interpolation free delay to allow sample accurate delaying of a phasor. Couldn't find a max object that did this without interpolation..." + } + + } +, { "box" : { "fontname" : "Arial", "fontsize" : 12.0, @@ -37,7 +123,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 150.75, 169.0, 158.0, 20.0 ], + "patching_rect" : [ 150.75, 362.0, 158.0, 20.0 ], "text" : "delay 441000 @interp none" } @@ -51,7 +137,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 14.0, 30.0, 20.0 ], + "patching_rect" : [ 150.75, 136.0, 30.0, 20.0 ], "text" : "in 1" } @@ -65,7 +151,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 305.0, 14.0, 30.0, 20.0 ], + "patching_rect" : [ 289.75, 136.0, 30.0, 20.0 ], "text" : "in 2" } @@ -78,13 +164,22 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 176.0, 418.0, 37.0, 20.0 ], + "patching_rect" : [ 150.75, 399.0, 37.0, 20.0 ], "text" : "out 1" } } ], "lines" : [ { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, @@ -95,12 +190,49 @@ } , { "patchline" : { - "destination" : [ "obj-5", 1 ], + "color" : [ 0.0, 0.501961, 0.501961, 1.0 ], + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + } , { "patchline" : { diff --git a/Press-a-Sketch/patchers/ArduinoInterface.maxpat b/Press-a-Sketch/patchers/ArduinoInterface.maxpat index 5d2492a..0790ea2 100644 --- a/Press-a-Sketch/patchers/ArduinoInterface.maxpat +++ b/Press-a-Sketch/patchers/ArduinoInterface.maxpat @@ -28,6 +28,21 @@ "digest" : "", "tags" : "", "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-8", + "linecount" : 5, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 112.0, 71.03968, 150.0, 74.0 ], + "text" : "Read values from the arduino into a list.\n\nCode adapted from the max serial tutorial." + } + + } +, { "box" : { "comment" : "Toggle to begin", "id" : "obj-5", @@ -141,8 +156,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 15.0, 97.079361, 65.0, 20.0 ], - "text" : "metro 100" + "patching_rect" : [ 15.0, 97.079361, 58.0, 20.0 ], + "text" : "metro 50" } } diff --git a/Press-a-Sketch/patchers/GrainSynth.maxpat b/Press-a-Sketch/patchers/GrainSynth.maxpat index 80f8895..71d5bb4 100644 --- a/Press-a-Sketch/patchers/GrainSynth.maxpat +++ b/Press-a-Sketch/patchers/GrainSynth.maxpat @@ -28,6 +28,138 @@ "digest" : "", "tags" : "", "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-46", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 45.0, 633.5, 150.0, 33.0 ], + "text" : "Pitch shift grains by a positive or negative factor" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-42", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 45.0, 525.0, 150.0, 47.0 ], + "text" : "Convert parameters to format for grain playback using the play~ object" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-33", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 464.166687, 445.285767, 109.0, 47.0 ], + "text" : "Output new grain start time on each phasor cycle" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-10", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 473.166687, 373.571533, 91.0, 33.0 ], + "text" : "Trigger when phasor restarts" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-16", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 584.166626, 39.571533, 81.0, 20.0 ], + "text" : "Grain size in" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 584.166626, 59.571533, 85.0, 20.0 ], + "text" : "dynamic.in~ 4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 304.0, 487.0, 60.0, 20.0 ], + "text" : "selector~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-40", + "linecount" : 6, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 702.791687, 373.571533, 150.0, 87.0 ], + "text" : "Make sure audio is working in dynamicdsp. A hack that might be part of a bug with dynamicdsp. Need to message the creator." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-30", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 247.5, 735.0, 150.0, 33.0 ], + "text" : "Apply hanning window to output grain" + } + + } +, { "box" : { "fontname" : "Arial", "fontsize" : 12.0, @@ -35,13 +167,9 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 658.0, 586.0, 30.0, 20.0 ], - "saved_object_attributes" : { - "attr_comment" : "" - } -, - "text" : "in 2" + "outlettype" : [ "signal" ], + "patching_rect" : [ 253.166672, 640.0, 85.0, 20.0 ], + "text" : "dynamic.in~ 3" } } @@ -54,7 +182,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 627.0, 548.0, 72.0, 20.0 ], + "patching_rect" : [ 229.916672, 610.0, 72.0, 20.0 ], "text" : "loadmess 1" } @@ -67,7 +195,7 @@ "fontsize" : 12.0, "id" : "obj-293", "maxclass" : "newobj", - "numinlets" : 4, + "numinlets" : 5, "numoutlets" : 1, "outlettype" : [ "signal" ], "patcher" : { @@ -99,6 +227,30 @@ "digest" : "", "tags" : "", "boxes" : [ { + "box" : { + "comment" : "", + "id" : "obj-5", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 274.0, 11.049042, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 227.0, 11.049042, 25.0, 25.0 ] + } + + } +, { "box" : { "fontname" : "Arial", "fontsize" : 12.0, @@ -112,18 +264,6 @@ "text" : "Ref: this pitch shifter gen patch was adapted from: https://cycling74.com/forums/topic/how-to-get-glitchy-whammy-pedal-style-pitch-shifting/\n\nThe patch has been modified to accept ratio shifts at signal rate and a smaller window has been applied to avoid clicks with small grains." } - } -, { - "box" : { - "comment" : "", - "id" : "obj-3", - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 255.0, 47.0, 25.0, 25.0 ] - } - } , { "box" : { @@ -131,7 +271,7 @@ "fontsize" : 12.0, "id" : "obj-47", "maxclass" : "newobj", - "numinlets" : 3, + "numinlets" : 4, "numoutlets" : 1, "outlettype" : [ "signal" ], "patcher" : { @@ -162,15 +302,28 @@ "description" : "", "digest" : "", "tags" : "", + "visible" : 1, "boxes" : [ { + "box" : { + "comment" : "", + "id" : "obj-4", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 251.0, 101.0, 25.0, 25.0 ] + } + + } +, { "box" : { "comment" : "", "id" : "obj-1", "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 217.0, 37.0, 25.0, 25.0 ] + "outlettype" : [ "signal" ], + "patching_rect" : [ 233.0, 51.0, 25.0, 25.0 ] } } @@ -223,9 +376,9 @@ "fontsize" : 12.0, "id" : "obj-2", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "signal" ], + "numinlets" : 4, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], "patching_rect" : [ 34.0, 132.0, 138.0, 20.0 ], "text" : "gen~ Rodriguez_pitcher" } @@ -238,7 +391,7 @@ "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "signal" ], + "outlettype" : [ "" ], "patching_rect" : [ 34.0, 26.0, 25.0, 25.0 ] } @@ -250,7 +403,7 @@ "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "" ], + "outlettype" : [ "signal" ], "patching_rect" : [ 157.0, 26.0, 25.0, 25.0 ] } @@ -268,6 +421,15 @@ } ], "lines" : [ { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { "patchline" : { "destination" : [ "obj-8", 0 ], "disabled" : 0, @@ -293,6 +455,15 @@ "source" : [ "obj-3", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + } , { "patchline" : { @@ -696,8 +867,8 @@ "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.022736, 11.049042, 25.0, 25.0 ] + "outlettype" : [ "signal" ], + "patching_rect" : [ 175.022736, 11.049042, 25.0, 25.0 ] } } @@ -779,6 +950,7 @@ "destination" : [ "obj-47", 2 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 236.5, 153.147125, 184.522736, 153.147125 ], "source" : [ "obj-3", 0 ] } @@ -857,12 +1029,23 @@ "source" : [ "obj-47", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-47", 3 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 283.5, 158.147125, 219.522736, 158.147125 ], + "source" : [ "obj-5", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-47", 1 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 184.522736, 147.147125, 149.522736, 147.147125 ], "source" : [ "obj-6", 0 ] } @@ -879,7 +1062,7 @@ ] } , - "patching_rect" : [ 596.0, 633.0, 112.0, 20.0 ], + "patching_rect" : [ 206.666672, 685.0, 112.0, 20.0 ], "saved_object_attributes" : { "default_fontface" : 0, "default_fontname" : "Arial", @@ -907,7 +1090,7 @@ "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 1315.0, 193.571533, 50.0, 20.0 ] + "patching_rect" : [ 824.916687, 212.571533, 50.0, 20.0 ] } } @@ -920,7 +1103,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 373.0, 442.0, 72.0, 20.0 ], + "patching_rect" : [ 624.791687, 373.571533, 72.0, 20.0 ], "text" : "loadmess 1" } @@ -933,39 +1116,10 @@ "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 0, - "patching_rect" : [ 375.0, 495.0, 37.0, 20.0 ], + "patching_rect" : [ 624.791687, 405.0, 37.0, 20.0 ], "text" : "dac~" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-30", - "maxclass" : "number~", - "mode" : 2, - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "signal", "float" ], - "patching_rect" : [ 162.0, 451.0, 56.0, 20.0 ], - "sig" : 0.0 - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 161.0, 396.0, 46.0, 20.0 ], - "text" : "noise~" - } - } , { "box" : { @@ -976,7 +1130,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 596.0, 690.0, 32.5, 20.0 ], + "patching_rect" : [ 206.666672, 795.0, 32.5, 20.0 ], "text" : "*~" } @@ -990,7 +1144,7 @@ "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 993.0, 420.0, 136.0, 20.0 ], + "patching_rect" : [ 450.666687, 741.5, 136.0, 20.0 ], "text" : "wave~ HanningWindow" } @@ -1005,7 +1159,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 510.0, 435.0, 33.0, 20.0 ], + "patching_rect" : [ 206.666672, 487.0, 33.0, 20.0 ], "text" : "sig~" } @@ -1019,7 +1173,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 510.0, 407.0, 72.0, 20.0 ], + "patching_rect" : [ 206.666672, 459.0, 72.0, 20.0 ], "text" : "loadmess 1" } @@ -1034,7 +1188,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 818.0, 420.0, 38.0, 20.0 ], + "patching_rect" : [ 393.666687, 397.571533, 38.0, 20.0 ], "text" : "<~ 0." } @@ -1049,7 +1203,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 818.0, 396.0, 44.0, 20.0 ], + "patching_rect" : [ 393.666687, 373.571533, 44.0, 20.0 ], "text" : "delta~" } @@ -1063,7 +1217,7 @@ "numinlets" : 4, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], - "patching_rect" : [ 595.0, 483.0, 165.0, 20.0 ], + "patching_rect" : [ 206.666672, 525.0, 165.0, 20.0 ], "text" : "ibufconcatedrive~ grainbuff 0" } @@ -1077,7 +1231,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "bang" ], - "patching_rect" : [ 595.0, 522.0, 89.0, 20.0 ], + "patching_rect" : [ 206.666672, 564.0, 89.0, 20.0 ], "text" : "play~ grainbuff" } @@ -1090,55 +1244,10 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 596.0, 721.0, 92.0, 20.0 ], + "patching_rect" : [ 206.666672, 840.0, 92.0, 20.0 ], "text" : "dynamic.out~ 1" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-18", - "maxclass" : "number~", - "mode" : 2, - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "signal", "float" ], - "patching_rect" : [ 144.0, 224.0, 56.0, 20.0 ], - "sig" : 0.0 - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-10", - "maxclass" : "number~", - "mode" : 2, - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "signal", "float" ], - "patching_rect" : [ 58.0, 224.0, 56.0, 20.0 ], - "sig" : 0.0 - } - - } -, { - "box" : { - "annotation" : "Hold the current values until they are replaced with the next value", - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 110.666626, 114.571533, 35.0, 20.0 ], - "text" : ">~ 0" - } - } , { "box" : { @@ -1150,22 +1259,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 188.999939, 144.571533, 37.0, 20.0 ], - "text" : "sah~" - } - - } -, { - "box" : { - "annotation" : "Hold the current values until they are replaced with the next value", - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 92.666626, 144.571533, 37.0, 20.0 ], + "patching_rect" : [ 345.0, 432.571533, 37.0, 20.0 ], "text" : "sah~" } @@ -1179,39 +1273,10 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 188.999939, 66.571533, 85.0, 20.0 ], + "patching_rect" : [ 345.0, 39.571533, 85.0, 20.0 ], "text" : "Start time in" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "frgb" : 0.0, - "id" : "obj-15", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 92.666626, 53.571533, 85.0, 33.0 ], - "text" : "Item Number in" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 92.666626, 86.571533, 85.0, 20.0 ], - "text" : "dynamic.in~ 1" - } - } , { "box" : { @@ -1222,23 +1287,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 188.999939, 86.571533, 85.0, 20.0 ], - "text" : "dynamic.in~ 2" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-5", - "maxclass" : "number~", - "mode" : 2, - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "signal", "float" ], - "patching_rect" : [ 930.0, 391.0, 56.0, 20.0 ], - "sig" : 0.0 + "patching_rect" : [ 345.0, 59.571533, 85.0, 20.0 ], + "text" : "dynamic.in~ 1" } } @@ -1252,7 +1302,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1203.0, 245.571533, 150.0, 74.0 ], + "patching_rect" : [ 721.916687, 254.571533, 162.0, 74.0 ], "text" : "Calculate the delay in samples for this instance based on the instance number, overlap factor and grain size." } @@ -1267,7 +1317,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 993.0, 304.571533, 96.0, 20.0 ], + "patching_rect" : [ 450.666687, 330.571533, 96.0, 20.0 ], "text" : "gen~ delaynoint" } @@ -1281,25 +1331,10 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 1198.5, 124.571533, 32.5, 20.0 ], + "patching_rect" : [ 708.416687, 143.571533, 32.5, 20.0 ], "text" : "t i b" } - } -, { - "box" : { - "annotation" : "Unpack the grain size and overlap factor", - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1117.75, 79.571533, 59.0, 20.0 ], - "text" : "depack 2" - } - } , { "box" : { @@ -1309,7 +1344,7 @@ "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 1287.0, 193.571533, 20.0, 20.0 ] + "patching_rect" : [ 796.916687, 212.571533, 20.0, 20.0 ] } } @@ -1321,7 +1356,7 @@ "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 1249.5, 193.571533, 20.0, 20.0 ] + "patching_rect" : [ 759.416687, 212.571533, 20.0, 20.0 ] } } @@ -1334,9 +1369,9 @@ "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 1117.75, 235.571533, 32.5, 20.0 ], - "text" : "* 0." + "outlettype" : [ "signal" ], + "patching_rect" : [ 609.666626, 254.571533, 36.0, 20.0 ], + "text" : "*~ 0." } } @@ -1349,25 +1384,10 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 1212.0, 193.571533, 32.5, 20.0 ], + "patching_rect" : [ 721.916687, 212.571533, 32.5, 20.0 ], "text" : "- 1" } - } -, { - "box" : { - "annotation" : "Convert the offset from milliseconds to samples.", - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-33", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "signal", "float" ], - "patching_rect" : [ 1117.75, 272.571533, 79.0, 20.0 ], - "text" : "mstosamps~" - } - } , { "box" : { @@ -1375,12 +1395,11 @@ "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-32", - "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1151.375, 40.571533, 126.75, 33.0 ], - "text" : "Grain Size and overlap" + "patching_rect" : [ 708.416687, 39.571533, 126.75, 20.0 ], + "text" : "Overlap in" } } @@ -1393,7 +1412,11 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1117.75, 40.571533, 30.0, 20.0 ], + "patching_rect" : [ 708.416687, 59.571533, 30.0, 20.0 ], + "saved_object_attributes" : { + "attr_comment" : "" + } +, "text" : "in 1" } @@ -1408,7 +1431,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "int", "int", "int" ], - "patching_rect" : [ 1212.0, 158.571533, 94.0, 20.0 ], + "patching_rect" : [ 721.916687, 177.571533, 94.0, 20.0 ], "text" : "dynamic.this~ 1" } @@ -1422,9 +1445,9 @@ "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 1117.75, 165.571533, 32.5, 20.0 ], - "text" : "/ 0." + "outlettype" : [ "signal" ], + "patching_rect" : [ 609.666626, 184.571533, 34.0, 20.0 ], + "text" : "/~ 0." } } @@ -1437,7 +1460,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 993.0, 203.071533, 85.0, 20.0 ], + "patching_rect" : [ 450.666687, 39.571533, 85.0, 20.0 ], "text" : "Phasor in" } @@ -1451,8 +1474,92 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 993.0, 223.071533, 85.0, 20.0 ], - "text" : "dynamic.in~ 3" + "patching_rect" : [ 450.666687, 59.571533, 85.0, 20.0 ], + "text" : "dynamic.in~ 2" + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-44", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 32.666672, 600.0, 357.333313, 120.0 ], + "presentation_rect" : [ 35.666672, 600.214233, 0.0, 0.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-43", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 32.666672, 519.214233, 357.333313, 73.571533 ], + "presentation_rect" : [ 36.666687, 514.428467, 0.0, 0.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-38", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 295.5, 425.0, 284.166687, 87.571533 ], + "presentation_rect" : [ 105.0, 437.428467, 0.0, 0.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-22", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 165.0, 730.785767, 435.0, 94.214233 ], + "presentation_rect" : [ 260.0, 670.428467, 0.0, 0.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-18", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 618.666687, 363.428467, 246.0, 109.571533 ], + "presentation_rect" : [ 431.0, 376.428467, 0.0, 0.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-15", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 387.666687, 363.428467, 192.0, 61.571533 ], + "presentation_rect" : [ 200.0, 375.0, 0.0, 0.0 ] } } @@ -1465,7 +1572,7 @@ "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1098.0, 26.0, 255.0, 293.571533 ] + "patching_rect" : [ 555.666687, 26.0, 341.0, 324.571533 ] } } @@ -1475,7 +1582,7 @@ "destination" : [ "obj-23", 1 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 1208.0, 155.071533, 1140.75, 155.071533 ], + "midpoints" : [ 717.916687, 174.071533, 634.166626, 174.071533 ], "source" : [ "obj-13", 0 ] } @@ -1491,18 +1598,20 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], + "destination" : [ "obj-25", 1 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-16", 0 ] + "midpoints" : [ 403.166687, 429.785767, 372.5, 429.785767 ], + "source" : [ "obj-173", 0 ] } } , { "patchline" : { - "destination" : [ "obj-25", 1 ], + "destination" : [ "obj-293", 4 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 403.166687, 676.785767, 309.166687, 676.785767 ], "source" : [ "obj-173", 0 ] } @@ -1512,6 +1621,17 @@ "destination" : [ "obj-3", 3 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 403.166687, 515.785767, 362.166687, 515.785767 ], + "source" : [ "obj-173", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 403.166687, 466.785767, 313.5, 466.785767 ], "source" : [ "obj-173", 0 ] } @@ -1551,15 +1671,6 @@ "source" : [ "obj-21", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-22", 0 ] - } - } , { "patchline" : { @@ -1608,16 +1719,7 @@ } , { "patchline" : { - "destination" : [ "obj-18", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 2 ], + "destination" : [ "obj-5", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-25", 0 ] @@ -1641,15 +1743,6 @@ "source" : [ "obj-28", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-16", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-29", 0 ] - } - } , { "patchline" : { @@ -1671,35 +1764,26 @@ } , { "patchline" : { - "destination" : [ "obj-8", 0 ], + "destination" : [ "obj-13", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-31", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-39", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-33", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-35", 1 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 1221.5, 224.071533, 1140.75, 224.071533 ], + "midpoints" : [ 731.416687, 243.071533, 636.166626, 243.071533 ], "source" : [ "obj-34", 0 ] } } , { "patchline" : { - "destination" : [ "obj-33", 0 ], + "destination" : [ "obj-39", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-35", 0 ] @@ -1723,15 +1807,6 @@ "source" : [ "obj-39", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-39", 0 ] - } - } , { "patchline" : { @@ -1750,13 +1825,22 @@ "source" : [ "obj-4", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-21", 1 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 1002.5, 670.5, 619.0, 670.5 ], + "midpoints" : [ 460.166687, 777.5, 229.666672, 777.5 ], "source" : [ "obj-51", 0 ] } @@ -1769,41 +1853,23 @@ "source" : [ "obj-6", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 1167.25, 112.071533, 1208.0, 112.071533 ], - "source" : [ "obj-8", 1 ] - } - } , { "patchline" : { "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-8", 0 ] + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-293", 3 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 593.666626, 666.785767, 285.916687, 666.785767 ], + "source" : [ "obj-7", 0 ] } } @@ -1818,13 +1884,6 @@ } ], "dependency_cache" : [ { - "name" : "delaynoint.gendsp", - "bootpath" : "/Users/samuelperry/QMUL_Work/IDMT/Assignment_3/Press-a-Sketch/code", - "patcherrelativepath" : "../code", - "type" : "gDSP", - "implicit" : 1 - } -, { "name" : "dynamic.in~.mxo", "type" : "iLaX" } @@ -1832,10 +1891,6 @@ "name" : "dynamic.this~.mxo", "type" : "iLaX" } -, { - "name" : "depack.mxo", - "type" : "iLaX" - } , { "name" : "dynamic.out~.mxo", "type" : "iLaX" diff --git a/Press-a-Sketch/patchers/main.maxpat b/Press-a-Sketch/patchers/main.maxpat index da56d71..c2f5d0e 100644 --- a/Press-a-Sketch/patchers/main.maxpat +++ b/Press-a-Sketch/patchers/main.maxpat @@ -8,9 +8,9 @@ "architecture" : "x86" } , - "rect" : [ 0.0, 0.0, 1366.0, 768.0 ], + "rect" : [ 0.0, 44.0, 1366.0, 698.0 ], "bglocked" : 0, - "openinpresentation" : 0, + "openinpresentation" : 1, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", @@ -28,13 +28,1833 @@ "digest" : "", "tags" : "", "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-67", + "linecount" : 8, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 776.257996, 50.649017, 298.0, 114.0 ], + "text" : "Notes: No send and recieve objects were used in this patch by design. Although it was suggested that these should be used in lectures for cleaner patches, they are known to introduce unnecesary and unpredictable latency both at max level and at signal level (at least in Max 6, unsure if this is an issue in Max 7). For this reason they have been avoided for more consistent performance of the patch." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-53", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 771.757935, 1037.0, 147.0, 60.0 ], + "text" : "Handle grain synthesis by generating 4 parallel patch instances driven by a single phasor" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 366.257965, 636.0, 33.0, 20.0 ], + "text" : "sig~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 236.757935, 606.0, 36.0, 20.0 ], + "text" : "line~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 236.757935, 576.0, 67.0, 20.0 ], + "text" : "append 10" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-69", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 747.0, 842.046875, 36.0, 20.0 ], + "text" : "line~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-78", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 747.0, 812.046875, 67.0, 20.0 ], + "text" : "append 15" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-66", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1300.734009, 56.0, 150.0, 20.0 ], + "text" : "Graphic User Interface" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-56", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.757935, 486.0, 63.0, 20.0 ], + "text" : "Amplitude" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-103", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 704.0, 1212.0, 120.0, 33.0 ], + "text" : "Master volume control" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-99", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 644.0, 441.0, 195.0, 33.0 ], + "text" : "Sample position cannot be more than the size of the buffer" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-92", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 42.757935, 576.0, 105.0, 60.0 ], + "text" : "interpolate volume and pitch adjustments over 10 ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-89", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1034.0, 812.046875, 150.0, 33.0 ], + "text" : "Load 4 instances of the grain synthesis patcher" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-86", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 260.090881, 717.821289, 113.909103, 60.0 ], + "text" : "Generate random values in the range specified by input from the pots" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-83", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 709.621033, 233.270111, 107.257935, 47.0 ], + "text" : "Load audio file into a buffer and get buffer size" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-79", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 750.257935, 396.0, 75.0, 20.0 ], + "text" : "Scale pots" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-71", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 10, + "architecture" : "x86" + } +, + "rect" : [ 0.0, 18.0, 1366.0, 700.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-2", + "linecount" : 5, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 405.0, 90.0, 167.0, 74.0 ], + "text" : "Set current reading from sensors to be the floor of the input + 5. This ensures that all reading are at zero when at rest." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-158", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 312.500092, 120.0, 32.5, 20.0 ], + "text" : "+ 5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-157", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 234.249969, 120.0, 32.5, 20.0 ], + "text" : "+ 5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-156", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 150.499969, 120.0, 32.5, 20.0 ], + "text" : "+ 5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-155", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 69.742004, 120.0, 32.5, 20.0 ], + "text" : "+ 5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-145", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 299.000092, 180.0, 69.0, 20.0 ], + "text" : "clip 0 1024" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-144", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 215.999969, 180.0, 69.0, 20.0 ], + "text" : "clip 0 1024" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-143", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 132.999969, 180.0, 69.0, 20.0 ], + "text" : "clip 0 1024" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-142", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 180.0, 69.0, 20.0 ], + "text" : "clip 0 1024" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-87", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 312.500092, 90.0, 32.5, 20.0 ], + "text" : "int" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-86", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 234.249969, 90.0, 32.5, 20.0 ], + "text" : "int" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-85", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 150.499969, 90.0, 32.5, 20.0 ], + "text" : "int" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-84", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 69.742004, 90.0, 32.5, 20.0 ], + "text" : "int" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-80", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 299.000092, 150.0, 32.5, 20.0 ], + "text" : "- 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-79", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 215.999969, 150.0, 37.25, 20.0 ], + "text" : "- 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-78", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 132.999969, 150.0, 36.5, 20.0 ], + "text" : "- 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-71", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 50.0, 150.0, 38.742004, 20.0 ], + "text" : "- 0" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-47", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-48", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 405.0, 40.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-49", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 132.999969, 40.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-51", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 215.999969, 40.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-53", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 299.000092, 40.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-56", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 210.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-65", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 132.999969, 210.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-67", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 215.999969, 210.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-69", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 299.000092, 210.0, 25.0, 25.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-142", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-143", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-144", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-69", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-145", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-155", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-78", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-156", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-79", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-157", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-80", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-158", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-84", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-84", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 414.5, 82.0, 79.242004, 82.0 ], + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-85", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 414.5, 82.0, 159.999969, 82.0 ], + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 414.5, 82.0, 243.749969, 82.0 ], + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 414.5, 82.0, 322.000092, 82.0 ], + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-78", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-85", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-79", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-80", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-142", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-71", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-143", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-144", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-79", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-145", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-80", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-155", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-84", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-156", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-85", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-157", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-86", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-158", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-87", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 314.0, 286.0, 117.0, 20.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p CalibrateInput" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-82", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 10, + "architecture" : "x86" + } +, + "rect" : [ 0.0, 22.0, 1366.0, 674.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 416.159058, 444.0, 75.0, 20.0 ], + "text" : "clip 20 3000" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-9", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 552.159058, 363.0, 150.0, 47.0 ], + "text" : "Scale to arbritrary values that were deemed to work the best in testing" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-141", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 177.909103, 376.5, 113.0, 20.0 ], + "text" : "scale 350 -600 0. 3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-109", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 416.159058, 376.5, 129.0, 20.0 ], + "text" : "scale -370 370 20 500" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-56", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 52.5, 255.861938, 59.5, 20.0 ], + "text" : "pak i i i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 52.5, 284.854919, 63.0, 20.0 ], + "text" : "maximum" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 52.5, 318.813904, 105.0, 20.0 ], + "text" : "scale 0 1000 0. 1." + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-6", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 52.5, 497.861938, 25.0, 25.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-3", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 466.159058, 325.861938, 57.0, 20.0 ], + "text" : "Vertical" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-4", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 649.0, 255.861938, 150.0, 47.0 ], + "text" : "Convert sensor values to vertical and horizoltal positions" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-2", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 227.909103, 325.861938, 70.0, 20.0 ], + "text" : "Horizontal" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-140", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 416.159058, 325.861938, 50.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-134", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 416.159058, 299.85498, 32.5, 20.0 ], + "text" : "- 0." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-135", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 530.909058, 223.861938, 32.5, 20.0 ], + "text" : "t b i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-136", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 530.909058, 255.861938, 111.0, 20.0 ], + "text" : "expr ($i1 + $i2) / 2." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-137", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 416.159058, 223.861938, 32.5, 20.0 ], + "text" : "t b i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-138", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 416.159058, 255.861938, 111.0, 20.0 ], + "text" : "expr ($i1 + $i2) / 2." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-128", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 177.909103, 325.861938, 50.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-120", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 177.909103, 299.85498, 32.5, 20.0 ], + "text" : "- 0." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-118", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 292.659058, 223.861938, 32.5, 20.0 ], + "text" : "t b i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-119", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 292.659058, 255.861938, 111.0, 20.0 ], + "text" : "expr ($i1 + $i2) / 2." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-117", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 177.909103, 223.861938, 32.5, 20.0 ], + "text" : "t b i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-116", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 177.909103, 255.861938, 111.0, 20.0 ], + "text" : "expr ($i1 + $i2) / 2." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-88", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 393.909058, 101.0, 33.0, 20.0 ], + "text" : "TR:" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-89", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 310.909058, 101.0, 33.0, 20.0 ], + "text" : "TL:" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-90", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 227.909103, 101.0, 33.0, 20.0 ], + "text" : "BR:" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "frgb" : 0.0, + "id" : "obj-91", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 144.909103, 101.0, 33.0, 20.0 ], + "text" : "BL:" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-92", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 426.90918, 101.0, 50.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-93", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 343.909058, 101.0, 50.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-94", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 260.909058, 101.0, 50.0, 20.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-96", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 177.909103, 101.0, 50.0, 20.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-47", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 177.909103, 41.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-48", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 260.909058, 41.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-49", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 343.909058, 41.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-65", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 426.90918, 41.0, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-67", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 177.909103, 497.861938, 25.0, 25.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-69", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 416.159058, 497.861938, 25.0, 25.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-10", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 28.280136, 363.0, 793.257935, 61.930969 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-7", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 28.280136, 211.396454, 793.257935, 142.930969 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-69", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-109", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-120", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-116", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-116", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-117", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-116", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-117", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-119", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-118", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-119", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-118", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-120", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-119", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-128", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-120", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-141", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-128", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-140", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-134", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-136", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-135", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-136", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-135", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-134", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-136", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-138", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-137", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-138", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-137", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-134", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-138", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-109", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-140", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-141", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-96", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-94", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-93", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-56", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-119", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-92", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-136", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-92", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-92", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-116", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-93", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-135", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-93", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-93", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-118", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-94", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-138", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-94", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-94", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-117", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-96", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-96", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-96", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 314.0, 321.0, 117.0, 20.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 12.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p ScaleParameters" + } + + } +, { "box" : { "id" : "obj-43", "maxclass" : "meter~", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], - "patching_rect" : [ 337.0, 1430.0, 22.0, 140.0 ], + "patching_rect" : [ 682.0, 1203.765869, 22.0, 140.0 ], "presentation" : 1, "presentation_rect" : [ 1161.0, 605.0, 22.0, 140.0 ] } @@ -48,7 +1868,7 @@ "numoutlets" : 2, "outlettype" : [ "signal", "int" ], "parameter_enable" : 0, - "patching_rect" : [ 311.007996, 1430.0, 22.0, 140.0 ], + "patching_rect" : [ 644.5, 1203.765869, 22.0, 140.0 ], "presentation" : 1, "presentation_rect" : [ 1131.008057, 604.0, 22.0, 140.0 ] } @@ -63,7 +1883,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], - "patching_rect" : [ 59.757996, 63.768982, 37.0, 20.0 ], + "patching_rect" : [ 103.0, 130.768982, 37.0, 20.0 ], "text" : "adc~" } @@ -78,7 +1898,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, - "patching_rect" : [ 936.0, 337.0, 100.0, 20.0 ], + "patching_rect" : [ 931.0, 233.270111, 100.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 974.919495, 664.0, 100.0, 20.0 ], "text" : "Open file" @@ -94,8 +1914,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 917.0, 447.0, 35.0, 18.0 ], - "text" : "read" + "patching_rect" : [ 931.0, 260.353394, 50.0, 18.0 ], + "text" : "replace" } } @@ -108,7 +1928,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 805.757996, 403.0, 60.0, 20.0 ], + "patching_rect" : [ 819.757996, 233.270111, 60.0, 20.0 ], "text" : "loadbang" } @@ -122,7 +1942,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 807.0, 660.0, 150.0, 20.0 ], + "patching_rect" : [ 162.0, 104.149017, 60.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 889.919495, 664.0, 55.757996, 20.0 ], "text" : "Activate" @@ -138,220 +1958,10 @@ "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 643.640015, 589.0, 99.0, 20.0 ], + "patching_rect" : [ 498.757935, 396.0, 99.0, 20.0 ], "text" : "scale 1 1024 0 0" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-158", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 533.258057, 223.0, 32.5, 20.0 ], - "text" : "+ 5" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-157", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 455.007965, 223.0, 32.5, 20.0 ], - "text" : "+ 5" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-156", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 371.257965, 223.0, 32.5, 20.0 ], - "text" : "+ 5" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-155", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 290.5, 223.0, 32.5, 20.0 ], - "text" : "+ 5" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-145", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 519.758057, 292.0, 69.0, 20.0 ], - "text" : "clip 0 1024" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-144", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 436.757965, 292.0, 69.0, 20.0 ], - "text" : "clip 0 1024" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-143", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 353.757965, 292.0, 69.0, 20.0 ], - "text" : "clip 0 1024" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-142", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 270.757996, 292.0, 69.0, 20.0 ], - "text" : "clip 0 1024" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-141", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 275.757965, 589.0, 134.0, 20.0 ], - "text" : "zmap 350 -600 0. 2. 10" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-140", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 509.007965, 545.0, 50.0, 20.0 ] - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-134", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 509.007965, 518.993042, 32.5, 20.0 ], - "text" : "- 0." - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-135", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 623.757935, 443.0, 32.5, 20.0 ], - "text" : "t b i" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-136", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 623.757935, 475.0, 111.0, 20.0 ], - "text" : "expr ($i1 + $i2) / 2." - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-137", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 509.007965, 443.0, 32.5, 20.0 ], - "text" : "t b i" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-138", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 509.007965, 475.0, 111.0, 20.0 ], - "text" : "expr ($i1 + $i2) / 2." - } - } , { "box" : { @@ -362,94 +1972,10 @@ "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 288.0, 630.0, 167.399994, 20.0 ], + "patching_rect" : [ 625.757935, 396.0, 123.0, 20.0 ], "text" : "scale 1 1024 0 5000" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-128", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 270.757996, 545.0, 50.0, 20.0 ] - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-120", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 270.757996, 518.993042, 32.5, 20.0 ], - "text" : "- 0." - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-118", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 385.507965, 443.0, 32.5, 20.0 ], - "text" : "t b i" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-119", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 385.507965, 475.0, 111.0, 20.0 ], - "text" : "expr ($i1 + $i2) / 2." - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-117", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 270.757996, 443.0, 32.5, 20.0 ], - "text" : "t b i" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-116", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 270.757996, 475.0, 111.0, 20.0 ], - "text" : "expr ($i1 + $i2) / 2." - } - } , { "box" : { @@ -460,24 +1986,10 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1029.757935, 1250.0, 182.0, 20.0 ], + "patching_rect" : [ 989.0, 921.0, 182.0, 20.0 ], "text" : "sprintf loadpatch %s GrainSynth" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-109", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 509.007965, 589.0, 136.0, 20.0 ], - "text" : "scale -370 370 50 4000" - } - } , { "box" : { @@ -488,7 +2000,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 310.507996, 1398.0, 32.5, 20.0 ], + "patching_rect" : [ 644.0, 1152.0, 32.5, 20.0 ], "text" : "*~" } @@ -502,7 +2014,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "signal", "bang" ], - "patching_rect" : [ 170.757965, 1087.0, 36.0, 20.0 ], + "patching_rect" : [ 147.757935, 606.0, 36.0, 20.0 ], "text" : "line~" } @@ -516,36 +2028,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 170.757965, 1057.0, 67.0, 20.0 ], - "text" : "append 15" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-56", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 170.757965, 534.765015, 59.5, 20.0 ], - "text" : "pak i i i i" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-51", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 170.757965, 583.0, 63.0, 20.0 ], - "text" : "maximum" + "patching_rect" : [ 147.757935, 576.0, 67.0, 20.0 ], + "text" : "append 10" } } @@ -559,21 +2043,7 @@ "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 170.757965, 655.0, 50.0, 20.0 ] - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-53", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 170.757965, 610.0, 105.0, 20.0 ], - "text" : "scale 0 1000 0. 1." + "patching_rect" : [ 147.757935, 486.0, 50.0, 20.0 ] } } @@ -586,234 +2056,10 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1247.0, 193.0, 43.0, 20.0 ], + "patching_rect" : [ 1257.734009, 56.0, 43.0, 20.0 ], "text" : "pak f f" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "frgb" : 0.0, - "id" : "obj-88", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 486.757965, 320.138062, 33.0, 20.0 ], - "text" : "TR:" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "frgb" : 0.0, - "id" : "obj-89", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 403.757965, 320.138062, 33.0, 20.0 ], - "text" : "TL:" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "frgb" : 0.0, - "id" : "obj-90", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 320.757996, 320.138062, 33.0, 20.0 ], - "text" : "BR:" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "frgb" : 0.0, - "id" : "obj-91", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 237.75798, 320.138062, 33.0, 20.0 ], - "text" : "BL:" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-92", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 519.758057, 320.138062, 50.0, 20.0 ] - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-93", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 436.757965, 320.138062, 50.0, 20.0 ] - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-94", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 353.757965, 320.138062, 50.0, 20.0 ] - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-96", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 270.757996, 320.138062, 50.0, 20.0 ] - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-87", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 528.508057, 195.0, 32.5, 20.0 ], - "text" : "int" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-86", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 449.757965, 195.0, 32.5, 20.0 ], - "text" : "int" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-85", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 371.257965, 195.0, 32.5, 20.0 ], - "text" : "int" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-84", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 290.5, 195.0, 32.5, 20.0 ], - "text" : "int" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-80", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 519.758057, 261.0, 32.5, 20.0 ], - "text" : "- 0" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-79", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 436.757965, 261.0, 32.5, 20.0 ], - "text" : "- 0" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-78", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 353.757965, 261.0, 32.5, 20.0 ], - "text" : "- 0" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-71", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 270.757996, 255.0, 32.5, 20.0 ], - "text" : "- 0" - } - } , { "box" : { @@ -824,7 +2070,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 630.0, 40.0, 62.0, 20.0 ], + "patching_rect" : [ 672.242065, 104.149017, 62.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 791.919495, 664.0, 62.0, 20.0 ], "text" : "Calibrate" @@ -838,25 +2084,11 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 610.0, 40.0, 20.0, 20.0 ], + "patching_rect" : [ 652.242065, 104.149017, 20.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 853.919495, 664.0, 20.0, 20.0 ] } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-65", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 786.0, 1101.0, 32.5, 20.0 ], - "text" : "* 4." - } - } , { "box" : { @@ -867,7 +2099,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 426.757965, 775.993042, 150.0, 20.0 ], + "patching_rect" : [ 694.0, 597.986023, 150.0, 20.0 ], "text" : "Minimum grain start (ms)" } @@ -881,25 +2113,10 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 698.757935, 775.993042, 150.0, 20.0 ], + "patching_rect" : [ 694.0, 576.0, 150.0, 20.0 ], "text" : "Maximum grain end (ms)" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "frgb" : 0.0, - "id" : "obj-66", - "linecount" : 5, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 898.257996, 721.993042, 150.0, 74.0 ], - "text" : "Generate random grain positions between (sample position - grain range/2) and (sample position + grain range/2)\n" - } - } , { "box" : { @@ -1227,7 +2444,7 @@ ] } , - "patching_rect" : [ 449.757965, 729.0, 180.999939, 20.0 ], + "patching_rect" : [ 498.757935, 531.0, 146.0, 20.0 ], "saved_object_attributes" : { "default_fontface" : 0, "default_fontname" : "Arial", @@ -1244,20 +2461,6 @@ "text" : "p PosRange2StartEnd" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 337.0, 1141.046875, 74.0, 20.0 ], - "text" : "prepend set" - } - } , { "box" : { @@ -1268,7 +2471,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 409.257965, 1001.046814, 72.0, 20.0 ], + "patching_rect" : [ 392.257935, 717.821289, 72.0, 20.0 ], "text" : "loadmess 1" } @@ -1282,7 +2485,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 1195.177124, 1101.0, 60.0, 20.0 ], + "patching_rect" : [ 962.0, 1011.0, 60.0, 20.0 ], "text" : "loadbang" } @@ -1296,7 +2499,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1243.734009, 1135.0, 150.0, 20.0 ], + "patching_rect" : [ 1010.556885, 1045.0, 150.0, 20.0 ], "text" : "Generate Hanning window" } @@ -1310,7 +2513,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 1195.177124, 1135.0, 46.0, 20.0 ], + "patching_rect" : [ 962.0, 1045.0, 46.0, 20.0 ], "text" : "t b b b" } @@ -1324,7 +2527,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1312.234009, 1169.0, 113.0, 18.0 ], + "patching_rect" : [ 1079.056885, 1079.0, 113.0, 18.0 ], "text" : "sizeinsamps 44100" } @@ -1338,7 +2541,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1195.177124, 1169.0, 85.0, 18.0 ], + "patching_rect" : [ 962.0, 1079.0, 85.0, 18.0 ], "text" : "apply hanning" } @@ -1352,7 +2555,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1280.177124, 1169.0, 32.5, 18.0 ], + "patching_rect" : [ 1047.0, 1079.0, 32.5, 18.0 ], "text" : "fill 1" } @@ -1366,24 +2569,10 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 1195.177124, 1209.0, 139.0, 20.0 ], + "patching_rect" : [ 962.0, 1119.0, 139.0, 20.0 ], "text" : "buffer~ HanningWindow" } - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-60", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 317.257996, 1187.0, 67.0, 20.0 ], - "text" : "append 16" - } - } , { "box" : { @@ -1394,7 +2583,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "float" ], - "patching_rect" : [ 303.757996, 923.0, 32.5, 20.0 ], + "patching_rect" : [ 352.757965, 606.0, 32.5, 20.0 ], "text" : "t f f" } @@ -1408,7 +2597,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 663.0, 850.0, 72.0, 20.0 ], + "patching_rect" : [ 644.0, 636.0, 72.0, 20.0 ], "text" : "loadmess 4" } @@ -1422,13 +2611,14 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 712.0, 886.0, 150.0, 20.0 ], + "patching_rect" : [ 694.0, 666.0, 150.0, 20.0 ], "text" : "Overlap" } } , { "box" : { + "cantchange" : 1, "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-22", @@ -1439,7 +2629,7 @@ "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 662.0, 886.0, 50.0, 20.0 ] + "patching_rect" : [ 644.0, 666.0, 50.0, 20.0 ] } } @@ -1452,7 +2642,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "clear" ], - "patching_rect" : [ 1002.757935, 1178.046875, 53.0, 20.0 ], + "patching_rect" : [ 962.0, 849.046875, 230.056885, 20.0 ], "text" : "t b clear" } @@ -1466,7 +2656,7 @@ "numinlets" : 2, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 1002.757935, 1209.0, 46.0, 20.0 ], + "patching_rect" : [ 962.0, 880.0, 46.0, 20.0 ], "text" : "uzi 4" } @@ -1480,7 +2670,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 1002.757935, 1141.046875, 60.0, 20.0 ], + "patching_rect" : [ 962.0, 812.046875, 60.0, 20.0 ], "text" : "loadbang" } @@ -1495,40 +2685,10 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 838.804993, 967.857117, 115.0, 60.0 ], + "patching_rect" : [ 809.0, 743.896973, 115.0, 60.0 ], "text" : "Generate phasor at the rate of new grains being generated." } - } -, { - "box" : { - "annotation" : "Divide grain size by overlap factor", - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-286", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 786.0, 1015.046814, 32.5, 20.0 ], - "text" : "/ 4." - } - - } -, { - "box" : { - "annotation" : "Scale phasor to run at the rate of a single grain", - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-276", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 792.0, 1204.142822, 48.0, 20.0 ], - "text" : "rate~ 4" - } - } , { "box" : { @@ -1540,7 +2700,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "float" ], - "patching_rect" : [ 786.0, 1045.046875, 47.0, 20.0 ], + "patching_rect" : [ 747.0, 743.896973, 47.0, 20.0 ], "text" : "/ 1000." } @@ -1555,7 +2715,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "float" ], - "patching_rect" : [ 786.0, 1074.046875, 32.5, 20.0 ], + "patching_rect" : [ 747.0, 772.896973, 32.5, 20.0 ], "text" : "!/ 1." } @@ -1569,7 +2729,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 786.0, 1141.046875, 54.0, 20.0 ], + "patching_rect" : [ 747.0, 869.897095, 54.0, 20.0 ], "text" : "phasor~" } @@ -1581,11 +2741,11 @@ "fontsize" : 12.0, "id" : "obj-215", "maxclass" : "newobj", - "numinlets" : 3, + "numinlets" : 4, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 436.257965, 1313.5, 122.0, 20.0 ], - "text" : "dynamicdsp~ 3 1 2 0" + "patching_rect" : [ 644.0, 1064.0, 122.0, 20.0 ], + "text" : "dynamicdsp~ 4 1 1 0" } } @@ -1598,7 +2758,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 409.257965, 1034.046875, 33.0, 20.0 ], + "patching_rect" : [ 392.257935, 740.547485, 33.0, 20.0 ], "text" : "sig~" } @@ -1612,7 +2772,7 @@ "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 409.257965, 1093.046875, 196.5, 20.0 ], + "patching_rect" : [ 392.257935, 786.0, 196.5, 20.0 ], "text" : "scale~ 0 1" } @@ -1627,7 +2787,7 @@ "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 648.757935, 775.993042, 50.0, 20.0 ] + "patching_rect" : [ 644.0, 576.0, 50.0, 20.0 ] } } @@ -1638,10 +2798,10 @@ "id" : "obj-95", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "float", "float", "float" ], - "patching_rect" : [ 965.757996, 613.0, 46.0, 20.0 ], - "text" : "t f f f" + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 979.757996, 396.0, 32.5, 20.0 ], + "text" : "t f f" } } @@ -1655,7 +2815,7 @@ "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 376.757965, 775.993042, 50.0, 20.0 ] + "patching_rect" : [ 644.0, 597.986023, 50.0, 20.0 ] } } @@ -1668,7 +2828,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "int", "int" ], - "patching_rect" : [ 519.758057, 131.0, 50.0, 20.0 ], + "patching_rect" : [ 563.000122, 198.0, 50.0, 20.0 ], "text" : "change" } @@ -1682,7 +2842,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "int", "int" ], - "patching_rect" : [ 436.757965, 131.0, 50.0, 20.0 ], + "patching_rect" : [ 479.999969, 198.0, 50.0, 20.0 ], "text" : "change" } @@ -1696,7 +2856,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "int", "int" ], - "patching_rect" : [ 353.757965, 131.0, 50.0, 20.0 ], + "patching_rect" : [ 396.999969, 198.0, 50.0, 20.0 ], "text" : "change" } @@ -1710,7 +2870,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "int", "int" ], - "patching_rect" : [ 270.757996, 131.0, 50.0, 20.0 ], + "patching_rect" : [ 314.0, 198.0, 50.0, 20.0 ], "text" : "change" } @@ -1724,7 +2884,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "int", "int" ], - "patching_rect" : [ 187.75798, 131.0, 50.0, 20.0 ], + "patching_rect" : [ 230.999985, 198.0, 50.0, 20.0 ], "text" : "change" } @@ -1738,7 +2898,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "int", "int" ], - "patching_rect" : [ 98.757996, 131.0, 50.0, 20.0 ], + "patching_rect" : [ 142.0, 198.0, 50.0, 20.0 ], "text" : "change" } @@ -1752,7 +2912,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 409.257965, 1064.046875, 80.0, 20.0 ], + "patching_rect" : [ 392.257935, 763.273743, 80.0, 20.0 ], "text" : "randomvals~" } @@ -1766,7 +2926,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 449.757965, 662.0, 81.0, 20.0 ], + "patching_rect" : [ 524.0, 441.0, 81.0, 20.0 ], "text" : "prepend max" } @@ -1778,7 +2938,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 884.757996, 521.993042, 20.0, 20.0 ] + "patching_rect" : [ 898.757996, 312.993042, 20.0, 20.0 ] } } @@ -1791,7 +2951,7 @@ "numinlets" : 1, "numoutlets" : 9, "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int" ], - "patching_rect" : [ 884.757996, 545.0, 127.0, 20.0 ], + "patching_rect" : [ 898.757996, 336.0, 127.0, 20.0 ], "text" : "info~ grainbuff" } @@ -1802,7 +2962,7 @@ "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, - "patching_rect" : [ 310.507996, 1614.0, 45.0, 45.0 ] + "patching_rect" : [ 644.0, 1387.765869, 45.0, 45.0 ] } } @@ -1815,7 +2975,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 148.757965, 690.0, 37.757996, 20.0 ], + "patching_rect" : [ 197.757935, 486.0, 37.757996, 20.0 ], "presentation" : 1, "presentation_rect" : [ 293.67746, 664.0, 37.757996, 20.0 ], "text" : "Pitch" @@ -1833,7 +2993,7 @@ "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 187.757965, 690.0, 50.0, 20.0 ], + "patching_rect" : [ 236.757935, 486.0, 50.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 331.612885, 664.0, 50.0, 20.0 ] } @@ -1848,7 +3008,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 499.757965, 690.0, 77.0, 20.0 ], + "patching_rect" : [ 548.757935, 486.0, 77.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 644.5, 664.0, 77.0, 20.0 ], "text" : "Grain Range" @@ -1867,7 +3027,7 @@ "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 576.757935, 690.0, 50.0, 20.0 ], + "patching_rect" : [ 625.757935, 486.0, 50.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 721.677429, 664.0, 50.0, 20.0 ] } @@ -1882,7 +3042,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 353.757965, 690.0, 96.0, 20.0 ], + "patching_rect" : [ 402.757935, 486.0, 96.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 498.145142, 664.0, 96.0, 20.0 ], "text" : "Sample Position" @@ -1902,7 +3062,7 @@ "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 449.757965, 690.0, 50.0, 20.0 ], + "patching_rect" : [ 498.757935, 486.0, 50.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 594.322571, 664.0, 50.0, 20.0 ] } @@ -1917,7 +3077,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 237.757965, 690.0, 66.0, 20.0 ], + "patching_rect" : [ 286.757935, 486.0, 66.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 381.790314, 664.0, 66.0, 20.0 ], "text" : "Grain Size" @@ -1936,7 +3096,7 @@ "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 303.757996, 690.0, 50.0, 20.0 ], + "patching_rect" : [ 352.757965, 486.0, 50.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 447.967743, 664.0, 50.0, 20.0 ] } @@ -1951,7 +3111,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 148.75798, 159.138062, 39.0, 20.0 ], + "patching_rect" : [ 191.999985, 226.138062, 39.0, 20.0 ], "text" : "PotR:" } @@ -1965,7 +3125,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 59.757996, 159.138062, 39.0, 20.0 ], + "patching_rect" : [ 103.0, 226.138062, 39.0, 20.0 ], "text" : "PotL:" } @@ -1980,7 +3140,7 @@ "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 187.75798, 159.138062, 50.0, 20.0 ] + "patching_rect" : [ 230.999985, 226.138062, 50.0, 20.0 ] } } @@ -1994,7 +3154,7 @@ "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 98.757996, 159.138062, 50.0, 20.0 ] + "patching_rect" : [ 142.0, 226.138062, 50.0, 20.0 ] } } @@ -2007,7 +3167,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 486.757965, 159.138062, 33.0, 20.0 ], + "patching_rect" : [ 530.0, 226.138062, 33.0, 20.0 ], "text" : "TR:" } @@ -2021,7 +3181,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 403.757965, 159.138062, 33.0, 20.0 ], + "patching_rect" : [ 446.999969, 226.138062, 33.0, 20.0 ], "text" : "TL:" } @@ -2035,7 +3195,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 320.757996, 159.138062, 33.0, 20.0 ], + "patching_rect" : [ 364.0, 226.138062, 33.0, 20.0 ], "text" : "BR:" } @@ -2049,7 +3209,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 237.75798, 159.138062, 33.0, 20.0 ], + "patching_rect" : [ 260.090881, 226.138062, 33.0, 20.0 ], "text" : "BL:" } @@ -2064,7 +3224,7 @@ "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 519.758057, 159.138062, 50.0, 20.0 ] + "patching_rect" : [ 563.000122, 226.138062, 50.0, 20.0 ] } } @@ -2078,7 +3238,7 @@ "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 436.757965, 159.138062, 50.0, 20.0 ] + "patching_rect" : [ 479.999969, 226.138062, 50.0, 20.0 ] } } @@ -2092,7 +3252,7 @@ "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 353.757965, 159.138062, 50.0, 20.0 ] + "patching_rect" : [ 396.999969, 226.138062, 50.0, 20.0 ] } } @@ -2106,7 +3266,7 @@ "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 270.757996, 159.138062, 50.0, 20.0 ] + "patching_rect" : [ 314.0, 226.138062, 50.0, 20.0 ] } } @@ -2119,7 +3279,7 @@ "numinlets" : 1, "numoutlets" : 6, "outlettype" : [ "", "", "", "", "", "" ], - "patching_rect" : [ 98.757996, 96.117035, 86.5, 20.0 ], + "patching_rect" : [ 142.0, 163.117035, 86.5, 20.0 ], "text" : "depack 6" } @@ -2132,7 +3292,7 @@ "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 98.757996, 37.149017, 20.0, 20.0 ], + "patching_rect" : [ 142.0, 104.149017, 20.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 945.67749, 664.0, 20.0, 20.0 ] } @@ -2147,7 +3307,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 98.757996, 63.768982, 99.0, 20.0 ], + "patching_rect" : [ 142.0, 130.768982, 99.0, 20.0 ], "text" : "ArduinoInterface" } @@ -2161,7 +3321,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 805.757996, 443.0, 84.0, 18.0 ], + "patching_rect" : [ 819.757996, 260.353394, 84.0, 18.0 ], "text" : "read jongly.aif" } @@ -2174,7 +3334,7 @@ "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1429.0, 844.0, 128.0, 128.0 ], + "patching_rect" : [ 1541.234009, 737.0, 799.0, 40.0 ], "presentation" : 1, "presentation_rect" : [ 286.0, 655.0, 799.0, 40.0 ] } @@ -2189,7 +3349,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 805.757996, 496.765015, 98.0, 20.0 ], + "patching_rect" : [ 819.757996, 286.0, 98.0, 20.0 ], "text" : "buffer~ grainbuff" } @@ -2202,11 +3362,129 @@ "name" : "GUI.maxpat", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1243.734009, 243.992996, 1366.0, 768.0 ], + "patching_rect" : [ 1257.734009, 84.992996, 1366.0, 768.0 ], "presentation" : 1, "presentation_rect" : [ 0.0, 0.0, 1366.0, 768.0 ] } + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-60", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 629.0, 1021.006958, 304.757935, 87.0 ], + "presentation_rect" : [ 608.25, 1147.006958, 0.0, 0.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-109", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 943.25, 1000.006958, 263.572876, 165.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-106", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 629.0, 1182.0, 210.0, 180.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-101", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 489.742065, 435.034546, 349.257935, 44.930969 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-94", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 489.742065, 381.069031, 349.257935, 44.930969 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-93", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 29.0, 562.234131, 297.0, 93.765869 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-90", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 944.0, 802.897095, 272.0, 153.102905 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-87", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 254.0, 710.83374, 351.0, 112.063354 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], + "border" : 1, + "id" : "obj-84", + "maxclass" : "panel", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 704.0, 226.138062, 345.0, 139.861938 ] + } + } , { "box" : { @@ -2217,7 +3495,7 @@ "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 728.0, 967.857117, 224.0, 256.285767 ] + "patching_rect" : [ 734.0, 726.707275, 190.0, 170.33252 ] } } @@ -2245,6 +3523,7 @@ "destination" : [ "obj-108", 1 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 157.257935, 1125.5, 667.0, 1125.5 ], "source" : [ "obj-105", 0 ] } @@ -2266,22 +3545,13 @@ "source" : [ "obj-108", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-109", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-72", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 108.257996, 124.627579, 108.257996, 124.627579 ], + "midpoints" : [ 151.5, 191.627563, 151.5, 191.627563 ], "source" : [ "obj-11", 0 ] } @@ -2291,7 +3561,7 @@ "destination" : [ "obj-73", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 121.757996, 124.627579, 197.25798, 124.627579 ], + "midpoints" : [ 165.0, 191.627563, 240.499985, 191.627563 ], "source" : [ "obj-11", 1 ] } @@ -2301,7 +3571,7 @@ "destination" : [ "obj-74", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 135.257996, 124.627579, 280.257996, 124.627579 ], + "midpoints" : [ 178.5, 191.627563, 323.5, 191.627563 ], "source" : [ "obj-11", 2 ] } @@ -2311,7 +3581,7 @@ "destination" : [ "obj-75", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 148.757996, 124.627579, 363.257965, 124.627579 ], + "midpoints" : [ 192.0, 191.627563, 406.499969, 191.627563 ], "source" : [ "obj-11", 3 ] } @@ -2321,7 +3591,7 @@ "destination" : [ "obj-76", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 162.257996, 124.627579, 446.257965, 124.627579 ], + "midpoints" : [ 205.5, 191.627563, 489.499969, 191.627563 ], "source" : [ "obj-11", 4 ] } @@ -2331,88 +3601,17 @@ "destination" : [ "obj-77", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 175.757996, 124.627579, 529.258057, 124.627579 ], + "midpoints" : [ 219.0, 191.627563, 572.500122, 191.627563 ], "source" : [ "obj-11", 5 ] } - } -, { - "patchline" : { - "destination" : [ "obj-120", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-116", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-116", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-117", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-116", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-117", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-118", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-118", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-120", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-119", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-128", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-120", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-141", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-128", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-159", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 151.5, 368.114502, 508.257935, 368.114502 ], "source" : [ "obj-13", 0 ] } @@ -2425,69 +3624,6 @@ "source" : [ "obj-133", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-140", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-134", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-136", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-135", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-136", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-135", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-134", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-136", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-138", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-137", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-138", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-137", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-134", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-138", 0 ] - } - } , { "patchline" : { @@ -2497,105 +3633,16 @@ "source" : [ "obj-14", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-109", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-140", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-141", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-96", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-142", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-94", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-143", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-93", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-92", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-145", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-133", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 240.499985, 354.824036, 635.257935, 354.824036 ], "source" : [ "obj-15", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-71", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-155", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-78", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-156", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-157", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-158", 0 ] - } - } , { "patchline" : { @@ -2614,21 +3661,13 @@ "source" : [ "obj-18", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-84", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-18", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-215", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 1182.556885, 972.043335, 653.5, 972.043335 ], "source" : [ "obj-19", 1 ] } @@ -2653,16 +3692,7 @@ } , { "patchline" : { - "destination" : [ "obj-60", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 0 ], + "destination" : [ "obj-78", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-203", 0 ] @@ -2680,16 +3710,7 @@ } , { "patchline" : { - "destination" : [ "obj-78", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 1 ], + "destination" : [ "obj-71", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-21", 0 ] @@ -2704,58 +3725,19 @@ "source" : [ "obj-215", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 671.5, 1124.023438, 346.5, 1124.023438 ], - "source" : [ "obj-22", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-215", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 671.5, 1209.25, 445.757965, 1209.25 ], "source" : [ "obj-22", 0 ] } } , { "patchline" : { - "destination" : [ "obj-286", 1 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 671.5, 960.023438, 809.0, 960.023438 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 1 ], + "destination" : [ "obj-71", 2 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-24", 0 ] @@ -2773,16 +3755,7 @@ } , { "patchline" : { - "destination" : [ "obj-80", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 1 ], + "destination" : [ "obj-71", 3 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-26", 0 ] @@ -2797,15 +3770,6 @@ "source" : [ "obj-27", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-209", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-286", 0 ] - } - } , { "patchline" : { @@ -2818,18 +3782,10 @@ } , { "patchline" : { - "destination" : [ "obj-215", 2 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-276", 0 ], + "destination" : [ "obj-215", 1 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 756.5, 997.195068, 687.833313, 997.195068 ], "source" : [ "obj-34", 0 ] } @@ -2875,13 +3831,14 @@ "destination" : [ "obj-43", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 653.5, 1352.765869, 674.745972, 1352.765869, 674.745972, 1193.765869, 691.5, 1193.765869 ], "source" : [ "obj-38", 0 ] } } , { "patchline" : { - "destination" : [ "obj-215", 1 ], + "destination" : [ "obj-47", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-39", 0 ] @@ -2911,7 +3868,7 @@ "destination" : [ "obj-12", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 1289.677124, 1199.0, 1204.677124, 1199.0 ], + "midpoints" : [ 1056.5, 1109.0, 971.5, 1109.0 ], "source" : [ "obj-423", 0 ] } @@ -2921,7 +3878,7 @@ "destination" : [ "obj-12", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 1204.677124, 1199.0, 1204.677124, 1199.0 ], + "midpoints" : [ 971.5, 1109.0, 971.5, 1109.0 ], "source" : [ "obj-427", 0 ] } @@ -2931,7 +3888,7 @@ "destination" : [ "obj-12", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 1321.734009, 1199.0, 1204.677124, 1199.0 ], + "midpoints" : [ 1088.556885, 1109.0, 971.5, 1109.0 ], "source" : [ "obj-436", 0 ] } @@ -2941,7 +3898,7 @@ "destination" : [ "obj-423", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 1218.177124, 1161.5, 1289.677124, 1161.5 ], + "midpoints" : [ 985.0, 1071.5, 1056.5, 1071.5 ], "source" : [ "obj-437", 1 ] } @@ -2951,7 +3908,7 @@ "destination" : [ "obj-427", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 1204.677124, 1161.5, 1204.677124, 1161.5 ], + "midpoints" : [ 971.5, 1071.5, 971.5, 1071.5 ], "source" : [ "obj-437", 0 ] } @@ -2961,7 +3918,7 @@ "destination" : [ "obj-436", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 1231.677124, 1161.5, 1321.734009, 1161.5 ], + "midpoints" : [ 998.5, 1071.5, 1088.556885, 1071.5 ], "source" : [ "obj-437", 2 ] } @@ -2974,6 +3931,15 @@ "source" : [ "obj-44", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + } , { "patchline" : { @@ -2989,15 +3955,17 @@ "destination" : [ "obj-215", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 998.5, 972.019897, 653.5, 972.019897 ], "source" : [ "obj-50", 0 ] } } , { "patchline" : { - "destination" : [ "obj-53", 0 ], + "destination" : [ "obj-215", 3 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 375.757965, 1033.5, 756.5, 1033.5 ], "source" : [ "obj-51", 0 ] } @@ -3007,7 +3975,7 @@ "destination" : [ "obj-133", 4 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 975.257996, 575.220032, 416.220001, 575.220032 ], + "midpoints" : [ 989.257996, 374.220032, 718.457947, 374.220032 ], "source" : [ "obj-52", 6 ] } @@ -3017,7 +3985,7 @@ "destination" : [ "obj-159", 4 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 975.257996, 571.5, 717.140015, 571.5 ], + "midpoints" : [ 989.257996, 373.5, 572.257935, 373.5 ], "source" : [ "obj-52", 6 ] } @@ -3030,15 +3998,6 @@ "source" : [ "obj-52", 6 ] } - } -, { - "patchline" : { - "destination" : [ "obj-62", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-53", 0 ] - } - } , { "patchline" : { @@ -3060,10 +4019,21 @@ } , { "patchline" : { - "destination" : [ "obj-51", 0 ], + "destination" : [ "obj-104", 1 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-56", 0 ] + "midpoints" : [ 635.257935, 561.021118, 1109.378906, 561.021118, 1109.378906, 24.0, 1291.234009, 24.0 ], + "source" : [ "obj-57", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-104", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 508.257935, 561.993042, 1110.378906, 561.993042, 1110.378906, 24.0, 1267.234009, 24.0 ], + "source" : [ "obj-57", 0 ] } } @@ -3072,6 +4042,7 @@ "destination" : [ "obj-81", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 508.257935, 596.993042, 653.5, 596.993042 ], "source" : [ "obj-57", 0 ] } @@ -3081,6 +4052,7 @@ "destination" : [ "obj-97", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 635.257935, 563.0, 653.5, 563.0 ], "source" : [ "obj-57", 1 ] } @@ -3090,7 +4062,7 @@ "destination" : [ "obj-98", 4 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 621.257935, 920.523438, 560.757935, 920.523438 ], + "midpoints" : [ 635.257935, 681.516479, 543.757935, 681.516479 ], "source" : [ "obj-57", 1 ] } @@ -3100,7 +4072,6 @@ "destination" : [ "obj-98", 3 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 459.257965, 920.523438, 525.257935, 920.523438 ], "source" : [ "obj-57", 0 ] } @@ -3116,17 +4087,17 @@ } , { "patchline" : { - "destination" : [ "obj-286", 0 ], + "destination" : [ "obj-209", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 313.257996, 978.523438, 795.5, 978.523438 ], + "midpoints" : [ 362.257965, 704.516479, 756.5, 704.516479 ], "source" : [ "obj-59", 0 ] } } , { "patchline" : { - "destination" : [ "obj-60", 0 ], + "destination" : [ "obj-51", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-59", 1 ] @@ -3141,15 +4112,6 @@ "source" : [ "obj-6", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-215", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-60", 0 ] - } - } , { "patchline" : { @@ -3168,53 +4130,23 @@ "source" : [ "obj-62", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-71", 4 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 661.742065, 278.574524, 421.5, 278.574524 ], + "source" : [ "obj-68", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-34", 0 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-65", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-84", 0 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 619.5, 192.0, 300.0, 192.0 ], - "source" : [ "obj-68", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 619.5, 192.0, 380.757965, 192.0 ], - "source" : [ "obj-68", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 0 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 619.5, 192.0, 459.257965, 192.0 ], - "source" : [ "obj-68", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 0 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 619.5, 192.0, 538.008057, 192.0 ], - "source" : [ "obj-68", 0 ] + "source" : [ "obj-69", 0 ] } } @@ -3229,7 +4161,34 @@ } , { "patchline" : { - "destination" : [ "obj-142", 0 ], + "destination" : [ "obj-82", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-71", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-82", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-71", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-82", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-71", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-82", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-71", 0 ] @@ -3292,21 +4251,12 @@ } , { "patchline" : { - "destination" : [ "obj-143", 0 ], + "destination" : [ "obj-69", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-78", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-144", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-79", 0 ] - } - } , { "patchline" : { @@ -3328,140 +4278,38 @@ } , { "patchline" : { - "destination" : [ "obj-145", 0 ], + "destination" : [ "obj-39", 0 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-80", 0 ] + "source" : [ "obj-82", 1 ] } } , { "patchline" : { - "destination" : [ "obj-104", 0 ], + "destination" : [ "obj-62", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 386.257965, 804.993042, 1096.378906, 804.993042, 1096.378906, 183.0, 1256.5, 183.0 ], - "source" : [ "obj-81", 0 ] + "source" : [ "obj-82", 0 ] } } , { "patchline" : { - "destination" : [ "obj-155", 0 ], + "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-84", 0 ] + "source" : [ "obj-82", 2 ] } } , { "patchline" : { - "destination" : [ "obj-156", 0 ], + "destination" : [ "obj-215", 2 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-85", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-157", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-86", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-158", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-87", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-92", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-136", 1 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-92", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 3 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 529.258057, 419.951538, 220.757965, 419.951538 ], - "source" : [ "obj-92", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-116", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-93", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-135", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-93", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 2 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 446.257965, 419.951538, 207.257965, 419.951538 ], - "source" : [ "obj-93", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-118", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-94", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-138", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-94", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 1 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 363.257965, 419.951538, 193.757965, 419.951538 ], - "source" : [ "obj-94", 0 ] + "midpoints" : [ 246.257935, 1046.5, 722.166687, 1046.5 ], + "source" : [ "obj-9", 0 ] } } @@ -3470,7 +4318,7 @@ "destination" : [ "obj-55", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 988.757996, 646.5, 459.257965, 646.5 ], + "midpoints" : [ 1002.757996, 429.493042, 533.5, 429.493042 ], "source" : [ "obj-95", 1 ] } @@ -3480,63 +4328,22 @@ "destination" : [ "obj-57", 1 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 975.257996, 726.0, 540.257935, 726.0 ], + "midpoints" : [ 989.257996, 517.993042, 571.757935, 517.993042 ], "source" : [ "obj-95", 0 ] } } , { "patchline" : { - "destination" : [ "obj-117", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-96", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-137", 0 ], - "disabled" : 0, - "hidden" : 0, - "source" : [ "obj-96", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 0 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 280.257996, 419.951538, 180.257965, 419.951538 ], - "source" : [ "obj-96", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-104", 1 ], - "disabled" : 0, - "hidden" : 0, - "midpoints" : [ 658.257935, 804.993042, 1095.378906, 804.993042, 1095.378906, 183.0, 1280.5, 183.0 ], - "source" : [ "obj-97", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-215", 1 ], + "destination" : [ "obj-215", 0 ], "disabled" : 0, "hidden" : 0, + "midpoints" : [ 401.757935, 828.246582, 653.5, 828.246582 ], "source" : [ "obj-98", 0 ] } } ], - "parameters" : { - - } -, "dependency_cache" : [ { "name" : "GUI.maxpat", "bootpath" : "/Users/samuelperry/QMUL_Work/IDMT/Assignment_3/Press-a-Sketch/patchers", @@ -3565,6 +4372,20 @@ "type" : "JSON", "implicit" : 1 } +, { + "name" : "delaynoint.gendsp", + "bootpath" : "/Users/samuelperry/QMUL_Work/IDMT/Assignment_3/Press-a-Sketch/code", + "patcherrelativepath" : "../code", + "type" : "gDSP", + "implicit" : 1 + } +, { + "name" : "Rodriguez_pitcher.gendsp", + "bootpath" : "/Users/samuelperry/QMUL_Work/IDMT/Assignment_3/Press-a-Sketch/code", + "patcherrelativepath" : "../code", + "type" : "gDSP", + "implicit" : 1 + } , { "name" : "depack.mxo", "type" : "iLaX"