{ "patcher" : { "fileversion" : 1, "rect" : [ 23.0, 45.0, 603.0, 400.0 ], "bglocked" : 0, "defrect" : [ 23.0, 45.0, 603.0, 400.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "Signal Out", "fontsize" : 10.0, "patching_rect" : [ 64.0, 344.0, 60.0, 18.0 ], "id" : "obj-3", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "Signal / Control Router", "fontsize" : 11.0, "patching_rect" : [ 192.0, 13.0, 130.0, 19.0 ], "id" : "obj-1", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "text" : "This simple abstraction routs the incoming values from the UI controls in the main patch, as well as routing the signal input to the abstraction that actually does the bulk of the audio processing. Note the arguments below, these can be entered in the object box of the abstraction in the order that they appear below. The data at each position is substituted for the corresponding pound sign argument.", "linecount" : 4, "fontsize" : 11.0, "patching_rect" : [ 24.0, 32.0, 520.0, 57.0 ], "id" : "obj-62", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "M4L.subpatcher-title", "text" : "granular.Globule", "textcolor" : [ 0.301961, 0.337255, 0.403922, 1.0 ], "fontsize" : 20.0, "patching_rect" : [ 24.0, 8.0, 169.0, 29.0 ], "id" : "obj-7", "numinlets" : 1, "numoutlets" : 0, "frgb" : [ 0.301961, 0.337255, 0.403922, 1.0 ], "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "newobj", "text" : "t b i", "fontsize" : 10.0, "patching_rect" : [ 120.0, 168.0, 33.0, 18.0 ], "id" : "obj-35", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b i", "fontsize" : 10.0, "patching_rect" : [ 200.0, 216.0, 33.0, 18.0 ], "id" : "obj-34", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b i", "fontsize" : 10.0, "patching_rect" : [ 440.0, 240.0, 33.0, 18.0 ], "id" : "obj-33", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b i", "fontsize" : 10.0, "patching_rect" : [ 360.0, 192.0, 33.0, 18.0 ], "id" : "obj-32", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "+ 0", "fontsize" : 10.0, "patching_rect" : [ 360.0, 216.0, 32.5, 18.0 ], "id" : "obj-2", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "+ 0.", "fontsize" : 10.0, "patching_rect" : [ 440.0, 264.0, 32.5, 18.0 ], "id" : "obj-4", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "float" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "+ 0", "fontsize" : 10.0, "patching_rect" : [ 200.0, 240.0, 32.5, 18.0 ], "id" : "obj-6", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "+ 0", "fontsize" : 10.0, "patching_rect" : [ 120.0, 192.0, 32.5, 18.0 ], "id" : "obj-8", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "Arguments:", "fontsize" : 10.0, "patching_rect" : [ 240.0, 320.0, 67.0, 18.0 ], "id" : "obj-9", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "#4 Group Name", "fontsize" : 10.0, "patching_rect" : [ 352.0, 352.0, 82.0, 18.0 ], "id" : "obj-10", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "#3 Name", "fontsize" : 10.0, "patching_rect" : [ 352.0, 336.0, 51.0, 18.0 ], "id" : "obj-11", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "#2 Initial Grain Length", "fontsize" : 10.0, "patching_rect" : [ 240.0, 352.0, 108.0, 18.0 ], "id" : "obj-12", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "r #4_gg_pulse_desity", "fontsize" : 10.0, "patching_rect" : [ 240.0, 240.0, 133.0, 18.0 ], "id" : "obj-13", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "r #4_gg_amp_range", "fontsize" : 10.0, "patching_rect" : [ 200.0, 192.0, 126.0, 18.0 ], "id" : "obj-14", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "r #4_gg_amp_off", "fontsize" : 10.0, "patching_rect" : [ 160.0, 168.0, 111.0, 18.0 ], "id" : "obj-15", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "r #4_gg_pulse_off", "fontsize" : 10.0, "patching_rect" : [ 80.0, 120.0, 117.0, 18.0 ], "id" : "obj-16", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 40.0, 120.0, 18.672316, 18.672316 ], "id" : "obj-17", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "(int)start(1)/stop(0)" } } , { "box" : { "maxclass" : "newobj", "text" : "*~", "fontsize" : 10.0, "patching_rect" : [ 40.0, 305.0, 32.5, 18.0 ], "id" : "obj-19", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "r #4_gg_pulse_range", "fontsize" : 10.0, "patching_rect" : [ 120.0, 144.0, 131.0, 18.0 ], "id" : "obj-20", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "r #4_gg_pitch_off", "fontsize" : 10.0, "patching_rect" : [ 400.0, 192.0, 114.0, 18.0 ], "id" : "obj-21", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "r #4_gg_pitch_range", "fontsize" : 10.0, "patching_rect" : [ 440.0, 216.0, 129.0, 18.0 ], "id" : "obj-22", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "r #4_gg_grain_range", "fontsize" : 10.0, "patching_rect" : [ 360.0, 168.0, 129.0, 18.0 ], "id" : "obj-23", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "r #4_gg_grain_off", "fontsize" : 10.0, "patching_rect" : [ 320.0, 144.0, 115.0, 18.0 ], "id" : "obj-24", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 40.0, 344.0, 18.672316, 18.672316 ], "id" : "obj-25", "numinlets" : 1, "numoutlets" : 0, "comment" : "(signal) output" } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 280.0, 120.0, 18.672316, 18.672316 ], "id" : "obj-26", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "(signal)input" } } , { "box" : { "maxclass" : "newobj", "text" : "granular.Globber~ #1 #2 #3g1", "fontsize" : 10.0, "patching_rect" : [ 240.0, 288.0, 219.0, 18.0 ], "id" : "obj-27", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "signal" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "granular.RandPulse~ #3p1", "fontsize" : 10.0, "patching_rect" : [ 40.0, 264.0, 219.0, 18.0 ], "id" : "obj-28", "numinlets" : 6, "numoutlets" : 2, "outlettype" : [ "signal", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "Start/stop", "fontsize" : 10.0, "patching_rect" : [ 24.0, 96.0, 57.0, 18.0 ], "id" : "obj-29", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "Signal Input", "fontsize" : 10.0, "patching_rect" : [ 256.0, 96.0, 68.0, 18.0 ], "id" : "obj-30", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "#1 Max Grain Length", "fontsize" : 10.0, "patching_rect" : [ 240.0, 336.0, 104.0, 18.0 ], "id" : "obj-31", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-27", 0 ], "destination" : [ "obj-19", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-27", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-27", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-27", 3 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-27", 4 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-27", 5 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 1 ], "destination" : [ "obj-27", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-28", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-28", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-28", 3 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-28", 4 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-28", 5 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 1 ], "destination" : [ "obj-8", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-34", 1 ], "destination" : [ "obj-6", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-34", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-34", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-33", 1 ], "destination" : [ "obj-4", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-33", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-32", 1 ], "destination" : [ "obj-2", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-32", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-32", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }