]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
initial commit
authorequilet <2237372+equilet@users.noreply.github.com>
Sun, 16 Mar 2025 04:00:35 +0000 (21:00 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Sun, 16 Mar 2025 04:00:35 +0000 (21:00 -0700)
51 files changed:
engine_grainmanager.maxpat [new file with mode: 0644]
engine_presets.maxpat [new file with mode: 0644]
engine_sequencer.maxhelp [new file with mode: 0644]
engine_sequencer.maxpat [new file with mode: 0644]
engine_spat5helper.maxhelp [new file with mode: 0644]
engine_spat5helper.maxpat [new file with mode: 0644]
engine_status.json [new file with mode: 0644]
engine_voice~.maxhelp [new file with mode: 0644]
engine_voice~.maxpat [new file with mode: 0644]
engine_wrapper~.maxhelp [new file with mode: 0644]
engine_wrapper~.maxpat [new file with mode: 0644]
engine_zone_example.json [new file with mode: 0644]
engine_zone~.maxpat [new file with mode: 0644]
initialization.maxpat [new file with mode: 0644]
misc/.DS_Store [new file with mode: 0644]
misc/category_limit_reached.maxpat [new file with mode: 0644]
misc/engine_sequencer_with_events/.DS_Store [new file with mode: 0644]
misc/engine_sequencer_with_events/engine_grainmanager2.maxpat [new file with mode: 0644]
misc/engine_sequencer_with_events/engine_sequencer2.maxhelp [new file with mode: 0644]
misc/engine_sequencer_with_events/engine_sequencer2.maxpat [new file with mode: 0644]
misc/engine_sequencer_with_events/engine_spat5helper2.maxpat [new file with mode: 0644]
misc/engine_sequencer_with_events/engine_status2.json [new file with mode: 0644]
misc/engine_sequencer_with_events/engine_voice2~.maxpat [new file with mode: 0644]
misc/engine_sequencer_with_events/engine_zone2~.maxpat [new file with mode: 0644]
misc/engine_sequencer_with_events/polybuf_container2~.maxpat [new file with mode: 0644]
misc/engine_sequencer_with_events/seq_eventeditor_ui2.maxpat [new file with mode: 0644]
misc/engine_sequencer_with_events/sequencer2.maxpat [new file with mode: 0644]
misc/engine_wrapper_ui~.maxhelp [new file with mode: 0644]
misc/engine_wrapper_ui~.maxpat [new file with mode: 0644]
misc/nested_dict_tests.maxpat [new file with mode: 0644]
misc/playback_test.maxpat [new file with mode: 0644]
misc/test_buffer_phase.maxpat [new file with mode: 0644]
misc/test_path_aggregate.maxpat [new file with mode: 0644]
misc/timeclock_work.maxpat [new file with mode: 0644]
old/Screen Shot 2024-08-21 at 1.07.23 AM.png [new file with mode: 0644]
old/engine_voice2~.maxpat [new file with mode: 0644]
old/engine_voice_old01.maxhelp [new file with mode: 0644]
old/engine_voice_old01.maxpat [new file with mode: 0644]
old/engine_voice_old02~.maxhelp [new file with mode: 0644]
old/engine_voice_old02~.maxpat [new file with mode: 0644]
old/initial_trajectory_work.maxpat [new file with mode: 0644]
old/sequencer.maxpat [new file with mode: 0644]
polybuf_container_testpath.json [new file with mode: 0644]
polybuf_container~.maxhelp [new file with mode: 0644]
polybuf_container~.maxpat [new file with mode: 0644]
seq_eventeditor_ui.maxpat [new file with mode: 0644]
sonogarden_presets.json [new file with mode: 0644]
spat_stuff/spat5.trajectories.maxhelp alias [new file with mode: 0644]
spat_stuff/tutorials alias [new file with mode: 0644]
transport_container.maxhelp [new file with mode: 0644]
transport_container.maxpat [new file with mode: 0644]

diff --git a/engine_grainmanager.maxpat b/engine_grainmanager.maxpat
new file mode 100644 (file)
index 0000000..6a75614
--- /dev/null
@@ -0,0 +1,563 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 512.0, 204.0, 904.0, 653.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-5",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 445.0, 370.0, 394.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-4",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 154.0, 559.0, 21.0, 21.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "linecount" : 17,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 440.0, 113.0, 399.0, 234.0 ],
+                                       "text" : "variety evaluation:\n\nvariety predominantly affects two aspects:\n1. audio file selection\n2. frequency with which the engine changes the sound that it is playing\n\nHugh from meeting notes:  \"if there are ocean sounds, no point in having rain\"\nJML thought: a preliminary version of this can have N numbers of folders attached to an engine, and the probability of change involves selection of any of the \"other\" categories outside of the designated one.  For example, a \"base set\"  of ocean sounds might be associated with an engine, but if variety is non-zero, there is a chance it will select rain (or fire), but there is an equal probability that it will select from this set of \"other\" categories.  If you only want it to select between the base set and another folder, you need to only populate the polybuffer_manager with two folders"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-6",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 42.0, 21.0, 21.0, 21.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "linecount" : 6,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 440.0, 21.0, 201.0, 87.0 ],
+                                       "text" : "density is accounted for in the context of this poly~ example by retriggering notes at variable interval (uses metro currently), as mapped in the subpatcher [generate_interval].  "
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 42.0, 135.0, 50.0, 22.0 ],
+                                       "text" : "t b l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 42.0, 100.0, 237.0, 22.0 ],
+                                       "text" : "o.if exists(/generate) && /generate == false"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 154.0, 217.0, 79.0, 22.0 ],
+                                       "text" : "o.select /stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-60",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 194.0, 437.0, 49.0, 22.0 ],
+                                       "text" : "target 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-58",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "bang", "int" ],
+                                       "patching_rect" : [ 154.0, 397.0, 59.0, 22.0 ],
+                                       "text" : "t l b 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 249.0, 217.0, 125.0, 22.0 ],
+                                       "text" : "o.route /metro/interval"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 73.0, 216.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 336.0, 103.0, 487.0, 518.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-10",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 42.0, 192.0, 117.0, 22.0 ],
+                                                                       "text" : "o.union"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 41.5, 161.0, 91.0, 22.0 ],
+                                                                       "text" : "o.pack /rand/int"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-8",
+                                                                       "linecount" : 8,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 42.0, 227.0, 397.0, 121.0 ],
+                                                                       "text" : "if(exists(/density), \n  progn(\n    /rand = /rand/int / 9999.,\n    /loval = scale(/density, 0., 1., 20000, 500),\n    /hival = scale(/density, 0., 1., 1000, 10), \n    /metro/interval = scale(/rand, 0., 1., /loval, /hival)\n  )\n)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 42.0, 96.0, 117.0, 22.0 ],
+                                                                       "text" : "t b l"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 42.0, 427.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-17",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 41.5, 135.0, 86.0, 22.0 ],
+                                                                       "text" : "random 10000"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-25",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 41.5, 56.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-10", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-17", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-25", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 1 ],
+                                                                       "source" : [ "obj-7", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-17", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 41.0, 351.0, 111.0, 22.0 ],
+                                       "text" : "p generate_interval"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 41.0, 321.0, 191.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 73.0, 273.0, 126.0, 22.0 ],
+                                       "text" : "metro 6000"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 73.0, 179.0, 100.0, 22.0 ],
+                                       "text" : "o.route /generate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 272.0, 437.0, 79.0, 22.0 ],
+                                       "text" : "prepend note"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 1 ],
+                                       "source" : [ "obj-10", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-58", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-13", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "midpoints" : [ 50.5, 379.444488525390625, 393.96295166015625, 379.444488525390625, 393.96295166015625, 202.375274658203125, 258.5, 202.375274658203125 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 1 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-36", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-58", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-58", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-60", 0 ],
+                                       "source" : [ "obj-58", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-60", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-8", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_presets.maxpat b/engine_presets.maxpat
new file mode 100644 (file)
index 0000000..70606ce
--- /dev/null
@@ -0,0 +1,679 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 188.0, 87.0, 988.0, 753.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 411.0, 641.0, 71.0, 22.0 ],
+                                       "text" : "print status:"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 411.0, 611.0, 151.0, 22.0 ],
+                                       "text" : "preset file loaded correctly."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 115.0, 621.0, 98.0, 22.0 ],
+                                       "text" : "o.prepend /recall"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 103.0, 442.0, 31.0, 22.0 ],
+                                       "text" : "t b s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 115.0, 486.0, 51.0, 22.0 ],
+                                       "text" : "set 1 $1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 120.0, 400.0, 67.0, 33.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 343.0, 14.0, 74.0, 20.0 ],
+                                       "text" : "recall preset"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "items" : [ "/1", ",", "/2", ",", "/3", ",", "/4", ",", "/5", ",", "/6", ",", "/7", ",", "/8", ",", "/9" ],
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 62.0, 372.0, 100.0, 22.0 ],
+                                       "prefix_mode" : 2,
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 238.0, 13.0, 100.0, 22.0 ],
+                                       "showdotfiles" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 115.0, 590.0, 59.0, 22.0 ],
+                                       "text" : "o.route /1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 411.0, 580.0, 34.0, 22.0 ],
+                                       "text" : "sel 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 375.0, 551.0, 55.0, 22.0 ],
+                                       "text" : "zl.slice 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 375.0, 521.0, 73.0, 22.0 ],
+                                       "text" : "route import"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 490.0, 384.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 490.0, 433.0, 180.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 159.0, 40.0, 180.0, 22.0 ],
+                                       "text" : "import sonogarden_presets.json"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 369.0, 385.0, 92.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 40.0, 41.0, 92.0, 20.0 ],
+                                       "text" : "write all presets"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-49",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 351.0, 156.0, 35.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 17.0, 11.0, 35.0, 20.0 ],
+                                       "text" : "store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-48",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 294.0, 119.0, 67.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 159.0, 13.0, 67.0, 20.0 ],
+                                       "text" : "pick preset"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-46",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 352.0, 210.0, 83.0, 20.0 ],
+                                       "text" : "current preset"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 230.0, 313.0, 95.0, 22.0 ],
+                                       "text" : "t l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 230.0, 280.0, 95.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-42",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 189.0, 77.0, 70.0, 22.0 ],
+                                       "text" : "loadmess 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-41",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 230.0, 209.0, 41.0, 22.0 ],
+                                       "text" : "set $1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 314.0, 154.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ -9.0, 9.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "items" : [ "/1", ",", "/2", ",", "/3", ",", "/4", ",", "/5", ",", "/6", ",", "/7", ",", "/8", ",", "/9" ],
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 189.0, 118.0, 100.0, 22.0 ],
+                                       "prefix_mode" : 2,
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 54.0, 12.0, 100.0, 22.0 ],
+                                       "showdotfiles" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 230.0, 356.0, 37.0, 22.0 ],
+                                       "text" : "o.dict"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 315.0, 209.0, 35.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 230.0, 248.0, 57.0, 22.0 ],
+                                       "text" : "o.pack /1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 115.0, 660.0, 37.0, 22.0 ],
+                                       "text" : "s osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 320.0, 384.0, 42.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ -9.0, 40.0, 42.0, 22.0 ],
+                                       "text" : "export"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 230.0, 486.0, 164.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict sg_presets"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 471.0, 165.0, 48.0, 22.0 ],
+                                       "text" : "t l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 471.0, 132.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 471.0, 84.0, 79.0, 22.0 ],
+                                       "text" : "o.route /store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 471.0, 54.0, 35.0, 22.0 ],
+                                       "text" : "r osc"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-11", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-14", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-16", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-28", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-42", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 1 ],
+                                       "midpoints" : [ 315.5, 338.82830810546875, 337.81878662109375, 338.82830810546875, 337.81878662109375, 277.031768798828125, 315.5, 277.031768798828125 ],
+                                       "source" : [ "obj-43", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-44", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 1 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 1 ],
+                                       "midpoints" : [ 509.5, 191.100921630859375, 528.5, 191.100921630859375, 528.5, 127.714492797851562, 509.5, 127.714492797851562 ],
+                                       "source" : [ "obj-6", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-9", 1 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-202",
+               "dependency_cache" : [                  {
+                               "name" : "o.dict.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_sequencer.maxhelp b/engine_sequencer.maxhelp
new file mode 100644 (file)
index 0000000..2da8e50
--- /dev/null
@@ -0,0 +1,1481 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 64.0, 137.0, 1708.0, 838.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-79",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 1099.0, 521.0, 173.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 101, 110, 103, 105, 110, 101, 47, 42, 47, 115, 116, 111, 112, 0, 0, 44, 115, 0, 0, 98, 97, 110, 103, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 48,
+                                       "text" : "/engine/*/stop : \"bang\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-78",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 1093.0, 580.0, 37.0, 22.0 ],
+                                       "text" : "s osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-72",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 103.0, 396.0, 393.0, 59.0 ],
+                                       "text" : "/engine/1 : {\n  /stop : \"bang\"\n}"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-69",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 528.0, 34.0, 35.0, 22.0 ],
+                                       "text" : "r osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 14.0,
+                                       "id" : "obj-45",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "dictionary" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-36",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 568.958727478981018, 100.0, 35.0, 22.0 ],
+                                                                       "text" : "clear"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-39",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 0,
+                                                                       "patcher" :                                                                     {
+                                                                               "fileversion" : 1,
+                                                                               "appversion" :                                                                          {
+                                                                                       "major" : 9,
+                                                                                       "minor" : 0,
+                                                                                       "revision" : 6,
+                                                                                       "architecture" : "x64",
+                                                                                       "modernui" : 1
+                                                                               }
+,
+                                                                               "classnamespace" : "box",
+                                                                               "rect" : [ 59.0, 106.0, 549.0, 279.0 ],
+                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                               "boxes" : [                                                                                     {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontface" : 0,
+                                                                                                       "id" : "obj-35",
+                                                                                                       "linecount" : 6,
+                                                                                                       "maxclass" : "o.compose",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 288.0, 45.0, 205.0, 87.0 ],
+                                                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 111, 110, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 99, 111, 108, 111, 114, 0, 44, 115, 0, 0, 99, 104, 111, 99, 111, 108, 97, 116, 101, 0, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 110, 97, 109, 101, 0, 0, 44, 115, 0, 0, 101, 110, 103, 105, 110, 101, 49, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 116, 121, 112, 101, 0, 0, 44, 115, 0, 0, 99, 105, 114, 99, 108, 101, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 115, 112, 101, 101, 100, 0, 44, 100, 0, 0, 64, 52, 0, 0, 0, 0, 0, 0 ],
+                                                                                                       "saved_bundle_length" : 176,
+                                                                                                       "text" : "/source/1/on : 0,\n/source/1/color : \"chocolate\",\n/source/1/name : \"engine1\",\n/source/1/type : \"circle\",\n/source/1/speed : 20."
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-46",
+                                                                                                       "linecount" : 9,
+                                                                                                       "maxclass" : "comment",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 23.0, 12.0, 233.0, 127.0 ],
+                                                                                                       "text" : "parameters:\n/generate bool\n/speed 0.125-3\n/loop bool\n/spacing/range : [mslow, mshigh] - for loop\n/phaseout : bool\n/density : 0-1\n/auxsend : 0-1\n/gain : 0-1"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-37",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 0,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patcher" :                                                                                                     {
+                                                                                                               "fileversion" : 1,
+                                                                                                               "appversion" :                                                                                                          {
+                                                                                                                       "major" : 9,
+                                                                                                                       "minor" : 0,
+                                                                                                                       "revision" : 6,
+                                                                                                                       "architecture" : "x64",
+                                                                                                                       "modernui" : 1
+                                                                                                               }
+,
+                                                                                                               "classnamespace" : "box",
+                                                                                                               "rect" : [ 886.0, 212.0, 1000.0, 780.0 ],
+                                                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                                                               "boxes" : [  ],
+                                                                                                               "lines" : [  ]
+                                                                                                       }
+,
+                                                                                                       "patching_rect" : [ 23.0, 162.0, 119.0, 22.0 ],
+                                                                                                       "text" : "p colorspace_names"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-73",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 0,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patcher" :                                                                                                     {
+                                                                                                               "fileversion" : 1,
+                                                                                                               "appversion" :                                                                                                          {
+                                                                                                                       "major" : 9,
+                                                                                                                       "minor" : 0,
+                                                                                                                       "revision" : 6,
+                                                                                                                       "architecture" : "x64",
+                                                                                                                       "modernui" : 1
+                                                                                                               }
+,
+                                                                                                               "classnamespace" : "box",
+                                                                                                               "rect" : [ 59.0, 104.0, 258.0, 446.0 ],
+                                                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                                                               "boxes" : [                                                                                                                     {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "bgmode" : 0,
+                                                                                                                                       "border" : 0,
+                                                                                                                                       "clickthrough" : 0,
+                                                                                                                                       "enablehscroll" : 0,
+                                                                                                                                       "enablevscroll" : 0,
+                                                                                                                                       "id" : "obj-20",
+                                                                                                                                       "lockeddragscroll" : 0,
+                                                                                                                                       "lockedsize" : 0,
+                                                                                                                                       "maxclass" : "bpatcher",
+                                                                                                                                       "name" : "spat5.scaling.maxpat",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "offset" : [ 0.0, 0.0 ],
+                                                                                                                                       "outlettype" : [ "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 125.0, 160.0, 75.0 ],
+                                                                                                                                       "viewvisibility" : 1
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "bgmode" : 0,
+                                                                                                                                       "border" : 0,
+                                                                                                                                       "clickthrough" : 0,
+                                                                                                                                       "enablehscroll" : 0,
+                                                                                                                                       "enablevscroll" : 0,
+                                                                                                                                       "id" : "obj-25",
+                                                                                                                                       "lockeddragscroll" : 0,
+                                                                                                                                       "lockedsize" : 0,
+                                                                                                                                       "maxclass" : "bpatcher",
+                                                                                                                                       "name" : "spat5.rotation.maxpat",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "offset" : [ 0.0, 0.0 ],
+                                                                                                                                       "outlettype" : [ "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 277.0, 150.0, 70.0 ],
+                                                                                                                                       "viewvisibility" : 1
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "bgmode" : 0,
+                                                                                                                                       "border" : 0,
+                                                                                                                                       "clickthrough" : 0,
+                                                                                                                                       "enablehscroll" : 0,
+                                                                                                                                       "enablevscroll" : 0,
+                                                                                                                                       "id" : "obj-21",
+                                                                                                                                       "lockeddragscroll" : 0,
+                                                                                                                                       "lockedsize" : 0,
+                                                                                                                                       "maxclass" : "bpatcher",
+                                                                                                                                       "name" : "spat5.translation.maxpat",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "offset" : [ 0.0, 0.0 ],
+                                                                                                                                       "outlettype" : [ "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 202.0, 150.0, 70.0 ],
+                                                                                                                                       "viewvisibility" : 1
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-23",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 52.0, 160.0, 22.0 ],
+                                                                                                                                       "text" : "spat5.osc.prepend /source/1"
+                                                                                                                               }
+
+                                                                                                                       }
+ ],
+                                                                                                               "lines" : [                                                                                                                     {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-21", 0 ],
+                                                                                                                                       "source" : [ "obj-20", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-25", 0 ],
+                                                                                                                                       "source" : [ "obj-21", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-20", 0 ],
+                                                                                                                                       "source" : [ "obj-23", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+ ]
+                                                                                                       }
+,
+                                                                                                       "patching_rect" : [ 23.0, 185.0, 157.0, 22.0 ],
+                                                                                                       "text" : "p trajectory_transformations"
+                                                                                               }
+
+                                                                                       }
+ ],
+                                                                               "lines" : [  ]
+                                                                       }
+,
+                                                                       "patching_rect" : [ 635.969032999999968, 239.0, 48.0, 22.0 ],
+                                                                       "text" : "p notes"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-16",
+                                                                       "linecount" : 3,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 827.624966025352478, 141.5, 291.0, 47.0 ],
+                                                                       "text" : "LEGEND\n\nR: hit 'r' to refresh the cache with new data from edits"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 4,
+                                                                       "outlettype" : [ "int", "int", "int", "int" ],
+                                                                       "patching_rect" : [ 771.0, 141.0, 50.5, 22.0 ],
+                                                                       "text" : "key"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 771.0, 181.0, 46.0, 22.0 ],
+                                                                       "text" : "sel 114"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-40",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patcher" :                                                                     {
+                                                                               "fileversion" : 1,
+                                                                               "appversion" :                                                                          {
+                                                                                       "major" : 9,
+                                                                                       "minor" : 0,
+                                                                                       "revision" : 6,
+                                                                                       "architecture" : "x64",
+                                                                                       "modernui" : 1
+                                                                               }
+,
+                                                                               "classnamespace" : "box",
+                                                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                               "boxes" : [                                                                                     {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontface" : 0,
+                                                                                                       "id" : "obj-26",
+                                                                                                       "linecount" : 83,
+                                                                                                       "maxclass" : "o.display",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 50.0, 100.0, 474.0, 187.0 ],
+                                                                                                       "text" : "/engine/1 : {\n  /stop : \"bang\",\n  /steps : [0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1],\n  /density : 0.64,\n  /generate : 1,\n  /cat : \"CelloShortSounds\",\n  /loop : 1,\n  /speed : 1.,\n  /variety : 0.,\n  /auxsend : 0.,\n  /spacing/range : [100., 1500.],\n  /audiofile/menu : [\"append\", \"CelloShortSounds\"]\n},\n/seq/2 : {\n  /multislider : [1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1],\n  /event/1 : {\n    /loop : 1,\n    /generate : 1,\n    /speed : 0.941,\n    /density : 0.4,\n    /variety : 0.4,\n    /auxsend : 0.3,\n    /spacing/range : [58., 520.],\n    /cat : \"Cello\"\n  },\n  /event/3 : {\n    /loop : 0,\n    /generate : 1,\n    /speed : 0.93,\n    /density : 0.4,\n    /variety : 0.4,\n    /auxsend : 0.3,\n    /spacing/range : [58., 520.],\n    /cat : \"Cello\"\n  },\n  /event/14 : {\n    /loop : 0,\n    /generate : 1,\n    /speed : 0.93,\n    /density : 0.4,\n    /variety : 0.4,\n    /auxsend : 0.3,\n    /spacing/range : [58., 520.],\n    /cat : \"Cello\"\n  },\n  /event/35 : {\n    /loop : 0,\n    /generate : 0,\n    /speed : 1.,\n    /density : 0.4,\n    /variety : 0.4,\n    /auxsend : 0.07,\n    /spacing/range : [33., 400.],\n    /cat : \"brass\"\n  }\n},\n/seq/1 : {\n  /event/1 : {\n    /loop : 1,\n    /generate : 1,\n    /speed : 45.,\n    /density : 117.,\n    /variety : 0.47,\n    /auxsend : 0.067,\n    /spacing/range : [45., 248.],\n    /cat : \"foo\"\n  },\n  /event/16 : {\n    /loop : 1,\n    /generate : 1,\n    /speed : 45.,\n    /density : 117.,\n    /auxsend : 0.067,\n    /cat : \"strings\"\n  },\n  /multislider : [1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0]\n}"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-39",
+                                                                                                       "index" : 1,
+                                                                                                       "maxclass" : "inlet",
+                                                                                                       "numinlets" : 0,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                                                               }
+
+                                                                                       }
+ ],
+                                                                               "lines" : [                                                                                     {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-26", 0 ],
+                                                                                                       "source" : [ "obj-39", 0 ]
+                                                                                               }
+
+                                                                                       }
+ ]
+                                                                       }
+,
+                                                                       "patching_rect" : [ 581.0, 154.0, 81.0, 22.0 ],
+                                                                       "text" : "p view_status"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-38",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 510.0, 157.0, 37.0, 22.0 ],
+                                                                       "text" : "o.dict"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-29",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 510.0, 127.0, 54.0, 22.0 ],
+                                                                       "text" : "o.accum"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-25",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 510.0, 100.0, 43.0, 22.0 ],
+                                                                       "text" : "r store"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-18",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 376.0, 213.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-14",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 50.0, 120.113405585289001, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 183.0, 80.0, 22.0 ],
+                                                                       "text" : "prepend read"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 154.134022235870361, 163.0, 22.0 ],
+                                                                       "text" : "loadmess engine_status.json"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-28",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patcher" :                                                                     {
+                                                                               "fileversion" : 1,
+                                                                               "appversion" :                                                                          {
+                                                                                       "major" : 9,
+                                                                                       "minor" : 0,
+                                                                                       "revision" : 6,
+                                                                                       "architecture" : "x64",
+                                                                                       "modernui" : 1
+                                                                               }
+,
+                                                                               "classnamespace" : "box",
+                                                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                               "boxes" : [                                                                                     {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-15",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "bang", "" ],
+                                                                                                       "patching_rect" : [ 86.0, 162.0, 34.0, 22.0 ],
+                                                                                                       "text" : "sel 1"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-5",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 50.0, 130.0, 55.0, 22.0 ],
+                                                                                                       "text" : "zl.slice 1"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-4",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 50.0, 100.0, 63.0, 22.0 ],
+                                                                                                       "text" : "route read"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-26",
+                                                                                                       "index" : 1,
+                                                                                                       "maxclass" : "inlet",
+                                                                                                       "numinlets" : 0,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-27",
+                                                                                                       "index" : 1,
+                                                                                                       "maxclass" : "outlet",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 86.0, 273.0, 30.0, 30.0 ]
+                                                                                               }
+
+                                                                                       }
+ ],
+                                                                               "lines" : [                                                                                     {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-27", 0 ],
+                                                                                                       "source" : [ "obj-15", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-4", 0 ],
+                                                                                                       "source" : [ "obj-26", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-5", 0 ],
+                                                                                                       "source" : [ "obj-4", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-15", 0 ],
+                                                                                                       "source" : [ "obj-5", 1 ]
+                                                                                               }
+
+                                                                                       }
+ ]
+                                                                       }
+,
+                                                                       "patching_rect" : [ 510.0, 277.0, 34.0, 22.0 ],
+                                                                       "text" : "p init"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-87",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 5,
+                                                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                                                       "patching_rect" : [ 281.0, 248.0, 248.0, 22.0 ],
+                                                                       "saved_object_attributes" :                                                                     {
+                                                                               "embed" : 0,
+                                                                               "legacy" : 0,
+                                                                               "parameter_enable" : 0,
+                                                                               "parameter_mappable" : 0
+                                                                       }
+,
+                                                                       "text" : "dict status"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 138.030916571617126, 183.0, 63.0, 22.0 ],
+                                                                       "text" : "writeagain"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-43",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 281.0, 367.693420000000003, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-14", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-87", 0 ],
+                                                                       "source" : [ "obj-18", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-29", 0 ],
+                                                                       "source" : [ "obj-25", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "midpoints" : [ 519.5, 305.69342041015625, 553.55072021484375, 305.69342041015625, 553.55072021484375, 203.860671997070312, 385.5, 203.860671997070312 ],
+                                                                       "source" : [ "obj-28", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-38", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-29", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-40", 0 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-29", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-29", 0 ],
+                                                                       "source" : [ "obj-36", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-87", 1 ],
+                                                                       "source" : [ "obj-38", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-87", 0 ],
+                                                                       "source" : [ "obj-6", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-87", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-28", 0 ],
+                                                                       "source" : [ "obj-87", 4 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-43", 0 ],
+                                                                       "source" : [ "obj-87", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 139.0, 35.0, 113.0, 24.0 ],
+                                       "text" : "p master_bundle"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-34",
+                                       "maxclass" : "flonum",
+                                       "maximum" : 157.0,
+                                       "minimum" : 0.0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 1166.0, 50.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-35",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 1166.0, 77.0, 96.0, 22.0 ],
+                                       "text" : "o.pack /aux/gain"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-30",
+                                       "maxclass" : "flonum",
+                                       "maximum" : 157.0,
+                                       "minimum" : 0.0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 1045.0, 50.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 1045.0, 77.0, 105.0, 22.0 ],
+                                       "text" : "o.pack /voice/gain"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 752.0, 36.0, 99.0, 22.0 ],
+                                       "text" : "o.route /engine/1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 905.0, 391.0, 756.916603803634644, 22.0 ],
+                                       "text" : "dac~ 1 2 3 4 5 6"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/engine/2" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-46",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_zone~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 6,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal" ],
+                                       "patching_rect" : [ 905.0, 257.0, 757.291637778282166, 110.416662454605103 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/engine/1" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-44",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_zone~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 6,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal" ],
+                                       "patching_rect" : [ 905.0, 127.0, 757.291637778282166, 110.416662454605103 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "number",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 79.0, 35.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 379.0, 113.0, 45.0, 22.0 ],
+                                       "text" : "s store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "" ],
+                                       "patching_rect" : [ 139.0, 73.0, 258.85052227973938, 22.0 ],
+                                       "text" : "t l l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/seq/2" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-4",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_sequencer.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 136.0, 257.0, 755.0, 84.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/engine/1" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-1",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_sequencer.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 139.0, 144.0, 755.0, 84.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 29.0, 35.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 29.0, 73.0, 69.0, 22.0 ],
+                                       "text" : "metro 1200"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-72", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 1 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-31", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-31", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-35", 0 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 5 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 4 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 3 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 2 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "source" : [ "obj-45", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 5 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 4 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 3 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 2 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-69", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-78", 0 ],
+                                       "source" : [ "obj-79", 0 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-44::obj-17::obj-9" : [ "live.menu[1]", "live.menu[1]", 0 ],
+                       "obj-44::obj-67" : [ "zone_gain", "zone gain", 0 ],
+                       "obj-45::obj-39::obj-73::obj-20::obj-2" : [ "live.text[4]", "live.text", 0 ],
+                       "obj-45::obj-39::obj-73::obj-20::obj-91" : [ "live.dial[17]", "scale x", 0 ],
+                       "obj-45::obj-39::obj-73::obj-20::obj-92" : [ "live.dial[16]", "scale y", 0 ],
+                       "obj-45::obj-39::obj-73::obj-20::obj-93" : [ "live.dial[10]", "scale z", 0 ],
+                       "obj-45::obj-39::obj-73::obj-21::obj-2" : [ "live.text[1]", "live.text", 0 ],
+                       "obj-45::obj-39::obj-73::obj-21::obj-91" : [ "live.dial[6]", "offset x", 0 ],
+                       "obj-45::obj-39::obj-73::obj-21::obj-92" : [ "live.dial[7]", "offset y", 0 ],
+                       "obj-45::obj-39::obj-73::obj-21::obj-93" : [ "live.dial[8]", "offset z", 0 ],
+                       "obj-45::obj-39::obj-73::obj-25::obj-2" : [ "live.text[3]", "live.text", 0 ],
+                       "obj-45::obj-39::obj-73::obj-25::obj-91" : [ "live.dial[15]", "angle z", 0 ],
+                       "obj-45::obj-39::obj-73::obj-25::obj-92" : [ "live.dial[9]", "angle y", 0 ],
+                       "obj-45::obj-39::obj-73::obj-25::obj-93" : [ "live.dial[14]", "angle x", 0 ],
+                       "obj-46::obj-17::obj-9" : [ "live.menu[2]", "live.menu[1]", 0 ],
+                       "obj-46::obj-67" : [ "zone_gain[1]", "zone gain", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "parameter_overrides" :                         {
+                               "obj-45::obj-39::obj-73::obj-20::obj-2" :                               {
+                                       "parameter_longname" : "live.text[4]"
+                               }
+,
+                               "obj-45::obj-39::obj-73::obj-20::obj-91" :                              {
+                                       "parameter_longname" : "live.dial[17]"
+                               }
+,
+                               "obj-45::obj-39::obj-73::obj-20::obj-92" :                              {
+                                       "parameter_longname" : "live.dial[16]"
+                               }
+,
+                               "obj-45::obj-39::obj-73::obj-20::obj-93" :                              {
+                                       "parameter_longname" : "live.dial[10]"
+                               }
+,
+                               "obj-45::obj-39::obj-73::obj-25::obj-2" :                               {
+                                       "parameter_longname" : "live.text[3]"
+                               }
+,
+                               "obj-45::obj-39::obj-73::obj-25::obj-91" :                              {
+                                       "parameter_longname" : "live.dial[15]"
+                               }
+,
+                               "obj-45::obj-39::obj-73::obj-25::obj-92" :                              {
+                                       "parameter_longname" : "live.dial[9]"
+                               }
+,
+                               "obj-45::obj-39::obj-73::obj-25::obj-93" :                              {
+                                       "parameter_longname" : "live.dial[14]"
+                               }
+,
+                               "obj-46::obj-17::obj-9" :                               {
+                                       "parameter_longname" : "live.menu[2]"
+                               }
+,
+                               "obj-46::obj-67" :                              {
+                                       "parameter_longname" : "zone_gain[1]"
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "engine_grainmanager.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_sequencer.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_spat5helper.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_voice~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_zone~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.change.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.collect.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.dict.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.difference.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.gather.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.intersection.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.righttoleft.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/ordering",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "polybuf_container~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "seq_eventeditor_ui.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "spat5.oper.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.routepass.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.rotation.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/spat5/patchers",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/spat5/patchers",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "spat5.scaling.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/spat5/patchers",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/spat5/patchers",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "spat5.spat~.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.trajectories.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.transform.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.translation.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/spat5/patchers",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/spat5/patchers",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "thru.maxpat",
+                               "bootpath" : "C74:/patchers/m4l/Pluggo for Live resources/patches",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_sequencer.maxpat b/engine_sequencer.maxpat
new file mode 100644 (file)
index 0000000..a685605
--- /dev/null
@@ -0,0 +1,873 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 397.0, 196.0, 1033.0, 798.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 6,
+                                       "outlettype" : [ "", "", "", "", "", "" ],
+                                       "patching_rect" : [ 47.0, 62.0, 261.0, 22.0 ],
+                                       "text" : "routepass bang dictionary FullPacket clear step"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-18",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 675.0, 40.0, 328.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 734.0, 600.0, 54.0, 22.0 ],
+                                       "text" : "o.accum"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "bang" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 0.0, 0.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 142.0, 197.0, 22.0, 22.0 ],
+                                                                       "text" : "t b"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-28",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 50.0, 197.0, 22.0, 22.0 ],
+                                                                       "text" : "t b"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-18",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 165.0, 111.0, 22.0 ],
+                                                                       "text" : "o.if /engine/on == 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-105",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 129.0, 58.0, 22.0 ],
+                                                                       "text" : "o.change"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-96",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 103.0, 22.0 ],
+                                                                       "text" : "o.pack /engine/on"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-34",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-35",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 279.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-36",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 142.0, 279.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-105", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-28", 0 ],
+                                                                       "source" : [ "obj-18", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-18", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-35", 0 ],
+                                                                       "source" : [ "obj-28", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-96", 0 ],
+                                                                       "source" : [ "obj-34", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-36", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-105", 0 ],
+                                                                       "source" : [ "obj-96", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 29.0, 569.0, 114.0, 22.0 ],
+                                       "text" : "p"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 29.0, 632.0, 201.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-26",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 124.0, 603.0, 113.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 116, 111, 112, 0, 0, 0, 44, 115, 0, 0, 98, 97, 110, 103, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 40,
+                                       "text" : "/stop : \"bang\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 29.0, 663.0, 172.0, 22.0 ],
+                                       "text" : "o.pack #1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 675.0, 697.0, 45.0, 22.0 ],
+                                       "text" : "s store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 155.0, 238.0, 87.0, 22.0 ],
+                                       "text" : "prepend setlist"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-8",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 95.0, 14.0, 32.0, 21.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 547.0, 55.0, 32.0, 21.0 ],
+                                       "text" : "clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "bang", "int", "" ],
+                                       "patching_rect" : [ 47.0, 323.0, 41.0, 22.0 ],
+                                       "text" : "t b 0 s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 282.0, 258.0, 29.5, 22.0 ],
+                                       "text" : "0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-4",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 47.0, 360.0, 60.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 99, 108, 101, 97, 114, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.086274509803922, 0.23921568627451, 0.149019607843137, 1.0 ],
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-3",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 104.0, 173.0, 89.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 713.75, 55.0, 32.25, 19.0 ],
+                                       "text" : "step"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) engine bundle when step value changes",
+                                       "id" : "obj-10",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 29.0, 712.0, 27.0, 27.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(bang) advance",
+                                       "id" : "obj-1",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 47.0, 14.0, 27.0, 27.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 238.0, 171.5, 389.0, 22.0 ],
+                                       "text" : "o.route /steps"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 649.0, 521.0, 79.0, 22.0 ],
+                                       "text" : "o.pack /steps"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 238.0, 137.0, 136.0, 22.0 ],
+                                       "text" : "o.route #1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-104",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "int", "int" ],
+                                       "patching_rect" : [ 47.0, 208.0, 94.0, 22.0 ],
+                                       "text" : "t i i"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.125490196078431, 0.125490196078431, 0.125490196078431, 0.0 ],
+                                       "id" : "obj-92",
+                                       "ignoreclick" : 1,
+                                       "maxclass" : "multislider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "orientation" : 0,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 155.0, 313.0, 654.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.0, 6.0, 745.0, 22.0 ],
+                                       "setminmax" : [ 1.0, 61.0 ],
+                                       "settype" : 0,
+                                       "size" : 60,
+                                       "slidercolor" : [ 1.0, 1.0, 1.0, 1.0 ],
+                                       "thickness" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-58",
+                                       "linecount" : 3,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 398.0, 72.0, 239.0, 60.0 ],
+                                       "text" : "arguments:\n\n1. odot engine argument (ex. /engine/1)\n"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.086274509803922, 0.23921568627451, 0.149019607843137, 1.0 ],
+                                       "id" : "obj-6",
+                                       "maxclass" : "number",
+                                       "maximum" : 60,
+                                       "minimum" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 47.0, 172.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 674.0, 55.0, 37.75, 22.0 ],
+                                       "tricolor" : [ 0.313725490196078, 0.654901960784314, 0.72156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-14",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 47.0, 243.0, 48.0, 21.0 ],
+                                       "text" : "fetch $1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.568627450980392, 0.784313725490196, 0.796078431372549, 1.0 ],
+                                       "id" : "obj-7",
+                                       "maxclass" : "multislider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 155.0, 289.0, 654.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.0, 6.0, 745.0, 22.0 ],
+                                       "setminmax" : [ 0.0, 1.0 ],
+                                       "setstyle" : 1,
+                                       "settype" : 0,
+                                       "signed" : 1,
+                                       "size" : 60,
+                                       "slidercolor" : [ 0.082353, 0.431373, 0.411765, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-52",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "int", "", "", "int" ],
+                                       "patching_rect" : [ 47.0, 101.0, 77.0, 22.0 ],
+                                       "text" : "counter 1 60"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 675.0, 663.0, 172.0, 22.0 ],
+                                       "text" : "o.pack #1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-5",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "seq_eventeditor_ui.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 80.0, 417.0, 633.0, 50.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.0, 29.0, 745.0, 57.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-104", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-92", 0 ],
+                                       "source" : [ "obj-104", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-13", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-13", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-13", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-52", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-13", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-16", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-92", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-16", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-37", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-52", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-104", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.change.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "seq_eventeditor_ui.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_spat5helper.maxhelp b/engine_spat5helper.maxhelp
new file mode 100644 (file)
index 0000000..c8a3218
--- /dev/null
@@ -0,0 +1,508 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 105.0, 114.0, 761.0, 560.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 308.0, 25.0, 35.0, 22.0 ],
+                                       "text" : "r osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 153.0, 63.0, 113.0, 20.0 ],
+                                       "text" : "enable preset recall"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 0.0, 0.0, 1000.0, 700.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-16",
+                                                                       "linecount" : 5,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 213.0, 75.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 116, 121, 112, 101, 0, 0, 44, 115, 0, 0, 102, 105, 103, 117, 114, 101, 111, 102, 56, 0, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 99, 111, 108, 111, 114, 0, 44, 115, 0, 0, 103, 114, 101, 121, 0, 0, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 110, 97, 109, 101, 0, 0, 44, 115, 0, 0, 101, 110, 103, 105, 110, 101, 50, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 115, 112, 101, 101, 100, 0, 44, 100, 0, 0, 63, -11, 83, -9, -50, -39, 22, -121, 0, 0, 0, 24, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 111, 110, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1 ],
+                                                                       "saved_bundle_length" : 176,
+                                                                       "text" : "/source/1/type : \"figureof8\",\n/source/1/color : \"grey\",\n/source/1/name : \"engine2\",\n/source/1/speed : 1.333,\n/source/1/on : 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-14",
+                                                                       "linecount" : 5,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 309.0, 100.0, 226.0, 75.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 116, 121, 112, 101, 0, 0, 44, 115, 0, 0, 99, 105, 114, 99, 108, 101, 0, 0, 0, 0, 0, 32, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 99, 111, 108, 111, 114, 0, 44, 115, 0, 0, 108, 105, 103, 104, 116, 103, 114, 101, 101, 110, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 110, 97, 109, 101, 0, 0, 44, 115, 0, 0, 101, 110, 103, 105, 110, 101, 49, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 115, 112, 101, 101, 100, 0, 44, 100, 0, 0, 64, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 111, 110, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1 ],
+                                                                       "saved_bundle_length" : 176,
+                                                                       "text" : "/source/1/type : \"circle\",\n/source/1/color : \"lightgreen\",\n/source/1/name : \"engine1\",\n/source/1/speed : 20.,\n/source/1/on : 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-26",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 173.5, 235.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-26", 0 ],
+                                                                       "source" : [ "obj-14", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-26", 0 ],
+                                                                       "source" : [ "obj-16", 0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "originid" : "pat-238"
+                                       }
+,
+                                       "patching_rect" : [ 411.0, 62.0, 97.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "globalpatchername" : ""
+                                       }
+,
+                                       "text" : "p demo_bundles"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 268.0, 61.0, 24.0, 24.0 ],
+                                       "svg" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 268.0, 104.0, 58.5, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 308.0, 62.0, 81.0, 22.0 ],
+                                       "text" : "o.route /recall"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 461.0, 395.0, 37.0, 22.0 ],
+                                       "text" : "s osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 461.0, 270.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 461.0, 364.0, 96.0, 22.0 ],
+                                       "text" : "o.prepend /store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 461.0, 334.0, 35.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 88.0, 167.0, 24.0, 24.0 ],
+                                       "svg" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 88.0, 211.0, 64.0, 22.0 ],
+                                       "text" : "o.pack /on"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-17",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 396.0, 158.0, 60.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 99, 108, 101, 97, 114, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 268.0, 158.0, 99.0, 22.0 ],
+                                       "text" : "o.route /source/1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "", "", "" ],
+                                       "patching_rect" : [ 295.0, 370.0, 65.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "parameter_enable" : 0
+                                       }
+,
+                                       "text" : "spat5.oper"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 268.0, 432.0, 54.0, 22.0 ],
+                                       "text" : "o.accum"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-4",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 268.0, 459.0, 334.0, 59.0 ],
+                                       "text" : "/source/1/xyz : [-0.282846, -0.959165, 0.],\n/source/1/color : \"red\",\n/source/1/name : \"src1\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/source/1" ],
+                                       "bgcolor" : [ 1.0, 1.0, 1.0, 0.56 ],
+                                       "bgmode" : 2,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-2",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_spat5helper.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket", "" ],
+                                       "patching_rect" : [ 268.0, 217.0, 158.0, 105.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 1 ],
+                                       "source" : [ "obj-2", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 1 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-236",
+               "dependency_cache" : [                  {
+                               "name" : "engine_spat5helper.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.oper.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.trajectories.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_spat5helper.maxpat b/engine_spat5helper.maxpat
new file mode 100644 (file)
index 0000000..30fabbb
--- /dev/null
@@ -0,0 +1,876 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 34.0, 134.0, 1372.0, 732.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 337.0, 175.0, 35.0, 22.0 ],
+                                       "text" : "set 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-34",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 632.5, 129.0, 35.0, 22.0 ],
+                                       "text" : "set 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 1056.0, 197.0, 31.0, 22.0 ],
+                                       "text" : "t b s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 862.0, 165.0, 121.0, 22.0 ],
+                                       "text" : "#3"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 1056.0, 113.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 1056.0, 165.0, 121.0, 22.0 ],
+                                       "text" : "#2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 189.0, 175.0, 80.0, 22.0 ],
+                                       "text" : "loadmess 20."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "clear", "bang", "bang" ],
+                                       "patching_rect" : [ 621.0, -47.0, 61.0, 22.0 ],
+                                       "text" : "t clear b b"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 962.0, 262.5, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 93.75, 27.875, 41.0, 20.0 ],
+                                       "text" : "color"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 1136.0, 269.0, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 93.75, 3.875, 41.0, 20.0 ],
+                                       "text" : "name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 874.0, 229.0, 94.0, 22.0 ],
+                                       "text" : "prepend symbol"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 1068.0, 233.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 862.0, 331.0, 77.0, 22.0 ],
+                                       "text" : "o.pack /color"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 1056.0, 331.0, 81.0, 22.0 ],
+                                       "text" : "o.pack /name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 1056.0, 299.0, 59.0, 22.0 ],
+                                       "text" : "route text"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bordercolor" : [ 0.219607843137255, 0.219607843137255, 0.219607843137255, 0.0 ],
+                                       "id" : "obj-21",
+                                       "maxclass" : "textedit",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 1056.0, 265.0, 78.0, 28.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.5, 4.0, 86.25, 19.75 ],
+                                       "text" : "#2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "live.menu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "float" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 862.0, 265.0, 81.0, 15.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.125, 30.375, 85.0, 15.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_enum" : [ "black", "white", "blue", "grey", "green", "red", "yellow", "aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "blanchedalmond", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgrey", "darkgreen", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "greenyellow", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "whitesmoke", "yellowgreen" ],
+                                                       "parameter_longname" : "live.menu[1]",
+                                                       "parameter_mmax" : 140,
+                                                       "parameter_modmode" : 0,
+                                                       "parameter_osc_name" : "<default>",
+                                                       "parameter_shortname" : "live.menu[1]",
+                                                       "parameter_type" : 2
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.menu[1]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 695.0, 320.0, 64.0, 22.0 ],
+                                       "text" : "o.pack /on"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 695.0, 352.0, 149.0, 22.0 ],
+                                       "text" : "o.prepend #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 677.0, 390.0, 54.0, 22.0 ],
+                                       "text" : "o.accum"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-10",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 677.0, 455.0, 25.0, 25.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "linecount" : 4,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 657.0, 555.0, 211.0, 60.0 ],
+                                       "text" : "arg 1: osc address\narg 2: source label\narg 3: source color\narg 4: trajectory type (unimplemented)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 862.0, 382.0, 149.0, 22.0 ],
+                                       "text" : "o.prepend #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 578.0, 271.0, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 134.5, 56.0, 22.0, 20.0 ],
+                                       "text" : "on"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-18",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 316.0, 40.0, 25.0, 25.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 548.0, 269.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 106.5, 54.0, 24.0, 24.0 ],
+                                       "svg" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 424.666666666666686, 151.0, 94.0, 22.0 ],
+                                       "text" : "prepend symbol"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 7,
+                                       "outlettype" : [ "", "", "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 316.0, 79.0, 671.0, 22.0 ],
+                                       "text" : "o.route /speed /type /on /color /name /clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 371.0, 243.0, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 57.5, 56.0, 41.0, 20.0 ],
+                                       "text" : "speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "items" : [ "circle", ",", "ellipse", ",", "figureof8", ",", "dumbbell", ",", "rose", ",", "epicycloid", ",", "hypocycloid", ",", "hippopede", ",", "garfield", ",", "freethnephroid", ",", "limacon", ",", "folium", ",", "ophiuride", ",", "lituus", ",", "scarabeus", ",", "cochleoid", ",", "bifoliate", ",", "bifolium", ",", "neoid", ",", "cayleysextic", ",", "strophoid", ",", "cranioid", ",", "seiffert", ",", "butterfly", ",", "piriform", ",", "heart", ",", "cardioid", ",", "lemniscate", ",", "astroid", ",", "deltoid", ",", "boatpropeller", ",", "kiss", ",", "trefoil", ",", "torpedo", ",", "cevatrisectrix", ",", "polygasteroid", ",", "maltesecross", ",", "talbot", ",", "besace", ",", "bicorn", ",", "oval", ",", "cornoid" ],
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 424.666666666666686, 185.0, 100.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.5, 79.0, 100.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 395.0, 455.0, 150.0, 20.0 ],
+                                       "text" : "to spat5.oper "
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-2",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 316.0, 455.0, 25.0, 25.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-72",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 316.0, 243.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.5, 55.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-70",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 316.0, 270.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 316.0, 408.0, 248.0, 22.0 ],
+                                       "text" : "spat5.osc.prepend #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 465.166666666666686, 270.0, 73.0, 22.0 ],
+                                       "text" : "o.pack /type"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 316.0, 377.0, 264.0, 22.0 ],
+                                       "text" : "spat5.trajectories @initwith \"/rate 20, /speed 20\""
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "source" : [ "obj-1", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-11", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-11", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-11", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-11", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-11", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-72", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-72", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-33", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-72", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-6", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-70", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-70", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-70", 0 ],
+                                       "source" : [ "obj-72", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-9", 1 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-2444",
+               "parameters" :          {
+                       "obj-9" : [ "live.menu[1]", "live.menu[1]", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.trajectories.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_status.json b/engine_status.json
new file mode 100644 (file)
index 0000000..344ab43
--- /dev/null
@@ -0,0 +1,74 @@
+{
+       "seq/1" :       {
+               "event/1" :             {
+                       "loop" : 1,
+                       "generate" : 1,
+                       "speed" : 45.0,
+                       "density" : 117.0,
+                       "variety" : 0.47,
+                       "auxsend" : 0.067,
+                       "spacing/range" : [ 45.0, 248.0 ],
+                       "cat" : "foo"
+               }
+,
+               "event/16" :            {
+                       "loop" : 1,
+                       "generate" : 1,
+                       "speed" : 45.0,
+                       "density" : 117.0,
+                       "auxsend" : 0.067,
+                       "cat" : "strings"
+               }
+,
+               "multislider" : [ 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0 ]
+       }
+,
+       "seq/2" :       {
+               "multislider" : [ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ],
+               "event/1" :             {
+                       "loop" : 1,
+                       "generate" : 1,
+                       "speed" : 0.941,
+                       "density" : 0.4,
+                       "variety" : 0.4,
+                       "auxsend" : 0.3,
+                       "spacing/range" : [ 58.0, 520.0 ],
+                       "cat" : "Cello"
+               }
+,
+               "event/3" :             {
+                       "loop" : 0,
+                       "generate" : 1,
+                       "speed" : 0.93,
+                       "density" : 0.4,
+                       "variety" : 0.4,
+                       "auxsend" : 0.3,
+                       "spacing/range" : [ 58.0, 520.0 ],
+                       "cat" : "Cello"
+               }
+,
+               "event/14" :            {
+                       "loop" : 0,
+                       "generate" : 1,
+                       "speed" : 0.93,
+                       "density" : 0.4,
+                       "variety" : 0.4,
+                       "auxsend" : 0.3,
+                       "spacing/range" : [ 58.0, 520.0 ],
+                       "cat" : "Cello"
+               }
+,
+               "event/35" :            {
+                       "loop" : 0,
+                       "generate" : 0,
+                       "speed" : 1.0,
+                       "density" : 0.4,
+                       "variety" : 0.4,
+                       "auxsend" : 0.07,
+                       "spacing/range" : [ 33.0, 400.0 ],
+                       "cat" : "brass"
+               }
+
+       }
+
+}
diff --git a/engine_voice~.maxhelp b/engine_voice~.maxhelp
new file mode 100644 (file)
index 0000000..73dae94
--- /dev/null
@@ -0,0 +1,1356 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 66.0, 109.0, 1015.0, 574.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "color" : [ 0.27843137254902, 0.701960784313725, 0.235294117647059, 1.0 ],
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 0,
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 155.0, 87.0, 1159.0, 743.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-15",
+                                                                       "linecount" : 11,
+                                                                       "maxclass" : "o.display",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 747.0, 332.0, 314.0, 161.0 ],
+                                                                       "text" : "/rand/int : 2324,\n/buffer/name : \"somethin\",\n/buffer/len : 8855.69,\n/speed : 1.5,\n/loop : false,\n/spacing/range : [300, 1800],\n/phaseout : false,\n/density : 0.5,\n/rand : 0.232423,\n/loval : 10250.,\n/hival : 5005."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-13",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patcher" :                                                                     {
+                                                                               "fileversion" : 1,
+                                                                               "appversion" :                                                                          {
+                                                                                       "major" : 9,
+                                                                                       "minor" : 0,
+                                                                                       "revision" : 2,
+                                                                                       "architecture" : "x64",
+                                                                                       "modernui" : 1
+                                                                               }
+,
+                                                                               "classnamespace" : "box",
+                                                                               "rect" : [ 59.0, 106.0, 514.0, 509.0 ],
+                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                               "boxes" : [                                                                                     {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-3",
+                                                                                                       "index" : 2,
+                                                                                                       "maxclass" : "outlet",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 293.0, 425.0, 30.0, 30.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-10",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 142.0, 114.0, 79.0, 22.0 ],
+                                                                                                       "text" : "o.select /stop"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-60",
+                                                                                                       "maxclass" : "message",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 182.0, 306.0, 49.0, 22.0 ],
+                                                                                                       "text" : "target 0"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-58",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "bang" ],
+                                                                                                       "patching_rect" : [ 142.0, 273.0, 59.0, 22.0 ],
+                                                                                                       "text" : "t l b"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-36",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 242.0, 114.0, 125.0, 22.0 ],
+                                                                                                       "text" : "o.route /metro/interval"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-28",
+                                                                                                       "maxclass" : "toggle",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "int" ],
+                                                                                                       "parameter_enable" : 0,
+                                                                                                       "patching_rect" : [ 61.0, 114.0, 24.0, 24.0 ],
+                                                                                                       "svg" : ""
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-26",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "FullPacket" ],
+                                                                                                       "patcher" :                                                                                                     {
+                                                                                                               "fileversion" : 1,
+                                                                                                               "appversion" :                                                                                                          {
+                                                                                                                       "major" : 9,
+                                                                                                                       "minor" : 0,
+                                                                                                                       "revision" : 2,
+                                                                                                                       "architecture" : "x64",
+                                                                                                                       "modernui" : 1
+                                                                                                               }
+,
+                                                                                                               "classnamespace" : "box",
+                                                                                                               "rect" : [ 336.0, 103.0, 432.0, 380.0 ],
+                                                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                                                               "boxes" : [                                                                                                                     {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-10",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "FullPacket" ],
+                                                                                                                                       "patching_rect" : [ 42.0, 192.0, 117.0, 22.0 ],
+                                                                                                                                       "text" : "o.union"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-9",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "FullPacket" ],
+                                                                                                                                       "patching_rect" : [ 41.5, 161.0, 91.0, 22.0 ],
+                                                                                                                                       "text" : "o.pack /rand/int"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "fontface" : 0,
+                                                                                                                                       "id" : "obj-8",
+                                                                                                                                       "linecount" : 4,
+                                                                                                                                       "maxclass" : "o.expr.codebox",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                                                                                       "patching_rect" : [ 42.0, 227.0, 368.0, 70.0 ],
+                                                                                                                                       "text" : "/rand = /rand/int / 9999.,\n/loval = scale(/density, 0., 1., 20000, 500),\n/hival = scale(/density, 0., 1., 10000, 10), \n/metro/interval = scale(/rand, 0., 1., /loval, /hival)"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-7",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "bang", "" ],
+                                                                                                                                       "patching_rect" : [ 42.0, 96.0, 117.0, 22.0 ],
+                                                                                                                                       "text" : "t b l"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "comment" : "",
+                                                                                                                                       "id" : "obj-1",
+                                                                                                                                       "index" : 1,
+                                                                                                                                       "maxclass" : "outlet",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 0,
+                                                                                                                                       "patching_rect" : [ 42.0, 334.0, 30.0, 30.0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-17",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "" ],
+                                                                                                                                       "patching_rect" : [ 41.5, 135.0, 86.0, 22.0 ],
+                                                                                                                                       "text" : "random 10000"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "comment" : "",
+                                                                                                                                       "id" : "obj-25",
+                                                                                                                                       "index" : 1,
+                                                                                                                                       "maxclass" : "inlet",
+                                                                                                                                       "numinlets" : 0,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "FullPacket" ],
+                                                                                                                                       "patching_rect" : [ 41.5, 56.0, 30.0, 30.0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+ ],
+                                                                                                               "lines" : [                                                                                                                     {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-8", 0 ],
+                                                                                                                                       "source" : [ "obj-10", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-9", 0 ],
+                                                                                                                                       "source" : [ "obj-17", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-7", 0 ],
+                                                                                                                                       "source" : [ "obj-25", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-10", 1 ],
+                                                                                                                                       "source" : [ "obj-7", 1 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-17", 0 ],
+                                                                                                                                       "source" : [ "obj-7", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-1", 0 ],
+                                                                                                                                       "source" : [ "obj-8", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-10", 0 ],
+                                                                                                                                       "source" : [ "obj-9", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+ ],
+                                                                                                               "originid" : "pat-232"
+                                                                                                       }
+,
+                                                                                                       "patching_rect" : [ 61.0, 230.0, 111.0, 22.0 ],
+                                                                                                       "saved_object_attributes" :                                                                                                     {
+                                                                                                               "globalpatchername" : ""
+                                                                                                       }
+,
+                                                                                                       "text" : "p generate_interval"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-21",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "FullPacket" ],
+                                                                                                       "patching_rect" : [ 61.0, 200.0, 160.0, 22.0 ],
+                                                                                                       "text" : "o.var"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-14",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "bang" ],
+                                                                                                       "patching_rect" : [ 61.0, 172.0, 126.0, 22.0 ],
+                                                                                                       "text" : "metro 6000"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-13",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 61.0, 82.0, 100.0, 22.0 ],
+                                                                                                       "text" : "o.route /generate"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-2",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 348.0, 306.0, 79.0, 22.0 ],
+                                                                                                       "text" : "prepend note"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-11",
+                                                                                                       "index" : 1,
+                                                                                                       "maxclass" : "inlet",
+                                                                                                       "numinlets" : 0,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 61.0, 22.0, 30.0, 30.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-12",
+                                                                                                       "index" : 1,
+                                                                                                       "maxclass" : "outlet",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 142.0, 432.0, 30.0, 30.0 ]
+                                                                                               }
+
+                                                                                       }
+ ],
+                                                                               "lines" : [                                                                                     {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-21", 1 ],
+                                                                                                       "source" : [ "obj-10", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-58", 0 ],
+                                                                                                       "source" : [ "obj-10", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-13", 0 ],
+                                                                                                       "source" : [ "obj-11", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-10", 0 ],
+                                                                                                       "source" : [ "obj-13", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-28", 0 ],
+                                                                                                       "source" : [ "obj-13", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-21", 0 ],
+                                                                                                       "source" : [ "obj-14", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-12", 0 ],
+                                                                                                       "source" : [ "obj-2", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-26", 0 ],
+                                                                                                       "source" : [ "obj-21", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-36", 0 ],
+                                                                                                       "midpoints" : [ 70.5, 258.444488525390625, 393.28814697265625, 258.444488525390625, 393.28814697265625, 101.0, 251.5, 101.0 ],
+                                                                                                       "source" : [ "obj-26", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-14", 0 ],
+                                                                                                       "source" : [ "obj-28", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-14", 1 ],
+                                                                                                       "source" : [ "obj-36", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-2", 0 ],
+                                                                                                       "order" : 0,
+                                                                                                       "source" : [ "obj-36", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-3", 0 ],
+                                                                                                       "order" : 1,
+                                                                                                       "source" : [ "obj-36", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-12", 0 ],
+                                                                                                       "source" : [ "obj-58", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-60", 0 ],
+                                                                                                       "source" : [ "obj-58", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-12", 0 ],
+                                                                                                       "source" : [ "obj-60", 0 ]
+                                                                                               }
+
+                                                                                       }
+ ],
+                                                                               "originid" : "pat-230"
+                                                                       }
+,
+                                                                       "patching_rect" : [ 348.0, 294.0, 131.0, 22.0 ],
+                                                                       "saved_object_attributes" :                                                                     {
+                                                                               "globalpatchername" : ""
+                                                                       }
+,
+                                                                       "text" : "p process_note-bundle"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-57",
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 577.0, 257.0, 54.0, 23.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 115, 116, 111, 112, 0, 0, 0, 44, 0, 0, 0 ],
+                                                                       "saved_bundle_length" : 32,
+                                                                       "text" : "/stop"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-3",
+                                                                       "linecount" : 7,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 127.0, 103.0, 213.0, 100.0 ],
+                                                                       "presentation_linecount" : 7,
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 103, 101, 110, 101, 114, 97, 116, 101, 0, 0, 0, 44, 70, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -63, 75, -40, 81, -21, -123, 31, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 70, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 1, 44, 0, 0, 7, 8, 0, 0, 0, 16, 47, 112, 104, 97, 115, 101, 111, 117, 116, 0, 0, 0, 44, 70, 0, 0 ],
+                                                                       "saved_bundle_length" : 192,
+                                                                       "text" : "/generate : false,\n/buffer/name : \"somethin\",\n/buffer/len : 8855.69,\n/speed : 1.5,\n/loop : false,\n/spacing/range : [300, 1800],\n/phaseout : false"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-63",
+                                                                       "linecount" : 3,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 637.0, 245.0, 150.0, 47.0 ],
+                                                                       "text" : "manually stop all voices from playing back (and free up DSP)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-56",
+                                                                       "maxclass" : "spectroscope~",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 137.0, 502.0, 116.0, 47.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-55",
+                                                                       "maxclass" : "gain~",
+                                                                       "multichannelvariant" : 0,
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "signal", "" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 101.0, 502.0, 22.0, 140.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-54",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 5,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "signal" ],
+                                                                       "patching_rect" : [ 101.0, 465.0, 152.0, 22.0 ],
+                                                                       "text" : "comb~ 1000 100 0.9 0. 0.9"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-53",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "signal" ],
+                                                                       "patching_rect" : [ 101.0, 428.0, 120.0, 22.0 ],
+                                                                       "text" : "receive~ engine_aux"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-52",
+                                                                       "linecount" : 8,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 348.0, 103.0, 213.0, 113.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 103, 101, 110, 101, 114, 97, 116, 101, 0, 0, 0, 44, 84, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -63, 75, -40, 81, -21, -123, 31, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 70, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 1, 44, 0, 0, 7, 8, 0, 0, 0, 16, 47, 112, 104, 97, 115, 101, 111, 117, 116, 0, 0, 0, 44, 70, 0, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0 ],
+                                                                       "saved_bundle_length" : 220,
+                                                                       "text" : "/generate : true,\n/buffer/name : \"somethin\",\n/buffer/len : 8855.69,\n/speed : 1.5,\n/loop : false,\n/spacing/range : [300, 1800],\n/phaseout : false,\n/density : 0.5"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-50",
+                                                                       "linecount" : 6,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 808.0, 103.0, 201.0, 87.0 ],
+                                                                       "text" : "density is accounted for in the context of this poly~ example by retriggering notes at variable interval (uses metro currently), as mapped in the subpatcher [generate_interval].  "
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-16",
+                                                                       "linecount" : 9,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 568.0, 103.0, 213.0, 126.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 103, 101, 110, 101, 114, 97, 116, 101, 0, 0, 0, 44, 84, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -63, 75, -40, 81, -21, -123, 31, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 84, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 1, 44, 0, 0, 7, 8, 0, 0, 0, 16, 47, 112, 104, 97, 115, 101, 111, 117, 116, 0, 0, 0, 44, 70, 0, 0, 0, 0, 0, 24, 47, 97, 117, 120, 115, 101, 110, 100, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0 ],
+                                                                       "saved_bundle_length" : 248,
+                                                                       "text" : "/generate : true,\n/buffer/name : \"somethin\",\n/buffer/len : 8855.69,\n/speed : 1.5,\n/loop : true,\n/spacing/range : [300, 1800],\n/phaseout : false,\n/auxsend : 0.,\n/density : 0.5"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "buffername" : "somethin",
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "waveform~",
+                                                                       "numinlets" : 5,
+                                                                       "numoutlets" : 6,
+                                                                       "outlettype" : [ "float", "float", "float", "float", "list", "" ],
+                                                                       "patching_rect" : [ 424.0, 633.0, 300.0, 47.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "ezdac~",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 348.0, 662.0, 45.0, 45.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "spectroscope~",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 424.0, 526.0, 300.0, 100.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "gain~",
+                                                                       "multichannelvariant" : 0,
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "signal", "" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 348.0, 502.0, 22.0, 140.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "signal", "", "" ],
+                                                                       "patching_rect" : [ 348.0, 465.0, 236.0, 22.0 ],
+                                                                       "text" : "poly~ engine_voice~ @voices 10 @steal 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "attr" : "voices",
+                                                                       "id" : "obj-51",
+                                                                       "maxclass" : "attrui",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 450.0, 428.0, 150.0, 22.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-13", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-15", 0 ],
+                                                                       "source" : [ "obj-13", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "source" : [ "obj-16", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 1 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-51", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "source" : [ "obj-52", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-54", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-53", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-56", 0 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-53", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-55", 0 ],
+                                                                       "source" : [ "obj-54", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 1 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-55", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-55", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "source" : [ "obj-57", 0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "originid" : "pat-82"
+                                       }
+,
+                                       "patching_rect" : [ 39.0, 293.0, 86.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "globalpatchername" : ""
+                                       }
+,
+                                       "text" : "p poly_version"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-2",
+                                       "linecount" : 5,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 385.0, 183.0, 213.0, 75.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -63, 75, -40, 81, -21, -123, 31, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 84, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 1, 44, 0, 0, 7, 8 ],
+                                       "saved_bundle_length" : 148,
+                                       "text" : "/buffer/name : \"somethin\",\n/buffer/len : 8855.69,\n/speed : 1,\n/loop : true,\n/spacing/range : [300, 1800]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "hidden" : 1,
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 350.0, 358.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "hidden" : 1,
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "FullPacket" ],
+                                       "patching_rect" : [ 282.0, 314.0, 156.0, 22.0 ],
+                                       "text" : "o.route /phase /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 99.0, 438.0, 35.0, 22.0 ],
+                                       "text" : "open"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "multislider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "orientation" : 0,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 424.0, 470.0, 300.0, 12.0 ],
+                                       "setminmax" : [ 0.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 482.5, 484.0, 183.0, 20.0 ],
+                                       "text" : "phase of playback (for trajectory)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "buffername" : "somethin",
+                                       "id" : "obj-11",
+                                       "maxclass" : "waveform~",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 6,
+                                       "outlettype" : [ "float", "float", "float", "float", "list", "" ],
+                                       "patching_rect" : [ 424.0, 410.0, 300.0, 58.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "linecount" : 4,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 233.0, 144.0, 150.0, 60.0 ],
+                                       "text" : "the buffer length is calculated by the polybuffer_container module..."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-1",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 322.0, 215.0, 54.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 115, 116, 111, 112, 0, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-48",
+                                       "linecount" : 5,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 31.0, 144.0, 199.0, 75.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 50, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -62, 50, -84, -52, -52, -52, -51, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 2, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 84, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 0, 10, 0, 0, 1, -112 ],
+                                       "saved_bundle_length" : 148,
+                                       "text" : "/buffer/name : \"somethin2\",\n/buffer/len : 9317.35,\n/speed : 2,\n/loop : true,\n/spacing/range : [10, 400]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-18",
+                                       "linecount" : 6,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 255.0, 19.0, 206.0, 87.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -63, 75, -40, 81, -21, -123, 31, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 63, -45, 51, 51, 51, 51, 51, 51, 63, -43, 30, -72, 81, -21, -123, 31, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 84, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 0, 50, 0, 0, 1, 44 ],
+                                       "saved_bundle_length" : 188,
+                                       "text" : "/buffer/name : \"somethin\",\n/buffer/len : 8855.69,\n/segment : [0.3, 0.33],\n/speed : 1.5,\n/loop : true,\n/spacing/range : [50, 300]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-16",
+                                       "linecount" : 5,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 31.0, 19.0, 213.0, 75.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -63, 75, -40, 81, -21, -123, 31, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 70, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 1, 44, 0, 0, 7, 8 ],
+                                       "saved_bundle_length" : 148,
+                                       "text" : "/buffer/name : \"somethin\",\n/buffer/len : 8855.69,\n/speed : 1,\n/loop : false,\n/spacing/range : [300, 1800]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "FullPacket" ],
+                                       "patching_rect" : [ 199.0, 268.0, 96.0, 22.0 ],
+                                       "text" : "engine_voice~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "linecount" : 5,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 742.0, 301.0, 229.0, 74.0 ],
+                                       "text" : "– polyphony\n– voice activation rules / durations\n– variety as it pertains to other params\n– high level definitions of activity (able to be edited by user)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "linecount" : 9,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 742.0, 163.0, 151.0, 127.0 ],
+                                       "text" : "– file set\n– density\n– spatial speed / traj \n– volume \n– variety measure\n– send for FX\n– categorization definitions\n– relevant file info\n– loop status"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 586.0, 83.0, 48.0, 22.0 ],
+                                       "text" : "replace"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 586.0, 25.0, 48.0, 22.0 ],
+                                       "text" : "replace"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "ezdac~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 199.0, 498.0, 33.5, 33.5 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "signal", "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 199.0, 347.0, 77.0, 139.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "live.gain~",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_osc_name" : "<default>",
+                                                       "parameter_shortname" : "engine.signal",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.gain~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 424.0, 308.0, 300.0, 100.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 586.0, 109.0, 172.0, 22.0 ],
+                                       "text" : "buffer~ somethin2 brushes.aif"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 586.0, 51.0, 167.0, 22.0 ],
+                                       "text" : "buffer~ somethin duduk.aif"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-36", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-48", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 1 ],
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-9", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-80",
+               "parameters" :          {
+                       "obj-7" : [ "live.gain~", "engine.signal", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "engine_voice~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0,
+               "editing_bgcolor" : [ 0.203921568627451, 0.282352941176471, 0.298039215686275, 1.0 ]
+       }
+
+}
diff --git a/engine_voice~.maxpat b/engine_voice~.maxpat
new file mode 100644 (file)
index 0000000..23d3543
--- /dev/null
@@ -0,0 +1,1416 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 356.0, 87.0, 1012.0, 779.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "lefttoolbarpinned" : 1,
+               "toptoolbarpinned" : 1,
+               "righttoolbarpinned" : 1,
+               "bottomtoolbarpinned" : 1,
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 276.0, 836.0, 34.0, 22.0 ],
+                                       "text" : "*~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 276.0, 876.0, 107.0, 22.0 ],
+                                       "text" : "send~ #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 14.0, 636.0, 59.0, 22.0 ],
+                                       "text" : "mute 1, 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 14.0, 601.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "int", "int" ],
+                                       "patching_rect" : [ 15.0, 692.0, 56.0, 22.0 ],
+                                       "text" : "thispoly~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 523.0, 889.0, 35.0, 22.0 ],
+                                       "text" : "out 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 193.0, 868.0, 42.0, 22.0 ],
+                                       "text" : "out~ 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 548.0, 31.0, 28.0, 22.0 ],
+                                       "text" : "in 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-42",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "", "int", "start" ],
+                                       "patching_rect" : [ 257.0, 278.0, 188.799999999999841, 22.0 ],
+                                       "text" : "t l l 0 start"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-41",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 671.0, 476.0, 231.0, 22.0 ],
+                                       "text" : "o.route /line /loop /p /auxsend"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-40",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 481.0, 78.0, 128.0, 22.0 ],
+                                       "text" : "o.route /spacing/range"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 486.0, 539.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "float", "float" ],
+                                                                       "patching_rect" : [ 260.0, 104.0, 74.0, 22.0 ],
+                                                                       "text" : "unpack 0. 0."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-5",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 256.0, 51.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 6,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 226.0, 103.0, 22.0 ],
+                                                                       "text" : "scale 0. 1. 0.8 1.2"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 83.0, 95.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "float" ],
+                                                                       "patching_rect" : [ 83.0, 177.0, 45.0, 22.0 ],
+                                                                       "text" : "/ 9999."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 137.0, 89.0, 22.0 ],
+                                                                       "text" : "random 10000."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 83.0, 282.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 83.0, 43.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 4 ],
+                                                                       "source" : [ "obj-6", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 3 ],
+                                                                       "source" : [ "obj-6", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 386.0, 550.0, 114.0, 22.0 ],
+                                       "text" : "p choose_spacing"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "bang", "bang", "" ],
+                                       "patching_rect" : [ 132.0, 468.0, 526.0, 22.0 ],
+                                       "text" : "t b b l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 289.0, 347.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 6,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 226.0, 103.0, 22.0 ],
+                                                                       "text" : "scale 0. 1. 0.8 1.2"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 83.0, 95.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "float" ],
+                                                                       "patching_rect" : [ 83.0, 177.0, 45.0, 22.0 ],
+                                                                       "text" : "/ 9999."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 137.0, 89.0, 22.0 ],
+                                                                       "text" : "random 10000."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 83.0, 282.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 83.0, 43.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 132.0, 601.0, 87.0, 22.0 ],
+                                       "text" : "p gain_choose"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 427.0, 763.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /phase"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 58.0, 91.0, 998.0, 654.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-2",
+                                                                       "linecount" : 17,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 570.0, 333.0, 474.0, 236.0 ],
+                                                                       "text" : "/spacing/ms ??= 0,\n/segment ??= [0., 1.],\n/p = /segment * /buffer/len,\n/dur = abs(/p[[0]] - /p[[1]]) * (1. / /speed),\n/line = [/p[[0]], 0, /p[[1]], /dur],\nif(\n  exists(/numplays) && (/numplays > 1), \n  progn(\n    /numplays--, \n    /active = 1, \n    /total = (/dur * /numplays) + ((/spacing/ms - 1) * /numplays)\n  ), \n  progn(\n    delete(/numplays), \n    /active = 0\n  )\n)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-27",
+                                                                       "linecount" : 5,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 182.0, 474.0, 83.0 ],
+                                                                       "text" : "/spacing/ms ??= 0,\n/segment ??= [0., 1.],\n/p = /segment * /buffer/len,\n/dur = abs(/p[[0]] - /p[[1]]) * (1. / /speed),\n/line = [/p[[0]], 0, /p[[1]], /dur]"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-5",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-7",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 474.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-27", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-27", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 132.0, 429.0, 103.0, 22.0 ],
+                                       "text" : "p process_bundle"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 651.0, 145.0, 36.0, 22.0 ],
+                                       "text" : "rate~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "stop" ],
+                                       "patching_rect" : [ 265.0, 717.0, 51.0, 22.0 ],
+                                       "text" : "t 0. stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 2,
+                                       "fontsize" : 10.0,
+                                       "id" : "obj-23",
+                                       "linecount" : 6,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 651.0, 35.0, 147.0, 74.0 ],
+                                       "text" : "currently outputs the phase of any sample playback, whether it be delayed or not.  Does not account for the overall aggregated time involved in repetitions + delays"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 380.0, 1145.0, 67.0, 22.0 ],
+                                       "text" : "transratio"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 598.0, 738.0, 120.0, 22.0 ],
+                                       "text" : "o.select /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "float" ],
+                                       "patching_rect" : [ 88.0, 157.0, 529.0, 22.0 ],
+                                       "text" : "t l l 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "patching_rect" : [ 265.0, 651.0, 29.5, 22.0 ],
+                                       "text" : "!- 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 265.0, 683.0, 51.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 518.0, 662.0, 74.0, 22.0 ],
+                                       "text" : "unpack 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 427.0, 699.0, 137.0, 22.0 ],
+                                       "text" : "scale 0. 1. 0. 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-4",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 454.5, 887.0, 26.0, 26.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 427.0, 669.0, 81.0, 22.0 ],
+                                       "text" : "snapshot~ 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 334.0, 601.0, 55.399999999999977, 22.0 ],
+                                       "text" : "del 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "stop" ],
+                                       "patching_rect" : [ 52.0, 511.0, 38.0, 22.0 ],
+                                       "text" : "t stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 88.0, 186.0, 114.0, 22.0 ],
+                                       "text" : "o.if exists(/stop)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 651.0, 116.0, 67.0, 22.0 ],
+                                       "text" : "transratio"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 257.0, 247.0, 35.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-39",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 710.0, 534.0, 124.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "signal", "", "" ],
+                                       "patching_rect" : [ 132.0, 651.0, 96.0, 22.0 ],
+                                       "text" : "adsr~ 10 0 1. 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 132.0, 683.0, 107.599999999999994, 22.0 ],
+                                       "text" : "*~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 314.0, 322.0, 157.0, 22.0 ],
+                                       "text" : "o.route /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "bang" ],
+                                       "patching_rect" : [ 221.0, 558.0, 95.0, 22.0 ],
+                                       "text" : "line~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 314.0, 351.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 509.0, 402.0, 79.0, 22.0 ],
+                                       "text" : "buffer~ buffet"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "bang" ],
+                                       "patching_rect" : [ 221.0, 601.0, 71.0, 22.0 ],
+                                       "text" : "play~ buffet"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-34",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 132.0, 787.0, 26.0, 26.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-35",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 481.0, 28.0, 28.0, 28.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 1 ],
+                                       "midpoints" : [ 343.5, 725.0, 844.227880859375091, 725.0, 844.227880859375091, 524.0, 824.5, 524.0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 2 ],
+                                       "source" : [ "obj-10", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 1 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.441244006156921, 0.0, 0.006346052512527, 1.0 ],
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.441244006156921, 0.0, 0.006346052512527, 1.0 ],
+                                       "destination" : [ "obj-28", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-13", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 1 ],
+                                       "source" : [ "obj-13", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "midpoints" : [ 141.5, 458.004364013671875, 250.5985107421875, 458.004364013671875, 250.5985107421875, 244.0, 282.5, 244.0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-2", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-27", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-27", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-28", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-28", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 1 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 1 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "midpoints" : [ 274.5, 750.0, 90.700000000000159, 750.0, 90.700000000000159, 645.0, 141.5, 645.0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-37", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "midpoints" : [ 719.5, 595.61077880859375, 923.845199584960938, 595.61077880859375, 923.845199584960938, 237.0, 266.5, 237.0 ],
+                                       "source" : [ "obj-39", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-40", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 1 ],
+                                       "source" : [ "obj-40", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-41", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-41", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 1 ],
+                                       "source" : [ "obj-41", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-41", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 1 ],
+                                       "source" : [ "obj-42", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-42", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-42", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-42", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.441366374492645, 0.010525578632951, 0.083756342530251, 1.0 ],
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "source" : [ "obj-6", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_wrapper~.maxhelp b/engine_wrapper~.maxhelp
new file mode 100644 (file)
index 0000000..1b33235
--- /dev/null
@@ -0,0 +1,271 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 143.0, 170.0, 542.0, 481.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "channels" : 1,
+                                       "id" : "obj-7",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 401.0, 220.0, 48.0, 135.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "engine",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_shortname" : "engine",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "engine"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 295.0, 137.0, 154.0, 22.0 ],
+                                       "text" : "buffer~ brushes brushes.aif"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "ezdac~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 401.0, 379.0, 45.0, 45.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 80.0, 367.0, 203.0, 77.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-11",
+                                       "linecount" : 9,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 80.0, 33.0, 173.0, 126.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -36, 47, 101, 110, 103, 105, 110, 101, 47, 49, 0, 0, 0, 44, 46, 0, 0, 0, 0, 0, -56, 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 97, 99, 105, 110, 103, 47, 109, 115, 0, 44, 105, 0, 0, 0, 0, 6, 94, 0, 0, 0, 20, 47, 110, 117, 109, 112, 108, 97, 121, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 3, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 64, 2, 56, -28, -72, 123, -36, -16, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -17, 23, -52, 57, -1, -42, 15, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 63, -45, 51, 51, 51, 51, 51, 51, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 102, 97, 100, 101, 0, 0, 0, 44, 100, 105, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 20, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 98, 114, 117, 115, 104, 101, 115, 0 ],
+                                       "saved_bundle_length" : 240,
+                                       "text" : "/engine/1 : {\n  /spacing/ms : 1630,\n  /numplays : 3,\n  /speed : 2.27778,\n  /gain : 0.971655,\n  /segment : [0.3, 1.],\n  /fade : [1., 5],\n  /buffer : \"brushes\"\n}"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 80.0, 165.0, 99.0, 22.0 ],
+                                       "text" : "o.route /engine/1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-1",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_wrapper~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "signal", "" ],
+                                       "patching_rect" : [ 80.0, 221.0, 309.0, 134.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "midpoints" : [ 89.5, 360.0, 72.0, 360.0, 72.0, 212.0, 410.5, 212.0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-7" : [ "engine", "engine", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "engine_voice~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_wrapper~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 8/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 8/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_wrapper~.maxpat b/engine_wrapper~.maxpat
new file mode 100644 (file)
index 0000000..d0acc96
--- /dev/null
@@ -0,0 +1,411 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 34.0, 87.0, 941.0, 624.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-3",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 254.5, 471.02803373336792, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 360.0, 33.0, 87.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 163.0, 110.0, 87.0, 20.0 ],
+                                       "text" : "in milliseconds"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 297.0, 33.0, 45.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 103.0, 110.0, 45.0, 20.0 ],
+                                       "text" : "fade to"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 359.0, 120.0, 37.0, 22.0 ],
+                                       "text" : "zl.rev"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 359.0, 96.0, 47.0, 22.0 ],
+                                       "text" : "pack i f"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "number",
+                                       "maximum" : 4000,
+                                       "minimum" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 359.0, 57.0, 73.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 163.0, 86.0, 73.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-13",
+                                       "maxclass" : "flonum",
+                                       "maximum" : 1.0,
+                                       "minimum" : 0.0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 294.0, 57.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 103.0, 86.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 359.0, 151.0, 74.0, 22.0 ],
+                                       "text" : "o.pack /fade"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-6",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 90.0, 132.0, 54.0, 23.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 31.0, 86.5, 54.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 115, 116, 111, 112, 0, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-2",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 155.0, 54.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-1",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 155.140185713768005, 471.02803373336792, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 306.0, 421.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "FullPacket" ],
+                                       "patching_rect" : [ 254.5, 392.0, 156.0, 22.0 ],
+                                       "text" : "o.route /phase /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 306.0, 534.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 3.0, 86.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-26",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 306.0, 510.0, 93.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 3.0, 62.0, 93.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 406.0, 511.0, 183.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 103.0, 63.0, 183.0, 20.0 ],
+                                       "text" : "phase of playback (for trajectory)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "buffername" : "brushes",
+                                       "id" : "obj-11",
+                                       "maxclass" : "waveform~",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 6,
+                                       "outlettype" : [ "float", "float", "float", "float", "list", "" ],
+                                       "patching_rect" : [ 306.0, 450.0, 300.0, 58.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 3.0, 2.0, 300.0, 58.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "FullPacket" ],
+                                       "patching_rect" : [ 155.0, 209.0, 119.0, 22.0 ],
+                                       "text" : "engine_voice~"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 1 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "source" : [ "obj-30", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-36", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-2618",
+               "dependency_cache" : [                  {
+                               "name" : "engine_voice~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_zone_example.json b/engine_zone_example.json
new file mode 100644 (file)
index 0000000..026d48c
--- /dev/null
@@ -0,0 +1,75 @@
+{
+       "Clarinet" :    {
+               "engine_zone_ex.1" : "100620_01ma++002.aiff",
+               "engine_zone_ex.2" : "100620_01ma++006.aiff",
+               "engine_zone_ex.3" : "100620_01ma++018.aiff",
+               "engine_zone_ex.4" : "100620_01ma++02.aiff",
+               "engine_zone_ex.5" : "100620_01ma++020.aiff",
+               "engine_zone_ex.6" : "100620_01ma++024.aiff",
+               "engine_zone_ex.7" : "100620_01ma++028.aiff",
+               "engine_zone_ex.8" : "100620_01ma++029.aiff",
+               "engine_zone_ex.9" : "100620_01ma++031.aiff",
+               "engine_zone_ex.10" : "100620_01ma++033.aiff",
+               "engine_zone_ex.11" : "100620_01ma++034.aiff",
+               "engine_zone_ex.12" : "100620_01ma++036.aiff",
+               "engine_zone_ex.13" : "100620_01ma++037.aiff",
+               "engine_zone_ex.14" : "100620_01ma++038.aiff",
+               "engine_zone_ex.15" : "100620_01ma++039.aiff",
+               "engine_zone_ex.16" : "100620_01ma++04.aiff",
+               "engine_zone_ex.17" : "100620_01ma++040.aiff",
+               "engine_zone_ex.18" : "100620_01ma++062.aiff",
+               "engine_zone_ex.19" : "100620_01ma++069.aiff",
+               "engine_zone_ex.20" : "100620_01ma++082.aiff",
+               "engine_zone_ex.21" : "100620_01ma++085.aiff",
+               "engine_zone_ex.22" : "100620_01ma++087.aiff",
+               "engine_zone_ex.23" : "100620_01ma++090.aiff",
+               "engine_zone_ex.24" : "100620_01ma++092.aiff",
+               "engine_zone_ex.25" : "100620_01ma++094.aiff",
+               "engine_zone_ex.26" : "100620_01ma++095.aiff",
+               "engine_zone_ex.27" : "100620_01ma++10.aiff",
+               "engine_zone_ex.28" : "100620_01ma++17.aiff",
+               "engine_zone_ex.29" : "100620_01ma++21.aiff",
+               "engine_zone_ex.30" : "100620_01ma++25.aiff",
+               "engine_zone_ex.31" : "100620_01ma++27.aiff",
+               "engine_zone_ex.32" : "100620_01ma++27a.aiff",
+               "engine_zone_ex.33" : "100620_01ma++27c.aiff",
+               "engine_zone_ex.34" : "100620_01ma++34.aiff",
+               "engine_zone_ex.35" : "100620_01ma++37a.aiff",
+               "engine_zone_ex.36" : "100620_01ma++37c.aiff",
+               "engine_zone_ex.37" : "100620_01ma++38.aiff",
+               "engine_zone_ex.38" : "100620_01ma++40.aiff",
+               "engine_zone_ex.39" : "100620_01ma++41.aiff",
+               "engine_zone_ex.40" : "100620_01ma++45a.aiff",
+               "engine_zone_ex.41" : "100620_01ma++52.aiff",
+               "engine_zone_ex.42" : "100620_01ma++55.aiff",
+               "engine_zone_ex.43" : "100620_01ma++56.aiff",
+               "engine_zone_ex.44" : "100620_01ma++57.aiff",
+               "engine_zone_ex.45" : "100620_01ma++57d.aiff",
+               "engine_zone_ex.46" : "100620_01ma++59.aiff",
+               "engine_zone_ex.47" : "100620_01ma++60.aiff",
+               "engine_zone_ex.48" : "100620_01ma++65.aiff",
+               "engine_zone_ex.49" : "100620_01ma++68.aiff",
+               "engine_zone_ex.50" : "100620_01ma++69.aiff",
+               "engine_zone_ex.51" : "100620_01ma++70.aiff",
+               "engine_zone_ex.52" : "100620_01ma++72.aiff",
+               "engine_zone_ex.53" : "100620_01ma++73.aiff",
+               "engine_zone_ex.54" : "100620_01ma++75.aiff",
+               "engine_zone_ex.55" : "100620_01ma++76.aiff",
+               "engine_zone_ex.56" : "100620_01ma++80.aiff",
+               "engine_zone_ex.57" : "100620_01ma++82.aiff",
+               "engine_zone_ex.58" : "100620_01ma++83.aiff",
+               "engine_zone_ex.59" : "100620_01ma++85.aiff",
+               "engine_zone_ex.60" : "100620_01ma++86.aiff",
+               "engine_zone_ex.61" : "100620_01ma++87.aiff",
+               "engine_zone_ex.62" : "100620_01ma++88.aiff",
+               "engine_zone_ex.63" : "100620_01ma++90.aiff",
+               "engine_zone_ex.64" : "100620_01ma++91.aiff",
+               "engine_zone_ex.65" : "100620_01ma++92.aiff",
+               "engine_zone_ex.66" : "100620_01ma++94.aiff",
+               "engine_zone_ex.67" : "100620_01ma++95.aiff",
+               "engine_zone_ex.68" : "100620_01ma++96.aiff",
+               "engine_zone_ex.69" : "100620_01ma++98.aiff",
+               "engine_zone_ex.70" : "100620_01ma++99.aiff"
+       }
+
+}
diff --git a/engine_zone~.maxpat b/engine_zone~.maxpat
new file mode 100644 (file)
index 0000000..00a0396
--- /dev/null
@@ -0,0 +1,1063 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 492.0, 87.0, 1193.0, 913.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 130.769243240356445, 37.0, 128.461550712585449, 22.0 ],
+                                       "text" : "o.route #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 131.0, 7.0, 35.0, 22.0 ],
+                                       "text" : "r osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 772.0, 177.0, 207.0, 20.0 ],
+                                       "text" : "arg1: osc engine name (ex /engine/1)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-52",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 593.0, 299.0, 139.0, 21.0 ],
+                                       "text" : "o.pack #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 592.5, 270.0, 129.0, 21.0 ],
+                                       "text" : "o.pack /audiofile/menu"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 592.5, 328.0, 37.0, 21.0 ],
+                                       "text" : "s osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-47",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 396.0, 590.0, 139.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 362.0, 75.0, 70.0, 19.0 ],
+                                       "text" : "aux audio",
+                                       "textcolor" : [ 0.850980392156863, 0.850980392156863, 0.850980392156863, 0.31 ],
+                                       "textjustification" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-46",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 173.0, 590.0, 139.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 361.0, 20.0, 72.0, 19.0 ],
+                                       "text" : "engine audio",
+                                       "textcolor" : [ 0.850980392156863, 0.850980392156863, 0.850980392156863, 0.31 ],
+                                       "textjustification" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-42",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 556.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-41",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 512.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-39",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 467.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-38",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 423.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-37",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 378.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-36",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 334.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 191.0, 101.0, 39.0, 21.0 ],
+                                       "text" : "atodb"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 48.0, 70.0, 305.0, 21.0 ],
+                                       "text" : "o.route /aux/gain /voice/gain /engine/gain /source/config"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 463.5, 299.0, 45.0, 21.0 ],
+                                       "text" : "s store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 463.5, 270.0, 118.0, 21.0 ],
+                                       "text" : "o.pack #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 0.0, 0.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-37",
+                                                                       "linecount" : 8,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 239.0, 113.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 99, 97, 116, 0, 0, 0, 0, 44, 115, 0, 0, 67, 101, 108, 108, 111, 83, 104, 111, 114, 116, 83, 111, 117, 110, 100, 115, 0, 0, 0, 0, 0, 0, 0, 20, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 50, 0, 0, 0, 16, 47, 103, 101, 110, 101, 114, 97, 116, 101, 0, 0, 0, 44, 84, 0, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -23, -103, -103, -103, -103, -103, -102, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 70, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 1, 44, 0, 0, 7, 8, 0, 0, 0, 16, 47, 112, 104, 97, 115, 101, 111, 117, 116, 0, 0, 0, 44, 70, 0, 0 ],
+                                                                       "saved_bundle_length" : 216,
+                                                                       "text" : "/cat : \"CelloShortSounds\",\n/variety : 50,\n/generate : true,\n/density : 0.8,\n/speed : 1.,\n/loop : false,\n/spacing/range : [300, 1800],\n/phaseout : false"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-25",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 273.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-25", 0 ],
+                                                                       "source" : [ "obj-37", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 556.0, 101.0, 107.0, 22.0 ],
+                                       "text" : "p example_bundle"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-24",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 48.0, 15.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 9.0,
+                                       "id" : "obj-57",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 356.0, 369.0, 48.0, 21.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 707.0, 82.0, 48.0, 21.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 115, 116, 111, 112, 0, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 10.0,
+                                       "id" : "obj-63",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 416.0, 366.0, 152.0, 29.0 ],
+                                       "text" : "manually stop all voices from playing back (and free up DSP)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 9.0,
+                                       "id" : "obj-18",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 489.0, 101.0, 53.0, 21.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 113, 117, 101, 114, 121, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/query"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 401.0, 100.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 726.0, 431.0, 300.0, 47.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 287.0, 56.0, 219.0, 57.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-55",
+                                       "maxclass" : "gain~",
+                                       "multichannelvariant" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 360.0, 566.0, 23.0, 84.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 510.0, 57.0, 23.0, 55.5 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-54",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 726.0, 390.0, 152.0, 21.0 ],
+                                       "text" : "comb~ 1000 100 0.9 0. 0.9"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-53",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 726.0, 365.0, 128.0, 21.0 ],
+                                       "text" : "receive~ #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-60",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 356.0, 464.0, 219.0, 44.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 287.0, 2.0, 219.0, 54.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "gain~",
+                                       "multichannelvariant" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 334.0, 566.0, 23.0, 84.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 510.0, 3.0, 23.0, 52.5 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-61",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "signal", "", "" ],
+                                       "patching_rect" : [ 334.0, 431.0, 327.0, 21.0 ],
+                                       "text" : "poly~ engine_voice~ @voices 10 @steal 1 @args #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 9.0,
+                                       "id" : "obj-64",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 427.0, 101.0, 53.0, 21.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 214.0, 46.0, 53.0, 21.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 99, 108, 101, 97, 114, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-62",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 334.0, 400.0, 125.0, 21.0 ],
+                                       "text" : "engine_grainmanager"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "audiocollection" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-40",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "polybuf_container~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket", "FullPacket", "" ],
+                                       "patching_rect" : [ 334.0, 150.0, 278.0, 111.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 3.0, 2.0, 278.0, 111.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/source/1", "engine1", "lightgreen" ],
+                                       "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
+                                       "bgmode" : 2,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-17",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_spat5helper.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket", "" ],
+                                       "patching_rect" : [ 584.0, 519.0, 158.0, 105.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 598.0, 2.0, 158.0, 105.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "channels" : 6,
+                                       "focusbordercolor" : [ 0.125, 0.125, 0.125, 1.0 ],
+                                       "hotcolor" : [ 0.694117647058824, 0.525490196078431, 0.023529411764706, 1.0 ],
+                                       "id" : "obj-67",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 9,
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 334.0, 720.0, 374.0, 104.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 535.0, 2.0, 55.0, 111.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "focusbordercolor" :                                            {
+                                                       "expression" : "themecolor.theme_bgcolor"
+                                               }
+,
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "zone_gain",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_shortname" : "zone gain",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.gain~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 7,
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal", "" ],
+                                       "patching_rect" : [ 334.0, 672.0, 444.0, 21.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "parameter_enable" : 0
+                                       }
+,
+                                       "text" : "spat5.spat~ @inputs 2 @outputs 6 @internals 8 @initwith \"/panning/type angular\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "", "", "" ],
+                                       "patching_rect" : [ 584.0, 636.0, 400.0, 21.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "parameter_enable" : 0
+                                       }
+,
+                                       "text" : "spat5.oper @internals 8 @initwith \"/source/number 2, /speaker/number 6\""
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-52", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-29", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-29", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-55", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-40", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-40", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-62", 0 ],
+                                       "source" : [ "obj-40", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 5 ],
+                                       "source" : [ "obj-44", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 4 ],
+                                       "source" : [ "obj-44", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 3 ],
+                                       "source" : [ "obj-44", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 2 ],
+                                       "source" : [ "obj-44", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 1 ],
+                                       "source" : [ "obj-44", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-44", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-52", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-53", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-54", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-55", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-54", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-55", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-62", 0 ],
+                                       "source" : [ "obj-57", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-61", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-60", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-61", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-61", 0 ],
+                                       "source" : [ "obj-62", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-64", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-67", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-67", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-67", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "source" : [ "obj-67", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-67", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-67", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-17::obj-9" : [ "live.menu[1]", "live.menu[1]", 0 ],
+                       "obj-67" : [ "zone_gain", "zone gain", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "engine_grainmanager.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_spat5helper.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_voice~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.collect.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.difference.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.gather.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.intersection.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.righttoleft.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/ordering",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "polybuf_container~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "spat5.oper.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.spat~.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.trajectories.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/initialization.maxpat b/initialization.maxpat
new file mode 100644 (file)
index 0000000..db47fc0
--- /dev/null
@@ -0,0 +1,365 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 104.0, 824.0, 682.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "linecount" : 2,
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 46.0, 232.0, 110.0, 35.0 ],
+                                       "text" : ";\rdsp adstatus driver"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 383.0, 88.0, 20.0, 20.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-29",
+                                       "maxclass" : "number",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 487.0, 113.0, 53.0, 23.0 ],
+                                       "triscale" : 0.9
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "items" : [ "None", ",", "Core Audio", ",", "NonRealTime", ",", "ad_portaudio", "Core Audio" ],
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 383.0, 139.0, 194.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "int" ],
+                                       "patching_rect" : [ 383.0, 113.0, 96.0, 23.0 ],
+                                       "text" : "adstatus driver"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-33",
+                                       "maxclass" : "number",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 497.0, 224.0, 53.0, 23.0 ],
+                                       "triscale" : 0.9
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "items" : [ "None", ",", "Unknown USB Audio Device", ",", "Hue Sync Audio", ",", "MacBook Pro Microphone", ",", "Soundflower (2ch)", ",", "Soundflower (64ch)", ",", "ZoomAudioDevice" ],
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 383.0, 249.0, 156.667541999999997, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 383.0, 195.0, 20.0, 20.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "int" ],
+                                       "patching_rect" : [ 383.0, 224.0, 110.0, 23.0 ],
+                                       "text" : "adstatus option 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-9",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 397.0, 160.0, 165.0, 21.0 ],
+                                       "style" : "helpfile_label",
+                                       "text" : "choose a new audio driver"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 63.0, 36.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "int" ],
+                                       "patching_rect" : [ 63.0, 74.0, 67.0, 22.0 ],
+                                       "text" : "adstatus sr"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-37",
+                                       "maxclass" : "number",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 153.0, 101.0, 55.0, 23.0 ],
+                                       "triangle" : 0,
+                                       "triscale" : 0.9
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-45",
+                                       "items" : [ 44100, ",", 48000, ",", 88200, ",", 96000 ],
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 63.0, 102.0, 78.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "int" ],
+                                       "patching_rect" : [ 265.0, 67.0, 91.0, 22.0 ],
+                                       "text" : "adstatus switch"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 112.0, 526.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "int", "float", "int", "int" ],
+                                       "patching_rect" : [ 112.0, 560.0, 61.0, 22.0 ],
+                                       "text" : "dspstate~"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "midpoints" : [ 392.5, 171.091338999999948, 372.658441000000039, 171.091338999999948, 372.658441000000039, 108.981262000000015, 392.5, 108.981262000000015 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-31", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "midpoints" : [ 392.5, 274.693207000000029, 373.751948999999968, 274.693207000000029, 373.751948999999968, 219.274001999999996, 392.5, 219.274001999999996 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-38", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "midpoints" : [ 72.5, 130.0, 52.5, 130.0, 52.5, 63.0, 72.5, 63.0 ],
+                                       "source" : [ "obj-45", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-5", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-45", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [  ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/.DS_Store b/misc/.DS_Store
new file mode 100644 (file)
index 0000000..687940b
Binary files /dev/null and b/misc/.DS_Store differ
diff --git a/misc/category_limit_reached.maxpat b/misc/category_limit_reached.maxpat
new file mode 100644 (file)
index 0000000..09d5bc7
--- /dev/null
@@ -0,0 +1,412 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 104.0, 640.0, 480.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-63",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 63.0, 0.0, 77.0, 22.0 ],
+                                       "text" : "loadmess #2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 63.0, 33.0, 34.0, 22.0 ],
+                                       "text" : "sel 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-65",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 136.0, 94.0, 31.0, 20.0 ],
+                                       "text" : "dev"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-62",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 84.0, 65.0, 153.0, 20.0 ],
+                                       "text" : "defaults to 3 categories"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-58",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 30.0, 32.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-51",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 40.0, 94.0, 34.0, 22.0 ],
+                                       "text" : "sel 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-50",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "int", "", "", "int" ],
+                                       "patching_rect" : [ 0.0, 65.0, 79.0, 22.0 ],
+                                       "text" : "counter 0 1 3"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-49",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 108.0, 93.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-46",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 8,
+                                                       "minor" : 6,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 104.0, 640.0, 480.0 ],
+                                               "bglocked" : 0,
+                                               "openinpresentation" : 0,
+                                               "default_fontsize" : 14.0,
+                                               "default_fontface" : 0,
+                                               "default_fontname" : "Arial",
+                                               "gridonopen" : 1,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "gridsnaponopen" : 1,
+                                               "objectsnaponopen" : 1,
+                                               "statusbarvisible" : 2,
+                                               "toolbarvisible" : 1,
+                                               "lefttoolbarpinned" : 0,
+                                               "toptoolbarpinned" : 0,
+                                               "righttoolbarpinned" : 0,
+                                               "bottomtoolbarpinned" : 0,
+                                               "toolbars_unpinned_last_save" : 0,
+                                               "tallnewobj" : 0,
+                                               "boxanimatetime" : 200,
+                                               "enablehscroll" : 1,
+                                               "enablevscroll" : 1,
+                                               "devicewidth" : 0.0,
+                                               "description" : "",
+                                               "digest" : "",
+                                               "tags" : "",
+                                               "style" : "",
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "assistshowspatchername" : 0,
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 435.0, 81.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 298.0, 81.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-44",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 66.0, 24.0 ],
+                                                                       "text" : "loadbang"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-41",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 133.0, 160.0, 24.0 ],
+                                                                       "text" : "0.945 0.055 0.138437 1."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-40",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 298.0, 129.0, 186.0, 24.0 ],
+                                                                       "text" : "0.1875 0.75 0.354492 1."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-34",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 232.0, 109.0, 24.0 ],
+                                                                       "text" : "prepend offcolor"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-45",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 183.5, 352.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-40", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-41", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-45", 0 ],
+                                                                       "source" : [ "obj-34", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-34", 0 ],
+                                                                       "source" : [ "obj-40", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-34", 0 ],
+                                                                       "source" : [ "obj-41", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-41", 0 ],
+                                                                       "source" : [ "obj-44", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 40.0, 138.0, 87.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "fontsize" : 14.0,
+                                               "globalpatchername" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "text" : "p"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 72.0, 178.0, 68.0, 20.0 ],
+                                       "text" : "status led"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ],
+                                       "id" : "obj-21",
+                                       "maxclass" : "led",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "offcolor" : [ 0.945, 0.055, 0.138437, 1.0 ],
+                                       "oncolor" : [ 0.945, 0.055, 0.138437, 1.0 ],
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 40.0, 177.0, 24.0, 24.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-50", 4 ],
+                                       "source" : [ "obj-20", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-46", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-46", 1 ],
+                                       "source" : [ "obj-49", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-51", 0 ],
+                                       "source" : [ "obj-50", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-46", 0 ],
+                                       "source" : [ "obj-51", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-50", 2 ],
+                                       "source" : [ "obj-58", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-63", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [  ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/.DS_Store b/misc/engine_sequencer_with_events/.DS_Store
new file mode 100644 (file)
index 0000000..5008ddf
Binary files /dev/null and b/misc/engine_sequencer_with_events/.DS_Store differ
diff --git a/misc/engine_sequencer_with_events/engine_grainmanager2.maxpat b/misc/engine_sequencer_with_events/engine_grainmanager2.maxpat
new file mode 100644 (file)
index 0000000..0e5f60d
--- /dev/null
@@ -0,0 +1,515 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 512.0, 204.0, 904.0, 653.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-4",
+                                       "index" : 1,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 154.0, 559.0, 21.0, 21.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "linecount" : 17,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 440.0, 113.0, 397.0, 234.0 ],
+                                       "text" : "variety evaluation:\n\nvariety predominantly affects two aspects:\n1. audio file selection\n2. frequency with which the engine changes the sound that it is playing\n\nHugh from meeting notes:  \"if there are ocean sounds, no point in having rain\"\nJML thought: a preliminary version of this can have N numbers of folders attached to an engine, and the probability of change involves selection of any of the \"other\" categories outside of the designated one.  For example, a \"base set\"  of ocean sounds might be associated with an engine, but if variety is non-zero, there is a chance it will select rain (or fire), but there is an equal probability that it will select from this set of \"other\" categories.  If you only want it to select between the base set and another folder, you need to only populate the polybuffer_manager with two folders"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-6",
+                                       "index" : 1,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 42.0, 21.0, 21.0, 21.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "linecount" : 6,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 440.0, 21.0, 201.0, 87.0 ],
+                                       "text" : "density is accounted for in the context of this poly~ example by retriggering notes at variable interval (uses metro currently), as mapped in the subpatcher [generate_interval].  "
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 42.0, 135.0, 50.0, 22.0 ],
+                                       "text" : "t b l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 42.0, 100.0, 237.0, 22.0 ],
+                                       "text" : "o.if exists(/generate) && /generate == false"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 154.0, 217.0, 79.0, 22.0 ],
+                                       "text" : "o.select /stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-60",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 194.0, 437.0, 49.0, 22.0 ],
+                                       "text" : "target 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-58",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "bang", "int" ],
+                                       "patching_rect" : [ 154.0, 397.0, 59.0, 22.0 ],
+                                       "text" : "t l b 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 249.0, 217.0, 125.0, 22.0 ],
+                                       "text" : "o.route /metro/interval"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 73.0, 216.0, 24.0, 24.0 ],
+                                       "svg" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 336.0, 103.0, 487.0, 518.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-10",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 42.0, 192.0, 117.0, 22.0 ],
+                                                                       "text" : "o.union"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 41.5, 161.0, 91.0, 22.0 ],
+                                                                       "text" : "o.pack /rand/int"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-8",
+                                                                       "linecount" : 8,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 42.0, 227.0, 397.0, 121.0 ],
+                                                                       "text" : "if(exists(/density), \n  progn(\n    /rand = /rand/int / 9999.,\n    /loval = scale(/density, 0., 1., 20000, 500),\n    /hival = scale(/density, 0., 1., 10000, 10), \n    /metro/interval = scale(/rand, 0., 1., /loval, /hival)\n  )\n)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 42.0, 96.0, 117.0, 22.0 ],
+                                                                       "text" : "t b l"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 42.0, 427.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-17",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 41.5, 135.0, 86.0, 22.0 ],
+                                                                       "text" : "random 10000"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-25",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 41.5, 56.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-10", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-17", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-25", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 1 ],
+                                                                       "source" : [ "obj-7", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-17", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "originid" : "pat-2509"
+                                       }
+,
+                                       "patching_rect" : [ 41.0, 351.0, 111.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "globalpatchername" : ""
+                                       }
+,
+                                       "text" : "p generate_interval"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 41.0, 321.0, 191.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 73.0, 273.0, 126.0, 22.0 ],
+                                       "text" : "metro 6000"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 73.0, 179.0, 100.0, 22.0 ],
+                                       "text" : "o.route /generate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 272.0, 437.0, 79.0, 22.0 ],
+                                       "text" : "prepend note"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 1 ],
+                                       "source" : [ "obj-10", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-58", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-13", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "midpoints" : [ 50.5, 379.444488525390625, 393.96295166015625, 379.444488525390625, 393.96295166015625, 202.375274658203125, 258.5, 202.375274658203125 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 1 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-36", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-58", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-58", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-60", 0 ],
+                                       "source" : [ "obj-58", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-60", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-8", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-132"
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/engine_sequencer2.maxhelp b/misc/engine_sequencer_with_events/engine_sequencer2.maxhelp
new file mode 100644 (file)
index 0000000..48d79a8
--- /dev/null
@@ -0,0 +1,1295 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 71.0, 102.0, 1729.0, 869.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-9",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 256.0, 564.0, 150.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 891.0, 538.0, 756.916603803634644, 22.0 ],
+                                       "text" : "dac~ 1 2 3 4 5 6"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/engine/2", "/seq/2" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-46",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_zone2~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 6,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal" ],
+                                       "patching_rect" : [ 890.624966025352478, 404.0, 757.291637778282166, 110.416662454605103 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/engine/1", "/seq/1" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-44",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_zone2~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 6,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal" ],
+                                       "patching_rect" : [ 890.624966025352478, 274.0, 757.291637778282166, 110.416662454605103 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 631.958727478981018, 9.0, 35.0, 22.0 ],
+                                       "text" : "clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-39",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 0,
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 549.0, 279.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-35",
+                                                                       "linecount" : 6,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 288.0, 45.0, 205.0, 87.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 111, 110, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 99, 111, 108, 111, 114, 0, 44, 115, 0, 0, 99, 104, 111, 99, 111, 108, 97, 116, 101, 0, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 110, 97, 109, 101, 0, 0, 44, 115, 0, 0, 101, 110, 103, 105, 110, 101, 49, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 116, 121, 112, 101, 0, 0, 44, 115, 0, 0, 99, 105, 114, 99, 108, 101, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 115, 112, 101, 101, 100, 0, 44, 100, 0, 0, 64, 52, 0, 0, 0, 0, 0, 0 ],
+                                                                       "saved_bundle_length" : 176,
+                                                                       "text" : "/source/1/on : 0,\n/source/1/color : \"chocolate\",\n/source/1/name : \"engine1\",\n/source/1/type : \"circle\",\n/source/1/speed : 20."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-46",
+                                                                       "linecount" : 9,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 23.0, 12.0, 233.0, 127.0 ],
+                                                                       "text" : "parameters:\n/generate bool\n/speed 0.125-3\n/loop bool\n/spacing/range : [mslow, mshigh] - for loop\n/phaseout : bool\n/density : 0-1\n/auxsend : 0-1\n/gain : 0-1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-37",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 0,
+                                                                       "patcher" :                                                                     {
+                                                                               "fileversion" : 1,
+                                                                               "appversion" :                                                                          {
+                                                                                       "major" : 9,
+                                                                                       "minor" : 0,
+                                                                                       "revision" : 6,
+                                                                                       "architecture" : "x64",
+                                                                                       "modernui" : 1
+                                                                               }
+,
+                                                                               "classnamespace" : "box",
+                                                                               "rect" : [ 886.0, 212.0, 1000.0, 780.0 ],
+                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                               "boxes" : [  ],
+                                                                               "lines" : [  ]
+                                                                       }
+,
+                                                                       "patching_rect" : [ 23.0, 162.0, 119.0, 22.0 ],
+                                                                       "text" : "p colorspace_names"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-73",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 0,
+                                                                       "patcher" :                                                                     {
+                                                                               "fileversion" : 1,
+                                                                               "appversion" :                                                                          {
+                                                                                       "major" : 9,
+                                                                                       "minor" : 0,
+                                                                                       "revision" : 6,
+                                                                                       "architecture" : "x64",
+                                                                                       "modernui" : 1
+                                                                               }
+,
+                                                                               "classnamespace" : "box",
+                                                                               "rect" : [ 59.0, 104.0, 258.0, 446.0 ],
+                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                               "boxes" : [                                                                                     {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "bgmode" : 0,
+                                                                                                       "border" : 0,
+                                                                                                       "clickthrough" : 0,
+                                                                                                       "enablehscroll" : 0,
+                                                                                                       "enablevscroll" : 0,
+                                                                                                       "id" : "obj-20",
+                                                                                                       "lockeddragscroll" : 0,
+                                                                                                       "lockedsize" : 0,
+                                                                                                       "maxclass" : "bpatcher",
+                                                                                                       "name" : "spat5.scaling.maxpat",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "offset" : [ 0.0, 0.0 ],
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 50.0, 125.0, 160.0, 75.0 ],
+                                                                                                       "viewvisibility" : 1
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "bgmode" : 0,
+                                                                                                       "border" : 0,
+                                                                                                       "clickthrough" : 0,
+                                                                                                       "enablehscroll" : 0,
+                                                                                                       "enablevscroll" : 0,
+                                                                                                       "id" : "obj-25",
+                                                                                                       "lockeddragscroll" : 0,
+                                                                                                       "lockedsize" : 0,
+                                                                                                       "maxclass" : "bpatcher",
+                                                                                                       "name" : "spat5.rotation.maxpat",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "offset" : [ 0.0, 0.0 ],
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 50.0, 277.0, 150.0, 70.0 ],
+                                                                                                       "viewvisibility" : 1
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "bgmode" : 0,
+                                                                                                       "border" : 0,
+                                                                                                       "clickthrough" : 0,
+                                                                                                       "enablehscroll" : 0,
+                                                                                                       "enablevscroll" : 0,
+                                                                                                       "id" : "obj-21",
+                                                                                                       "lockeddragscroll" : 0,
+                                                                                                       "lockedsize" : 0,
+                                                                                                       "maxclass" : "bpatcher",
+                                                                                                       "name" : "spat5.translation.maxpat",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "offset" : [ 0.0, 0.0 ],
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 50.0, 202.0, 150.0, 70.0 ],
+                                                                                                       "viewvisibility" : 1
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-23",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 50.0, 52.0, 160.0, 22.0 ],
+                                                                                                       "text" : "spat5.osc.prepend /source/1"
+                                                                                               }
+
+                                                                                       }
+ ],
+                                                                               "lines" : [                                                                                     {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-21", 0 ],
+                                                                                                       "source" : [ "obj-20", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-25", 0 ],
+                                                                                                       "source" : [ "obj-21", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-20", 0 ],
+                                                                                                       "source" : [ "obj-23", 0 ]
+                                                                                               }
+
+                                                                                       }
+ ]
+                                                                       }
+,
+                                                                       "patching_rect" : [ 23.0, 185.0, 157.0, 22.0 ],
+                                                                       "text" : "p trajectory_transformations"
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [  ]
+                                       }
+,
+                                       "patching_rect" : [ 698.969032999999968, 148.0, 48.0, 22.0 ],
+                                       "text" : "p notes"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "number",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 81.0, 163.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 38.144327759742737, 507.216466426849365, 37.0, 22.0 ],
+                                       "text" : "s osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "linecount" : 3,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 890.624966025352478, 50.5, 291.0, 47.0 ],
+                                       "text" : "LEGEND\n\nR: hit 'r' to refresh the cache with new data from edits"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "int", "int", "int", "int" ],
+                                       "patching_rect" : [ 834.0, 50.0, 50.5, 22.0 ],
+                                       "text" : "key"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 834.0, 90.0, 46.0, 22.0 ],
+                                       "text" : "sel 114"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-40",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-26",
+                                                                       "linecount" : 68,
+                                                                       "maxclass" : "o.display",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 467.0, 814.0 ],
+                                                                       "text" : "/seq/1 : {\n  /event/1 : {\n    /loop : 1,\n    /generate : 1,\n    /speed : 45.,\n    /density : 117.,\n    /variety : 0.47,\n    /auxsend : 0.067,\n    /spacing/range : [45., 248.],\n    /cat : \"foo\"\n  },\n  /event/16 : {\n    /loop : 1,\n    /generate : 1,\n    /speed : 45.,\n    /density : 117.,\n    /auxsend : 0.067,\n    /cat : \"strings\"\n  },\n  /multislider : [1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0]\n},\n/seq/2 : {\n  /multislider : [1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1],\n  /event/1 : {\n    /loop : 1,\n    /generate : 1,\n    /speed : 0.941,\n    /density : 0.4,\n    /variety : 0.4,\n    /auxsend : 0.3,\n    /spacing/range : [58., 520.],\n    /cat : \"Cello\"\n  },\n  /event/3 : {\n    /loop : 0,\n    /generate : 1,\n    /speed : 0.93,\n    /density : 0.4,\n    /variety : 0.4,\n    /auxsend : 0.3,\n    /spacing/range : [58., 520.],\n    /cat : \"Cello\"\n  },\n  /event/14 : {\n    /loop : 0,\n    /generate : 1,\n    /speed : 0.93,\n    /density : 0.4,\n    /variety : 0.4,\n    /auxsend : 0.3,\n    /spacing/range : [58., 520.],\n    /cat : \"Cello\"\n  },\n  /event/35 : {\n    /loop : 0,\n    /generate : 0,\n    /speed : 1.,\n    /density : 0.4,\n    /variety : 0.4,\n    /auxsend : 0.07,\n    /spacing/range : [33., 400.],\n    /cat : \"brass\"\n  }\n}"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-39",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-26", 0 ],
+                                                                       "source" : [ "obj-39", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 644.0, 63.0, 81.0, 22.0 ],
+                                       "text" : "p view_status"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 573.0, 66.0, 37.0, 22.0 ],
+                                       "text" : "o.dict"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 361.5, 243.29895544052124, 45.0, 22.0 ],
+                                       "text" : "s store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "" ],
+                                       "patching_rect" : [ 121.64947772026062, 203.0, 258.85052227973938, 22.0 ],
+                                       "text" : "t l l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 573.0, 36.0, 54.0, 22.0 ],
+                                       "text" : "o.accum"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 573.0, 9.0, 43.0, 22.0 ],
+                                       "text" : "r store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 439.0, 122.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 113.0, 29.113405585289001, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 113.0, 92.0, 80.0, 22.0 ],
+                                       "text" : "prepend read"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 113.0, 63.134022235870361, 170.0, 22.0 ],
+                                       "text" : "loadmess engine_status2.json"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-15",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 86.0, 162.0, 34.0, 22.0 ],
+                                                                       "text" : "sel 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 50.0, 130.0, 55.0, 22.0 ],
+                                                                       "text" : "zl.slice 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 63.0, 22.0 ],
+                                                                       "text" : "route read"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-26",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-27",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 86.0, 273.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-27", 0 ],
+                                                                       "source" : [ "obj-15", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-26", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-15", 0 ],
+                                                                       "source" : [ "obj-5", 1 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 573.0, 186.0, 34.0, 22.0 ],
+                                       "text" : "p init"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-87",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 344.0, 157.0, 248.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict status"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 201.030916571617126, 92.0, 63.0, 22.0 ],
+                                       "text" : "writeagain"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/seq/2" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-4",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_sequencer2.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 122.0, 404.0, 755.0, 84.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/seq/1" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-1",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_sequencer2.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 122.0, 274.0, 755.0, 84.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 31.0, 163.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 31.0, 235.0, 69.0, 22.0 ],
+                                       "text" : "metro 1200"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-87", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 1 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "midpoints" : [ 582.5, 214.69342041015625, 616.55072021484375, 214.69342041015625, 616.55072021484375, 112.860671997070312, 448.5, 112.860671997070312 ],
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-31", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-31", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-87", 1 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 5 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 4 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 3 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 2 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-44", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 5 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 4 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 3 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 2 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-46", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-87", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-87", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-87", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "source" : [ "obj-87", 0 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-39::obj-73::obj-20::obj-2" : [ "live.text[3]", "live.text", 0 ],
+                       "obj-39::obj-73::obj-20::obj-91" : [ "live.dial[12]", "scale x", 0 ],
+                       "obj-39::obj-73::obj-20::obj-92" : [ "live.dial[13]", "scale y", 0 ],
+                       "obj-39::obj-73::obj-20::obj-93" : [ "live.dial[14]", "scale z", 0 ],
+                       "obj-39::obj-73::obj-21::obj-2" : [ "live.text[1]", "live.text", 0 ],
+                       "obj-39::obj-73::obj-21::obj-91" : [ "live.dial[6]", "offset x", 0 ],
+                       "obj-39::obj-73::obj-21::obj-92" : [ "live.dial[7]", "offset y", 0 ],
+                       "obj-39::obj-73::obj-21::obj-93" : [ "live.dial[8]", "offset z", 0 ],
+                       "obj-39::obj-73::obj-25::obj-2" : [ "live.text[2]", "live.text", 0 ],
+                       "obj-39::obj-73::obj-25::obj-91" : [ "live.dial[11]", "angle z", 0 ],
+                       "obj-39::obj-73::obj-25::obj-92" : [ "live.dial[10]", "angle y", 0 ],
+                       "obj-39::obj-73::obj-25::obj-93" : [ "live.dial[9]", "angle x", 0 ],
+                       "obj-44::obj-17::obj-9" : [ "live.menu[1]", "live.menu[1]", 0 ],
+                       "obj-44::obj-67" : [ "zone_gain", "zone gain", 0 ],
+                       "obj-46::obj-17::obj-9" : [ "live.menu[2]", "live.menu[1]", 0 ],
+                       "obj-46::obj-67" : [ "zone_gain[1]", "zone gain", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "parameter_overrides" :                         {
+                               "obj-39::obj-73::obj-20::obj-2" :                               {
+                                       "parameter_longname" : "live.text[3]"
+                               }
+,
+                               "obj-39::obj-73::obj-20::obj-91" :                              {
+                                       "parameter_longname" : "live.dial[12]"
+                               }
+,
+                               "obj-39::obj-73::obj-20::obj-92" :                              {
+                                       "parameter_longname" : "live.dial[13]"
+                               }
+,
+                               "obj-39::obj-73::obj-20::obj-93" :                              {
+                                       "parameter_longname" : "live.dial[14]"
+                               }
+,
+                               "obj-39::obj-73::obj-25::obj-2" :                               {
+                                       "parameter_longname" : "live.text[2]"
+                               }
+,
+                               "obj-39::obj-73::obj-25::obj-91" :                              {
+                                       "parameter_longname" : "live.dial[11]"
+                               }
+,
+                               "obj-39::obj-73::obj-25::obj-92" :                              {
+                                       "parameter_longname" : "live.dial[10]"
+                               }
+,
+                               "obj-39::obj-73::obj-25::obj-93" :                              {
+                                       "parameter_longname" : "live.dial[9]"
+                               }
+,
+                               "obj-46::obj-17::obj-9" :                               {
+                                       "parameter_longname" : "live.menu[2]"
+                               }
+,
+                               "obj-46::obj-67" :                              {
+                                       "parameter_longname" : "zone_gain[1]"
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "engine_grainmanager2.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_sequencer2.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_spat5helper2.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_voice2~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_zone2~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.change.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.collect.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.dict.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.difference.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.gather.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.intersection.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.righttoleft.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering",
+                               "patcherrelativepath" : "../../../../../Max 9/Packages/odot/patchers/ordering",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "polybuf_container2~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "seq_eventeditor_ui2.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "spat5.oper.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.routepass.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.rotation.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/spat5/patchers",
+                               "patcherrelativepath" : "../../../../../Max 9/Packages/spat5/patchers",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "spat5.scaling.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/spat5/patchers",
+                               "patcherrelativepath" : "../../../../../Max 9/Packages/spat5/patchers",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "spat5.spat~.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.trajectories.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.transform.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.translation.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/spat5/patchers",
+                               "patcherrelativepath" : "../../../../../Max 9/Packages/spat5/patchers",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "thru.maxpat",
+                               "bootpath" : "C74:/patchers/m4l/Pluggo for Live resources/patches",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/engine_sequencer2.maxpat b/misc/engine_sequencer_with_events/engine_sequencer2.maxpat
new file mode 100644 (file)
index 0000000..aa98123
--- /dev/null
@@ -0,0 +1,838 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 818.0, 87.0, 966.0, 779.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 386.0, 431.0, 35.0, 22.0 ],
+                                       "text" : "r osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 387.0, 502.0, 135.0, 22.0 ],
+                                       "text" : "o.select /audiofile/menu",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 386.0, 465.0, 136.0, 22.0 ],
+                                       "text" : "o.route #1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 135.5, 656.0, 172.0, 22.0 ],
+                                       "text" : "o.pack #1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 45.0, 696.0, 172.0, 22.0 ],
+                                       "text" : "o.pack #1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 692.5, 656.0, 47.999988406896591, 22.0 ],
+                                       "text" : "t l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-67",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 692.5, 627.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 503.5, 700.0, 172.0, 22.0 ],
+                                       "text" : "o.prepend #1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 694.0, 734.0, 45.0, 22.0 ],
+                                       "text" : "s store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 174.0, 275.0, 87.0, 22.0 ],
+                                       "text" : "prepend setlist"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 361.0, 85.0, 35.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 547.0, 59.0, 35.0, 22.0 ],
+                                       "text" : "clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "bang", "int", "" ],
+                                       "patching_rect" : [ 349.0, 167.0, 41.0, 22.0 ],
+                                       "text" : "t b 0 s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 301.0, 295.0, 29.5, 22.0 ],
+                                       "text" : "0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-4",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 305.0, 451.0, 60.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 99, 108, 101, 97, 114, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "" ],
+                                       "patching_rect" : [ 66.0, 88.0, 201.0, 22.0 ],
+                                       "text" : "routepass bang dictionary clear step"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 123.0, 210.0, 95.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 285.0, 60.0, 31.0, 20.0 ],
+                                       "text" : "step"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) engine bundle when step value changes",
+                                       "id" : "obj-10",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 74.5, 741.0, 27.0, 27.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(Ful;lPacket) engine bundle upon recall",
+                                       "id" : "obj-9",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 135.5, 741.0, 27.0, 27.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(bang) advance",
+                                       "id" : "obj-1",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 66.0, 51.0, 27.0, 27.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 174.0, 245.0, 676.5, 22.0 ],
+                                       "text" : "o.route /multislider"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 503.5, 664.0, 105.0, 22.0 ],
+                                       "text" : "o.pack /multislider"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 174.0, 138.0, 136.0, 22.0 ],
+                                       "text" : "o.route #1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-105",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 776.0, 448.0, 58.0, 22.0 ],
+                                       "text" : "o.change"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-104",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "int", "int" ],
+                                       "patching_rect" : [ 66.0, 245.0, 94.0, 22.0 ],
+                                       "text" : "t i i i"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-103",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 45.0, 664.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-96",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 776.0, 418.0, 103.0, 22.0 ],
+                                       "text" : "o.pack /engine/on"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.125490196078431, 0.125490196078431, 0.125490196078431, 0.0 ],
+                                       "id" : "obj-92",
+                                       "ignoreclick" : 1,
+                                       "maxclass" : "multislider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "orientation" : 0,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 174.0, 350.0, 654.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.0, 6.0, 745.0, 22.0 ],
+                                       "setminmax" : [ 1.0, 61.0 ],
+                                       "settype" : 0,
+                                       "size" : 60,
+                                       "slidercolor" : [ 1.0, 1.0, 1.0, 1.0 ],
+                                       "thickness" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-90",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 103.5, 510.0, 95.0, 22.0 ],
+                                       "text" : "o.pack /selected"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-58",
+                                       "linecount" : 3,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 473.0, 100.0, 233.0, 60.0 ],
+                                       "text" : "arguments:\n\n1. odot sequencer argument (ex. /seq/1)\n"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.050980392156863, 0.223529411764706, 0.180392156862745, 1.0 ],
+                                       "id" : "obj-6",
+                                       "maxclass" : "number",
+                                       "maximum" : 60,
+                                       "minimum" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 66.0, 209.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 245.0, 59.0, 37.75, 22.0 ],
+                                       "tricolor" : [ 0.313725490196078, 0.654901960784314, 0.72156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-14",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 38.0, 291.0, 48.0, 21.0 ],
+                                       "text" : "fetch $1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.568627450980392, 0.784313725490196, 0.796078431372549, 1.0 ],
+                                       "id" : "obj-7",
+                                       "maxclass" : "multislider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 174.0, 326.0, 654.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.0, 6.0, 745.0, 22.0 ],
+                                       "setminmax" : [ 0.0, 1.0 ],
+                                       "setstyle" : 1,
+                                       "settype" : 0,
+                                       "signed" : 1,
+                                       "size" : 60,
+                                       "slidercolor" : [ 0.082353, 0.431373, 0.411765, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-52",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "int", "", "", "int" ],
+                                       "patching_rect" : [ 66.0, 138.0, 77.0, 22.0 ],
+                                       "text" : "counter 1 60"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 694.0, 700.0, 172.0, 22.0 ],
+                                       "text" : "o.pack #1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-5",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "seq_eventeditor_ui2.maxpat",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 103.5, 546.0, 747.0, 53.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.0, 29.0, 745.0, 57.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "source" : [ "obj-103", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-104", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-90", 0 ],
+                                       "source" : [ "obj-104", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-92", 0 ],
+                                       "source" : [ "obj-104", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-103", 0 ],
+                                       "source" : [ "obj-105", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-16", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-92", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-16", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-2", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-2", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-52", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-2", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 1 ],
+                                       "midpoints" : [ 730.999988406896591, 683.767537308758619, 745.307414439044805, 683.767537308758619, 745.307414439044805, 623.162597839909722, 731.0, 623.162597839909722 ],
+                                       "source" : [ "obj-43", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-103", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-5", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-52", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-104", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-67", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-96", 0 ],
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-90", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-105", 0 ],
+                                       "source" : [ "obj-96", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.change.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "seq_eventeditor_ui2.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/engine_spat5helper2.maxpat b/misc/engine_sequencer_with_events/engine_spat5helper2.maxpat
new file mode 100644 (file)
index 0000000..f12e2a7
--- /dev/null
@@ -0,0 +1,873 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 34.0, 134.0, 1372.0, 732.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 337.0, 175.0, 35.0, 22.0 ],
+                                       "text" : "set 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-34",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 632.5, 129.0, 35.0, 22.0 ],
+                                       "text" : "set 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 1056.0, 197.0, 31.0, 22.0 ],
+                                       "text" : "t b s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 862.0, 165.0, 121.0, 22.0 ],
+                                       "text" : "#3"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 1056.0, 113.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 1056.0, 165.0, 121.0, 22.0 ],
+                                       "text" : "#2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 189.0, 175.0, 80.0, 22.0 ],
+                                       "text" : "loadmess 20."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "clear", "bang", "bang" ],
+                                       "patching_rect" : [ 621.0, -47.0, 61.0, 22.0 ],
+                                       "text" : "t clear b b"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 962.0, 262.5, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 93.75, 27.875, 41.0, 20.0 ],
+                                       "text" : "color"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 1136.0, 269.0, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 93.75, 3.875, 41.0, 20.0 ],
+                                       "text" : "name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 874.0, 229.0, 94.0, 22.0 ],
+                                       "text" : "prepend symbol"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 1068.0, 233.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 862.0, 331.0, 77.0, 22.0 ],
+                                       "text" : "o.pack /color"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 1056.0, 331.0, 81.0, 22.0 ],
+                                       "text" : "o.pack /name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 1056.0, 299.0, 59.0, 22.0 ],
+                                       "text" : "route text"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bordercolor" : [ 0.219607843137255, 0.219607843137255, 0.219607843137255, 0.0 ],
+                                       "id" : "obj-21",
+                                       "maxclass" : "textedit",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 1056.0, 265.0, 78.0, 28.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.5, 4.0, 86.25, 19.75 ],
+                                       "text" : "#2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "live.menu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "float" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 862.0, 265.0, 81.0, 15.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.125, 30.375, 85.0, 15.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_enum" : [ "black", "white", "blue", "grey", "green", "red", "yellow", "aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "blanchedalmond", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgrey", "darkgreen", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "greenyellow", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "whitesmoke", "yellowgreen" ],
+                                                       "parameter_longname" : "live.menu[1]",
+                                                       "parameter_mmax" : 140,
+                                                       "parameter_modmode" : 0,
+                                                       "parameter_shortname" : "live.menu[1]",
+                                                       "parameter_type" : 2
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.menu[1]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 695.0, 320.0, 64.0, 22.0 ],
+                                       "text" : "o.pack /on"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 695.0, 352.0, 149.0, 22.0 ],
+                                       "text" : "o.prepend #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 677.0, 390.0, 54.0, 22.0 ],
+                                       "text" : "o.accum"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-10",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 677.0, 455.0, 25.0, 25.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "linecount" : 4,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 657.0, 555.0, 211.0, 60.0 ],
+                                       "text" : "arg 1: osc address\narg 2: source label\narg 3: source color\narg 4: trajectory type (unimplemented)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 862.0, 382.0, 149.0, 22.0 ],
+                                       "text" : "o.prepend #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 578.0, 271.0, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 134.5, 56.0, 22.0, 20.0 ],
+                                       "text" : "on"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-18",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 316.0, 40.0, 25.0, 25.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 548.0, 269.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 106.5, 54.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 424.666666666666686, 151.0, 94.0, 22.0 ],
+                                       "text" : "prepend symbol"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 7,
+                                       "outlettype" : [ "", "", "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 316.0, 79.0, 671.0, 22.0 ],
+                                       "text" : "o.route /speed /type /on /color /name /clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 371.0, 243.0, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 57.5, 56.0, 41.0, 20.0 ],
+                                       "text" : "speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "items" : [ "circle", ",", "ellipse", ",", "figureof8", ",", "dumbbell", ",", "rose", ",", "epicycloid", ",", "hypocycloid", ",", "hippopede", ",", "garfield", ",", "freethnephroid", ",", "limacon", ",", "folium", ",", "ophiuride", ",", "lituus", ",", "scarabeus", ",", "cochleoid", ",", "bifoliate", ",", "bifolium", ",", "neoid", ",", "cayleysextic", ",", "strophoid", ",", "cranioid", ",", "seiffert", ",", "butterfly", ",", "piriform", ",", "heart", ",", "cardioid", ",", "lemniscate", ",", "astroid", ",", "deltoid", ",", "boatpropeller", ",", "kiss", ",", "trefoil", ",", "torpedo", ",", "cevatrisectrix", ",", "polygasteroid", ",", "maltesecross", ",", "talbot", ",", "besace", ",", "bicorn", ",", "oval", ",", "cornoid" ],
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 424.666666666666686, 185.0, 100.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.5, 79.0, 100.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 395.0, 455.0, 150.0, 20.0 ],
+                                       "text" : "to spat5.oper "
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-2",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 316.0, 455.0, 25.0, 25.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-72",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 316.0, 243.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 5.5, 55.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-70",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 316.0, 270.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 316.0, 408.0, 248.0, 22.0 ],
+                                       "text" : "spat5.osc.prepend #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 465.166666666666686, 270.0, 73.0, 22.0 ],
+                                       "text" : "o.pack /type"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 316.0, 377.0, 264.0, 22.0 ],
+                                       "text" : "spat5.trajectories @initwith \"/rate 20, /speed 20\""
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "source" : [ "obj-1", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-11", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-11", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-11", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-11", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-11", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-72", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-72", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-33", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-72", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-6", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-70", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-70", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-70", 0 ],
+                                       "source" : [ "obj-72", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-9", 1 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-9" : [ "live.menu[1]", "live.menu[1]", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.trajectories.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/engine_status2.json b/misc/engine_sequencer_with_events/engine_status2.json
new file mode 100644 (file)
index 0000000..344ab43
--- /dev/null
@@ -0,0 +1,74 @@
+{
+       "seq/1" :       {
+               "event/1" :             {
+                       "loop" : 1,
+                       "generate" : 1,
+                       "speed" : 45.0,
+                       "density" : 117.0,
+                       "variety" : 0.47,
+                       "auxsend" : 0.067,
+                       "spacing/range" : [ 45.0, 248.0 ],
+                       "cat" : "foo"
+               }
+,
+               "event/16" :            {
+                       "loop" : 1,
+                       "generate" : 1,
+                       "speed" : 45.0,
+                       "density" : 117.0,
+                       "auxsend" : 0.067,
+                       "cat" : "strings"
+               }
+,
+               "multislider" : [ 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0 ]
+       }
+,
+       "seq/2" :       {
+               "multislider" : [ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ],
+               "event/1" :             {
+                       "loop" : 1,
+                       "generate" : 1,
+                       "speed" : 0.941,
+                       "density" : 0.4,
+                       "variety" : 0.4,
+                       "auxsend" : 0.3,
+                       "spacing/range" : [ 58.0, 520.0 ],
+                       "cat" : "Cello"
+               }
+,
+               "event/3" :             {
+                       "loop" : 0,
+                       "generate" : 1,
+                       "speed" : 0.93,
+                       "density" : 0.4,
+                       "variety" : 0.4,
+                       "auxsend" : 0.3,
+                       "spacing/range" : [ 58.0, 520.0 ],
+                       "cat" : "Cello"
+               }
+,
+               "event/14" :            {
+                       "loop" : 0,
+                       "generate" : 1,
+                       "speed" : 0.93,
+                       "density" : 0.4,
+                       "variety" : 0.4,
+                       "auxsend" : 0.3,
+                       "spacing/range" : [ 58.0, 520.0 ],
+                       "cat" : "Cello"
+               }
+,
+               "event/35" :            {
+                       "loop" : 0,
+                       "generate" : 0,
+                       "speed" : 1.0,
+                       "density" : 0.4,
+                       "variety" : 0.4,
+                       "auxsend" : 0.07,
+                       "spacing/range" : [ 33.0, 400.0 ],
+                       "cat" : "brass"
+               }
+
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/engine_voice2~.maxpat b/misc/engine_sequencer_with_events/engine_voice2~.maxpat
new file mode 100644 (file)
index 0000000..63ef51c
--- /dev/null
@@ -0,0 +1,1428 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 356.0, 87.0, 1012.0, 779.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "lefttoolbarpinned" : 1,
+               "toptoolbarpinned" : 1,
+               "righttoolbarpinned" : 1,
+               "bottomtoolbarpinned" : 1,
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 276.0, 836.0, 34.0, 22.0 ],
+                                       "text" : "*~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 276.0, 876.0, 107.0, 22.0 ],
+                                       "text" : "send~ #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 14.0, 636.0, 59.0, 22.0 ],
+                                       "text" : "mute 1, 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 14.0, 601.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "int", "int" ],
+                                       "patching_rect" : [ 15.0, 692.0, 56.0, 22.0 ],
+                                       "text" : "thispoly~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 523.0, 889.0, 35.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : ""
+                                       }
+,
+                                       "text" : "out 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 193.0, 868.0, 42.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : ""
+                                       }
+,
+                                       "text" : "out~ 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 548.0, 31.0, 28.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : ""
+                                       }
+,
+                                       "text" : "in 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-42",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "", "int", "start" ],
+                                       "patching_rect" : [ 257.0, 278.0, 188.799999999999841, 22.0 ],
+                                       "text" : "t l l 0 start"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-41",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 671.0, 476.0, 231.0, 22.0 ],
+                                       "text" : "o.route /line /loop /p /auxsend"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-40",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 481.0, 78.0, 128.0, 22.0 ],
+                                       "text" : "o.route /spacing/range"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 486.0, 539.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "float", "float" ],
+                                                                       "patching_rect" : [ 260.0, 104.0, 74.0, 22.0 ],
+                                                                       "text" : "unpack 0. 0."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-5",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 256.0, 51.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 6,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 226.0, 103.0, 22.0 ],
+                                                                       "text" : "scale 0. 1. 0.8 1.2"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 83.0, 95.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "float" ],
+                                                                       "patching_rect" : [ 83.0, 177.0, 45.0, 22.0 ],
+                                                                       "text" : "/ 9999."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 137.0, 89.0, 22.0 ],
+                                                                       "text" : "random 10000."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 83.0, 282.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 83.0, 43.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 4 ],
+                                                                       "source" : [ "obj-6", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 3 ],
+                                                                       "source" : [ "obj-6", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 386.0, 550.0, 114.0, 22.0 ],
+                                       "text" : "p choose_spacing"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "bang", "bang", "" ],
+                                       "patching_rect" : [ 132.0, 468.0, 526.0, 22.0 ],
+                                       "text" : "t b b l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 289.0, 347.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 6,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 226.0, 103.0, 22.0 ],
+                                                                       "text" : "scale 0. 1. 0.8 1.2"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 83.0, 95.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "float" ],
+                                                                       "patching_rect" : [ 83.0, 177.0, 45.0, 22.0 ],
+                                                                       "text" : "/ 9999."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 137.0, 89.0, 22.0 ],
+                                                                       "text" : "random 10000."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 83.0, 282.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 83.0, 43.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 132.0, 601.0, 87.0, 22.0 ],
+                                       "text" : "p gain_choose"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 427.0, 763.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /phase"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 58.0, 91.0, 998.0, 654.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-2",
+                                                                       "linecount" : 17,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 570.0, 333.0, 474.0, 236.0 ],
+                                                                       "text" : "/spacing/ms ??= 0,\n/segment ??= [0., 1.],\n/p = /segment * /buffer/len,\n/dur = abs(/p[[0]] - /p[[1]]) * (1. / /speed),\n/line = [/p[[0]], 0, /p[[1]], /dur],\nif(\n  exists(/numplays) && (/numplays > 1), \n  progn(\n    /numplays--, \n    /active = 1, \n    /total = (/dur * /numplays) + ((/spacing/ms - 1) * /numplays)\n  ), \n  progn(\n    delete(/numplays), \n    /active = 0\n  )\n)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-27",
+                                                                       "linecount" : 5,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 182.0, 474.0, 83.0 ],
+                                                                       "text" : "/spacing/ms ??= 0,\n/segment ??= [0., 1.],\n/p = /segment * /buffer/len,\n/dur = abs(/p[[0]] - /p[[1]]) * (1. / /speed),\n/line = [/p[[0]], 0, /p[[1]], /dur]"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-5",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-7",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 474.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-27", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-27", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 132.0, 429.0, 103.0, 22.0 ],
+                                       "text" : "p process_bundle"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 651.0, 145.0, 36.0, 22.0 ],
+                                       "text" : "rate~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "stop" ],
+                                       "patching_rect" : [ 265.0, 717.0, 51.0, 22.0 ],
+                                       "text" : "t 0. stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 2,
+                                       "fontsize" : 10.0,
+                                       "id" : "obj-23",
+                                       "linecount" : 6,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 651.0, 35.0, 147.0, 74.0 ],
+                                       "text" : "currently outputs the phase of any sample playback, whether it be delayed or not.  Does not account for the overall aggregated time involved in repetitions + delays"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 380.0, 1145.0, 67.0, 22.0 ],
+                                       "text" : "transratio"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 598.0, 738.0, 120.0, 22.0 ],
+                                       "text" : "o.select /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "float" ],
+                                       "patching_rect" : [ 88.0, 157.0, 529.0, 22.0 ],
+                                       "text" : "t l l 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "patching_rect" : [ 265.0, 651.0, 29.5, 22.0 ],
+                                       "text" : "!- 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 265.0, 683.0, 51.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 518.0, 662.0, 74.0, 22.0 ],
+                                       "text" : "unpack 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 427.0, 699.0, 137.0, 22.0 ],
+                                       "text" : "scale 0. 1. 0. 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-4",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 454.5, 887.0, 26.0, 26.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 427.0, 669.0, 81.0, 22.0 ],
+                                       "text" : "snapshot~ 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 334.0, 601.0, 55.399999999999977, 22.0 ],
+                                       "text" : "del 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "stop" ],
+                                       "patching_rect" : [ 52.0, 511.0, 38.0, 22.0 ],
+                                       "text" : "t stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 88.0, 186.0, 114.0, 22.0 ],
+                                       "text" : "o.if exists(/stop)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 651.0, 116.0, 67.0, 22.0 ],
+                                       "text" : "transratio"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 257.0, 247.0, 35.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-39",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 710.0, 534.0, 124.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "signal", "", "" ],
+                                       "patching_rect" : [ 132.0, 651.0, 96.0, 22.0 ],
+                                       "text" : "adsr~ 10 0 1. 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 132.0, 683.0, 107.599999999999994, 22.0 ],
+                                       "text" : "*~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 314.0, 322.0, 157.0, 22.0 ],
+                                       "text" : "o.route /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "bang" ],
+                                       "patching_rect" : [ 221.0, 558.0, 95.0, 22.0 ],
+                                       "text" : "line~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 314.0, 351.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 509.0, 402.0, 79.0, 22.0 ],
+                                       "text" : "buffer~ buffet"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "bang" ],
+                                       "patching_rect" : [ 221.0, 601.0, 71.0, 22.0 ],
+                                       "text" : "play~ buffet"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-34",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 132.0, 787.0, 26.0, 26.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-35",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 481.0, 28.0, 28.0, 28.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 1 ],
+                                       "midpoints" : [ 343.5, 725.0, 844.227880859375091, 725.0, 844.227880859375091, 524.0, 824.5, 524.0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 2 ],
+                                       "source" : [ "obj-10", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 1 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.441244006156921, 0.0, 0.006346052512527, 1.0 ],
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.441244006156921, 0.0, 0.006346052512527, 1.0 ],
+                                       "destination" : [ "obj-28", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-13", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 1 ],
+                                       "source" : [ "obj-13", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "midpoints" : [ 141.5, 458.004364013671875, 250.5985107421875, 458.004364013671875, 250.5985107421875, 244.0, 282.5, 244.0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-2", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-27", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-27", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-28", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-28", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 1 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 1 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "midpoints" : [ 274.5, 750.0, 90.700000000000159, 750.0, 90.700000000000159, 645.0, 141.5, 645.0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-37", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "midpoints" : [ 719.5, 595.61077880859375, 923.845199584960938, 595.61077880859375, 923.845199584960938, 237.0, 266.5, 237.0 ],
+                                       "source" : [ "obj-39", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-40", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 1 ],
+                                       "source" : [ "obj-40", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-41", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-41", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 1 ],
+                                       "source" : [ "obj-41", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-41", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 1 ],
+                                       "source" : [ "obj-42", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-42", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-42", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-42", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.441366374492645, 0.010525578632951, 0.083756342530251, 1.0 ],
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "source" : [ "obj-6", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/engine_zone2~.maxpat b/misc/engine_sequencer_with_events/engine_zone2~.maxpat
new file mode 100644 (file)
index 0000000..ae1c581
--- /dev/null
@@ -0,0 +1,1064 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 492.0, 114.0, 1193.0, 932.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 130.769243240356445, 37.0, 128.461550712585449, 22.0 ],
+                                       "text" : "o.route #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 131.0, 7.0, 35.0, 22.0 ],
+                                       "text" : "r osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 772.0, 177.0, 207.0, 33.0 ],
+                                       "text" : "arg1: osc engine name (ex /engine/1)\narg2: osc seq destination (ex /seq/1)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-52",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 593.0, 299.0, 139.0, 21.0 ],
+                                       "text" : "o.pack #2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 592.5, 270.0, 129.0, 21.0 ],
+                                       "text" : "o.pack /audiofile/menu"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 592.5, 328.0, 37.0, 21.0 ],
+                                       "text" : "s osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-47",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 396.0, 590.0, 139.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 362.0, 75.0, 70.0, 19.0 ],
+                                       "text" : "aux audio",
+                                       "textcolor" : [ 0.850980392156863, 0.850980392156863, 0.850980392156863, 0.31 ],
+                                       "textjustification" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-46",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 173.0, 590.0, 139.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 361.0, 20.0, 72.0, 19.0 ],
+                                       "text" : "engine audio",
+                                       "textcolor" : [ 0.850980392156863, 0.850980392156863, 0.850980392156863, 0.31 ],
+                                       "textjustification" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-42",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 556.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-41",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 512.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-39",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 467.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-38",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 423.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-37",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 378.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-36",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 334.0, 854.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 191.0, 101.0, 39.0, 21.0 ],
+                                       "text" : "atodb"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 48.0, 70.0, 305.0, 21.0 ],
+                                       "text" : "o.route /aux/gain /voice/gain /engine/gain /source/config"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 463.5, 299.0, 45.0, 21.0 ],
+                                       "text" : "s store"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 463.5, 270.0, 118.0, 21.0 ],
+                                       "text" : "o.pack #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 0.0, 0.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-37",
+                                                                       "linecount" : 8,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 239.0, 113.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 99, 97, 116, 0, 0, 0, 0, 44, 115, 0, 0, 67, 101, 108, 108, 111, 83, 104, 111, 114, 116, 83, 111, 117, 110, 100, 115, 0, 0, 0, 0, 0, 0, 0, 20, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 50, 0, 0, 0, 16, 47, 103, 101, 110, 101, 114, 97, 116, 101, 0, 0, 0, 44, 84, 0, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -23, -103, -103, -103, -103, -103, -102, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 70, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 1, 44, 0, 0, 7, 8, 0, 0, 0, 16, 47, 112, 104, 97, 115, 101, 111, 117, 116, 0, 0, 0, 44, 70, 0, 0 ],
+                                                                       "saved_bundle_length" : 216,
+                                                                       "text" : "/cat : \"CelloShortSounds\",\n/variety : 50,\n/generate : true,\n/density : 0.8,\n/speed : 1.,\n/loop : false,\n/spacing/range : [300, 1800],\n/phaseout : false"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-25",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 273.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-25", 0 ],
+                                                                       "source" : [ "obj-37", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 556.0, 101.0, 107.0, 22.0 ],
+                                       "text" : "p example_bundle"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-24",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 48.0, 15.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 9.0,
+                                       "id" : "obj-57",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 356.0, 369.0, 48.0, 21.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 707.0, 82.0, 48.0, 21.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 115, 116, 111, 112, 0, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 10.0,
+                                       "id" : "obj-63",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 416.0, 366.0, 152.0, 29.0 ],
+                                       "text" : "manually stop all voices from playing back (and free up DSP)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 9.0,
+                                       "id" : "obj-18",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 489.0, 101.0, 53.0, 21.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 113, 117, 101, 114, 121, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/query"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 401.0, 100.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 726.0, 431.0, 300.0, 47.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 287.0, 56.0, 219.0, 57.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-55",
+                                       "maxclass" : "gain~",
+                                       "multichannelvariant" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 360.0, 566.0, 23.0, 84.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 510.0, 57.0, 23.0, 55.5 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-54",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 726.0, 390.0, 152.0, 21.0 ],
+                                       "text" : "comb~ 1000 100 0.9 0. 0.9"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-53",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 726.0, 365.0, 128.0, 21.0 ],
+                                       "text" : "receive~ #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-60",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 356.0, 464.0, 219.0, 44.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 287.0, 2.0, 219.0, 54.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "gain~",
+                                       "multichannelvariant" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 334.0, 566.0, 23.0, 84.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 510.0, 3.0, 23.0, 52.5 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-61",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "signal", "", "" ],
+                                       "patching_rect" : [ 334.0, 431.0, 370.0, 21.0 ],
+                                       "text" : "poly~ engine_voice2~ @voices 10 @steal 1 @args #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 9.0,
+                                       "id" : "obj-64",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 427.0, 101.0, 53.0, 21.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 214.0, 46.0, 53.0, 21.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 99, 108, 101, 97, 114, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-62",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 334.0, 400.0, 122.0, 21.0 ],
+                                       "text" : "engine_grainmanager2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "audiocollection" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-40",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "polybuf_container2~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket", "FullPacket", "" ],
+                                       "patching_rect" : [ 334.0, 150.0, 278.0, 111.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 3.0, 2.0, 278.0, 111.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "/source/1", "engine1", "lightgreen" ],
+                                       "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
+                                       "bgmode" : 2,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-17",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_spat5helper2.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket", "" ],
+                                       "patching_rect" : [ 584.0, 519.0, 158.0, 105.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 598.0, 2.0, 158.0, 105.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "channels" : 6,
+                                       "focusbordercolor" : [ 0.125, 0.125, 0.125, 1.0 ],
+                                       "hotcolor" : [ 0.694117647058824, 0.525490196078431, 0.023529411764706, 1.0 ],
+                                       "id" : "obj-67",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 9,
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 334.0, 720.0, 374.0, 104.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 535.0, 2.0, 55.0, 111.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "focusbordercolor" :                                            {
+                                                       "expression" : "themecolor.theme_bgcolor"
+                                               }
+,
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "zone_gain",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_shortname" : "zone gain",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.gain~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 7,
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal", "" ],
+                                       "patching_rect" : [ 334.0, 672.0, 444.0, 21.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "parameter_enable" : 0
+                                       }
+,
+                                       "text" : "spat5.spat~ @inputs 2 @outputs 6 @internals 8 @initwith \"/panning/type angular\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "", "", "" ],
+                                       "patching_rect" : [ 584.0, 636.0, 400.0, 21.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "parameter_enable" : 0
+                                       }
+,
+                                       "text" : "spat5.oper @internals 8 @initwith \"/source/number 2, /speaker/number 6\""
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-52", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-29", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-29", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-55", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-40", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-40", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-62", 0 ],
+                                       "source" : [ "obj-40", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 5 ],
+                                       "source" : [ "obj-44", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 4 ],
+                                       "source" : [ "obj-44", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 3 ],
+                                       "source" : [ "obj-44", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 2 ],
+                                       "source" : [ "obj-44", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 1 ],
+                                       "source" : [ "obj-44", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-44", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-52", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-53", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-54", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-55", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-54", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-55", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-62", 0 ],
+                                       "source" : [ "obj-57", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-61", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-60", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-61", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-61", 0 ],
+                                       "source" : [ "obj-62", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-64", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-67", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-67", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-67", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "source" : [ "obj-67", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-67", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-67", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-17::obj-9" : [ "live.menu[1]", "live.menu[1]", 0 ],
+                       "obj-67" : [ "zone_gain", "zone gain", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "engine_grainmanager2.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_spat5helper2.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_voice2~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.collect.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.difference.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.gather.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.intersection.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.righttoleft.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering",
+                               "patcherrelativepath" : "../../../../../Max 9/Packages/odot/patchers/ordering",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "polybuf_container2~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/engine_sequencer_with_events",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "spat5.oper.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.spat~.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.trajectories.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/polybuf_container2~.maxpat b/misc/engine_sequencer_with_events/polybuf_container2~.maxpat
new file mode 100644 (file)
index 0000000..59d94ac
--- /dev/null
@@ -0,0 +1,3702 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 356.0, 53.0, 1217.0, 1008.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "toolbars_unpinned_last_save" : 15,
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-56",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 1030.0, 874.0, 74.0, 33.0 ],
+                                       "text" : "to osc senderr"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) /paths for storage",
+                                       "id" : "obj-58",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 1006.0, 873.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-49",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 613.0, 44.0, 192.0, 33.0 ],
+                                       "text" : "arg1: polybuffer name\narg2: sequencer instance to talk to"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 516.0, 885.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-45",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 541.0, 846.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-39",
+                                       "maxclass" : "led",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "offcolor" : [ 0.133333333333333, 0.223529411764706, 0.12156862745098, 1.0 ],
+                                       "oncolor" : [ 0.333333333333333, 0.76078431372549, 0.247058823529412, 1.0 ],
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 394.5, 518.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 224.5, 82.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "int" ],
+                                       "patching_rect" : [ 334.0, 483.0, 40.0, 22.0 ],
+                                       "text" : "t l l 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 389.0, 788.0, 226.0, 22.0 ],
+                                       "text" : "o.pack /buffer/name /buffer/len /dictname"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 6,
+                                       "outlettype" : [ "", "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 127.0, 147.0, 427.835027575492859, 22.0 ],
+                                       "text" : "o.route /contents /query /addpath /clear /paths"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "clear" ],
+                                       "patching_rect" : [ 569.0, 300.0, 125.0, 22.0 ],
+                                       "text" : "t s clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 80.0, 110.0, 66.0, 22.0 ],
+                                       "text" : "route bang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-23",
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 599.0, 923.0, 229.0, 31.0 ],
+                                       "text" : "/timing = 1. / /variety * 10000."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 620.0, 899.0, 190.0, 22.0 ],
+                                       "text" : "o.if exists(/variety) && /variety > 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 502.0, 408.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 12.0,
+                                                                       "id" : "obj-21",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patching_rect" : [ 206.5, 112.0, 69.0, 22.0 ],
+                                                                       "text" : "o.route /cat"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 193.0, 61.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 29.0, 122.0, 55.0, 22.0 ],
+                                                                       "text" : "pipe 500"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-31",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 75.0, 156.0, 94.0, 22.0 ],
+                                                                       "text" : "prepend symbol"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-23",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 75.0, 88.0, 31.0, 22.0 ],
+                                                                       "text" : "t s s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-13",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 193.0, 156.0, 96.0, 22.0 ],
+                                                                       "text" : "prepend append"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-32",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 75.0, 45.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-39",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 75.0, 213.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-13", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-21", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-31", 0 ],
+                                                                       "source" : [ "obj-21", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-23", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "source" : [ "obj-23", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-31", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-23", 0 ],
+                                                                       "source" : [ "obj-32", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 248.0, 565.0, 126.0, 22.0 ],
+                                       "text" : "p append_&_sel"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 486.0, 467.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-32",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patching_rect" : [ 46.0, 91.0, 57.0, 22.0 ],
+                                                                       "text" : "o.route /*"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 46.0, 132.0, 94.0, 22.0 ],
+                                                                       "text" : "o.pack /addpath"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-8",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 46.0, 34.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-15",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 46.0, 214.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-32", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-15", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-32", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 460.0, 118.0, 75.0, 22.0 ],
+                                       "text" : "p add_paths"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-48",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 192.0, 87.0, 324.0, 521.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-6",
+                                                                       "index" : 3,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 270.0, 37.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 69.0, 361.0, 80.0, 22.0 ],
+                                                                       "text" : "o.pack /paths"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 69.0, 324.0, 54.0, 22.0 ],
+                                                                       "text" : "o.accum"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 69.0, 219.0, 90.0, 22.0 ],
+                                                                       "text" : "o.union"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 140.0, 175.0, 87.0, 22.0 ],
+                                                                       "text" : "o.pack /pathstr"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 69.0, 175.0, 60.0, 22.0 ],
+                                                                       "text" : "o.pack /id"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-1",
+                                                                       "linecount" : 3,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 69.0, 253.0, 203.0, 57.0 ],
+                                                                       "text" : "assign(\"/\" + /id, /pathstr), \ndelete(/id), \ndelete(/pathstr)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-29",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 5,
+                                                                       "numoutlets" : 4,
+                                                                       "outlettype" : [ "int", "", "", "int" ],
+                                                                       "patching_rect" : [ 69.0, 137.0, 61.0, 22.0 ],
+                                                                       "text" : "counter"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-23",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 69.0, 98.0, 77.0, 22.0 ],
+                                                                       "text" : "t b s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-14",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 69.0, 37.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-39",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 216.0, 37.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-47",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 69.0, 462.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-23", 0 ],
+                                                                       "source" : [ "obj-14", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-29", 0 ],
+                                                                       "source" : [ "obj-23", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-23", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-29", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 1 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-29", 2 ],
+                                                                       "source" : [ "obj-39", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-6", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-47", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 883.0, 812.0, 77.0, 22.0 ],
+                                       "text" : "p"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "patching_rect" : [ 545.0, 457.0, 124.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0
+                                       }
+,
+                                       "text" : "polybuffer~ #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 907.0, 874.0, 74.0, 33.0 ],
+                                       "text" : "to save mechanism"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) /paths for storage",
+                                       "id" : "obj-11",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 883.0, 873.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-35",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 536.0, 179.0, 514.0, 22.0 ],
+                                       "text" : "o.gather /cat /variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 313.0, 655.0, 67.0, 22.0 ],
+                                       "text" : "o.pack /cat"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 860.0, 395.0, 35.0, 22.0 ],
+                                       "text" : "clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 127.0, 808.0, 29.5, 22.0 ],
+                                       "text" : "edit"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "items" : "<empty>",
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 248.0, 607.0, 149.0, 22.0 ],
+                                       "prefix_mode" : 1,
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 1.0, 82.0, 220.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-54",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "float", "FullPacket", "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 312.0, 87.0, 1094.0, 779.0 ],
+                                               "default_fontsize" : 14.0,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 496.0, 64.0, 99.0, 24.0 ],
+                                                                       "text" : "o.if exists(/cat)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "o.display",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 646.0, 222.0, 304.0, 33.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 439.0, 240.0, 45.0, 21.0 ],
+                                                                       "text" : "o.union"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 491.0, 119.0, 150.0, 31.0 ],
+                                                                       "text" : "/dict = [\"get\", /cat]"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 3,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "", "", "" ],
+                                                                       "patching_rect" : [ 79.0, 76.0, 111.0, 21.0 ],
+                                                                       "text" : "routepass bang clear"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(symbol) current category",
+                                                                       "id" : "obj-14",
+                                                                       "index" : 4,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 708.0, 722.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-10",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 708.0, 683.0, 114.0, 21.0 ],
+                                                                       "text" : "substitute get set"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-39",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 147.0, 270.0, 48.0, 21.0 ],
+                                                                       "text" : "t b l"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-36",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patcher" :                                                                     {
+                                                                               "fileversion" : 1,
+                                                                               "appversion" :                                                                          {
+                                                                                       "major" : 9,
+                                                                                       "minor" : 0,
+                                                                                       "revision" : 6,
+                                                                                       "architecture" : "x64",
+                                                                                       "modernui" : 1
+                                                                               }
+,
+                                                                               "classnamespace" : "box",
+                                                                               "rect" : [ 1163.0, 329.0, 577.0, 542.0 ],
+                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                               "boxes" : [                                                                                     {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-15",
+                                                                                                       "index" : 2,
+                                                                                                       "maxclass" : "outlet",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 247.0, 482.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-14",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "none" ],
+                                                                                                       "patching_rect" : [ 121.0, 376.0, 45.0, 21.0 ],
+                                                                                                       "text" : "t l none"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-6",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "FullPacket" ],
+                                                                                                       "patching_rect" : [ 334.0, 409.0, 115.0, 22.0 ],
+                                                                                                       "text" : "o.pack /cat/deviated"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-4",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 37.0, 85.5, 61.0, 21.0 ],
+                                                                                                       "text" : "route bang"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-40",
+                                                                                                       "maxclass" : "comment",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 513.0, 192.0, 41.0, 19.0 ],
+                                                                                                       "text" : "variety"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-38",
+                                                                                                       "maxclass" : "comment",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 11.0, 343.0, 99.0, 19.0 ],
+                                                                                                       "text" : "dominant category"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-36",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patcher" :                                                                                                     {
+                                                                                                               "fileversion" : 1,
+                                                                                                               "appversion" :                                                                                                          {
+                                                                                                                       "major" : 9,
+                                                                                                                       "minor" : 0,
+                                                                                                                       "revision" : 6,
+                                                                                                                       "architecture" : "x64",
+                                                                                                                       "modernui" : 1
+                                                                                                               }
+,
+                                                                                                               "classnamespace" : "box",
+                                                                                                               "rect" : [ 556.0, 244.0, 195.0, 414.0 ],
+                                                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                                                               "boxes" : [                                                                                                                     {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-30",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "bang", "int" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 198.0, 84.0, 22.0 ],
+                                                                                                                                       "text" : "t b i"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-29",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                                                       "patching_rect" : [ 85.0, 100.0, 29.5, 22.0 ],
+                                                                                                                                       "text" : "t l l"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-28",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 286.0, 84.0, 22.0 ],
+                                                                                                                                       "text" : "zl.mth"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-27",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 165.0, 64.0, 22.0 ],
+                                                                                                                                       "text" : "random"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-26",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                                                       "patching_rect" : [ 95.0, 134.0, 37.0, 22.0 ],
+                                                                                                                                       "text" : "zl.len"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-23",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 245.0, 38.0, 22.0 ],
+                                                                                                                                       "text" : "zl.reg"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "comment" : "",
+                                                                                                                                       "id" : "obj-31",
+                                                                                                                                       "index" : 1,
+                                                                                                                                       "maxclass" : "inlet",
+                                                                                                                                       "numinlets" : 0,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "bang" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 40.0, 23.0, 23.0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "comment" : "",
+                                                                                                                                       "id" : "obj-32",
+                                                                                                                                       "index" : 2,
+                                                                                                                                       "maxclass" : "inlet",
+                                                                                                                                       "numinlets" : 0,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "" ],
+                                                                                                                                       "patching_rect" : [ 85.0, 40.0, 23.0, 23.0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "comment" : "",
+                                                                                                                                       "id" : "obj-33",
+                                                                                                                                       "index" : 1,
+                                                                                                                                       "maxclass" : "outlet",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 0,
+                                                                                                                                       "patching_rect" : [ 50.0, 368.0, 23.0, 23.0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+ ],
+                                                                                                               "lines" : [                                                                                                                     {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-28", 0 ],
+                                                                                                                                       "source" : [ "obj-23", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-27", 1 ],
+                                                                                                                                       "source" : [ "obj-26", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-30", 0 ],
+                                                                                                                                       "source" : [ "obj-27", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-33", 0 ],
+                                                                                                                                       "source" : [ "obj-28", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-23", 1 ],
+                                                                                                                                       "source" : [ "obj-29", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-26", 0 ],
+                                                                                                                                       "source" : [ "obj-29", 1 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-23", 0 ],
+                                                                                                                                       "source" : [ "obj-30", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-28", 1 ],
+                                                                                                                                       "source" : [ "obj-30", 1 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-27", 0 ],
+                                                                                                                                       "source" : [ "obj-31", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-29", 0 ],
+                                                                                                                                       "source" : [ "obj-32", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+ ]
+                                                                                                       }
+,
+                                                                                                       "patching_rect" : [ 217.0, 342.0, 193.0, 21.0 ],
+                                                                                                       "text" : "p non-dominant_categories"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-25",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 121.0, 342.0, 38.0, 21.0 ],
+                                                                                                       "text" : "zl.reg"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-21",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 3,
+                                                                                                       "outlettype" : [ "", "", "int" ],
+                                                                                                       "patching_rect" : [ 79.0, 115.5, 399.0, 21.0 ],
+                                                                                                       "text" : "t getkeys l 0"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-20",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 391.0, 272.0, 43.0, 21.0 ],
+                                                                                                       "text" : "zl.filter"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-19",
+                                                                                                       "maxclass" : "button",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "bang" ],
+                                                                                                       "parameter_enable" : 0,
+                                                                                                       "patching_rect" : [ 526.0, 142.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-17",
+                                                                                                       "maxclass" : "number",
+                                                                                                       "maximum" : 100,
+                                                                                                       "minimum" : 0,
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "bang" ],
+                                                                                                       "parameter_enable" : 0,
+                                                                                                       "patching_rect" : [ 459.0, 191.0, 49.0, 21.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-13",
+                                                                                                       "maxclass" : "button",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "bang" ],
+                                                                                                       "parameter_enable" : 0,
+                                                                                                       "patching_rect" : [ 217.0, 302.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-11",
+                                                                                                       "maxclass" : "button",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "bang" ],
+                                                                                                       "parameter_enable" : 0,
+                                                                                                       "patching_rect" : [ 121.0, 305.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-9",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 3,
+                                                                                                       "numoutlets" : 3,
+                                                                                                       "outlettype" : [ "bang", "bang", "" ],
+                                                                                                       "patching_rect" : [ 121.0, 272.0, 210.0, 21.0 ],
+                                                                                                       "text" : "sel 0 1"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-8",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "int" ],
+                                                                                                       "patching_rect" : [ 121.0, 242.0, 357.0, 21.0 ],
+                                                                                                       "text" : "< 50"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-7",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 37.0, 191.0, 73.0, 21.0 ],
+                                                                                                       "text" : "random 100"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-5",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 3,
+                                                                                                       "outlettype" : [ "", "", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 269.0, 143.5, 102.0, 21.0 ],
+                                                                                                       "text" : "o.route /cat /variety"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-3",
+                                                                                                       "index" : 1,
+                                                                                                       "maxclass" : "outlet",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 121.0, 482.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-1",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 121.0, 415.0, 73.0, 21.0 ],
+                                                                                                       "text" : "prepend get"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-2",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 5,
+                                                                                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                                                                                       "patching_rect" : [ 79.0, 143.5, 103.0, 21.0 ],
+                                                                                                       "saved_object_attributes" :                                                                                                     {
+                                                                                                               "embed" : 0,
+                                                                                                               "legacy" : 1,
+                                                                                                               "parameter_enable" : 0,
+                                                                                                               "parameter_mappable" : 0
+                                                                                                       }
+,
+                                                                                                       "text" : "dict #1"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-35",
+                                                                                                       "index" : 1,
+                                                                                                       "maxclass" : "inlet",
+                                                                                                       "numinlets" : 0,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "FullPacket" ],
+                                                                                                       "patching_rect" : [ 37.0, 17.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+ ],
+                                                                               "lines" : [                                                                                     {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-3", 0 ],
+                                                                                                       "source" : [ "obj-1", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-25", 0 ],
+                                                                                                       "source" : [ "obj-11", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-36", 0 ],
+                                                                                                       "source" : [ "obj-13", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-1", 0 ],
+                                                                                                       "source" : [ "obj-14", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-6", 0 ],
+                                                                                                       "source" : [ "obj-14", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-8", 1 ],
+                                                                                                       "source" : [ "obj-17", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-17", 0 ],
+                                                                                                       "source" : [ "obj-19", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-20", 0 ],
+                                                                                                       "source" : [ "obj-2", 2 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-36", 1 ],
+                                                                                                       "source" : [ "obj-20", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-17", 0 ],
+                                                                                                       "source" : [ "obj-21", 2 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-2", 0 ],
+                                                                                                       "source" : [ "obj-21", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-5", 0 ],
+                                                                                                       "source" : [ "obj-21", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-14", 0 ],
+                                                                                                       "source" : [ "obj-25", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-4", 0 ],
+                                                                                                       "source" : [ "obj-35", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-1", 0 ],
+                                                                                                       "order" : 1,
+                                                                                                       "source" : [ "obj-36", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-6", 0 ],
+                                                                                                       "order" : 0,
+                                                                                                       "source" : [ "obj-36", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-21", 0 ],
+                                                                                                       "source" : [ "obj-4", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-7", 0 ],
+                                                                                                       "source" : [ "obj-4", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-17", 0 ],
+                                                                                                       "source" : [ "obj-5", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-20", 1 ],
+                                                                                                       "order" : 0,
+                                                                                                       "source" : [ "obj-5", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-25", 1 ],
+                                                                                                       "order" : 1,
+                                                                                                       "source" : [ "obj-5", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-15", 0 ],
+                                                                                                       "source" : [ "obj-6", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-8", 0 ],
+                                                                                                       "source" : [ "obj-7", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-9", 0 ],
+                                                                                                       "source" : [ "obj-8", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-11", 0 ],
+                                                                                                       "source" : [ "obj-9", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-13", 0 ],
+                                                                                                       "source" : [ "obj-9", 1 ]
+                                                                                               }
+
+                                                                                       }
+ ]
+                                                                       }
+,
+                                                                       "patching_rect" : [ 147.0, 228.0, 65.0, 21.0 ],
+                                                                       "text" : "p choose"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-32",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 147.0, 463.5, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-12",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 68.0, 29.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-38",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "", "bang", "" ],
+                                                                       "patching_rect" : [ 360.0, 613.0, 184.0, 21.0 ],
+                                                                       "text" : "t s b s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(symbol) current category",
+                                                                       "id" : "obj-37",
+                                                                       "index" : 3,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 643.0, 722.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-31",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 525.0, 648.0, 82.0, 21.0 ],
+                                                                       "text" : "prepend set"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-26",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 10,
+                                                                       "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int", "" ],
+                                                                       "patching_rect" : [ 443.0, 683.0, 113.5, 21.0 ],
+                                                                       "text" : "info~ none"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(symbol) buffername",
+                                                                       "id" : "obj-19",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 360.0, 722.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-23",
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 426.0, 569.0, 123.0, 19.0 ],
+                                                                       "text" : "buffer "
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-25",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "", "", "clear" ],
+                                                                       "patching_rect" : [ 377.0, 465.0, 169.0, 21.0 ],
+                                                                       "text" : "t l l clear"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-22",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 319.0, 526.0, 76.5, 21.0 ],
+                                                                       "text" : "random",
+                                                                       "varname" : "vz.rangr"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-21",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 452.0, 526.0, 110.0, 21.0 ],
+                                                                       "text" : "prepend append"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-18",
+                                                                       "items" : "<empty>",
+                                                                       "maxclass" : "umenu",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "int", "", "" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 319.0, 567.0, 100.0, 21.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-17",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 452.0, 495.0, 28.0, 21.0 ],
+                                                                       "text" : "iter"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-11",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 377.0, 495.0, 41.0, 21.0 ],
+                                                                       "text" : "zl.len"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-20",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "bang", "bang", "" ],
+                                                                       "patching_rect" : [ 319.0, 372.0, 88.0, 21.0 ],
+                                                                       "text" : "t b b s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-16",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 354.0, 403.0, 46.0, 21.0 ],
+                                                                       "text" : "getkeys"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 5,
+                                                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                                                       "patching_rect" : [ 354.0, 434.0, 65.0, 21.0 ],
+                                                                       "saved_object_attributes" :                                                                     {
+                                                                               "embed" : 0,
+                                                                               "legacy" : 1,
+                                                                               "parameter_enable" : 0,
+                                                                               "parameter_mappable" : 0
+                                                                       }
+,
+                                                                       "text" : "dict"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-13",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patching_rect" : [ 491.0, 161.0, 109.0, 21.0 ],
+                                                                       "text" : "o.route /dict"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 276.0, 341.0, 62.0, 21.0 ],
+                                                                       "text" : "zl.slice 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 5,
+                                                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                                                       "patching_rect" : [ 255.0, 311.0, 103.0, 21.0 ],
+                                                                       "saved_object_attributes" :                                                                     {
+                                                                               "embed" : 0,
+                                                                               "legacy" : 1,
+                                                                               "parameter_enable" : 0,
+                                                                               "parameter_mappable" : 0
+                                                                       }
+,
+                                                                       "text" : "dict #1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(float) buffer length",
+                                                                       "id" : "obj-52",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 506.0, 722.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-1", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-1", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-36", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-1", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-14", 0 ],
+                                                                       "source" : [ "obj-10", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-22", 1 ],
+                                                                       "source" : [ "obj-11", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-12", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 1 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-13", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-36", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-13", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-13", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-16", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-21", 0 ],
+                                                                       "source" : [ "obj-17", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-38", 0 ],
+                                                                       "source" : [ "obj-18", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-16", 0 ],
+                                                                       "source" : [ "obj-20", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-20", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-21", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-22", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-11", 0 ],
+                                                                       "source" : [ "obj-25", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-17", 0 ],
+                                                                       "source" : [ "obj-25", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-25", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-52", 0 ],
+                                                                       "source" : [ "obj-26", 6 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-37", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-26", 0 ],
+                                                                       "source" : [ "obj-31", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-22", 0 ],
+                                                                       "source" : [ "obj-32", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-36", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-36", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-19", 0 ],
+                                                                       "source" : [ "obj-38", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-26", 0 ],
+                                                                       "source" : [ "obj-38", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-31", 0 ],
+                                                                       "source" : [ "obj-38", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 0 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-39", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-32", 0 ],
+                                                                       "source" : [ "obj-39", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-39", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-5", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-25", 0 ],
+                                                                       "source" : [ "obj-6", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-20", 0 ],
+                                                                       "source" : [ "obj-9", 1 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 389.0, 723.0, 276.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "fontsize" : 14.0
+                                       }
+,
+                                       "text" : "p categories",
+                                       "varname" : "categories"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 127.0, 838.0, 61.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 416.0, 885.0, 35.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 849.0, 136.0, 150.0, 33.0 ],
+                                       "text" : "current limitation:\nno spaces in filenames"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-51",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 1101.0, 286.0, 305.0, 372.0 ],
+                                               "default_fontsize" : 14.0,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 49.0, 257.0, 82.0, 24.0 ],
+                                                                       "text" : "prepend set"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-61",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 158.0, 64.5, 24.0 ],
+                                                                       "text" : "#1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-47",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 3,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 215.0, 187.0, 24.0 ],
+                                                                       "text" : "sprintf %s.%d %s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-39",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "bang", "bang", "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 187.0, 24.0 ],
+                                                                       "text" : "t b b s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 12.0,
+                                                                       "id" : "obj-69",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "int" ],
+                                                                       "patching_rect" : [ 134.0, 187.0, 29.5, 22.0 ],
+                                                                       "text" : "+ 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-64",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 163.0, 128.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 12.0,
+                                                                       "id" : "obj-60",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 5,
+                                                                       "numoutlets" : 4,
+                                                                       "outlettype" : [ "int", "", "", "int" ],
+                                                                       "patching_rect" : [ 134.0, 158.0, 77.0, 22.0 ],
+                                                                       "text" : "counter"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-48",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-49",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 163.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-50",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 297.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-50", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-47", 2 ],
+                                                                       "source" : [ "obj-39", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-60", 0 ],
+                                                                       "source" : [ "obj-39", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-61", 0 ],
+                                                                       "source" : [ "obj-39", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-47", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-48", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-64", 0 ],
+                                                                       "source" : [ "obj-49", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-69", 0 ],
+                                                                       "source" : [ "obj-60", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-47", 0 ],
+                                                                       "source" : [ "obj-61", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-60", 2 ],
+                                                                       "source" : [ "obj-64", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-47", 1 ],
+                                                                       "source" : [ "obj-69", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 636.0, 485.0, 130.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "fontsize" : 14.0
+                                       }
+,
+                                       "text" : "p populate_tempdict"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 707.0, 781.0, 188.0, 22.0 ],
+                                       "text" : "loadmess #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-46",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 894.0, 529.0, 61.0, 22.0 ],
+                                       "text" : "set set $1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-42",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 608.0, 636.0, 119.0, 22.0 ],
+                                       "text" : "prepend set <folder>"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-40",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "bang", "int" ],
+                                       "patching_rect" : [ 490.0, 485.0, 137.0, 22.0 ],
+                                       "text" : "t 0 b 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 608.0, 603.0, 86.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 695.0, 124.0, 405.0, 391.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-10",
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 276.0, 27.0, 65.0, 20.0 ],
+                                                                       "text" : "folder path"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 188.0, 145.0, 60.0, 20.0 ],
+                                                                       "text" : "filenames"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 184.0, 196.0, 38.0, 22.0 ],
+                                                                       "text" : "zl.reg"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "bang", "", "" ],
+                                                                       "patching_rect" : [ 143.0, 144.0, 41.0, 22.0 ],
+                                                                       "text" : "t b s s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 34.0, 249.0, 96.0, 22.0 ],
+                                                                       "text" : "prepend append"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(msgs) to polybuffer",
+                                                                       "id" : "obj-4",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 54.0, 301.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 188.0, 223.0, 120.0, 22.0 ],
+                                                                       "text" : "sprintf symout %s%s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 239.0, 22.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 20.0, 50.0, 75.0, 22.0 ],
+                                                                       "text" : "route clear"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-48",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 76.0, 80.0, 142.0, 22.0 ],
+                                                                       "text" : "route append"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-23",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 16.0, 14.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-35",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 144.0, 301.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-48", 0 ],
+                                                                       "source" : [ "obj-1", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 1 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-23", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-48", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 1 ],
+                                                                       "source" : [ "obj-6", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-35", 0 ],
+                                                                       "source" : [ "obj-6", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-6", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 545.0, 423.0, 110.0, 22.0 ],
+                                       "text" : "p filter/format"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 843.0, 433.0, 150.0, 20.0 ],
+                                       "text" : "folder name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-71",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "" ],
+                                       "patching_rect" : [ 569.0, 333.0, 86.0, 22.0 ],
+                                       "text" : "t s s s s s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-57",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "" ],
+                                       "patching_rect" : [ 789.0, 485.0, 229.0, 22.0 ],
+                                       "text" : "t s s s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 608.0, 665.0, 61.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "dropfile",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 817.0, 211.0, 50.0, 35.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 1.0, 1.0, 268.0, 41.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 747.0, 299.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-34",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "bang", "<foldername>", "bang", "bang", "int" ],
+                                       "patching_rect" : [ 747.0, 333.0, 245.0, 22.0 ],
+                                       "text" : "t b <foldername> b b 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-41",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "int" ],
+                                       "patching_rect" : [ 490.0, 368.0, 39.0, 22.0 ],
+                                       "text" : "folder"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 675.0, 567.0, 61.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 847.0, 71.0, 141.0, 22.0 ],
+                                       "text" : "prepend set polyb name:"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 847.0, 40.0, 109.0, 22.0 ],
+                                       "text" : "loadmess #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-12",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 847.0, 104.0, 141.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 1.0, 60.0, 272.0, 20.0 ],
+                                       "text" : "polyb name: #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-2",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 80.0, 40.0, 26.0, 26.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "int" ],
+                                       "patching_rect" : [ 789.0, 432.0, 55.0, 22.0 ],
+                                       "text" : "strippath"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 803.5, 567.0, 131.0, 22.0 ],
+                                       "text" : "prepend set last folder:"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 803.5, 599.0, 145.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 1.0, 44.0, 272.0, 20.0 ],
+                                       "text" : "last: <foldername>"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 490.0, 395.0, 74.0, 22.0 ],
+                                       "text" : "t b s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) result of selection",
+                                       "id" : "obj-1",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 416.0, 939.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 460.0, 625.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 320.0, 310.0, 58.0, 21.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-26",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 320.0, 333.0, 131.0, 21.0 ],
+                                       "text" : "types AIFF WAVE MPEG"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 1 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-50", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 2,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 5,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 4,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "order" : 7,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 3,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 2 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-58", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 6,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "source" : [ "obj-31", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "source" : [ "obj-31", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-32", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-71", 0 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-57", 0 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-34", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-34", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "source" : [ "obj-34", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 1 ],
+                                       "source" : [ "obj-34", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-51", 1 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-50", 1 ],
+                                       "source" : [ "obj-35", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-51", 0 ],
+                                       "source" : [ "obj-37", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "midpoints" : [ 463.568022060394298, 174.084304439184052, 452.517679850260436, 174.084304439184052, 452.517679850260436, 108.989425659179688, 469.5, 108.989425659179688 ],
+                                       "source" : [ "obj-4", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-4", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-4", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-35", 0 ],
+                                       "source" : [ "obj-4", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-4", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-40", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-40", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-40", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-42", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-45", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-46", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-58", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-48", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 2 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-50", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-51", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-45", 1 ],
+                                       "source" : [ "obj-54", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-58", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-54", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 1 ],
+                                       "source" : [ "obj-54", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-54", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "midpoints" : [ 655.5, 755.0, 242.16632080078125, 755.0, 242.16632080078125, 597.0, 257.5, 597.0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-54", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-57", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-46", 0 ],
+                                       "source" : [ "obj-57", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "source" : [ "obj-57", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-45", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-71", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 1 ],
+                                       "source" : [ "obj-71", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-71", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 0 ],
+                                       "source" : [ "obj-71", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-8", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 2 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.collect.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.difference.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.gather.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.intersection.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.righttoleft.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/ordering",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/seq_eventeditor_ui2.maxpat b/misc/engine_sequencer_with_events/seq_eventeditor_ui2.maxpat
new file mode 100644 (file)
index 0000000..86405b1
--- /dev/null
@@ -0,0 +1,1187 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 450.0, 141.0, 1159.0, 847.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-81",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 979.0, 485.0, 59.0, 22.0 ],
+                                       "text" : "route text"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "textedit",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 963.0, 451.0, 103.0, 27.0 ],
+                                       "text" : "Cello"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "fontsize" : 10.0,
+                                                                       "id" : "obj-5",
+                                                                       "linecount" : 8,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 195.0, 104.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 108, 111, 111, 112, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 101, 110, 101, 114, 97, 116, 101, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 97, 117, 120, 115, 101, 110, 100, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 0, 100, 0, 0, 5, -36, 0, 0, 0, 20, 47, 99, 97, 116, 0, 0, 0, 0, 44, 115, 0, 0, 110, 111, 110, 101, 0, 0, 0, 0 ],
+                                                                       "saved_bundle_length" : 224,
+                                                                       "text" : "/loop : 0,\n/generate : 0,\n/speed : 1.,\n/density : 0.,\n/variety : 0.,\n/auxsend : 0.,\n/spacing/range : [100, 1500],\n/cat : \"none\""
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-12",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-15",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 264.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-12", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-15", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 296.0, 293.0, 97.0, 22.0 ],
+                                       "text" : "p default_bundle"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "" ],
+                                       "patching_rect" : [ 22.0, 328.0, 199.0, 22.0 ],
+                                       "text" : "t l l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 333.0, 707.0, 47.999988406896591, 22.0 ],
+                                       "text" : "t l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-48",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 141.0, 807.0, 64.0, 20.0 ],
+                                       "text" : "recall"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 359.0, 805.0, 150.0, 20.0 ],
+                                       "text" : "updated event out"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "clear", "bang" ],
+                                       "patching_rect" : [ 264.0, 142.0, 51.0, 22.0 ],
+                                       "text" : "t clear b"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "FullPacket" ],
+                                       "patching_rect" : [ 264.0, 114.0, 170.0, 22.0 ],
+                                       "text" : "o.route /clear /audiofile/menu"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-46",
+                                       "linecount" : 8,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 459.0, 204.0, 233.0, 114.0 ],
+                                       "text" : "parameters:\n\n/generate bool\n/speed 0.125-3\n/loop bool\n/spacing/range : [mslow, mshigh] - for loop\n/density : 0-1\n/auxsend : 0-1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 712.0, 404.0, 75.0, 22.0 ],
+                                       "text" : "set $1, bang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) updated event out",
+                                       "id" : "obj-25",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 333.0, 805.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 182.0, 119.0, 29.5, 22.0 ],
+                                       "text" : "t l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) event recall",
+                                       "id" : "obj-13",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 112.0, 805.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-2",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 872.0, 13.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 820.0, 451.0, 72.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 235.0, 4.0, 72.0, 20.0 ],
+                                       "text" : "audio group"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 211.0, 13.0, 20.0, 20.0 ],
+                                       "text" : "ID"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-80",
+                                       "items" : "<empty>",
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 712.0, 451.0, 100.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 126.0, 4.0, 100.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-79",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 636.0, 404.0, 72.285714285714221, 21.0 ],
+                                       "text" : "unpack 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-78",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 9,
+                                       "outlettype" : [ "", "", "", "", "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 368.0, 624.714285714285666, 22.0 ],
+                                       "text" : "o.route /loop /generate /speed /density /variety /auxsend /spacing/range /cat"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-77",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 293.0, 82.0, 22.0 ],
+                                       "text" : "o.route /result"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-76",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 265.0, 102.0, 22.0 ],
+                                       "text" : "o.if bound(/result)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-71",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 851.0, 597.0, 83.0, 22.0 ],
+                                       "text" : "o.route /setter"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-70",
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 851.0, 550.0, 275.0, 31.0 ],
+                                       "text" : "/setter = [\"set\", \"/event/\" + /selected]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-67",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 333.0, 678.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-64",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 177.0, 714.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-62",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 204.0, 262.0, 57.0 ],
+                                       "text" : "/lookup = \"/event\" + \"/\" + /selected, \n/result = value(/lookup), \ndelete(/selected, /lookup)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-61",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 82.0, 101.0, 22.0 ],
+                                       "text" : "o.select /selected"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-59",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 538.0, 486.0, 47.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 483.0, 28.0, 47.0, 20.0 ],
+                                       "text" : "variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-60",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 485.0, 485.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 430.0, 27.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-54",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 333.0, 752.0, 90.0, 22.0 ],
+                                       "text" : "o.pack /event/1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 636.0, 526.0, 72.0, 22.0 ],
+                                       "text" : "pak 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-35",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 614.0, 451.0, 57.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 179.0, 31.0, 57.0, 20.0 ],
+                                       "text" : "aux send"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-36",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 561.0, 450.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 126.0, 30.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 462.0, 451.0, 47.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 371.0, 28.0, 47.0, 20.0 ],
+                                       "text" : "density"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-34",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 409.0, 450.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 318.0, 27.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-32",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 689.0, 485.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 483.0, 3.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 748.0, 486.0, 84.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 542.0, 4.0, 84.0, 20.0 ],
+                                       "text" : "spacing range"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-31",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 636.0, 485.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 430.0, 3.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 211.0, 486.0, 89.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 32.0, 4.0, 89.0, 20.0 ],
+                                       "text" : "loop on/off"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 182.0, 484.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 3.0, 2.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 386.0, 486.0, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 371.0, 4.0, 41.0, 20.0 ],
+                                       "text" : "speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-26",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 333.0, 485.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 318.0, 3.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 287.0, 450.0, 89.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 32.0, 30.0, 89.0, 20.0 ],
+                                       "text" : "generate on/off"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 258.0, 448.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 3.0, 28.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-82",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 182.0, 11.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-39",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 712.0, 555.0, 67.0, 22.0 ],
+                                       "text" : "o.pack /cat"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 636.0, 588.0, 126.0, 22.0 ],
+                                       "text" : "o.pack /spacing/range"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 561.0, 555.0, 96.0, 22.0 ],
+                                       "text" : "o.pack /auxsend"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 485.0, 588.0, 86.0, 22.0 ],
+                                       "text" : "o.pack /variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 409.0, 561.0, 89.0, 22.0 ],
+                                       "text" : "o.pack /density"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 333.0, 588.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 258.0, 561.0, 98.0, 22.0 ],
+                                       "text" : "o.pack /generate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 588.0, 73.0, 22.0 ],
+                                       "text" : "o.pack /loop"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-64", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-70", 0 ],
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-78", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-64", 1 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-80", 0 ],
+                                       "source" : [ "obj-3", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-80", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-39", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-4", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.096319228410721, 0.733391523361206, 0.032874949276447, 1.0 ],
+                                       "destination" : [ "obj-67", 1 ],
+                                       "source" : [ "obj-4", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-78", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 1 ],
+                                       "midpoints" : [ 371.499988406896591, 734.767537308758619, 385.807414439044805, 734.767537308758619, 385.807414439044805, 674.162597839909722, 371.5, 674.162597839909722 ],
+                                       "source" : [ "obj-43", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-54", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-60", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-61", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-61", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-76", 0 ],
+                                       "source" : [ "obj-62", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-62", 0 ],
+                                       "source" : [ "obj-64", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-67", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-64", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-71", 0 ],
+                                       "source" : [ "obj-70", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-71", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-77", 0 ],
+                                       "source" : [ "obj-76", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-77", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-78", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-78", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-78", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "source" : [ "obj-78", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-78", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-78", 7 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-60", 0 ],
+                                       "source" : [ "obj-78", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-79", 0 ],
+                                       "source" : [ "obj-78", 6 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "source" : [ "obj-79", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-79", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "source" : [ "obj-80", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-61", 0 ],
+                                       "source" : [ "obj-82", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_sequencer_with_events/sequencer2.maxpat b/misc/engine_sequencer_with_events/sequencer2.maxpat
new file mode 100644 (file)
index 0000000..e949908
--- /dev/null
@@ -0,0 +1,839 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 71.0, 87.0, 1399.0, 902.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-35",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 421.5, 756.0, 54.0, 22.0 ],
+                                       "text" : "o.accum"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 129.5, 709.0, 106.0, 20.0 ],
+                                       "text" : "displays all events"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "linecount" : 4,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 651.5, 774.0, 153.0, 60.0 ],
+                                       "text" : "output only if there is a changed value in the multislider (independent of whether there is an event)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 619.5, 778.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "number",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 897.0, 425.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 408.0, 506.0, 111.0, 22.0 ],
+                                       "text" : "o.route /multislider"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 0.0, 0.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-18",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 86.0, 189.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-15",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 86.0, 162.0, 34.0, 22.0 ],
+                                                                       "text" : "sel 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 50.0, 130.0, 55.0, 22.0 ],
+                                                                       "text" : "zl.slice 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 63.0, 22.0 ],
+                                                                       "text" : "route read"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-26",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-27",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 86.0, 273.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-15", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-27", 0 ],
+                                                                       "source" : [ "obj-18", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-26", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-15", 0 ],
+                                                                       "source" : [ "obj-5", 1 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 491.75, 468.0, 34.0, 22.0 ],
+                                       "text" : "p init"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 152.0, 425.0, 105.0, 22.0 ],
+                                       "text" : "o.pack /multislider"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 408.0, 258.0, 105.0, 22.0 ],
+                                       "text" : "read eventlist.json"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 407.75, 468.0, 82.0, 22.0 ],
+                                       "text" : "o.route /seq/1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-105",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 787.0, 455.0, 58.0, 22.0 ],
+                                       "text" : "o.change"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-104",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "int", "int" ],
+                                       "patching_rect" : [ 77.0, 252.0, 94.0, 22.0 ],
+                                       "text" : "t i i i"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-103",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 619.5, 708.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-96",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 787.0, 425.0, 103.0, 22.0 ],
+                                       "text" : "o.pack /engine/on"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.125490196078431, 0.125490196078431, 0.125490196078431, 0.0 ],
+                                       "id" : "obj-92",
+                                       "ignoreclick" : 1,
+                                       "maxclass" : "multislider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "orientation" : 0,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 152.0, 343.0, 654.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 152.0, 343.0, 654.0, 22.0 ],
+                                       "setminmax" : [ 1.0, 61.0 ],
+                                       "settype" : 0,
+                                       "size" : 60,
+                                       "slidercolor" : [ 1.0, 1.0, 1.0, 1.0 ],
+                                       "thickness" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-90",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 114.5, 506.0, 95.0, 22.0 ],
+                                       "text" : "o.pack /selected"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-87",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 408.0, 439.0, 102.75, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict eventlist"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-84",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "seq_eventeditor_ui2.maxpat",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 115.0, 548.0, 747.0, 53.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 152.0, 373.0, 326.0, 134.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-58",
+                                       "linecount" : 8,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 699.0, 86.0, 233.0, 114.0 ],
+                                       "text" : "/cat : \"CelloShortSounds\",\n/variety : 50,\n/generate : true,\n/density : 0.8,\n/speed : 1.,\n/loop : false,\n/spacing/range : [300, 1800],\n/phaseout : false"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "number",
+                                       "maximum" : 60,
+                                       "minimum" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 77.0, 216.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 262.0, 299.0, 51.0, 22.0 ],
+                                       "text" : "fetch $1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.568627450980392, 0.784313725490196, 0.796078431372549, 1.0 ],
+                                       "id" : "obj-7",
+                                       "maxclass" : "multislider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 152.0, 343.0, 654.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 152.0, 343.0, 654.0, 22.0 ],
+                                       "setminmax" : [ 0.0, 1.0 ],
+                                       "setstyle" : 1,
+                                       "settype" : 0,
+                                       "signed" : 1,
+                                       "size" : 60,
+                                       "slidercolor" : [ 0.082353, 0.431373, 0.411765, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-46",
+                                       "linecount" : 8,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 398.0, 86.0, 233.0, 114.0 ],
+                                       "text" : "parameters:\n\n/generate bool\n/speed 0.125-3\n/loop bool\n/spacing/range : [mslow, mshigh] - for loop\n/density : 0-1\n/auxsend : 0-1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 77.0, 38.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 77.0, 91.0, 69.0, 22.0 ],
+                                       "text" : "metro 1200"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-52",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "int", "", "", "int" ],
+                                       "patching_rect" : [ 77.0, 145.0, 77.0, 22.0 ],
+                                       "text" : "counter 1 60"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 408.0, 284.0, 63.0, 22.0 ],
+                                       "text" : "writeagain"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 512.5, 708.0, 35.0, 22.0 ],
+                                       "text" : "clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 421.5, 784.0, 80.0, 22.0 ],
+                                       "text" : "o.pack /seq/1",
+                                       "textcolor" : [ 0.223529411764706, 0.741176470588235, 0.192156862745098, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-94",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 491.75, 399.0, 37.0, 22.0 ],
+                                       "text" : "o.dict"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-106",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 114.5, 734.0, 212.0, 33.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-52", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-103", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-104", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-90", 0 ],
+                                       "source" : [ "obj-104", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-92", 0 ],
+                                       "source" : [ "obj-104", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-103", 0 ],
+                                       "source" : [ "obj-105", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-87", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-35", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-35", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-94", 0 ],
+                                       "midpoints" : [ 431.0, 815.0489501953125, 541.46380615234375, 815.0489501953125, 541.46380615234375, 393.71954345703125, 501.25, 393.71954345703125 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-87", 0 ],
+                                       "midpoints" : [ 501.25, 495.737548828125, 531.05865478515625, 495.737548828125, 531.05865478515625, 433.5428466796875, 417.5, 433.5428466796875 ],
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-84", 1 ],
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-52", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-104", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-96", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-87", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-103", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-84", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-106", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-84", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-35", 0 ],
+                                       "source" : [ "obj-84", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-87", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-87", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-84", 0 ],
+                                       "source" : [ "obj-90", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-87", 1 ],
+                                       "source" : [ "obj-94", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-105", 0 ],
+                                       "source" : [ "obj-96", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.change.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.dict.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "seq_eventeditor_ui2.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_wrapper_ui~.maxhelp b/misc/engine_wrapper_ui~.maxhelp
new file mode 100644 (file)
index 0000000..c36e56f
--- /dev/null
@@ -0,0 +1,454 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 171.0, 209.0, 906.0, 779.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 495.0, 219.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 495.0, 267.0, 35.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "channels" : 1,
+                                       "id" : "obj-1",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 816.0, 303.0, 48.0, 135.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "engine",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_osc_name" : "<default>",
+                                                       "parameter_shortname" : "engine",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "engine"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 710.0, 220.0, 154.0, 22.0 ],
+                                       "text" : "buffer~ brushes brushes.aif"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "ezdac~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 816.0, 462.0, 45.0, 45.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 495.0, 450.0, 203.0, 77.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-12",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_wrapper~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "signal", "" ],
+                                       "patching_rect" : [ 495.0, 304.0, 309.0, 134.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-11",
+                                       "linecount" : 9,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 641.0, 19.0, 173.0, 126.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -36, 47, 101, 110, 103, 105, 110, 101, 47, 49, 0, 0, 0, 44, 46, 0, 0, 0, 0, 0, -56, 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 97, 99, 105, 110, 103, 47, 109, 115, 0, 44, 105, 0, 0, 0, 0, 6, 94, 0, 0, 0, 20, 47, 110, 117, 121, 109, 112, 108, 97, 121, 115, 0, 0, 44, 105, 0, 0, 0, 0, 0, 34, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 64, 2, 56, -29, -114, 56, -29, -114, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -17, 23, -52, -22, -123, -125, -59, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 63, -45, 51, 51, 51, 51, 51, 51, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 102, 97, 100, 101, 0, 0, 0, 44, 100, 105, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 20, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 98, 114, 117, 115, 104, 101, 115, 0 ],
+                                       "saved_bundle_length" : 240,
+                                       "text" : "/engine/1 : {\n  /spacing/ms : 1630,\n  /nuymplays : 34,\n  /speed : 2.27778,\n  /gain : 0.971655,\n  /segment : [0.3, 1.],\n  /fade : [1., 5],\n  /buffer : \"brushes\"\n}"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 641.0, 151.0, 99.0, 22.0 ],
+                                       "text" : "o.route /engine/1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "linecount" : 5,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 610.0, 560.0, 151.0, 74.0 ],
+                                       "text" : "it is assumed that a buffer will be passed through the UI module in order to give the playback engine a context..."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "background_color" : [ 0.270588235294118, 0.407843137254902, 0.352941176470588, 1.0 ],
+                                       "fontface" : 0,
+                                       "id" : "obj-7",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 55.0, 467.0, 260.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 55.0, 436.0, 97.0, 22.0 ],
+                                       "text" : "o.pack /engine/1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-54",
+                                       "linecount" : 6,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 440.0, 58.0, 166.0, 87.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 98, 114, 117, 115, 104, 101, 115, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 63, -29, 51, 51, 51, 51, 51, 51, 63, -23, -103, -103, -103, -103, -103, -102, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 110, 117, 109, 112, 108, 97, 121, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 5, 0, 0, 0, 20, 47, 115, 112, 97, 99, 105, 110, 103, 47, 109, 115, 0, 44, 105, 0, 0, 0, 0, 3, 32 ],
+                                       "saved_bundle_length" : 172,
+                                       "text" : "/buffer : \"brushes\",\n/segment : [0.6, 0.8],\n/speed : 0.125,\n/gain : 1.5,\n/numplays : 5,\n/spacing/ms : 800"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-62",
+                                       "linecount" : 6,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 245.0, 58.0, 166.0, 87.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 100, 117, 100, 117, 107, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -55, -103, -103, -103, -103, -103, -102, 0, 0, 0, 20, 47, 110, 117, 109, 112, 108, 97, 121, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 20, 0, 0, 0, 20, 47, 115, 112, 97, 99, 105, 110, 103, 47, 109, 115, 0, 44, 105, 0, 0, 0, 0, 3, -24 ],
+                                       "saved_bundle_length" : 168,
+                                       "text" : "/buffer : \"duduk\",\n/segment : [0., 1.],\n/speed : 1,\n/gain : 0.2,\n/numplays : 20,\n/spacing/ms : 1000"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-16",
+                                       "linecount" : 6,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 55.0, 58.0, 166.0, 87.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 98, 114, 117, 115, 104, 101, 115, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 63, -45, 51, 51, 51, 51, 51, 51, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 110, 117, 109, 112, 108, 97, 121, 115, 0, 0, 0, 44, 105, 0, 0, -1, -1, -1, -1, 0, 0, 0, 20, 47, 115, 112, 97, 99, 105, 110, 103, 47, 109, 115, 0, 44, 105, 0, 0, 0, 0, 7, 8 ],
+                                       "saved_bundle_length" : 168,
+                                       "text" : "/buffer : \"brushes\",\n/segment : [0.3, 1.],\n/speed : 1,\n/gain : 1.,\n/numplays : -1,\n/spacing/ms : 1800"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-2",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "engine_wrapper_ui~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 55.0, 188.0, 314.0, 229.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "midpoints" : [ 504.5, 443.0, 487.0, 443.0, 487.0, 295.0, 825.5, 295.0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-54", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-62", 0 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-1238",
+               "parameters" :          {
+                       "obj-1" : [ "engine", "engine", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "engine_voice~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_wrapper_ui~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "engine_wrapper~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/engine_wrapper_ui~.maxpat b/misc/engine_wrapper_ui~.maxpat
new file mode 100644 (file)
index 0000000..305e95b
--- /dev/null
@@ -0,0 +1,899 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 171.0, 237.0, 1372.0, 751.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 46.0, 109.0, 276.0, 22.0 ],
+                                       "text" : "o.route /segment /speed /spacing/ms /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 531.0, 465.0, 88.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 435.0, 140.0, 31.0, 22.0 ],
+                                       "text" : "t b s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 481.0, 168.5, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-40",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 209.0, 345.0, 131.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 269.0, 199.0, 39.0, 20.0 ],
+                                       "text" : "buffer"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 481.0, 230.0, 59.0, 22.0 ],
+                                       "text" : "route text"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 481.0, 257.0, 114.0, 22.0 ],
+                                       "text" : "o.pack /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "textedit",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 481.0, 195.0, 116.0, 30.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 132.0, 198.0, 132.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 32.0, 323.0, 131.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 32.0, 199.0, 96.0, 20.0 ],
+                                       "text" : "send last bundle"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-4",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 600.0, 538.5, 120.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 102, 97, 100, 101, 0, 0, 0, 44, 100, 105, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5 ],
+                                       "saved_bundle_length" : 44,
+                                       "text" : "/fade : [1., 5]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 600.0, 509.5, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 531.0, 577.0, 88.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-67",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 46.0, 52.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-65",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 531.0, 362.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 4.0, 197.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-63",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 531.0, 430.0, 54.0, 22.0 ],
+                                       "text" : "o.accum"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-61",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 355.0, 459.0, 111.0, 22.0 ],
+                                       "text" : "o.pack /spacing/ms"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-60",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 349.0, 345.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-56",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 46.0, 455.0, 41.0, 22.0 ],
+                                       "text" : "set $1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-52",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 98.0, 429.0, 131.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 177.0, 174.0, 131.0, 20.0 ],
+                                       "text" : "spacing in milliseconds"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.298039215686275, 0.298039215686275, 0.298039215686275, 1.0 ],
+                                       "id" : "obj-53",
+                                       "maxclass" : "number",
+                                       "minimum" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 46.0, 428.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 4.0, 173.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-55",
+                                       "knobcolor" : [ 0.996078, 0.996078, 0.996078, 1.0 ],
+                                       "maxclass" : "slider",
+                                       "min" : -1.0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 46.0, 390.0, 304.0, 34.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 4.0, 135.0, 304.0, 34.0 ],
+                                       "size" : 5000.0
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 46.0, 338.0, 41.0, 22.0 ],
+                                       "text" : "set $1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-46",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 185.0, 18.0, 24.0, 24.0 ],
+                                       "svg" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 104.0, 640.0, 480.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 218.0, 390.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "int" ],
+                                                                       "patching_rect" : [ 192.0, 80.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [  ],
+                                               "originid" : "pat-260"
+                                       }
+,
+                                       "patching_rect" : [ 185.0, 56.0, 66.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "fontsize" : 14.0,
+                                               "globalpatchername" : ""
+                                       }
+,
+                                       "text" : "p generate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-32",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 532.0, 689.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 369.0, 246.0, 47.0, 22.0 ],
+                                       "text" : "pack f f"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 369.0, 275.0, 97.0, 22.0 ],
+                                       "text" : "o.pack /segment"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 98.0, 222.0, 55.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 253.0, 53.0, 55.0, 20.0 ],
+                                       "text" : "segment"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 98.0, 312.0, 41.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 267.0, 112.0, 41.0, 20.0 ],
+                                       "text" : "speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.105882352941176, 0.352941176470588, 0.443137254901961, 1.0 ],
+                                       "bgcolor2" : [ 0.105882352941176, 0.352941176470588, 0.443137254901961, 1.0 ],
+                                       "bgfillcolor_angle" : 270.0,
+                                       "bgfillcolor_autogradient" : 0.0,
+                                       "bgfillcolor_color" : [ 0.074509803921569, 0.258823529411765, 0.313725490196078, 1.0 ],
+                                       "bgfillcolor_color1" : [ 0.105882352941176, 0.352941176470588, 0.443137254901961, 1.0 ],
+                                       "bgfillcolor_color2" : [ 0.172137149796092, 0.172137100044002, 0.172137113045018, 1.0 ],
+                                       "bgfillcolor_proportion" : 0.5,
+                                       "bgfillcolor_type" : "color",
+                                       "gradient" : 1,
+                                       "id" : "obj-18",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 258.0, 311.0, 29.5, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 55.0, 111.0, 29.5, 22.0 ],
+                                       "text" : "0.5"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.105882352941176, 0.352941176470588, 0.443137254901961, 1.0 ],
+                                       "bgcolor2" : [ 0.105882352941176, 0.352941176470588, 0.443137254901961, 1.0 ],
+                                       "bgfillcolor_angle" : 270.0,
+                                       "bgfillcolor_autogradient" : 0.0,
+                                       "bgfillcolor_color" : [ 0.074509803921569, 0.258823529411765, 0.313725490196078, 1.0 ],
+                                       "bgfillcolor_color1" : [ 0.105882352941176, 0.352941176470588, 0.443137254901961, 1.0 ],
+                                       "bgfillcolor_color2" : [ 0.172137149796092, 0.172137100044002, 0.172137113045018, 1.0 ],
+                                       "bgfillcolor_proportion" : 0.5,
+                                       "bgfillcolor_type" : "color",
+                                       "gradient" : 1,
+                                       "id" : "obj-17",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 321.0, 311.0, 29.5, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 118.0, 111.0, 29.5, 22.0 ],
+                                       "text" : "4."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.105882352941176, 0.352941176470588, 0.443137254901961, 1.0 ],
+                                       "bgcolor2" : [ 0.105882352941176, 0.352941176470588, 0.443137254901961, 1.0 ],
+                                       "bgfillcolor_angle" : 270.0,
+                                       "bgfillcolor_autogradient" : 0.0,
+                                       "bgfillcolor_color" : [ 0.074509803921569, 0.258823529411765, 0.313725490196078, 1.0 ],
+                                       "bgfillcolor_color1" : [ 0.105882352941176, 0.352941176470588, 0.443137254901961, 1.0 ],
+                                       "bgfillcolor_color2" : [ 0.172137149796092, 0.172137100044002, 0.172137113045018, 1.0 ],
+                                       "bgfillcolor_proportion" : 0.5,
+                                       "bgfillcolor_type" : "color",
+                                       "gradient" : 1,
+                                       "id" : "obj-15",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 290.0, 311.0, 29.5, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 87.0, 111.0, 29.5, 22.0 ],
+                                       "text" : "1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-13",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 46.0, 311.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 4.0, 111.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "floatoutput" : 1,
+                                       "id" : "obj-11",
+                                       "knobcolor" : [ 0.407843137254902, 0.733333333333333, 0.776470588235294, 1.0 ],
+                                       "maxclass" : "slider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 46.0, 273.0, 304.0, 34.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 4.0, 75.0, 304.0, 34.0 ],
+                                       "size" : 8.0
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.443137254901961, 0.258823529411765, 0.074509803921569, 1.0 ],
+                                       "format" : 6,
+                                       "id" : "obj-6",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 300.0, 174.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 4.0, 52.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.443137254901961, 0.258823529411765, 0.074509803921569, 1.0 ],
+                                       "format" : 6,
+                                       "id" : "obj-5",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 300.0, 198.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 56.0, 52.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fgcolor" : [ 0.76078431372549, 0.513725490196078, 0.231372549019608, 1.0 ],
+                                       "floatoutput" : 1,
+                                       "id" : "obj-3",
+                                       "maxclass" : "rslider",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 46.0, 174.0, 252.0, 46.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 4.0, 4.0, 304.0, 46.0 ],
+                                       "size" : 1.0
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-50", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-60", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-63", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-19", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-3", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-3", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-63", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 1 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-46", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "midpoints" : [ 55.5, 364.0, 39.5, 364.0, 39.5, 262.0, 55.5, 262.0 ],
+                                       "source" : [ "obj-50", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-56", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-53", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-61", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-53", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-53", 0 ],
+                                       "source" : [ "obj-55", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-55", 0 ],
+                                       "midpoints" : [ 55.5, 487.0, 38.5, 487.0, 38.5, 379.0, 55.5, 379.0 ],
+                                       "source" : [ "obj-56", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-63", 0 ],
+                                       "source" : [ "obj-60", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-63", 0 ],
+                                       "source" : [ "obj-61", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-63", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-63", 0 ],
+                                       "source" : [ "obj-65", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-67", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-9", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-9", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-55", 0 ],
+                                       "source" : [ "obj-9", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 1 ],
+                                       "source" : [ "obj-9", 4 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-256",
+               "dependency_cache" : [                  {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/nested_dict_tests.maxpat b/misc/nested_dict_tests.maxpat
new file mode 100644 (file)
index 0000000..7a986c7
--- /dev/null
@@ -0,0 +1,339 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 104.0, 1040.0, 465.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 126.0, 40.0, 155.0, 20.0 ],
+                                       "text" : "don't click this first. instead,"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 62.0, 170.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 64.0, 262.0, 107.0, 22.0 ],
+                                       "text" : "prepend set slayer"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 60.0, 221.0, 61.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 466.0, 216.0, 35.0, 22.0 ],
+                                       "text" : "clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 335.0, 34.0, 42.0, 20.0 ],
+                                       "text" : "...then"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 40.0, 142.0, 165.0, 20.0 ],
+                                       "text" : "...click this first because WTF"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 516.0, 164.0, 108.0, 20.0 ],
+                                       "text" : "...FML"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 516.0, 142.0, 108.0, 20.0 ],
+                                       "text" : "< ...now this works"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 335.0, 141.0, 179.0, 22.0 ],
+                                       "text" : "set slayer::jeff_hanneman guitar"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 494.0, 99.0, 260.0, 33.0 ],
+                                       "text" : "< this works, but then I have to use \"replace\" on the first element for the new dict only???"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 466.0, 70.0, 108.0, 20.0 ],
+                                       "text" : "< this doesn't work"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 313.0, 104.5, 179.0, 22.0 ],
+                                       "text" : "replace slayer::kerry_king guitar"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 291.0, 69.0, 155.0, 22.0 ],
+                                       "text" : "set slayer::kerry_king guitar"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 388.0, 216.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "dict.view",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 289.0, 291.0, 187.0, 116.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 155.0, 69.0, 83.0, 22.0 ],
+                                       "text" : "set slayer 100"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 289.0, 250.0, 61.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [  ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/playback_test.maxpat b/misc/playback_test.maxpat
new file mode 100644 (file)
index 0000000..ac42e27
--- /dev/null
@@ -0,0 +1,520 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 104.0, 846.0, 556.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 8,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 130.0, 475.0, 147.100000000000023, 22.0 ],
+                                       "text" : "dac~ 1 2 3 4 5 6 7 8"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "dontreplace" : 1,
+                                       "id" : "obj-5",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 364.0, 378.0, 148.0, 22.0 ],
+                                       "text" : "done 6 jongly.aif"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-1",
+                                       "maxclass" : "number~",
+                                       "mode" : 2,
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "float" ],
+                                       "patching_rect" : [ 364.0, 345.0, 80.0, 23.0 ],
+                                       "sig" : 0.0
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "channels" : 8,
+                                       "id" : "obj-16",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 8,
+                                       "numoutlets" : 11,
+                                       "orientation" : 1,
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal", "signal", "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 130.0, 345.0, 202.0, 83.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_initial" : [ 0 ],
+                                                       "parameter_longname" : "live.gain~",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 0,
+                                                       "parameter_shortname" : "live.gain~",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.gain~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "basictuning" : 440,
+                                       "clipheight" : 33.285714285714285,
+                                       "data" :                                        {
+                                               "clips" : [                                                     {
+                                                               "absolutepath" : "vibes-a1.aif",
+                                                               "filename" : "vibes-a1.aif",
+                                                               "filekind" : "audiofile",
+                                                               "id" : "u661000887",
+                                                               "loop" : 1,
+                                                               "content_state" :                                                               {
+                                                                       "slurtime" : [ 0 ],
+                                                                       "timestretch" : [ 0 ],
+                                                                       "formantcorrection" : [ 0 ],
+                                                                       "formant" : [ 1 ],
+                                                                       "originallengthms" : [ 0 ],
+                                                                       "pitchshift" : [ 1 ],
+                                                                       "mode" : [ "basic" ],
+                                                                       "originallength" : [ 0, "ticks" ],
+                                                                       "quality" : [ "basic" ],
+                                                                       "speed" : [ 1 ],
+                                                                       "originaltempo" : [ 120 ],
+                                                                       "basictuning" : [ 440 ],
+                                                                       "pitchcorrection" : [ 0 ],
+                                                                       "followglobaltempo" : [ 0 ],
+                                                                       "play" : [ 0 ],
+                                                                       "pitchshiftcent" : [ 0 ],
+                                                                       "loop" : 1
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "absolutepath" : "sho0630.aif",
+                                                               "filename" : "sho0630.aif",
+                                                               "filekind" : "audiofile",
+                                                               "id" : "u128000890",
+                                                               "loop" : 1,
+                                                               "content_state" :                                                               {
+                                                                       "slurtime" : [ 0 ],
+                                                                       "timestretch" : [ 0 ],
+                                                                       "formantcorrection" : [ 0 ],
+                                                                       "formant" : [ 1 ],
+                                                                       "originallengthms" : [ 0 ],
+                                                                       "pitchshift" : [ 1 ],
+                                                                       "mode" : [ "basic" ],
+                                                                       "originallength" : [ 0, "ticks" ],
+                                                                       "quality" : [ "basic" ],
+                                                                       "speed" : [ 1 ],
+                                                                       "originaltempo" : [ 120 ],
+                                                                       "basictuning" : [ 440 ],
+                                                                       "pitchcorrection" : [ 0 ],
+                                                                       "followglobaltempo" : [ 0 ],
+                                                                       "play" : [ 0 ],
+                                                                       "pitchshiftcent" : [ 0 ],
+                                                                       "loop" : 1
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "absolutepath" : "drumLoop.aif",
+                                                               "filename" : "drumLoop.aif",
+                                                               "filekind" : "audiofile",
+                                                               "id" : "u228000893",
+                                                               "loop" : 0,
+                                                               "content_state" :                                                               {
+                                                                       "slurtime" : [ 0 ],
+                                                                       "timestretch" : [ 0 ],
+                                                                       "formantcorrection" : [ 0 ],
+                                                                       "formant" : [ 1 ],
+                                                                       "originallengthms" : [ 0 ],
+                                                                       "pitchshift" : [ 1 ],
+                                                                       "mode" : [ "basic" ],
+                                                                       "originallength" : [ 0, "ticks" ],
+                                                                       "quality" : [ "basic" ],
+                                                                       "speed" : [ 1 ],
+                                                                       "originaltempo" : [ 120 ],
+                                                                       "basictuning" : [ 440 ],
+                                                                       "pitchcorrection" : [ 0 ],
+                                                                       "followglobaltempo" : [ 0 ],
+                                                                       "play" : [ 0 ],
+                                                                       "pitchshiftcent" : [ 0 ],
+                                                                       "loop" : 0
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "absolutepath" : "cherokee.aif",
+                                                               "filename" : "cherokee.aif",
+                                                               "filekind" : "audiofile",
+                                                               "id" : "u506000896",
+                                                               "loop" : 0,
+                                                               "content_state" :                                                               {
+                                                                       "slurtime" : [ 0 ],
+                                                                       "timestretch" : [ 0 ],
+                                                                       "formantcorrection" : [ 0 ],
+                                                                       "formant" : [ 1 ],
+                                                                       "originallengthms" : [ 0 ],
+                                                                       "pitchshift" : [ 1 ],
+                                                                       "mode" : [ "basic" ],
+                                                                       "originallength" : [ 0, "ticks" ],
+                                                                       "quality" : [ "basic" ],
+                                                                       "speed" : [ 1 ],
+                                                                       "originaltempo" : [ 120 ],
+                                                                       "basictuning" : [ 440 ],
+                                                                       "pitchcorrection" : [ 0 ],
+                                                                       "followglobaltempo" : [ 0 ],
+                                                                       "play" : [ 0 ],
+                                                                       "pitchshiftcent" : [ 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "absolutepath" : "cello-f2.aif",
+                                                               "filename" : "cello-f2.aif",
+                                                               "filekind" : "audiofile",
+                                                               "id" : "u255000899",
+                                                               "loop" : 0,
+                                                               "content_state" :                                                               {
+                                                                       "slurtime" : [ 0 ],
+                                                                       "timestretch" : [ 0 ],
+                                                                       "formantcorrection" : [ 0 ],
+                                                                       "formant" : [ 1 ],
+                                                                       "originallengthms" : [ 0 ],
+                                                                       "pitchshift" : [ 1 ],
+                                                                       "mode" : [ "basic" ],
+                                                                       "originallength" : [ 0, "ticks" ],
+                                                                       "quality" : [ "basic" ],
+                                                                       "speed" : [ 1 ],
+                                                                       "originaltempo" : [ 120 ],
+                                                                       "basictuning" : [ 440 ],
+                                                                       "pitchcorrection" : [ 0 ],
+                                                                       "followglobaltempo" : [ 0 ],
+                                                                       "play" : [ 0 ],
+                                                                       "pitchshiftcent" : [ 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "absolutepath" : "jongly.aif",
+                                                               "filename" : "jongly.aif",
+                                                               "filekind" : "audiofile",
+                                                               "id" : "u372000902",
+                                                               "selection" : [ 0.030405, 0.716216 ],
+                                                               "loop" : 0,
+                                                               "content_state" :                                                               {
+                                                                       "slurtime" : [ 0 ],
+                                                                       "timestretch" : [ 0 ],
+                                                                       "formantcorrection" : [ 0 ],
+                                                                       "formant" : [ 1 ],
+                                                                       "originallengthms" : [ 0 ],
+                                                                       "pitchshift" : [ 1 ],
+                                                                       "mode" : [ "basic" ],
+                                                                       "originallength" : [ 0, "ticks" ],
+                                                                       "quality" : [ "basic" ],
+                                                                       "speed" : [ 1 ],
+                                                                       "originaltempo" : [ 120 ],
+                                                                       "basictuning" : [ 440 ],
+                                                                       "pitchcorrection" : [ 0 ],
+                                                                       "followglobaltempo" : [ 0 ],
+                                                                       "play" : [ 0 ],
+                                                                       "pitchshiftcent" : [ 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "absolutepath" : "anton.aif",
+                                                               "filename" : "anton.aif",
+                                                               "filekind" : "audiofile",
+                                                               "id" : "u661000905",
+                                                               "loop" : 1,
+                                                               "content_state" :                                                               {
+                                                                       "slurtime" : [ 0 ],
+                                                                       "timestretch" : [ 0 ],
+                                                                       "formantcorrection" : [ 0 ],
+                                                                       "formant" : [ 1 ],
+                                                                       "originallengthms" : [ 0 ],
+                                                                       "pitchshift" : [ 1 ],
+                                                                       "mode" : [ "basic" ],
+                                                                       "originallength" : [ 0, "ticks" ],
+                                                                       "quality" : [ "basic" ],
+                                                                       "speed" : [ 1 ],
+                                                                       "originaltempo" : [ 120 ],
+                                                                       "basictuning" : [ 440 ],
+                                                                       "pitchcorrection" : [ 0 ],
+                                                                       "followglobaltempo" : [ 0 ],
+                                                                       "play" : [ 0 ],
+                                                                       "pitchshiftcent" : [ 0 ],
+                                                                       "loop" : 1
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "followglobaltempo" : 0,
+                                       "formantcorrection" : 0,
+                                       "id" : "obj-9",
+                                       "maxclass" : "playlist~",
+                                       "mode" : "basic",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "originallength" : [ 0.0, "ticks" ],
+                                       "originaltempo" : 120.0,
+                                       "outlettype" : [ "signal", "signal", "signal", "", "dictionary" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 130.0, 70.0, 350.0, 240.0 ],
+                                       "pitchcorrection" : 0,
+                                       "quality" : "basic",
+                                       "timestretch" : [ 0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 7 ],
+                                       "source" : [ "obj-16", 7 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 6 ],
+                                       "source" : [ "obj-16", 6 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 5 ],
+                                       "source" : [ "obj-16", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 4 ],
+                                       "source" : [ "obj-16", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 3 ],
+                                       "source" : [ "obj-16", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 2 ],
+                                       "source" : [ "obj-16", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 1 ],
+                                       "source" : [ "obj-16", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-9", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 7 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 6 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 5 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 4 ],
+                                       "order" : 3,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 3 ],
+                                       "order" : 4,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 2 ],
+                                       "order" : 5,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 1 ],
+                                       "order" : 6,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "order" : 7,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 1 ],
+                                       "source" : [ "obj-9", 3 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-16" : [ "live.gain~", "live.gain~", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "anton.aif",
+                               "bootpath" : "C74:/media/msp",
+                               "type" : "AIFF",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "cello-f2.aif",
+                               "bootpath" : "C74:/media/msp",
+                               "type" : "AIFF",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "cherokee.aif",
+                               "bootpath" : "C74:/media/msp",
+                               "type" : "AIFF",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "drumLoop.aif",
+                               "bootpath" : "C74:/media/msp",
+                               "type" : "AIFF",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "jongly.aif",
+                               "bootpath" : "C74:/media/msp",
+                               "type" : "AIFF",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "sho0630.aif",
+                               "bootpath" : "C74:/media/msp",
+                               "type" : "AIFF",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "vibes-a1.aif",
+                               "bootpath" : "C74:/media/msp",
+                               "type" : "AIFF",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/test_buffer_phase.maxpat b/misc/test_buffer_phase.maxpat
new file mode 100644 (file)
index 0000000..16b192f
--- /dev/null
@@ -0,0 +1,686 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 72.0, 184.0, 1113.0, 556.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-39",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 325.0, 44.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 266.0, 251.0, 55.0, 22.0 ],
+                                       "text" : "startloop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "ezdac~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 761.0, 449.0, 45.0, 45.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "channels" : 1,
+                                       "id" : "obj-33",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 686.0, 358.0, 48.0, 136.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "live.gain~",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_shortname" : "live.gain~",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.gain~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-32",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 370.0, 130.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-30",
+                                       "maxclass" : "number~",
+                                       "mode" : 2,
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "float" ],
+                                       "patching_rect" : [ 666.0, 321.0, 100.0, 22.0 ],
+                                       "sig" : 0.0
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 370.0, 410.0, 300.0, 100.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 736.0, 71.0, 48.0, 22.0 ],
+                                       "text" : "replace"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 635.0, 105.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 456.0, 206.0, 29.5, 22.0 ],
+                                       "text" : "t f f"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 466.5, 245.0, 29.5, 22.0 ],
+                                       "text" : "* 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 563.0, 245.0, 29.5, 22.0 ],
+                                       "text" : "* 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 456.0, 177.0, 126.0, 22.0 ],
+                                       "text" : "unpack 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 456.0, 130.0, 45.0, 22.0 ],
+                                       "presentation_linecount" : 2,
+                                       "text" : "0.2 0.8"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 636.0, 141.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 10,
+                                       "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int", "" ],
+                                       "patching_rect" : [ 636.0, 194.0, 113.5, 22.0 ],
+                                       "text" : "info~ testbufphase"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 473.0, 80.0, 29.5, 22.0 ],
+                                       "text" : "1.5"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 423.0, 80.0, 29.5, 22.0 ],
+                                       "text" : "1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 370.0, 77.0, 32.0, 22.0 ],
+                                       "text" : "0.75"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 325.0, 80.0, 32.0, 22.0 ],
+                                       "text" : "0.25"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 370.0, 185.0, 41.0, 22.0 ],
+                                       "text" : "sig~ 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 736.0, 105.0, 170.0, 22.0 ],
+                                       "text" : "buffer~ testbufphase duduk.aif"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "signal" ],
+                                       "patching_rect" : [ 370.0, 294.0, 212.0, 22.0 ],
+                                       "text" : "groove~ testbufphase"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 96.0, 106.0, 29.5, 22.0 ],
+                                       "text" : "0.2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 183.0, 106.0, 32.0, 22.0 ],
+                                       "text" : "0.75"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 183.0, 141.0, 100.0, 22.0 ],
+                                       "text" : "!/ 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-7",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 137.0, 305.0, 93.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-5",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 183.0, 177.0, 94.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 137.0, 258.0, 65.0, 22.0 ],
+                                       "text" : "* 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 137.0, 106.0, 32.0, 22.0 ],
+                                       "text" : "0.75"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "attr" : "loop",
+                                       "id" : "obj-40",
+                                       "maxclass" : "attrui",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 666.0, 258.0, 89.0, 22.0 ],
+                                       "text_width" : 66.0
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-11", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-18", 6 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-18", 6 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "source" : [ "obj-22", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 2 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 1 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-25", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-39", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-4", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-40", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 1 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-33" : [ "live.gain~", "live.gain~", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [  ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/test_path_aggregate.maxpat b/misc/test_path_aggregate.maxpat
new file mode 100644 (file)
index 0000000..6d7d229
--- /dev/null
@@ -0,0 +1,219 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 104.0, 640.0, 480.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 426.0, 78.0, 35.0, 22.0 ],
+                                       "text" : "clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 295.0, 131.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 295.0, 245.0, 48.0, 22.0 ],
+                                       "text" : "t l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-5",
+                                       "linecount" : 6,
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 57.0, 298.0, 556.0, 97.0 ],
+                                       "text" : "/list : [\"Macintosh HD:/Users/jml/Documents/audio/all_samp_dir_wav/synth_sounds/synthesis01/\", \"Macintosh HD:/Users/jml/Documents/audio/all_samp_dir_wav/synth_sounds/synthesis02/\", \"Macintosh HD:/Users/jml/Documents/audio/all_samp_dir_wav/synth_sounds/synthesis03/\"]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 295.0, 85.0, 96.0, 22.0 ],
+                                       "text" : "o.pack /newpath"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "dropfile",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 295.0, 33.0, 128.0, 41.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 173.0, 233.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-1",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 295.0, 179.0, 209.0, 57.0 ],
+                                       "text" : "/list ??= [],\n/list = [/list, /newpath], \ndelete(/newpath)"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 1 ],
+                                       "midpoints" : [ 333.5, 277.0, 501.5, 277.0, 501.5, 120.0, 333.5, 120.0 ],
+                                       "source" : [ "obj-10", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 1 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/timeclock_work.maxpat b/misc/timeclock_work.maxpat
new file mode 100644 (file)
index 0000000..f6a6319
--- /dev/null
@@ -0,0 +1,442 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 703.0, 407.0, 1057.0, 585.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-39",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 441.0, 401.0, 69.0, 22.0 ],
+                                       "text" : "o.print then"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 642.0, 198.0, 67.0, 22.0 ],
+                                       "text" : "o.print now"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-32",
+                                       "linecount" : 8,
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 32.0, 417.0, 179.0, 123.0 ],
+                                       "text" : "/date : {\n  /month : 7,\n  /day : 12,\n  /year : 2024,\n  /hr : 22,\n  /min : 5,\n  /sec : 14\n}"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 32.0, 389.0, 74.0, 22.0 ],
+                                       "text" : "o.pack /date"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-35",
+                                       "linecount" : 7,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 32.0, 275.0, 143.0, 108.0 ],
+                                       "presentation_linecount" : 7,
+                                       "text" : "/month = /date[[0]],\n/day = /date[[1]], \n/year = /date[[2]], \n/hr = /time[[0]], \n/min = /time[[1]], \n/sec = /time[[2]],\ndelete(/date, /time)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 32.0, 244.0, 103.0, 22.0 ],
+                                       "text" : "o.pack /date /time"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-25",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 311.0, 302.0, 315.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-24",
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 311.0, 223.0, 249.0, 31.0 ],
+                                       "text" : "/then = /currtime + (/hrs * /hr/sec)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "FullPacket", "FullPacket", "FullPacket", "FullPacket", "int" ],
+                                       "patching_rect" : [ 311.0, 263.0, 97.0, 22.0 ],
+                                       "text" : "o.schedule /then"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-17",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 311.0, 147.0, 315.0, 59.0 ],
+                                       "text" : "/hr/sec : 3600.,\n/hrs : 0.125,\n/currtime : 2024-07-13T05:04:47.107210Z"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-15",
+                                       "linecount" : 2,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 311.0, 61.0, 126.0, 36.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 104, 114, 47, 115, 101, 99, 0, 44, 100, 0, 0, 64, -84, 32, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 104, 114, 115, 0, 0, 0, 0, 44, 100, 0, 0, 63, -64, 0, 0, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 64,
+                                       "text" : "/hr/sec : 3600.,\n/hrs : 0.125"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 311.0, 107.0, 108.0, 22.0 ],
+                                       "text" : "o.timetag /currtime"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-7",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 649.0, 18.0, 276.0, 70.0 ],
+                                       "text" : "if(/currtime > /morning/thresh,\n  /new/event = true, \n  /new/event = false\n)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "linecount" : 6,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 115.0, 88.0, 150.0, 87.0 ],
+                                       "text" : "there could be rules here about specific changes in the score based on the time of day...  this could be edited by the user in an external text file"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "list", "list", "int" ],
+                                       "patching_rect" : [ 32.0, 216.0, 187.0, 23.0 ],
+                                       "text" : "date"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 32.0, 88.0, 74.0, 23.0 ],
+                                       "text" : "metro 1000"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 32.0, 45.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-31",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 32.0, 147.0, 70.0, 23.0 ],
+                                       "text" : "time, date"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 32.0, 120.0, 24.0, 24.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 1 ],
+                                       "source" : [ "obj-26", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "midpoints" : [ 41.5, 113.5, 41.5, 113.5 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "midpoints" : [ 41.5, 71.5, 41.5, 71.5 ],
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-35", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "midpoints" : [ 41.5, 146.5, 41.5, 146.5 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.print.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.schedule.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.timetag.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/old/Screen Shot 2024-08-21 at 1.07.23 AM.png b/old/Screen Shot 2024-08-21 at 1.07.23 AM.png
new file mode 100644 (file)
index 0000000..21d33f4
Binary files /dev/null and b/old/Screen Shot 2024-08-21 at 1.07.23 AM.png differ
diff --git a/old/engine_voice2~.maxpat b/old/engine_voice2~.maxpat
new file mode 100644 (file)
index 0000000..e28535c
--- /dev/null
@@ -0,0 +1,872 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 500.0, 185.0, 1132.0, 730.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-35",
+                                       "linecount" : 2,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 827.0, 234.0, 189.0, 44.0 ],
+                                       "text" : "/hv = /segment[[1]],\n/highval = (1. / /hv) * /hv"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-44",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 656.0, 385.0, 293.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 832.0, 287.0, 91.0, 22.0 ],
+                                       "text" : "o.route /highval"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 545.0, 581.0, 90.0, 22.0 ],
+                                       "text" : "scale 0. 1. 0. 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 415.0, 445.0, 29.5, 22.0 ],
+                                       "text" : "t f f"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 239.0, 405.0, 111.0, 22.0 ],
+                                       "text" : "f"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "bang" ],
+                                       "patching_rect" : [ 239.0, 374.0, 42.0, 22.0 ],
+                                       "text" : "edge~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 239.0, 473.0, 44.0, 22.0 ],
+                                       "text" : "sig~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-34",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 663.200000000000045, 323.0, 51.0, 22.0 ],
+                                       "text" : "delay 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 399.0, 637.0, 37.0, 22.0 ],
+                                       "text" : "zl.rev"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 399.0, 607.0, 57.0, 22.0 ],
+                                       "text" : "pack 0. 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 399.0, 689.0, 35.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : ""
+                                       }
+,
+                                       "text" : "out 2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 399.0, 540.0, 81.0, 22.0 ],
+                                       "text" : "snapshot~ 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 228.0, 657.0, 57.0, 20.0 ],
+                                       "text" : "busymap"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 552.399999999999977, 323.0, 79.0, 22.0 ],
+                                       "text" : "prepend loop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 457.0, 419.0, 90.0, 22.0 ],
+                                       "text" : "unpack 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-24",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 220.0, 215.0, 322.0, 57.0 ],
+                                       "text" : "/segment[[0]] = /segment[[0]] * /buflen,\n/segment[[1]] = /segment[[1]] * /buflen, \n/del = abs(/segment[[0]] - /segment[[1]]) - 10."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 139.666666666666686, 56.0, 99.333333333333314, 22.0 ],
+                                       "text" : "o.if exists(/stop)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 142.666666666666686, 278.0, 25.0, 22.0 ],
+                                       "text" : "t 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 555.0, 138.0, 83.0, 22.0 ],
+                                       "text" : "o.route /buffer"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-16",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 302.0, 5.0, 160.0, 62.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 128,
+                                       "text" : "/buffer : \"somethin\",\n/segment : [0., 1.],\n/speed : 0.25,\n/gain : 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 450.666666666666629, 162.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /buflen"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 220.0, 188.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "bang", "", "" ],
+                                       "patching_rect" : [ 220.0, 94.0, 522.0, 22.0 ],
+                                       "text" : "t l b l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 10,
+                                       "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int", "" ],
+                                       "patching_rect" : [ 387.666666666666629, 138.0, 113.5, 22.0 ],
+                                       "text" : "info~ genvoice"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 6,
+                                       "outlettype" : [ "", "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 220.0, 283.0, 573.0, 22.0 ],
+                                       "text" : "o.route /gain /speed /segment /loop /del"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 174.0, 679.0, 48.0, 22.0 ],
+                                       "text" : "out~ 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 228.0, 679.0, 40.0, 22.0 ],
+                                       "text" : "out 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 19.0, 197.0, 66.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 19.0, 226.0, 92.0, 22.0 ],
+                                       "text" : "mute 1, 0, bang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "int", "int" ],
+                                       "patching_rect" : [ 19.0, 411.0, 64.0, 22.0 ],
+                                       "text" : "thispoly~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 174.0, 564.0, 55.0, 22.0 ],
+                                       "text" : "*~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 555.0, 162.0, 82.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 555.0, 245.0, 112.0, 22.0 ],
+                                       "text" : "buffer~ genvoice"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "signal" ],
+                                       "patching_rect" : [ 239.0, 511.0, 161.0, 22.0 ],
+                                       "text" : "groove~ genvoice"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "signal", "", "" ],
+                                       "patching_rect" : [ 142.666666666666686, 323.0, 308.0, 22.0 ],
+                                       "text" : "adsr~ 10 0 1. 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 139.666666666666686, 30.0, 31.0, 22.0 ],
+                                       "text" : "in 1"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-14", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-35", 0 ],
+                                       "source" : [ "obj-14", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-14", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-17", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-17", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "source" : [ "obj-17", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 1 ],
+                                       "source" : [ "obj-17", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 1 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-2", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-2", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-21", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 2 ],
+                                       "source" : [ "obj-22", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 1 ],
+                                       "source" : [ "obj-26", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 2 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "midpoints" : [ 672.700000000000045, 357.0, 130.125, 357.0, 130.125, 271.0, 152.166666666666686, 271.0 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "source" : [ "obj-4", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "midpoints" : [ 564.5, 192.0, 644.899999999999977, 192.0, 644.899999999999977, 126.0, 397.166666666666629, 126.0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 1 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-9", 6 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/old/engine_voice_old01.maxhelp b/old/engine_voice_old01.maxhelp
new file mode 100644 (file)
index 0000000..b68f27e
--- /dev/null
@@ -0,0 +1,948 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 326.0, 228.0, 1005.0, 710.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-34",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 753.0, 199.0, 160.0, 62.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -71, -103, -103, -103, -103, -103, -102 ],
+                                       "saved_bundle_length" : 128,
+                                       "text" : "/buffer : \"somethin\",\n/segment : [0., 1.],\n/speed : 1.25,\n/gain : 0.1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "patching_rect" : [ 209.0, 219.0, 29.5, 22.0 ],
+                                       "text" : "t l b"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 313.0, 204.0, 51.0, 22.0 ],
+                                       "text" : "print init"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 469.0, 192.0, 126.0, 22.0 ],
+                                       "text" : "qmetro 100 @active 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "ghostbar" : 23,
+                                       "id" : "obj-14",
+                                       "maxclass" : "multislider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 424.0, 315.5, 88.0, 30.0 ],
+                                       "setminmax" : [ 0.0, 1.0 ],
+                                       "settype" : 0,
+                                       "size" : 10,
+                                       "spacing" : 2,
+                                       "thickness" : 1
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-32",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 92.0, 228.0, 45.0, 22.0 ],
+                                       "text" : "open 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 738.0, 303.5, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 738.0, 336.5, 32.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 738.0, 366.5, 74.0, 22.0 ],
+                                       "text" : "print phases"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "multislider",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 660.0, 594.0, 119.0, 35.0 ],
+                                       "setminmax" : [ 0.0, 1.0 ],
+                                       "settype" : 0,
+                                       "size" : 10
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 469.0, 228.0, 67.0, 22.0 ],
+                                       "text" : "busymap 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 8,
+                                                       "minor" : 6,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 104.0, 640.0, 480.0 ],
+                                               "bglocked" : 0,
+                                               "openinpresentation" : 0,
+                                               "default_fontsize" : 14.0,
+                                               "default_fontface" : 0,
+                                               "default_fontname" : "Arial",
+                                               "gridonopen" : 1,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "gridsnaponopen" : 1,
+                                               "objectsnaponopen" : 1,
+                                               "statusbarvisible" : 2,
+                                               "toolbarvisible" : 1,
+                                               "lefttoolbarpinned" : 0,
+                                               "toptoolbarpinned" : 0,
+                                               "righttoolbarpinned" : 0,
+                                               "bottomtoolbarpinned" : 0,
+                                               "toolbars_unpinned_last_save" : 0,
+                                               "tallnewobj" : 0,
+                                               "boxanimatetime" : 200,
+                                               "enablehscroll" : 1,
+                                               "enablevscroll" : 1,
+                                               "devicewidth" : 0.0,
+                                               "description" : "",
+                                               "digest" : "",
+                                               "tags" : "",
+                                               "style" : "",
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "assistshowspatchername" : 0,
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-28",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "bang" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 31.0, 24.0 ],
+                                                                       "text" : "t l b"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-26",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 86.0, 132.0, 56.0, 24.0 ],
+                                                                       "text" : "target 0"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-31",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-32",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 62.0, 214.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-32", 0 ],
+                                                                       "source" : [ "obj-26", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-26", 0 ],
+                                                                       "source" : [ "obj-28", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-32", 0 ],
+                                                                       "source" : [ "obj-28", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-28", 0 ],
+                                                                       "source" : [ "obj-31", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 391.0, 219.0, 61.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "fontsize" : 14.0,
+                                               "globalpatchername" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "text" : "p targetall"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 391.0, 187.0, 54.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 115, 116, 111, 112, 0, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 209.0, 167.0, 79.0, 22.0 ],
+                                       "text" : "prepend note"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-24",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 39.0, 127.0, 160.0, 62.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 128,
+                                       "text" : "/buffer : \"somethin\",\n/segment : [0., 1.],\n/speed : 1.,\n/gain : 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 0,
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 8,
+                                                       "minor" : 6,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 104.0, 640.0, 480.0 ],
+                                               "bglocked" : 0,
+                                               "openinpresentation" : 0,
+                                               "default_fontsize" : 14.0,
+                                               "default_fontface" : 0,
+                                               "default_fontname" : "Arial",
+                                               "gridonopen" : 1,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "gridsnaponopen" : 1,
+                                               "objectsnaponopen" : 1,
+                                               "statusbarvisible" : 2,
+                                               "toolbarvisible" : 1,
+                                               "lefttoolbarpinned" : 0,
+                                               "toptoolbarpinned" : 0,
+                                               "righttoolbarpinned" : 0,
+                                               "bottomtoolbarpinned" : 0,
+                                               "toolbars_unpinned_last_save" : 0,
+                                               "tallnewobj" : 0,
+                                               "boxanimatetime" : 200,
+                                               "enablehscroll" : 1,
+                                               "enablevscroll" : 1,
+                                               "devicewidth" : 0.0,
+                                               "description" : "",
+                                               "digest" : "",
+                                               "tags" : "",
+                                               "style" : "",
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "assistshowspatchername" : 0,
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "linecount" : 10,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 240.0, 166.0, 150.0, 163.0 ],
+                                                                       "text" : "variety affects the interval at which a given engine chooses a new sound set. A collection of virtual birds might linger all morning while an ocean wave changes to a new file after a single event."
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [  ]
+                                       }
+,
+                                       "patching_rect" : [ 644.0, 96.0, 54.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "fontsize" : 14.0,
+                                               "globalpatchername" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "text" : "p variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 0,
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 8,
+                                                       "minor" : 6,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 104.0, 640.0, 480.0 ],
+                                               "bglocked" : 0,
+                                               "openinpresentation" : 0,
+                                               "default_fontsize" : 14.0,
+                                               "default_fontface" : 0,
+                                               "default_fontname" : "Arial",
+                                               "gridonopen" : 1,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "gridsnaponopen" : 1,
+                                               "objectsnaponopen" : 1,
+                                               "statusbarvisible" : 2,
+                                               "toolbarvisible" : 1,
+                                               "lefttoolbarpinned" : 0,
+                                               "toptoolbarpinned" : 0,
+                                               "righttoolbarpinned" : 0,
+                                               "bottomtoolbarpinned" : 0,
+                                               "toolbars_unpinned_last_save" : 0,
+                                               "tallnewobj" : 0,
+                                               "boxanimatetime" : 200,
+                                               "enablehscroll" : 1,
+                                               "enablevscroll" : 1,
+                                               "devicewidth" : 0.0,
+                                               "description" : "",
+                                               "digest" : "",
+                                               "tags" : "",
+                                               "style" : "",
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "assistshowspatchername" : 0,
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "linecount" : 8,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 240.0, 166.0, 150.0, 132.0 ],
+                                                                       "text" : "• bird sounds\n• wind\n• ocean waves\n• cicadas\n• crickets \n• synthetic drones \n\n(may be synthetic)"
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [  ]
+                                       }
+,
+                                       "patching_rect" : [ 585.0, 96.0, 50.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "fontsize" : 14.0,
+                                               "globalpatchername" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "text" : "p fileset"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "linecount" : 4,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 298.0, 626.0, 323.0, 60.0 ],
+                                       "text" : "– polyphony\n– voice activation rules / durations\n– variety as it pertains to other params\n– high level definitions of activity (able to be edited by user)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "linecount" : 9,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 298.0, 488.0, 151.0, 127.0 ],
+                                       "text" : "– file set\n– density\n– spatial speed / traj \n– volume \n– variety measure\n– send for FX\n– categorization definitions\n– relevant file info\n– loop status"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 39.0, 380.0, 150.0, 20.0 ],
+                                       "text" : "backwards playback"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-18",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 290.0, 108.0, 160.0, 62.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -71, -103, -103, -103, -103, -103, -102 ],
+                                       "saved_bundle_length" : 128,
+                                       "text" : "/buffer : \"somethin\",\n/segment : [0., 1.],\n/speed : 1.25,\n/gain : 0.1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 39.0, 358.0, 150.0, 20.0 ],
+                                       "text" : "might need multibuf"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 784.0, 25.0, 48.0, 22.0 ],
+                                       "text" : "replace"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 586.0, 25.0, 48.0, 22.0 ],
+                                       "text" : "replace"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "ezdac~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 199.0, 498.0, 33.5, 33.5 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "linecount" : 3,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 39.0, 307.0, 150.0, 47.0 ],
+                                       "text" : "critical: \nevaluate mono/stereo configurations and routing"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "signal", "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 199.0, 347.0, 77.0, 139.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "live.gain~",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_shortname" : "engine.signal",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.gain~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 398.0, 366.5, 300.0, 100.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-5",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 270.0, 20.0, 166.0, 62.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 50, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -71, -103, -103, -103, -103, -103, -102 ],
+                                       "saved_bundle_length" : 128,
+                                       "text" : "/buffer : \"somethin2\",\n/segment : [0., 1.],\n/speed : 0.25,\n/gain : 0.1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 784.0, 51.0, 172.0, 22.0 ],
+                                       "text" : "buffer~ somethin2 brushes.aif"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 586.0, 51.0, 167.0, 22.0 ],
+                                       "text" : "buffer~ somethin duduk.aif"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-16",
+                                       "linecount" : 5,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 95.0, 20.0, 166.0, 75.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 108, 111, 111, 112, 0, 0, 0, 44, 70, 0, 0 ],
+                                       "saved_bundle_length" : 144,
+                                       "text" : "/buffer : \"somethin\",\n/segment : [0., 1.],\n/speed : 0.75,\n/gain : 1.,\n/loop : false"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "", "", "" ],
+                                       "patching_rect" : [ 199.0, 268.0, 258.0, 22.0 ],
+                                       "text" : "poly~ engine_voice_old01 @voices 1 @steal 1"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 1 ],
+                                       "source" : [ "obj-1", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-30", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 1 ],
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-7" : [ "live.gain~", "engine.signal", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "engine_voice_old01.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj/old",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/old/engine_voice_old01.maxpat b/old/engine_voice_old01.maxpat
new file mode 100644 (file)
index 0000000..e28535c
--- /dev/null
@@ -0,0 +1,872 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 500.0, 185.0, 1132.0, 730.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-35",
+                                       "linecount" : 2,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 827.0, 234.0, 189.0, 44.0 ],
+                                       "text" : "/hv = /segment[[1]],\n/highval = (1. / /hv) * /hv"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-44",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 656.0, 385.0, 293.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 832.0, 287.0, 91.0, 22.0 ],
+                                       "text" : "o.route /highval"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 545.0, 581.0, 90.0, 22.0 ],
+                                       "text" : "scale 0. 1. 0. 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 415.0, 445.0, 29.5, 22.0 ],
+                                       "text" : "t f f"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 239.0, 405.0, 111.0, 22.0 ],
+                                       "text" : "f"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "bang" ],
+                                       "patching_rect" : [ 239.0, 374.0, 42.0, 22.0 ],
+                                       "text" : "edge~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 239.0, 473.0, 44.0, 22.0 ],
+                                       "text" : "sig~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-34",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 663.200000000000045, 323.0, 51.0, 22.0 ],
+                                       "text" : "delay 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 399.0, 637.0, 37.0, 22.0 ],
+                                       "text" : "zl.rev"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 399.0, 607.0, 57.0, 22.0 ],
+                                       "text" : "pack 0. 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 399.0, 689.0, 35.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : ""
+                                       }
+,
+                                       "text" : "out 2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 399.0, 540.0, 81.0, 22.0 ],
+                                       "text" : "snapshot~ 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 228.0, 657.0, 57.0, 20.0 ],
+                                       "text" : "busymap"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 552.399999999999977, 323.0, 79.0, 22.0 ],
+                                       "text" : "prepend loop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 457.0, 419.0, 90.0, 22.0 ],
+                                       "text" : "unpack 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-24",
+                                       "linecount" : 3,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 220.0, 215.0, 322.0, 57.0 ],
+                                       "text" : "/segment[[0]] = /segment[[0]] * /buflen,\n/segment[[1]] = /segment[[1]] * /buflen, \n/del = abs(/segment[[0]] - /segment[[1]]) - 10."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 139.666666666666686, 56.0, 99.333333333333314, 22.0 ],
+                                       "text" : "o.if exists(/stop)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 142.666666666666686, 278.0, 25.0, 22.0 ],
+                                       "text" : "t 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 555.0, 138.0, 83.0, 22.0 ],
+                                       "text" : "o.route /buffer"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-16",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 302.0, 5.0, 160.0, 62.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 97, 105, 110, 0, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 128,
+                                       "text" : "/buffer : \"somethin\",\n/segment : [0., 1.],\n/speed : 0.25,\n/gain : 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 450.666666666666629, 162.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /buflen"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 220.0, 188.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "bang", "", "" ],
+                                       "patching_rect" : [ 220.0, 94.0, 522.0, 22.0 ],
+                                       "text" : "t l b l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 10,
+                                       "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int", "" ],
+                                       "patching_rect" : [ 387.666666666666629, 138.0, 113.5, 22.0 ],
+                                       "text" : "info~ genvoice"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 6,
+                                       "outlettype" : [ "", "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 220.0, 283.0, 573.0, 22.0 ],
+                                       "text" : "o.route /gain /speed /segment /loop /del"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 174.0, 679.0, 48.0, 22.0 ],
+                                       "text" : "out~ 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 228.0, 679.0, 40.0, 22.0 ],
+                                       "text" : "out 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 19.0, 197.0, 66.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 19.0, 226.0, 92.0, 22.0 ],
+                                       "text" : "mute 1, 0, bang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "int", "int" ],
+                                       "patching_rect" : [ 19.0, 411.0, 64.0, 22.0 ],
+                                       "text" : "thispoly~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 174.0, 564.0, 55.0, 22.0 ],
+                                       "text" : "*~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 555.0, 162.0, 82.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 555.0, 245.0, 112.0, 22.0 ],
+                                       "text" : "buffer~ genvoice"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "signal" ],
+                                       "patching_rect" : [ 239.0, 511.0, 161.0, 22.0 ],
+                                       "text" : "groove~ genvoice"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "signal", "", "" ],
+                                       "patching_rect" : [ 142.666666666666686, 323.0, 308.0, 22.0 ],
+                                       "text" : "adsr~ 10 0 1. 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 139.666666666666686, 30.0, 31.0, 22.0 ],
+                                       "text" : "in 1"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-14", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-35", 0 ],
+                                       "source" : [ "obj-14", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-14", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-17", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-17", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "source" : [ "obj-17", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 1 ],
+                                       "source" : [ "obj-17", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 1 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-2", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-2", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-21", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 2 ],
+                                       "source" : [ "obj-22", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 1 ],
+                                       "source" : [ "obj-26", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 2 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "midpoints" : [ 672.700000000000045, 357.0, 130.125, 357.0, 130.125, 271.0, 152.166666666666686, 271.0 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "source" : [ "obj-4", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "midpoints" : [ 564.5, 192.0, 644.899999999999977, 192.0, 644.899999999999977, 126.0, 397.166666666666629, 126.0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 1 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-9", 6 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/old/engine_voice_old02~.maxhelp b/old/engine_voice_old02~.maxhelp
new file mode 100644 (file)
index 0000000..283d97c
--- /dev/null
@@ -0,0 +1,522 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 100.0, 100.0, 711.0, 583.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "hidden" : 1,
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 350.0, 358.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "hidden" : 1,
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "FullPacket" ],
+                                       "patching_rect" : [ 282.0, 314.0, 156.0, 22.0 ],
+                                       "text" : "o.route /phase /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 99.0, 438.0, 35.0, 22.0 ],
+                                       "text" : "open"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 424.0, 494.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-26",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 424.0, 470.0, 93.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 524.0, 471.0, 183.0, 20.0 ],
+                                       "text" : "phase of playback (for trajectory)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "buffername" : "somethin",
+                                       "id" : "obj-11",
+                                       "maxclass" : "waveform~",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 6,
+                                       "outlettype" : [ "float", "float", "float", "float", "list", "" ],
+                                       "patching_rect" : [ 424.0, 410.0, 300.0, 58.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "linecount" : 4,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 250.0, 144.0, 150.0, 60.0 ],
+                                       "text" : "the buffer length is calculated by the polybuffer_container module..."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-1",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 322.0, 215.0, 54.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 115, 116, 111, 112, 0, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-48",
+                                       "linecount" : 5,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 31.0, 144.0, 199.0, 75.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 50, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -62, 50, -84, -52, -52, -52, -51, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 2, 0, 0, 0, 20, 47, 110, 117, 109, 112, 108, 97, 121, 115, 0, 0, 0, 44, 115, 0, 0, 105, 110, 102, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 0, 10, 0, 0, 1, -112 ],
+                                       "saved_bundle_length" : 156,
+                                       "text" : "/buffer/name : \"somethin2\",\n/buffer/len : 9317.35,\n/speed : 2,\n/numplays : \"inf\",\n/spacing/range : [10, 400]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-18",
+                                       "linecount" : 7,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 255.0, 19.0, 206.0, 100.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -63, 75, -40, 81, -21, -123, 31, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 63, -45, 51, 51, 51, 51, 51, 51, 63, -43, 30, -72, 81, -21, -123, 31, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 110, 117, 109, 112, 108, 97, 121, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 6, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 0, 50, 0, 0, 1, 44, 0, 0, 0, 16, 47, 112, 104, 97, 115, 101, 111, 117, 116, 0, 0, 0, 44, 84, 0, 0 ],
+                                       "saved_bundle_length" : 216,
+                                       "text" : "/buffer/name : \"somethin\",\n/buffer/len : 8855.69,\n/segment : [0.3, 0.33],\n/speed : 1.5,\n/numplays : 6,\n/spacing/range : [50, 300],\n/phaseout : true"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-16",
+                                       "linecount" : 6,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 31.0, 19.0, 213.0, 87.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 98, 117, 102, 102, 101, 114, 47, 110, 97, 109, 101, 0, 0, 0, 0, 44, 115, 0, 0, 115, 111, 109, 101, 116, 104, 105, 110, 0, 0, 0, 0, 0, 0, 0, 24, 47, 98, 117, 102, 102, 101, 114, 47, 108, 101, 110, 0, 44, 100, 0, 0, 64, -63, 75, -40, 81, -21, -123, 31, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 20, 47, 110, 117, 109, 112, 108, 97, 121, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 3, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 1, 44, 0, 0, 7, 8, 0, 0, 0, 16, 47, 112, 104, 97, 115, 101, 111, 117, 116, 0, 0, 0, 44, 70, 0, 0 ],
+                                       "saved_bundle_length" : 176,
+                                       "text" : "/buffer/name : \"somethin\",\n/buffer/len : 8855.69,\n/speed : 1,\n/numplays : 3,\n/spacing/range : [300, 1800],\n/phaseout : false"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "FullPacket" ],
+                                       "patching_rect" : [ 199.0, 268.0, 96.0, 22.0 ],
+                                       "text" : "engine_voice~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "linecount" : 5,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 742.0, 301.0, 229.0, 74.0 ],
+                                       "text" : "– polyphony\n– voice activation rules / durations\n– variety as it pertains to other params\n– high level definitions of activity (able to be edited by user)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "linecount" : 9,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 742.0, 163.0, 151.0, 127.0 ],
+                                       "text" : "– file set\n– density\n– spatial speed / traj \n– volume \n– variety measure\n– send for FX\n– categorization definitions\n– relevant file info\n– loop status"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 39.0, 380.0, 150.0, 20.0 ],
+                                       "text" : "backwards playback"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 39.0, 358.0, 150.0, 20.0 ],
+                                       "text" : "might need multibuf"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 586.0, 83.0, 48.0, 22.0 ],
+                                       "text" : "replace"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 586.0, 25.0, 48.0, 22.0 ],
+                                       "text" : "replace"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "ezdac~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 199.0, 498.0, 33.5, 33.5 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "signal", "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 199.0, 347.0, 77.0, 139.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "live.gain~",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_osc_name" : "<default>",
+                                                       "parameter_shortname" : "engine.signal",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.gain~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 424.0, 308.0, 300.0, 100.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 586.0, 109.0, 172.0, 22.0 ],
+                                       "text" : "buffer~ somethin2 brushes.aif"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 586.0, 51.0, 167.0, 22.0 ],
+                                       "text" : "buffer~ somethin duduk.aif"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-36", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-48", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 1 ],
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-9", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "hidden" : 1,
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-188",
+               "parameters" :          {
+                       "obj-7" : [ "live.gain~", "engine.signal", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "engine_voice~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : "..",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0,
+               "editing_bgcolor" : [ 0.203921568627451, 0.282352941176471, 0.298039215686275, 1.0 ]
+       }
+
+}
diff --git a/old/engine_voice_old02~.maxpat b/old/engine_voice_old02~.maxpat
new file mode 100644 (file)
index 0000000..2afa2fb
--- /dev/null
@@ -0,0 +1,1279 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 356.0, 87.0, 1012.0, 779.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "lefttoolbarpinned" : 1,
+               "toptoolbarpinned" : 1,
+               "righttoolbarpinned" : 1,
+               "bottomtoolbarpinned" : 1,
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-42",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "", "int", "start" ],
+                                       "patching_rect" : [ 257.0, 278.0, 188.799999999999841, 22.0 ],
+                                       "text" : "t l l 0 start"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-41",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 639.0, 496.0, 231.0, 22.0 ],
+                                       "text" : "o.route /line /active /p"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-40",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 460.0, 81.0, 128.0, 22.0 ],
+                                       "text" : "o.route /spacing/range"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 486.0, 539.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "float", "float" ],
+                                                                       "patching_rect" : [ 260.0, 104.0, 74.0, 22.0 ],
+                                                                       "text" : "unpack 0. 0."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-5",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 256.0, 51.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 6,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 226.0, 103.0, 22.0 ],
+                                                                       "text" : "scale 0. 1. 0.8 1.2"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 83.0, 95.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "float" ],
+                                                                       "patching_rect" : [ 83.0, 177.0, 45.0, 22.0 ],
+                                                                       "text" : "/ 9999."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 137.0, 89.0, 22.0 ],
+                                                                       "text" : "random 10000."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 83.0, 282.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 83.0, 43.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 4 ],
+                                                                       "source" : [ "obj-6", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 3 ],
+                                                                       "source" : [ "obj-6", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "originid" : "pat-206"
+                                       }
+,
+                                       "patching_rect" : [ 386.0, 550.0, 114.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "globalpatchername" : ""
+                                       }
+,
+                                       "text" : "p choose_spacing"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "bang", "bang", "" ],
+                                       "patching_rect" : [ 132.0, 468.0, 526.0, 22.0 ],
+                                       "text" : "t b b l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 289.0, 347.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 6,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 226.0, 103.0, 22.0 ],
+                                                                       "text" : "scale 0. 1. 0.8 1.2"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 83.0, 95.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "float" ],
+                                                                       "patching_rect" : [ 83.0, 177.0, 45.0, 22.0 ],
+                                                                       "text" : "/ 9999."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 83.0, 137.0, 89.0, 22.0 ],
+                                                                       "text" : "random 10000."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 83.0, 282.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 83.0, 43.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "originid" : "pat-208"
+                                       }
+,
+                                       "patching_rect" : [ 132.0, 601.0, 87.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "globalpatchername" : ""
+                                       }
+,
+                                       "text" : "p gain_choose"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 427.0, 763.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /phase"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 58.0, 91.0, 580.0, 537.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 133.0, 136.0, 31.0 ],
+                                                                       "text" : "/numplays = 1000000"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 102.0, 134.0, 22.0 ],
+                                                                       "text" : "o.if /numplays == inf"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-27",
+                                                                       "linecount" : 17,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 182.0, 474.0, 236.0 ],
+                                                                       "text" : "/spacing/ms ??= 0,\n/segment ??= [0., 1.],\n/p = /segment * /buffer/len,\n/dur = abs(/p[[0]] - /p[[1]]) * (1. / /speed),\n/line = [/p[[0]], 0, /p[[1]], /dur],\nif(\n  exists(/numplays) && (/numplays > 1), \n  progn(\n    /numplays--, \n    /active = 1, \n    /total = (/dur * /numplays) + ((/spacing/ms - 1) * /numplays)\n  ), \n  progn(\n    delete(/numplays), \n    /active = 0\n  )\n)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-5",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-7",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 474.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-27", 0 ],
+                                                                       "source" : [ "obj-1", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-27", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-27", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "originid" : "pat-210"
+                                       }
+,
+                                       "patching_rect" : [ 132.0, 429.0, 103.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "globalpatchername" : ""
+                                       }
+,
+                                       "text" : "p process_bundle"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 651.0, 145.0, 36.0, 22.0 ],
+                                       "text" : "rate~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "stop" ],
+                                       "patching_rect" : [ 265.0, 717.0, 51.0, 22.0 ],
+                                       "text" : "t 0. stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 2,
+                                       "fontsize" : 10.0,
+                                       "id" : "obj-23",
+                                       "linecount" : 6,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 651.0, 35.0, 147.0, 74.0 ],
+                                       "text" : "currently outputs the phase of any sample playback, whether it be delayed or not.  Does not account for the overall aggregated time involved in repetitions + delays"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 380.0, 1145.0, 67.0, 22.0 ],
+                                       "text" : "transratio"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 598.0, 738.0, 120.0, 22.0 ],
+                                       "text" : "o.select /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 88.0, 157.0, 529.0, 22.0 ],
+                                       "text" : "t l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "patching_rect" : [ 265.0, 651.0, 29.5, 22.0 ],
+                                       "text" : "!- 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 265.0, 683.0, 51.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 518.0, 662.0, 74.0, 22.0 ],
+                                       "text" : "unpack 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 6,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 427.0, 699.0, 137.0, 22.0 ],
+                                       "text" : "scale 0. 1. 0. 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-4",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 427.0, 802.0, 26.0, 26.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 427.0, 669.0, 81.0, 22.0 ],
+                                       "text" : "snapshot~ 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 334.0, 601.0, 55.399999999999977, 22.0 ],
+                                       "text" : "del 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-11",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 88.0, 524.0, 31.0, 22.0 ],
+                                       "text" : "stop"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 88.0, 186.0, 114.0, 22.0 ],
+                                       "text" : "o.if exists(/stop)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 651.0, 116.0, 67.0, 22.0 ],
+                                       "text" : "transratio"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 257.0, 247.0, 35.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-39",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 710.0, 534.0, 124.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "signal", "", "" ],
+                                       "patching_rect" : [ 132.0, 651.0, 96.0, 22.0 ],
+                                       "text" : "adsr~ 10 0 1. 10"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 132.0, 683.0, 107.599999999999994, 22.0 ],
+                                       "text" : "*~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 314.0, 322.0, 157.0, 22.0 ],
+                                       "text" : "o.route /buffer/name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "bang" ],
+                                       "patching_rect" : [ 221.0, 558.0, 95.0, 22.0 ],
+                                       "text" : "line~ 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 314.0, 351.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 491.0, 395.0, 79.0, 22.0 ],
+                                       "text" : "buffer~ buffet"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "bang" ],
+                                       "patching_rect" : [ 221.0, 601.0, 71.0, 22.0 ],
+                                       "text" : "play~ buffet"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-34",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 132.0, 787.0, 26.0, 26.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-35",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 454.0, 9.0, 28.0, 28.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 1 ],
+                                       "midpoints" : [ 343.5, 725.0, 844.227880859375091, 725.0, 844.227880859375091, 524.0, 824.5, 524.0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 2 ],
+                                       "source" : [ "obj-10", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 1 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.441244006156921, 0.0, 0.006346052512527, 1.0 ],
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.441244006156921, 0.0, 0.006346052512527, 1.0 ],
+                                       "destination" : [ "obj-28", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-13", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "midpoints" : [ 141.5, 458.004364013671875, 250.5985107421875, 458.004364013671875, 250.5985107421875, 244.0, 282.5, 244.0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-27", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-27", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-28", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 1 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-28", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 1 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 1 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "midpoints" : [ 274.5, 750.0, 90.700000000000159, 750.0, 90.700000000000159, 645.0, 141.5, 645.0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-37", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "midpoints" : [ 719.5, 595.61077880859375, 923.845199584960938, 595.61077880859375, 923.845199584960938, 237.0, 266.5, 237.0 ],
+                                       "source" : [ "obj-39", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-40", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 1 ],
+                                       "source" : [ "obj-40", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-41", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-41", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-41", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 1 ],
+                                       "source" : [ "obj-42", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-42", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-42", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-42", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.441366374492645, 0.010525578632951, 0.083756342530251, 1.0 ],
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "source" : [ "obj-6", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-204",
+               "dependency_cache" : [                  {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.select.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transratio.maxpat",
+                               "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "patcherrelativepath" : "../../../../../../Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/old/initial_trajectory_work.maxpat b/old/initial_trajectory_work.maxpat
new file mode 100644 (file)
index 0000000..eaa9e7d
--- /dev/null
@@ -0,0 +1,459 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "live.text",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 590.0, 359.0, 40.0, 20.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_enum" : [ "val1", "val2" ],
+                                                       "parameter_initial" : [ 1.0 ],
+                                                       "parameter_initial_enable" : 1,
+                                                       "parameter_longname" : "live.tab",
+                                                       "parameter_mmax" : 1,
+                                                       "parameter_modmode" : 0,
+                                                       "parameter_osc_name" : "<default>",
+                                                       "parameter_shortname" : "live.tab",
+                                                       "parameter_type" : 2
+                                               }
+
+                                       }
+,
+                                       "text" : "off",
+                                       "texton" : "on",
+                                       "varname" : "live.tab"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-7",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 1017.0, 351.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 1017.0, 378.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "live.menu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "float" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 1120.0, 340.0, 100.0, 15.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_enum" : [ "circle", "ellipse", "figureof8", "dumbbell", "rose", "epicycloid", "hypocycloid", "hippopede", "garfield", "freethnephroid", "limacon", "folium", "ophiuride", "lituus", "scarabeus", "cochleoid", "bifoliate", "bifolium", "neoid", "cayleysextic", "strophoid", "cranioid", "seiffert", "butterfly", "piriform", "heart", "cardioid", "lemniscate", "astroid", "deltoid", "boatpropeller", "kiss", "trefoil", "torpedo", "cevatrisectrix", "polygasteroid", "maltesecross", "talbot", "besace", "bicorn", "oval", "cornoid" ],
+                                                       "parameter_longname" : "live.menu[1]",
+                                                       "parameter_mmax" : 41,
+                                                       "parameter_modmode" : 0,
+                                                       "parameter_osc_name" : "<default>",
+                                                       "parameter_shortname" : "live.menu",
+                                                       "parameter_type" : 2
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.menu[2]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 1017.0, 446.0, 160.0, 22.0 ],
+                                       "text" : "spat5.osc.prepend /source/2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 1161.0, 374.0, 73.0, 22.0 ],
+                                       "text" : "o.pack /type"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 968.0, 355.0, 24.0, 24.0 ],
+                                       "svg" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 1017.0, 409.0, 264.0, 22.0 ],
+                                       "text" : "spat5.trajectories @initwith \"/rate 20, /speed 20\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-72",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 655.0, 347.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-70",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 655.0, 374.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-64",
+                                       "maxclass" : "live.menu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "float" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 758.0, 336.0, 100.0, 15.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_enum" : [ "circle", "ellipse", "figureof8", "dumbbell", "rose", "epicycloid", "hypocycloid", "hippopede", "garfield", "freethnephroid", "limacon", "folium", "ophiuride", "lituus", "scarabeus", "cochleoid", "bifoliate", "bifolium", "neoid", "cayleysextic", "strophoid", "cranioid", "seiffert", "butterfly", "piriform", "heart", "cardioid", "lemniscate", "astroid", "deltoid", "boatpropeller", "kiss", "trefoil", "torpedo", "cevatrisectrix", "polygasteroid", "maltesecross", "talbot", "besace", "bicorn", "oval", "cornoid" ],
+                                                       "parameter_longname" : "live.menu",
+                                                       "parameter_mmax" : 41,
+                                                       "parameter_modmode" : 0,
+                                                       "parameter_osc_name" : "<default>",
+                                                       "parameter_shortname" : "live.menu",
+                                                       "parameter_type" : 2
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.menu[1]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 655.0, 442.0, 160.0, 22.0 ],
+                                       "text" : "spat5.osc.prepend /source/1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 799.0, 370.0, 73.0, 22.0 ],
+                                       "text" : "o.pack /type"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 655.0, 405.0, 264.0, 22.0 ],
+                                       "text" : "spat5.trajectories @initwith \"/rate 20, /speed 20\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 202.0, 346.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 7,
+                                       "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal", "" ],
+                                       "patching_rect" : [ 73.0, 486.0, 444.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "parameter_enable" : 0
+                                       }
+,
+                                       "text" : "spat5.spat~ @inputs 2 @outputs 6 @internals 8 @initwith \"/panning/type angular\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "", "", "" ],
+                                       "patching_rect" : [ 202.0, 442.0, 400.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "parameter_enable" : 0
+                                       }
+,
+                                       "text" : "spat5.oper @internals 8 @initwith \"/source/number 2, /speaker/number 6\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "fontsize" : 10.0,
+                                       "id" : "obj-49",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 202.0, 374.0, 207.0, 57.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 110, 97, 109, 101, 0, 0, 44, 115, 0, 0, 101, 110, 103, 105, 110, 101, 49, 0, 0, 0, 0, 32, 47, 115, 111, 117, 114, 99, 101, 47, 49, 47, 99, 111, 108, 111, 114, 0, 44, 115, 0, 0, 108, 105, 103, 104, 116, 103, 114, 101, 101, 110, 0, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 50, 47, 110, 97, 109, 101, 0, 0, 44, 115, 0, 0, 101, 110, 103, 105, 110, 101, 50, 0, 0, 0, 0, 28, 47, 115, 111, 117, 114, 99, 101, 47, 50, 47, 99, 111, 108, 111, 114, 0, 44, 115, 0, 0, 99, 121, 97, 110, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 148,
+                                       "text" : "/source/1/name : \"engine1\",\n/source/1/color : \"lightgreen\",\n/source/2/name : \"engine2\",\n/source/2/color : \"cyan\""
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-49", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "source" : [ "obj-10", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-49", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-64", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-70", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-70", 0 ],
+                                       "source" : [ "obj-72", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-2324",
+               "parameters" :          {
+                       "obj-10" : [ "live.menu[1]", "live.menu", 0 ],
+                       "obj-37" : [ "live.tab", "live.tab", 0 ],
+                       "obj-64" : [ "live.menu", "live.menu", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [                  {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.oper.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.osc.prepend.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.spat~.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "spat5.trajectories.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/old/sequencer.maxpat b/old/sequencer.maxpat
new file mode 100644 (file)
index 0000000..c5a06f1
--- /dev/null
@@ -0,0 +1,1184 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 536.0, 175.0, 1036.0, 499.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 823.0, 313.0, 69.0, 20.0 ],
+                                       "presentation_linecount" : 2,
+                                       "text" : "other beats"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 819.5, 147.0, 64.0, 20.0 ],
+                                       "text" : " downbeat"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 750.0, 178.0, 203.0, 65.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-51",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 303.5, 191.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-50",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 247.0, 191.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-48",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 163.0, 269.0, 40.0, 22.0 ],
+                                       "text" : "*~ 3."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-47",
+                                       "maxclass" : "gain~",
+                                       "multichannelvariant" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 18.0, 309.0, 20.0, 83.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-46",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 324.0, 11.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 323.0, 41.0, 135.0, 22.0 ],
+                                       "text" : "o.pack /transport/tempo"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-32",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 18.0, 166.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 18.0, 124.0, 82.0, 22.0 ],
+                                       "text" : "o.if /beat == 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 18.0, 201.0, 39.0, 22.0 ],
+                                       "text" : "click~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 4,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 18.0, 230.0, 126.0, 22.0 ],
+                                       "text" : "reson~ 775. 655. 350."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-27",
+                                       "linecount" : 2,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 566.0, 118.0, 199.0, 36.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 116, 114, 97, 110, 115, 112, 111, 114, 116, 47, 116, 105, 109, 101, 115, 105, 103, 0, 0, 44, 100, 105, 0, 64, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4 ],
+                                       "saved_bundle_length" : 56,
+                                       "text" : "/transport/timesig : [3.5, 4]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-26",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 549.5, 87.0, 199.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 116, 114, 97, 110, 115, 112, 111, 114, 116, 47, 116, 105, 109, 101, 115, 105, 103, 0, 0, 44, 105, 105, 0, 0, 0, 0, 4, 0, 0, 0, 4 ],
+                                       "saved_bundle_length" : 52,
+                                       "text" : "/transport/timesig : [4, 4]"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 0,
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 8,
+                                                       "minor" : 6,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 104.0, 639.0, 317.0 ],
+                                               "bglocked" : 0,
+                                               "openinpresentation" : 0,
+                                               "default_fontsize" : 14.0,
+                                               "default_fontface" : 0,
+                                               "default_fontname" : "Arial",
+                                               "gridonopen" : 1,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "gridsnaponopen" : 1,
+                                               "objectsnaponopen" : 1,
+                                               "statusbarvisible" : 2,
+                                               "toolbarvisible" : 1,
+                                               "lefttoolbarpinned" : 0,
+                                               "toptoolbarpinned" : 0,
+                                               "righttoolbarpinned" : 0,
+                                               "bottomtoolbarpinned" : 0,
+                                               "toolbars_unpinned_last_save" : 0,
+                                               "tallnewobj" : 0,
+                                               "boxanimatetime" : 200,
+                                               "enablehscroll" : 1,
+                                               "enablevscroll" : 1,
+                                               "devicewidth" : 0.0,
+                                               "description" : "",
+                                               "digest" : "",
+                                               "tags" : "",
+                                               "style" : "",
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "assistshowspatchername" : 0,
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-1",
+                                                                       "linecount" : 4,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 29.0, 207.0, 253.0, 85.0 ],
+                                                                       "text" : "client's UI needs to be\nvolume of a track\ndensity of content group\npresets for touch osc layout\n"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "linecount" : 7,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 29.0, 79.0, 280.0, 116.0 ],
+                                                                       "text" : "sequencer meta controls / presets:\n\n- overall speed of selection\n- variance of frequency\n- presets or sections\n- mapping of time of day to preset\n- overall behavior of the spawning of events"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "linecount" : 3,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 29.0, 25.0, 245.0, 53.0 ],
+                                                                       "text" : "sequencer needs to take into account:\n\n- time of day, relative to content"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "linecount" : 8,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 320.0, 48.0, 295.0, 147.0 ],
+                                                                       "text" : "- which polybuf group to choose or rotate from\n- choose or rotate designation\n- loop or not\n- if not, numtimes to play\n- playback speed\n- trajectory speed\n- which trajectory\n- playback direction\n"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 14.0,
+                                                                       "id" : "obj-2",
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 320.0, 19.0, 195.0, 22.0 ],
+                                                                       "text" : "sequencer variables to control"
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [  ]
+                                       }
+,
+                                       "patching_rect" : [ 227.0, 450.0, 54.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "fontsize" : 14.0,
+                                               "globalpatchername" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "text" : "p notes"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-24",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 528.0, 58.0, 133.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 116, 114, 97, 110, 115, 112, 111, 114, 116, 47, 111, 110, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 44,
+                                       "text" : "/transport/on : 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-9",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 488.0, 30.0, 133.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 116, 114, 97, 110, 115, 112, 111, 114, 116, 47, 111, 110, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1 ],
+                                       "saved_bundle_length" : 44,
+                                       "text" : "/transport/on : 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 488.0, 146.0, 37.0, 22.0 ],
+                                       "text" : "s osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 0,
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 8,
+                                                       "minor" : 6,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 549.0, 247.0, 285.0, 290.0 ],
+                                               "bglocked" : 0,
+                                               "openinpresentation" : 0,
+                                               "default_fontsize" : 14.0,
+                                               "default_fontface" : 0,
+                                               "default_fontname" : "Arial",
+                                               "gridonopen" : 1,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "gridsnaponopen" : 1,
+                                               "objectsnaponopen" : 1,
+                                               "statusbarvisible" : 2,
+                                               "toolbarvisible" : 1,
+                                               "lefttoolbarpinned" : 0,
+                                               "toptoolbarpinned" : 0,
+                                               "righttoolbarpinned" : 0,
+                                               "bottomtoolbarpinned" : 0,
+                                               "toolbars_unpinned_last_save" : 0,
+                                               "tallnewobj" : 0,
+                                               "boxanimatetime" : 200,
+                                               "enablehscroll" : 1,
+                                               "enablevscroll" : 1,
+                                               "devicewidth" : 0.0,
+                                               "description" : "",
+                                               "digest" : "",
+                                               "tags" : "",
+                                               "style" : "",
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "assistshowspatchername" : 0,
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "linecount" : 10,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 63.0, 47.0, 150.0, 163.0 ],
+                                                                       "text" : "variety affects the interval at which a given engine chooses a new sound set. A collection of virtual birds might linger all morning while an ocean wave changes to a new file after a single event."
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [  ]
+                                       }
+,
+                                       "patching_rect" : [ 227.0, 421.0, 54.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "fontsize" : 14.0,
+                                               "globalpatchername" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "text" : "p variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 488.0, 300.699115044247776, 185.0, 22.0 ],
+                                       "text" : "o.pack /randval /interval/ms 1000"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-37",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 488.0, 275.466076696165203, 99.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-35",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 488.0, 190.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 488.0, 250.233038348082601, 45.0, 22.0 ],
+                                       "text" : "/ 9999."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 488.0, 225.0, 86.0, 22.0 ],
+                                       "text" : "random 10000"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-14",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 488.0, 407.0, 249.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.329411764705882, 0.427450980392157, 0.329411764705882, 1.0 ],
+                                       "id" : "obj-53",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 18.0, 72.0, 112.0, 22.0 ],
+                                       "text" : "transport_container"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 18.0, 8.0, 35.0, 22.0 ],
+                                       "text" : "r osc"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-42",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 18.0, 46.0, 100.0, 22.0 ],
+                                       "text" : "o.route /transport"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-40",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 218.0, 113.0, 188.0, 72.0 ],
+                                       "text" : "/bar : 1465,\n/beat : 1,\n/tempo : 120.4,\n/elapsed/ms : 2.08975e+06"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-33",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 788.0, 72.0, 150.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 8,
+                                                       "minor" : 6,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 111.0, 301.0, 1031.0, 416.0 ],
+                                               "bglocked" : 0,
+                                               "openinpresentation" : 0,
+                                               "default_fontsize" : 14.0,
+                                               "default_fontface" : 0,
+                                               "default_fontname" : "Arial",
+                                               "gridonopen" : 1,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "gridsnaponopen" : 1,
+                                               "objectsnaponopen" : 1,
+                                               "statusbarvisible" : 2,
+                                               "toolbarvisible" : 1,
+                                               "lefttoolbarpinned" : 0,
+                                               "toptoolbarpinned" : 0,
+                                               "righttoolbarpinned" : 0,
+                                               "bottomtoolbarpinned" : 0,
+                                               "toolbars_unpinned_last_save" : 0,
+                                               "tallnewobj" : 0,
+                                               "boxanimatetime" : 200,
+                                               "enablehscroll" : 1,
+                                               "enablevscroll" : 1,
+                                               "devicewidth" : 0.0,
+                                               "description" : "",
+                                               "digest" : "",
+                                               "tags" : "",
+                                               "style" : "",
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "assistshowspatchername" : 0,
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 626.0, 149.0, 246.0, 23.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 108, 105, 110, 107, 47, 116, 114, 97, 106, 101, 99, 116, 111, 114, 121, 47, 100, 117, 114, 97, 116, 105, 111, 110, 0, 0, 0, 44, 84, 0, 0 ],
+                                                                       "saved_bundle_length" : 52,
+                                                                       "text" : "/link/trajectory/duration : true"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "linecount" : 6,
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 333.0, 241.0, 215.0, 100.0 ],
+                                                                       "text" : "many engines at once, or \nfew engines that frequently \n\nvariability comes from them changing their sound, or they could never change the sound "
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 109.0, 312.0, 215.0, 22.0 ],
+                                                                       "text" : "gap between repeats"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 109.0, 288.0, 215.0, 22.0 ],
+                                                                       "text" : "link trajectory duration : true/false"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-3",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 45.0, 201.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-2",
+                                                                       "linecount" : 7,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 311.0, 43.0, 246.0, 100.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 112, 111, 108, 121, 98, 117, 102, 47, 103, 114, 111, 117, 112, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 24, 47, 111, 112, 101, 114, 97, 116, 105, 111, 110, 0, 0, 44, 115, 0, 0, 114, 111, 116, 97, 116, 101, 0, 0, 0, 0, 0, 20, 47, 110, 117, 109, 112, 108, 97, 121, 115, 0, 0, 0, 44, 115, 0, 0, 105, 110, 102, 0, 0, 0, 0, 28, 47, 112, 108, 97, 121, 98, 97, 99, 107, 47, 115, 112, 101, 101, 100, 0, 44, 100, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 112, 108, 97, 121, 98, 97, 99, 107, 47, 100, 105, 114, 101, 99, 116, 105, 111, 110, 0, 44, 115, 0, 0, 98, 97, 99, 107, 119, 97, 114, 100, 115, 0, 0, 0, 0, 0, 0, 32, 47, 116, 114, 97, 106, 101, 99, 116, 111, 114, 121, 47, 115, 112, 101, 101, 100, 0, 0, 0, 44, 100, 0, 0, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 116, 114, 97, 106, 101, 99, 116, 111, 114, 121, 47, 105, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1 ],
+                                                                       "saved_bundle_length" : 232,
+                                                                       "text" : "/polybuf/group : 1,\n/operation : \"rotate\",\n/numplays : \"inf\",\n/playback/speed : 0.5,\n/playback/direction : \"backwards\",\n/trajectory/speed : 1.5,\n/trajectory/id : 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-1",
+                                                                       "linecount" : 7,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 45.0, 43.0, 239.0, 100.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 112, 111, 108, 121, 98, 117, 102, 47, 103, 114, 111, 117, 112, 0, 0, 44, 105, 0, 0, 0, 0, 0, 3, 0, 0, 0, 24, 47, 111, 112, 101, 114, 97, 116, 105, 111, 110, 0, 0, 44, 115, 0, 0, 99, 104, 111, 111, 115, 101, 0, 0, 0, 0, 0, 20, 47, 110, 117, 109, 112, 108, 97, 121, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 3, 0, 0, 0, 24, 47, 112, 108, 97, 121, 98, 97, 99, 107, 47, 115, 112, 101, 101, 100, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 36, 47, 112, 108, 97, 121, 98, 97, 99, 107, 47, 100, 105, 114, 101, 99, 116, 105, 111, 110, 0, 44, 115, 0, 0, 102, 111, 114, 119, 97, 114, 100, 115, 0, 0, 0, 0, 0, 0, 0, 28, 47, 116, 114, 97, 106, 101, 99, 116, 111, 114, 121, 47, 115, 112, 101, 101, 100, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 24, 47, 116, 114, 97, 106, 101, 99, 116, 111, 114, 121, 47, 105, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 3 ],
+                                                                       "saved_bundle_length" : 224,
+                                                                       "text" : "/polybuf/group : 3,\n/operation : \"choose\",\n/numplays : 3,\n/playback/speed : 1,\n/playback/direction : \"forwards\",\n/trajectory/speed : 1,\n/trajectory/id : 3"
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 788.0, 41.0, 127.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "description" : "",
+                                               "digest" : "",
+                                               "fontsize" : 14.0,
+                                               "globalpatchername" : "",
+                                               "tags" : ""
+                                       }
+,
+                                       "text" : "p preset_development"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-20",
+                                       "linecount" : 2,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 772.0, 407.0, 166.0, 36.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 98, 97, 115, 101, 116, 105, 109, 101, 0, 0, 0, 44, 105, 0, 0, 0, 0, 39, 16, 0, 0, 0, 28, 47, 118, 97, 114, 105, 97, 110, 99, 101, 47, 112, 101, 114, 99, 101, 110, 116, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 30 ],
+                                       "saved_bundle_length" : 72,
+                                       "text" : "/basetime : 10000,\n/variance/percent : 30"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-19",
+                                       "linecount" : 2,
+                                       "maxclass" : "o.expr.codebox",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 488.0, 348.0, 322.0, 44.0 ],
+                                       "text" : "/variance = /randval * /interval/ms,\n/event/next = /interval/ms + (/variance * 0.01)"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 227.0, 348.0, 35.0, 22.0 ],
+                                       "text" : "open"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "spectroscope~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 750.0, 247.5, 203.0, 65.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 163.0, 230.0, 116.0, 22.0 ],
+                                       "text" : "allpass~ 1. 22 0.99"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "ezdac~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 161.5, 417.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "gain~",
+                                       "multichannelvariant" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 163.0, 309.0, 20.0, 83.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 162.0, 201.0, 39.0, 22.0 ],
+                                       "text" : "click~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 162.0, 166.0, 24.0, 24.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-30", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-53", 0 ],
+                                       "source" : [ "obj-42", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-44", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-46", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-48", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 1 ],
+                                       "source" : [ "obj-50", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 2 ],
+                                       "source" : [ "obj-51", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-53", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-53", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transport_container.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/polybuf_container_testpath.json b/polybuf_container_testpath.json
new file mode 100644 (file)
index 0000000..eba2148
--- /dev/null
@@ -0,0 +1,4 @@
+{
+       "0" : "Macintosh HD:/Users/jml/Documents/freelance/hugh_livingston/audio_files/_SonogardenCollections/CelloShortSounds/",
+       "1" : "Macintosh HD:/Users/jml/Documents/freelance/hugh_livingston/audio_files/_SonogardenCollections/blackgrosbeak/"
+}
diff --git a/polybuf_container~.maxhelp b/polybuf_container~.maxhelp
new file mode 100644 (file)
index 0000000..0e4656d
--- /dev/null
@@ -0,0 +1,783 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 118.0, 144.0, 993.0, 662.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-12",
+                                       "linecount" : 2,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 714.0, 105.0, 199.0, 36.0 ],
+                                       "presentation_linecount" : 3,
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 99, 97, 116, 0, 0, 0, 0, 44, 115, 0, 0, 111, 105, 115, 101, 97, 117, 120, 69, 120, 111, 116, 105, 113, 117, 101, 115, 0, 0, 0, 0, 0, 0, 0, 20, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 50 ],
+                                       "saved_bundle_length" : 76,
+                                       "text" : "/cat : \"oiseauxExotiques\",\n/variety : 50"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "linecount" : 3,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 33.0, 94.0, 150.0, 47.0 ],
+                                       "text" : "choose a buffer from the collections based on current setup"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 104.0, 148.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 348.0, 355.0, 55.0, 22.0 ],
+                                       "text" : "zl.slice 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 619.0, 51.5, 157.0, 20.0 ],
+                                       "text" : "choose cat, then file"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 619.0, 76.5, 164.0, 20.0 ],
+                                       "text" : "choose from last cat selected"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 339.0, 26.0, 157.0, 20.0 ],
+                                       "text" : "set category by folder name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 384.0, 384.0, 79.0, 22.0 ],
+                                       "text" : "o.pack /recall"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "linecount" : 4,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 781.0, 205.0, 150.0, 60.0 ],
+                                       "text" : "recall previously saved category folders embedded in this patcher upon init"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 751.0, 163.0, 58.0, 22.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-11",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 524.0, 50.0, 93.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 99, 104, 111, 111, 115, 101, 47, 97, 108, 108, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 36,
+                                       "text" : "/choose/all"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-9",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 306.0, 75.0, 166.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 99, 97, 116, 0, 0, 0, 0, 44, 115, 0, 0, 98, 108, 97, 99, 107, 103, 114, 111, 115, 98, 101, 97, 107, 0, 0, 0 ],
+                                       "saved_bundle_length" : 48,
+                                       "text" : "/cat : \"blackgrosbeak\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-6",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 306.0, 50.0, 186.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 99, 97, 116, 0, 0, 0, 0, 44, 115, 0, 0, 111, 105, 115, 101, 97, 117, 120, 69, 120, 111, 116, 105, 113, 117, 101, 115, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 52,
+                                       "text" : "/cat : \"oiseauxExotiques\""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 599.0, 259.0, 45.0, 22.0 ],
+                                       "text" : "r recall"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 751.0, 223.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 751.0, 333.0, 47.0, 22.0 ],
+                                       "text" : "s recall"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 2,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 215.0, 293.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-41",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 62.0, 158.0, 72.0, 22.0 ],
+                                                                       "text" : "prepend set"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-40",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 50.0, 128.0, 31.0, 22.0 ],
+                                                                       "text" : "t b s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-39",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 10,
+                                                                       "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int", "" ],
+                                                                       "patching_rect" : [ 50.0, 188.0, 113.5, 22.0 ],
+                                                                       "text" : "info~ none"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-38",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 116.0, 22.0 ],
+                                                                       "text" : "o.route /buffer/name"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-45",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-46",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 123.5, 241.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-40", 0 ],
+                                                                       "source" : [ "obj-38", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-46", 0 ],
+                                                                       "source" : [ "obj-39", 7 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-40", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-41", 0 ],
+                                                                       "source" : [ "obj-40", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-41", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-38", 0 ],
+                                                                       "source" : [ "obj-45", 0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "originid" : "pat-2666"
+                                       }
+,
+                                       "patching_rect" : [ 56.0, 437.0, 107.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "globalpatchername" : ""
+                                       }
+,
+                                       "text" : "p extract_filename"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 47.0, 472.0, 255.0, 22.0 ],
+                                       "text" : "blackgrosbeak2.aiff"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-32",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 374.5, 259.0, 69.0, 20.0 ],
+                                       "text" : "store mode"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 348.0, 257.0, 24.0, 24.0 ],
+                                       "svg" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 348.0, 295.0, 108.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 599.0, 294.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-37",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 524.0, 75.0, 93.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 99, 104, 111, 111, 115, 101, 47, 99, 97, 116, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 36,
+                                       "text" : "/choose/cat"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-36",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 192.0, 12.0, 60.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 99, 108, 101, 97, 114, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-34",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 192.0, 75.0, 60.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 113, 117, 101, 114, 121, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/query"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-31",
+                                       "linecount" : 5,
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 56.0, 309.0, 265.0, 85.0 ],
+                                       "text" : "/buffer/name : \"audiocollection.2\",\n/buffer/len : 4449.71,\n/dictname : \"audiocollection\",\n/cat : \"oiseauxExotiques\",\n/variety : 50"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-13",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 192.0, 43.0, 80.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 99, 111, 110, 116, 101, 110, 116, 115, 0, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 36,
+                                       "text" : "/contents"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "data" :                                        {
+                                               "0" : "Macintosh HD:/Users/jml/Documents/freelance/hugh_livingston/audio_files/_SonogardenCollections/blackgrosbeak/",
+                                               "2" : "Macintosh HD:/Users/jml/Documents/freelance/hugh_livingston/audio_files/_SonogardenCollections/oiseauxExotiques/"
+                                       }
+,
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 348.0, 327.0, 122.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 1,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict paths @embed 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "args" : [ "audiocollection" ],
+                                       "bgmode" : 0,
+                                       "border" : 0,
+                                       "clickthrough" : 0,
+                                       "enablehscroll" : 0,
+                                       "enablevscroll" : 0,
+                                       "id" : "obj-1",
+                                       "lockeddragscroll" : 0,
+                                       "lockedsize" : 0,
+                                       "maxclass" : "bpatcher",
+                                       "name" : "polybuf_container~.maxpat",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "offset" : [ 0.0, 0.0 ],
+                                       "outlettype" : [ "FullPacket", "FullPacket", "FullPacket" ],
+                                       "patching_rect" : [ 297.0, 135.0, 281.0, 112.0 ],
+                                       "viewvisibility" : 1
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 1 ],
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "midpoints" : [ 393.5, 415.42291259765625, 659.1285400390625, 415.42291259765625, 659.1285400390625, 127.0, 306.5, 127.0 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 1 ],
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "originid" : "pat-2664",
+               "dependency_cache" : [                  {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.collect.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.difference.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.gather.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.intersection.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.righttoleft.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/ordering",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "polybuf_container~.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0,
+               "editing_bgcolor" : [ 0.196078431372549, 0.258823529411765, 0.23921568627451, 1.0 ]
+       }
+
+}
diff --git a/polybuf_container~.maxpat b/polybuf_container~.maxpat
new file mode 100644 (file)
index 0000000..b1c6efc
--- /dev/null
@@ -0,0 +1,3822 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 153.0, 54.0, 1217.0, 1008.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "toolbars_unpinned_last_save" : 15,
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-55",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 127.0, 65.0, 22.0 ],
+                                                                       "text" : "append $2"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 50.0, 89.0, 69.0, 22.0 ],
+                                                                       "text" : "route dump"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-52",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "clear" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-53",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 154.0, 212.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-53", 0 ],
+                                                                       "source" : [ "obj-1", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-53", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-52", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 410.0, 641.0, 79.0, 22.0 ],
+                                       "text" : "p parsedump"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-56",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 1030.0, 874.0, 74.0, 33.0 ],
+                                       "text" : "to osc senderr"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) /paths for storage",
+                                       "id" : "obj-58",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 1006.0, 873.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-49",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 613.0, 44.0, 192.0, 33.0 ],
+                                       "text" : "arg1: polybuffer name\narg2: sequencer instance to talk to"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 516.0, 885.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-45",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 541.0, 846.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-39",
+                                       "maxclass" : "led",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "offcolor" : [ 0.133333333333333, 0.223529411764706, 0.12156862745098, 1.0 ],
+                                       "oncolor" : [ 0.333333333333333, 0.76078431372549, 0.247058823529412, 1.0 ],
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 394.5, 518.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 224.5, 82.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-31",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "bang", "", "", "int" ],
+                                       "patching_rect" : [ 208.0, 453.0, 50.5, 22.0 ],
+                                       "text" : "t b l l 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 389.0, 788.0, 226.0, 22.0 ],
+                                       "text" : "o.pack /buffer/name /buffer/len /dictname"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 6,
+                                       "outlettype" : [ "", "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 127.0, 147.0, 427.835027575492859, 22.0 ],
+                                       "text" : "o.route /contents /query /addpath /clear /paths"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-32",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "clear" ],
+                                       "patching_rect" : [ 569.0, 300.0, 125.0, 22.0 ],
+                                       "text" : "t s clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-29",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 80.0, 110.0, 66.0, 22.0 ],
+                                       "text" : "route bang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "dump", "clear" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 502.0, 408.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 184.0, 213.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 12.0,
+                                                                       "id" : "obj-21",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patching_rect" : [ 206.5, 97.0, 69.0, 22.0 ],
+                                                                       "text" : "o.route /cat"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 206.5, 54.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-31",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 75.0, 156.0, 94.0, 22.0 ],
+                                                                       "text" : "prepend symbol"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-23",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "dump", "clear", "" ],
+                                                                       "patching_rect" : [ 29.0, 97.0, 84.0, 22.0 ],
+                                                                       "text" : "t dump clear s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-13",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 193.0, 156.0, 96.0, 22.0 ],
+                                                                       "text" : "prepend append"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-32",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 29.0, 54.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-39",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 75.0, 213.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-13", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-21", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-31", 0 ],
+                                                                       "source" : [ "obj-21", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-23", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "source" : [ "obj-23", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-23", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-31", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-23", 0 ],
+                                                                       "source" : [ "obj-32", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 248.0, 565.0, 126.0, 22.0 ],
+                                       "text" : "p append_&_sel"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 486.0, 467.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-32",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patching_rect" : [ 46.0, 91.0, 57.0, 22.0 ],
+                                                                       "text" : "o.route /*"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 46.0, 132.0, 94.0, 22.0 ],
+                                                                       "text" : "o.pack /addpath"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-8",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 46.0, 34.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-15",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 46.0, 214.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-32", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-15", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-32", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 460.0, 118.0, 75.0, 22.0 ],
+                                       "text" : "p add_paths"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-48",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 192.0, 87.0, 324.0, 521.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-6",
+                                                                       "index" : 3,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 270.0, 37.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 69.0, 361.0, 80.0, 22.0 ],
+                                                                       "text" : "o.pack /paths"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 69.0, 324.0, 54.0, 22.0 ],
+                                                                       "text" : "o.accum"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 69.0, 219.0, 90.0, 22.0 ],
+                                                                       "text" : "o.union"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 140.0, 175.0, 87.0, 22.0 ],
+                                                                       "text" : "o.pack /pathstr"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 69.0, 175.0, 60.0, 22.0 ],
+                                                                       "text" : "o.pack /id"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-1",
+                                                                       "linecount" : 3,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 69.0, 253.0, 203.0, 57.0 ],
+                                                                       "text" : "assign(\"/\" + /id, /pathstr), \ndelete(/id), \ndelete(/pathstr)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-29",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 5,
+                                                                       "numoutlets" : 4,
+                                                                       "outlettype" : [ "int", "", "", "int" ],
+                                                                       "patching_rect" : [ 69.0, 137.0, 61.0, 22.0 ],
+                                                                       "text" : "counter"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-23",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 69.0, 98.0, 77.0, 22.0 ],
+                                                                       "text" : "t b s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-14",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 69.0, 37.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-39",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 216.0, 37.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-47",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 69.0, 462.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-23", 0 ],
+                                                                       "source" : [ "obj-14", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-29", 0 ],
+                                                                       "source" : [ "obj-23", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-23", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-29", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 1 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-29", 2 ],
+                                                                       "source" : [ "obj-39", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-6", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-47", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 883.0, 812.0, 77.0, 22.0 ],
+                                       "text" : "p"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-36",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "patching_rect" : [ 545.0, 457.0, 124.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0
+                                       }
+,
+                                       "text" : "polybuffer~ #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 907.0, 874.0, 74.0, 33.0 ],
+                                       "text" : "to save mechanism"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) /paths for storage",
+                                       "id" : "obj-11",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 883.0, 873.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-35",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 536.0, 179.0, 514.0, 22.0 ],
+                                       "text" : "o.gather /cat /variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 313.0, 655.0, 67.0, 22.0 ],
+                                       "text" : "o.pack /cat"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 860.0, 395.0, 35.0, 22.0 ],
+                                       "text" : "clear"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 127.0, 808.0, 29.5, 22.0 ],
+                                       "text" : "edit"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "items" : "<empty>",
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 248.0, 607.0, 149.0, 22.0 ],
+                                       "prefix_mode" : 1,
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 1.0, 82.0, 220.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-54",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "float", "FullPacket", "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 312.0, 87.0, 1094.0, 779.0 ],
+                                               "default_fontsize" : 14.0,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "visible" : 1,
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 496.0, 64.0, 99.0, 24.0 ],
+                                                                       "text" : "o.if exists(/cat)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "o.display",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 646.0, 222.0, 304.0, 33.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 439.0, 240.0, 45.0, 21.0 ],
+                                                                       "text" : "o.union"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 491.0, 119.0, 150.0, 31.0 ],
+                                                                       "text" : "/dict = [\"get\", /cat]"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 3,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "", "", "" ],
+                                                                       "patching_rect" : [ 79.0, 76.0, 111.0, 21.0 ],
+                                                                       "text" : "routepass bang clear"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(symbol) current category",
+                                                                       "id" : "obj-14",
+                                                                       "index" : 4,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 708.0, 722.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-10",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 708.0, 683.0, 114.0, 21.0 ],
+                                                                       "text" : "substitute get set"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-39",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 147.0, 270.0, 48.0, 21.0 ],
+                                                                       "text" : "t b l"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-36",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patcher" :                                                                     {
+                                                                               "fileversion" : 1,
+                                                                               "appversion" :                                                                          {
+                                                                                       "major" : 9,
+                                                                                       "minor" : 0,
+                                                                                       "revision" : 6,
+                                                                                       "architecture" : "x64",
+                                                                                       "modernui" : 1
+                                                                               }
+,
+                                                                               "classnamespace" : "box",
+                                                                               "rect" : [ 1163.0, 329.0, 577.0, 542.0 ],
+                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                               "visible" : 1,
+                                                                               "boxes" : [                                                                                     {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-10",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "float" ],
+                                                                                                       "patching_rect" : [ 415.0, 154.0, 40.0, 22.0 ],
+                                                                                                       "text" : "* 100."
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-15",
+                                                                                                       "index" : 2,
+                                                                                                       "maxclass" : "outlet",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 247.0, 482.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-14",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "none" ],
+                                                                                                       "patching_rect" : [ 121.0, 376.0, 45.0, 21.0 ],
+                                                                                                       "text" : "t l none"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-6",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "FullPacket" ],
+                                                                                                       "patching_rect" : [ 334.0, 409.0, 115.0, 22.0 ],
+                                                                                                       "text" : "o.pack /cat/deviated"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-4",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 37.0, 85.5, 61.0, 21.0 ],
+                                                                                                       "text" : "route bang"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-40",
+                                                                                                       "maxclass" : "comment",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 513.0, 192.0, 41.0, 19.0 ],
+                                                                                                       "text" : "variety"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-38",
+                                                                                                       "maxclass" : "comment",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 11.0, 343.0, 99.0, 19.0 ],
+                                                                                                       "text" : "dominant category"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-36",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patcher" :                                                                                                     {
+                                                                                                               "fileversion" : 1,
+                                                                                                               "appversion" :                                                                                                          {
+                                                                                                                       "major" : 9,
+                                                                                                                       "minor" : 0,
+                                                                                                                       "revision" : 6,
+                                                                                                                       "architecture" : "x64",
+                                                                                                                       "modernui" : 1
+                                                                                                               }
+,
+                                                                                                               "classnamespace" : "box",
+                                                                                                               "rect" : [ 556.0, 244.0, 195.0, 414.0 ],
+                                                                                                               "gridsize" : [ 15.0, 15.0 ],
+                                                                                                               "subpatcher_template" : "Untitled5_template",
+                                                                                                               "boxes" : [                                                                                                                     {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-30",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "bang", "int" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 198.0, 84.0, 22.0 ],
+                                                                                                                                       "text" : "t b i"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-29",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                                                       "patching_rect" : [ 85.0, 100.0, 29.5, 22.0 ],
+                                                                                                                                       "text" : "t l l"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-28",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 286.0, 84.0, 22.0 ],
+                                                                                                                                       "text" : "zl.mth"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-27",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 165.0, 64.0, 22.0 ],
+                                                                                                                                       "text" : "random"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-26",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                                                       "patching_rect" : [ 95.0, 134.0, 37.0, 22.0 ],
+                                                                                                                                       "text" : "zl.len"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "id" : "obj-23",
+                                                                                                                                       "maxclass" : "newobj",
+                                                                                                                                       "numinlets" : 2,
+                                                                                                                                       "numoutlets" : 2,
+                                                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 245.0, 38.0, 22.0 ],
+                                                                                                                                       "text" : "zl.reg"
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "comment" : "",
+                                                                                                                                       "id" : "obj-31",
+                                                                                                                                       "index" : 1,
+                                                                                                                                       "maxclass" : "inlet",
+                                                                                                                                       "numinlets" : 0,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "bang" ],
+                                                                                                                                       "patching_rect" : [ 50.0, 40.0, 23.0, 23.0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "comment" : "",
+                                                                                                                                       "id" : "obj-32",
+                                                                                                                                       "index" : 2,
+                                                                                                                                       "maxclass" : "inlet",
+                                                                                                                                       "numinlets" : 0,
+                                                                                                                                       "numoutlets" : 1,
+                                                                                                                                       "outlettype" : [ "" ],
+                                                                                                                                       "patching_rect" : [ 85.0, 40.0, 23.0, 23.0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "box" :                                                                                                                                 {
+                                                                                                                                       "comment" : "",
+                                                                                                                                       "id" : "obj-33",
+                                                                                                                                       "index" : 1,
+                                                                                                                                       "maxclass" : "outlet",
+                                                                                                                                       "numinlets" : 1,
+                                                                                                                                       "numoutlets" : 0,
+                                                                                                                                       "patching_rect" : [ 50.0, 368.0, 23.0, 23.0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+ ],
+                                                                                                               "lines" : [                                                                                                                     {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-28", 0 ],
+                                                                                                                                       "source" : [ "obj-23", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-27", 1 ],
+                                                                                                                                       "source" : [ "obj-26", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-30", 0 ],
+                                                                                                                                       "source" : [ "obj-27", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-33", 0 ],
+                                                                                                                                       "source" : [ "obj-28", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-23", 1 ],
+                                                                                                                                       "source" : [ "obj-29", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-26", 0 ],
+                                                                                                                                       "source" : [ "obj-29", 1 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-23", 0 ],
+                                                                                                                                       "source" : [ "obj-30", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-28", 1 ],
+                                                                                                                                       "source" : [ "obj-30", 1 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-27", 0 ],
+                                                                                                                                       "source" : [ "obj-31", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+,                                                                                                                      {
+                                                                                                                               "patchline" :                                                                                                                           {
+                                                                                                                                       "destination" : [ "obj-29", 0 ],
+                                                                                                                                       "source" : [ "obj-32", 0 ]
+                                                                                                                               }
+
+                                                                                                                       }
+ ]
+                                                                                                       }
+,
+                                                                                                       "patching_rect" : [ 217.0, 342.0, 193.0, 21.0 ],
+                                                                                                       "text" : "p non-dominant_categories"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-25",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 121.0, 342.0, 38.0, 21.0 ],
+                                                                                                       "text" : "zl.reg"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-21",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 3,
+                                                                                                       "outlettype" : [ "", "", "int" ],
+                                                                                                       "patching_rect" : [ 79.0, 115.5, 399.0, 21.0 ],
+                                                                                                       "text" : "t getkeys l 0"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-20",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "" ],
+                                                                                                       "patching_rect" : [ 391.0, 272.0, 43.0, 21.0 ],
+                                                                                                       "text" : "zl.filter"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-19",
+                                                                                                       "maxclass" : "button",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "bang" ],
+                                                                                                       "parameter_enable" : 0,
+                                                                                                       "patching_rect" : [ 526.0, 142.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-17",
+                                                                                                       "maxclass" : "number",
+                                                                                                       "maximum" : 100,
+                                                                                                       "minimum" : 0,
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 2,
+                                                                                                       "outlettype" : [ "", "bang" ],
+                                                                                                       "parameter_enable" : 0,
+                                                                                                       "patching_rect" : [ 459.0, 191.0, 49.0, 21.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-13",
+                                                                                                       "maxclass" : "button",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "bang" ],
+                                                                                                       "parameter_enable" : 0,
+                                                                                                       "patching_rect" : [ 217.0, 302.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "id" : "obj-11",
+                                                                                                       "maxclass" : "button",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "bang" ],
+                                                                                                       "parameter_enable" : 0,
+                                                                                                       "patching_rect" : [ 121.0, 305.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-9",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 3,
+                                                                                                       "numoutlets" : 3,
+                                                                                                       "outlettype" : [ "bang", "bang", "" ],
+                                                                                                       "patching_rect" : [ 121.0, 272.0, 210.0, 21.0 ],
+                                                                                                       "text" : "sel 0 1"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-8",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "int" ],
+                                                                                                       "patching_rect" : [ 121.0, 242.0, 357.0, 21.0 ],
+                                                                                                       "text" : "< 50"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-7",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 37.0, 191.0, 73.0, 21.0 ],
+                                                                                                       "text" : "random 100"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-5",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 3,
+                                                                                                       "outlettype" : [ "", "", "FullPacket" ],
+                                                                                                       "patching_rect" : [ 269.0, 143.5, 102.0, 21.0 ],
+                                                                                                       "text" : "o.route /cat /variety"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-3",
+                                                                                                       "index" : 1,
+                                                                                                       "maxclass" : "outlet",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 0,
+                                                                                                       "patching_rect" : [ 121.0, 482.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-1",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 1,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "" ],
+                                                                                                       "patching_rect" : [ 121.0, 415.0, 73.0, 21.0 ],
+                                                                                                       "text" : "prepend get"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "fontsize" : 11.0,
+                                                                                                       "id" : "obj-2",
+                                                                                                       "maxclass" : "newobj",
+                                                                                                       "numinlets" : 2,
+                                                                                                       "numoutlets" : 5,
+                                                                                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                                                                                       "patching_rect" : [ 79.0, 143.5, 103.0, 21.0 ],
+                                                                                                       "saved_object_attributes" :                                                                                                     {
+                                                                                                               "embed" : 0,
+                                                                                                               "legacy" : 1,
+                                                                                                               "parameter_enable" : 0,
+                                                                                                               "parameter_mappable" : 0
+                                                                                                       }
+,
+                                                                                                       "text" : "dict #1"
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "box" :                                                                                                 {
+                                                                                                       "comment" : "",
+                                                                                                       "id" : "obj-35",
+                                                                                                       "index" : 1,
+                                                                                                       "maxclass" : "inlet",
+                                                                                                       "numinlets" : 0,
+                                                                                                       "numoutlets" : 1,
+                                                                                                       "outlettype" : [ "FullPacket" ],
+                                                                                                       "patching_rect" : [ 37.0, 17.0, 24.0, 24.0 ]
+                                                                                               }
+
+                                                                                       }
+ ],
+                                                                               "lines" : [                                                                                     {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-3", 0 ],
+                                                                                                       "source" : [ "obj-1", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-17", 0 ],
+                                                                                                       "source" : [ "obj-10", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-25", 0 ],
+                                                                                                       "source" : [ "obj-11", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-36", 0 ],
+                                                                                                       "source" : [ "obj-13", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-1", 0 ],
+                                                                                                       "source" : [ "obj-14", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-6", 0 ],
+                                                                                                       "source" : [ "obj-14", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-8", 1 ],
+                                                                                                       "source" : [ "obj-17", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-17", 0 ],
+                                                                                                       "source" : [ "obj-19", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-20", 0 ],
+                                                                                                       "source" : [ "obj-2", 2 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-36", 1 ],
+                                                                                                       "source" : [ "obj-20", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-17", 0 ],
+                                                                                                       "source" : [ "obj-21", 2 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-2", 0 ],
+                                                                                                       "source" : [ "obj-21", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-5", 0 ],
+                                                                                                       "source" : [ "obj-21", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-14", 0 ],
+                                                                                                       "source" : [ "obj-25", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-4", 0 ],
+                                                                                                       "source" : [ "obj-35", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-1", 0 ],
+                                                                                                       "order" : 1,
+                                                                                                       "source" : [ "obj-36", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-6", 0 ],
+                                                                                                       "order" : 0,
+                                                                                                       "source" : [ "obj-36", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-21", 0 ],
+                                                                                                       "source" : [ "obj-4", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-7", 0 ],
+                                                                                                       "source" : [ "obj-4", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-10", 0 ],
+                                                                                                       "source" : [ "obj-5", 1 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-20", 1 ],
+                                                                                                       "order" : 0,
+                                                                                                       "source" : [ "obj-5", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-25", 1 ],
+                                                                                                       "order" : 1,
+                                                                                                       "source" : [ "obj-5", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-15", 0 ],
+                                                                                                       "source" : [ "obj-6", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-8", 0 ],
+                                                                                                       "source" : [ "obj-7", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-9", 0 ],
+                                                                                                       "source" : [ "obj-8", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-11", 0 ],
+                                                                                                       "source" : [ "obj-9", 0 ]
+                                                                                               }
+
+                                                                                       }
+,                                                                                      {
+                                                                                               "patchline" :                                                                                           {
+                                                                                                       "destination" : [ "obj-13", 0 ],
+                                                                                                       "source" : [ "obj-9", 1 ]
+                                                                                               }
+
+                                                                                       }
+ ]
+                                                                       }
+,
+                                                                       "patching_rect" : [ 147.0, 228.0, 65.0, 21.0 ],
+                                                                       "text" : "p choose"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-32",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 147.0, 463.5, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-12",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 68.0, 29.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-38",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "", "bang", "" ],
+                                                                       "patching_rect" : [ 360.0, 613.0, 184.0, 21.0 ],
+                                                                       "text" : "t s b s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(symbol) current category",
+                                                                       "id" : "obj-37",
+                                                                       "index" : 3,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 643.0, 722.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-31",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 525.0, 648.0, 82.0, 21.0 ],
+                                                                       "text" : "prepend set"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-26",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 10,
+                                                                       "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int", "" ],
+                                                                       "patching_rect" : [ 443.0, 683.0, 113.5, 21.0 ],
+                                                                       "text" : "info~ none"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(symbol) buffername",
+                                                                       "id" : "obj-19",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 360.0, 722.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-23",
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 426.0, 569.0, 123.0, 19.0 ],
+                                                                       "text" : "buffer "
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-25",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "", "", "clear" ],
+                                                                       "patching_rect" : [ 377.0, 465.0, 169.0, 21.0 ],
+                                                                       "text" : "t l l clear"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-22",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 319.0, 526.0, 76.5, 21.0 ],
+                                                                       "text" : "random",
+                                                                       "varname" : "vz.rangr"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-21",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 452.0, 526.0, 110.0, 21.0 ],
+                                                                       "text" : "prepend append"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-18",
+                                                                       "items" : "<empty>",
+                                                                       "maxclass" : "umenu",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "int", "", "" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 319.0, 567.0, 100.0, 21.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-17",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 452.0, 495.0, 28.0, 21.0 ],
+                                                                       "text" : "iter"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-11",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 377.0, 495.0, 41.0, 21.0 ],
+                                                                       "text" : "zl.len"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-20",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "bang", "bang", "" ],
+                                                                       "patching_rect" : [ 319.0, 372.0, 88.0, 21.0 ],
+                                                                       "text" : "t b b s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-16",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 354.0, 403.0, 46.0, 21.0 ],
+                                                                       "text" : "getkeys"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 5,
+                                                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                                                       "patching_rect" : [ 354.0, 434.0, 65.0, 21.0 ],
+                                                                       "saved_object_attributes" :                                                                     {
+                                                                               "embed" : 0,
+                                                                               "legacy" : 1,
+                                                                               "parameter_enable" : 0,
+                                                                               "parameter_mappable" : 0
+                                                                       }
+,
+                                                                       "text" : "dict"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-13",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "FullPacket" ],
+                                                                       "patching_rect" : [ 491.0, 161.0, 109.0, 21.0 ],
+                                                                       "text" : "o.route /dict"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 276.0, 341.0, 62.0, 21.0 ],
+                                                                       "text" : "zl.slice 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 11.0,
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 5,
+                                                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                                                       "patching_rect" : [ 255.0, 311.0, 103.0, 21.0 ],
+                                                                       "saved_object_attributes" :                                                                     {
+                                                                               "embed" : 0,
+                                                                               "legacy" : 1,
+                                                                               "parameter_enable" : 0,
+                                                                               "parameter_mappable" : 0
+                                                                       }
+,
+                                                                       "text" : "dict #1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(float) buffer length",
+                                                                       "id" : "obj-52",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 506.0, 722.0, 26.0, 26.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-1", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-1", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-36", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-1", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-14", 0 ],
+                                                                       "source" : [ "obj-10", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-22", 1 ],
+                                                                       "source" : [ "obj-11", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-12", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 1 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-13", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-36", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-13", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-13", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-16", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-21", 0 ],
+                                                                       "source" : [ "obj-17", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-38", 0 ],
+                                                                       "source" : [ "obj-18", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-16", 0 ],
+                                                                       "source" : [ "obj-20", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-20", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-21", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-22", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-11", 0 ],
+                                                                       "source" : [ "obj-25", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-17", 0 ],
+                                                                       "source" : [ "obj-25", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-25", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-52", 0 ],
+                                                                       "source" : [ "obj-26", 6 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-37", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-26", 0 ],
+                                                                       "source" : [ "obj-31", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-22", 0 ],
+                                                                       "source" : [ "obj-32", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-36", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-36", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-19", 0 ],
+                                                                       "source" : [ "obj-38", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-26", 0 ],
+                                                                       "source" : [ "obj-38", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-31", 0 ],
+                                                                       "source" : [ "obj-38", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 0 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-39", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-32", 0 ],
+                                                                       "source" : [ "obj-39", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-39", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-5", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-25", 0 ],
+                                                                       "source" : [ "obj-6", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-20", 0 ],
+                                                                       "source" : [ "obj-9", 1 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 389.0, 723.0, 276.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "fontsize" : 14.0
+                                       }
+,
+                                       "text" : "p categories",
+                                       "varname" : "categories"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 127.0, 838.0, 61.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 416.0, 885.0, 35.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "linecount" : 2,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 849.0, 136.0, 150.0, 33.0 ],
+                                       "text" : "current limitation:\nno spaces in filenames"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-51",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 1101.0, 286.0, 305.0, 372.0 ],
+                                               "default_fontsize" : 14.0,
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 49.0, 257.0, 82.0, 24.0 ],
+                                                                       "text" : "prepend set"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-61",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 158.0, 64.5, 24.0 ],
+                                                                       "text" : "#1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-47",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 3,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 215.0, 187.0, 24.0 ],
+                                                                       "text" : "sprintf %s.%d %s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-39",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "bang", "bang", "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 187.0, 24.0 ],
+                                                                       "text" : "t b b s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 12.0,
+                                                                       "id" : "obj-69",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "int" ],
+                                                                       "patching_rect" : [ 134.0, 187.0, 29.5, 22.0 ],
+                                                                       "text" : "+ 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-64",
+                                                                       "maxclass" : "button",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 163.0, 128.0, 24.0, 24.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontsize" : 12.0,
+                                                                       "id" : "obj-60",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 5,
+                                                                       "numoutlets" : 4,
+                                                                       "outlettype" : [ "int", "", "", "int" ],
+                                                                       "patching_rect" : [ 134.0, 158.0, 77.0, 22.0 ],
+                                                                       "text" : "counter"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-48",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-49",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 163.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-50",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 297.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-50", 0 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-47", 2 ],
+                                                                       "source" : [ "obj-39", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-60", 0 ],
+                                                                       "source" : [ "obj-39", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-61", 0 ],
+                                                                       "source" : [ "obj-39", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-47", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-39", 0 ],
+                                                                       "source" : [ "obj-48", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-64", 0 ],
+                                                                       "source" : [ "obj-49", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-69", 0 ],
+                                                                       "source" : [ "obj-60", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-47", 0 ],
+                                                                       "source" : [ "obj-61", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-60", 2 ],
+                                                                       "source" : [ "obj-64", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-47", 1 ],
+                                                                       "source" : [ "obj-69", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 636.0, 485.0, 130.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "fontsize" : 14.0
+                                       }
+,
+                                       "text" : "p populate_tempdict"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 707.0, 781.0, 188.0, 22.0 ],
+                                       "text" : "loadmess #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-46",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 894.0, 529.0, 61.0, 22.0 ],
+                                       "text" : "set set $1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-42",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 608.0, 636.0, 119.0, 22.0 ],
+                                       "text" : "prepend set <folder>"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-40",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "bang", "int" ],
+                                       "patching_rect" : [ 490.0, 485.0, 137.0, 22.0 ],
+                                       "text" : "t 0 b 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 608.0, 603.0, 86.0, 22.0 ],
+                                       "text" : "gate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 695.0, 124.0, 405.0, 391.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-10",
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 276.0, 27.0, 65.0, 20.0 ],
+                                                                       "text" : "folder path"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "comment",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 188.0, 145.0, 60.0, 20.0 ],
+                                                                       "text" : "filenames"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-8",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 184.0, 196.0, 38.0, 22.0 ],
+                                                                       "text" : "zl.reg"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-6",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "bang", "", "" ],
+                                                                       "patching_rect" : [ 143.0, 144.0, 41.0, 22.0 ],
+                                                                       "text" : "t b s s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 34.0, 249.0, 96.0, 22.0 ],
+                                                                       "text" : "prepend append"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "(msgs) to polybuffer",
+                                                                       "id" : "obj-4",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 54.0, 301.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 188.0, 223.0, 120.0, 22.0 ],
+                                                                       "text" : "sprintf symout %s%s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 239.0, 22.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 20.0, 50.0, 75.0, 22.0 ],
+                                                                       "text" : "route clear"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-48",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 76.0, 80.0, 142.0, 22.0 ],
+                                                                       "text" : "route append"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-23",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 16.0, 14.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-35",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 144.0, 301.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-48", 0 ],
+                                                                       "source" : [ "obj-1", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 1 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-23", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 0 ],
+                                                                       "source" : [ "obj-48", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 1 ],
+                                                                       "source" : [ "obj-6", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-35", 0 ],
+                                                                       "source" : [ "obj-6", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-6", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-8", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 545.0, 423.0, 110.0, 22.0 ],
+                                       "text" : "p filter/format"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 843.0, 433.0, 150.0, 20.0 ],
+                                       "text" : "folder name"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-71",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "" ],
+                                       "patching_rect" : [ 569.0, 333.0, 86.0, 22.0 ],
+                                       "text" : "t s s s s s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-57",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "" ],
+                                       "patching_rect" : [ 789.0, 485.0, 229.0, 22.0 ],
+                                       "text" : "t s s s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 608.0, 665.0, 61.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "dropfile",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 817.0, 211.0, 50.0, 35.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 1.0, 1.0, 268.0, 41.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 747.0, 299.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-34",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "bang", "<foldername>", "bang", "bang", "int" ],
+                                       "patching_rect" : [ 747.0, 333.0, 245.0, 22.0 ],
+                                       "text" : "t b <foldername> b b 0"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-41",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "int" ],
+                                       "patching_rect" : [ 490.0, 368.0, 39.0, 22.0 ],
+                                       "text" : "folder"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-15",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "dictionary", "", "", "", "" ],
+                                       "patching_rect" : [ 675.0, 567.0, 61.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "embed" : 0,
+                                               "legacy" : 0,
+                                               "parameter_enable" : 0,
+                                               "parameter_mappable" : 0
+                                       }
+,
+                                       "text" : "dict"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 847.0, 71.0, 141.0, 22.0 ],
+                                       "text" : "prepend set polyb name:"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 847.0, 40.0, 109.0, 22.0 ],
+                                       "text" : "loadmess #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-12",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 847.0, 104.0, 141.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 1.0, 60.0, 272.0, 20.0 ],
+                                       "text" : "polyb name: #1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-2",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 80.0, 40.0, 26.0, 26.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "int" ],
+                                       "patching_rect" : [ 789.0, 432.0, 55.0, 22.0 ],
+                                       "text" : "strippath"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-30",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 803.5, 567.0, 131.0, 22.0 ],
+                                       "text" : "prepend set last folder:"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 803.5, 599.0, 145.0, 20.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 1.0, 44.0, 272.0, 20.0 ],
+                                       "text" : "last: <foldername>"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "" ],
+                                       "patching_rect" : [ 490.0, 395.0, 74.0, 22.0 ],
+                                       "text" : "t b s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) result of selection",
+                                       "id" : "obj-1",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 416.0, 939.0, 22.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 460.0, 580.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 320.0, 310.0, 58.0, 21.0 ],
+                                       "text" : "loadbang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-26",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 320.0, 333.0, 131.0, 21.0 ],
+                                       "text" : "types AIFF WAVE MPEG"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 1 ],
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-12", 0 ],
+                                       "source" : [ "obj-17", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-50", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 2,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 5,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 4,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "order" : 7,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 3,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 2 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-58", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "hidden" : 1,
+                                       "order" : 6,
+                                       "source" : [ "obj-28", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-29", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "source" : [ "obj-31", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "source" : [ "obj-31", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-31", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-54", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-32", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-71", 0 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-57", 0 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "source" : [ "obj-34", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-34", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "source" : [ "obj-34", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 1 ],
+                                       "source" : [ "obj-34", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-51", 1 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-50", 1 ],
+                                       "source" : [ "obj-35", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-51", 0 ],
+                                       "source" : [ "obj-37", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "midpoints" : [ 463.568022060394298, 174.084304439184052, 452.517679850260436, 174.084304439184052, 452.517679850260436, 108.989425659179688, 469.5, 108.989425659179688 ],
+                                       "source" : [ "obj-4", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-4", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-4", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-35", 0 ],
+                                       "source" : [ "obj-4", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-4", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-40", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-40", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-40", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-42", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-45", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-46", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-55", 0 ],
+                                       "source" : [ "obj-47", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-48", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 2 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-50", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-51", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-45", 1 ],
+                                       "source" : [ "obj-54", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 1 ],
+                                       "source" : [ "obj-54", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-54", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "midpoints" : [ 655.5, 755.0, 242.16632080078125, 755.0, 242.16632080078125, 597.0, 257.5, 597.0 ],
+                                       "source" : [ "obj-54", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-58", 0 ],
+                                       "source" : [ "obj-55", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-57", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-46", 0 ],
+                                       "source" : [ "obj-57", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "source" : [ "obj-57", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-45", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-40", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-71", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 1 ],
+                                       "source" : [ "obj-71", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-71", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-48", 0 ],
+                                       "source" : [ "obj-71", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-8", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-55", 0 ],
+                                       "source" : [ "obj-8", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 2 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.accum.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.collect.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.difference.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.expr.codebox.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.gather.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.if.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.intersection.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.righttoleft.maxpat",
+                               "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering",
+                               "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/ordering",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/seq_eventeditor_ui.maxpat b/seq_eventeditor_ui.maxpat
new file mode 100644 (file)
index 0000000..2d75c4f
--- /dev/null
@@ -0,0 +1,941 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 119.0, 154.0, 1159.0, 847.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 350.0, 229.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 589.0, 23.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 567.0, 190.0, 117.0, 22.0 ],
+                                       "text" : "print audiofile_menu"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "fontsize" : 10.0,
+                                                                       "id" : "obj-5",
+                                                                       "linecount" : 8,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 50.0, 100.0, 195.0, 104.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 108, 111, 111, 112, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 103, 101, 110, 101, 114, 97, 116, 101, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 97, 117, 120, 115, 101, 110, 100, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 105, 105, 0, 0, 0, 0, 100, 0, 0, 5, -36, 0, 0, 0, 20, 47, 99, 97, 116, 0, 0, 0, 0, 44, 115, 0, 0, 110, 111, 110, 101, 0, 0, 0, 0 ],
+                                                                       "saved_bundle_length" : 224,
+                                                                       "text" : "/loop : 0,\n/generate : 0,\n/speed : 1.,\n/density : 0.,\n/variety : 0.,\n/auxsend : 0.,\n/spacing/range : [100, 1500],\n/cat : \"none\""
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-12",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-15",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 50.0, 264.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-12", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-15", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 296.0, 278.0, 97.0, 22.0 ],
+                                       "text" : "p default_bundle"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-43",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 333.0, 707.0, 47.999988406896591, 22.0 ],
+                                       "text" : "t l l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 359.0, 805.0, 167.0, 20.0 ],
+                                       "text" : "updated bundle full of params"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "clear", "bang" ],
+                                       "patching_rect" : [ 182.0, 177.0, 51.0, 22.0 ],
+                                       "text" : "t clear b"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 84.0, 170.0, 22.0 ],
+                                       "text" : "o.route /clear /audiofile/menu"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-46",
+                                       "linecount" : 8,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 573.714285714285779, 646.0, 233.0, 114.0 ],
+                                       "text" : "parameters:\n\n/generate bool\n/speed 0.125-3\n/loop bool\n/spacing/range : [mslow, mshigh] - for loop\n/density : 0-1\n/auxsend : 0-1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-37",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 712.0, 404.0, 75.0, 22.0 ],
+                                       "text" : "set $1, bang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "(FullPacket) updated event out",
+                                       "id" : "obj-25",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 333.0, 805.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-18",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 820.0, 451.0, 67.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 235.0, 4.0, 67.0, 19.0 ],
+                                       "text" : "audio group"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-80",
+                                       "items" : "<empty>",
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 712.0, 451.0, 100.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 126.0, 4.0, 100.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-79",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "float" ],
+                                       "patching_rect" : [ 636.0, 404.0, 72.285714285714221, 21.0 ],
+                                       "text" : "unpack 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-78",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 9,
+                                       "outlettype" : [ "", "", "", "", "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 368.0, 624.714285714285666, 22.0 ],
+                                       "text" : "o.route /loop /generate /speed /density /variety /auxsend /spacing/range /cat"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-67",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 333.0, 678.0, 48.0, 22.0 ],
+                                       "text" : "o.union"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-59",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 538.0, 486.0, 44.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 483.0, 28.0, 44.0, 19.0 ],
+                                       "text" : "variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-60",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 485.0, 485.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 430.0, 27.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 636.0, 526.0, 72.0, 22.0 ],
+                                       "text" : "pak 0. 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-35",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 614.0, 451.0, 53.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 179.0, 31.0, 53.0, 19.0 ],
+                                       "text" : "aux send"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-36",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 561.0, 450.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 126.0, 30.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.262745098039216, 0.368627450980392, 0.368627450980392, 1.0 ],
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-33",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 462.0, 451.0, 43.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 370.000011026859283, 27.0, 52.333334892988205, 19.0 ],
+                                       "text" : "density"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.262745098039216, 0.368627450980392, 0.368627450980392, 1.0 ],
+                                       "format" : 6,
+                                       "id" : "obj-34",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 409.0, 450.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 318.0, 27.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.117647058823529, 0.172549019607843, 0.203921568627451, 1.0 ],
+                                       "format" : 6,
+                                       "id" : "obj-32",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 689.0, 485.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 483.0, 3.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.117647058823529, 0.172549019607843, 0.203921568627451, 1.0 ],
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-30",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 748.0, 486.0, 78.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 535.0, 3.0, 78.0, 19.0 ],
+                                       "text" : "spacing range"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.117647058823529, 0.172549019607843, 0.203921568627451, 1.0 ],
+                                       "format" : 6,
+                                       "id" : "obj-31",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 636.0, 485.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 430.0, 3.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.196078431372549, 0.27843137254902, 0.352941176470588, 1.0 ],
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-28",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 211.0, 486.0, 84.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 29.000000864267349, 2.0, 89.666669338941574, 19.0 ],
+                                       "text" : "loop on/off"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.196078431372549, 0.27843137254902, 0.352941176470588, 1.0 ],
+                                       "id" : "obj-29",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 182.0, 484.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 3.0, 2.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.196078431372549, 0.27843137254902, 0.352941176470588, 1.0 ],
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-27",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 386.0, 486.0, 38.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 370.000011026859283, 3.0, 52.333334892988205, 19.0 ],
+                                       "text" : "speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.196078431372549, 0.27843137254902, 0.352941176470588, 1.0 ],
+                                       "format" : 6,
+                                       "id" : "obj-26",
+                                       "maxclass" : "flonum",
+                                       "mousefilter" : 1,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 333.0, 485.0, 50.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 318.0, 3.0, 50.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.262745098039216, 0.368627450980392, 0.368627450980392, 1.0 ],
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-24",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 287.0, 450.0, 82.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 29.000000864267349, 28.000000834465027, 89.666669338941574, 19.0 ],
+                                       "text" : "generate on/off"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.262745098039216, 0.368627450980392, 0.368627450980392, 1.0 ],
+                                       "id" : "obj-22",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 258.0, 448.0, 24.0, 24.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 3.0, 28.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-82",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 182.0, 35.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-39",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 712.0, 555.0, 67.0, 22.0 ],
+                                       "text" : "o.pack /cat"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 636.0, 588.0, 126.0, 22.0 ],
+                                       "text" : "o.pack /spacing/range"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 561.0, 555.0, 96.0, 22.0 ],
+                                       "text" : "o.pack /auxsend"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 485.0, 588.0, 86.0, 22.0 ],
+                                       "text" : "o.pack /variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 409.0, 561.0, 89.0, 22.0 ],
+                                       "text" : "o.pack /density"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 333.0, 588.0, 83.0, 22.0 ],
+                                       "text" : "o.pack /speed"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 258.0, 561.0, 98.0, 22.0 ],
+                                       "text" : "o.pack /generate"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 182.0, 588.0, 73.0, 22.0 ],
+                                       "text" : "o.pack /loop"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-78", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-29", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-3", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-78", 0 ],
+                                       "source" : [ "obj-3", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-80", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-3", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 0 ],
+                                       "source" : [ "obj-31", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-47", 1 ],
+                                       "source" : [ "obj-32", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-34", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-11", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-80", 0 ],
+                                       "source" : [ "obj-37", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-39", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 1 ],
+                                       "midpoints" : [ 371.499988406896591, 734.767537308758619, 385.807414439044805, 734.767537308758619, 385.807414439044805, 674.162597839909722, 371.5, 674.162597839909722 ],
+                                       "source" : [ "obj-43", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-60", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-67", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-78", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-78", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-78", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-34", 0 ],
+                                       "source" : [ "obj-78", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-78", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-37", 0 ],
+                                       "source" : [ "obj-78", 7 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-60", 0 ],
+                                       "source" : [ "obj-78", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-79", 0 ],
+                                       "source" : [ "obj-78", 6 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 0 ],
+                                       "source" : [ "obj-79", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-79", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "source" : [ "obj-80", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-82", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-67", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.union.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/sonogarden_presets.json b/sonogarden_presets.json
new file mode 100644 (file)
index 0000000..e4950a6
--- /dev/null
@@ -0,0 +1,12 @@
+{
+       "6" :   {
+               "test" : 1,
+               "another" : 2
+       }
+,
+       "2" :   {
+               "test" : 1,
+               "another" : 2
+       }
+
+}
diff --git a/spat_stuff/spat5.trajectories.maxhelp alias b/spat_stuff/spat5.trajectories.maxhelp alias
new file mode 100644 (file)
index 0000000..ee32cf0
Binary files /dev/null and b/spat_stuff/spat5.trajectories.maxhelp alias differ
diff --git a/spat_stuff/tutorials alias b/spat_stuff/tutorials alias
new file mode 100644 (file)
index 0000000..12e58c1
Binary files /dev/null and b/spat_stuff/tutorials alias differ
diff --git a/transport_container.maxhelp b/transport_container.maxhelp
new file mode 100644 (file)
index 0000000..bd7153b
--- /dev/null
@@ -0,0 +1,192 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 715.0, 326.0, 640.0, 480.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-8",
+                                       "linecount" : 4,
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 197.0, 311.0, 193.0, 72.0 ],
+                                       "text" : "/bar : 44,\n/beat : 6,\n/tempo : 120.4,\n/elapsed/ms : 66282.9"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-6",
+                                       "linecount" : 2,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 378.0, 162.0, 166.0, 36.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 116, 105, 109, 101, 115, 105, 103, 0, 0, 0, 0, 44, 100, 105, 0, 64, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 20, 47, 116, 101, 109, 112, 111, 0, 0, 44, 100, 0, 0, 64, 94, 25, -103, -103, -103, -103, -102 ],
+                                       "saved_bundle_length" : 72,
+                                       "text" : "/timesig : [9.5, 16],\n/tempo : 120.4"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-5",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 267.0, 132.0, 93.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 47, 111, 110, 0, 44, 70, 0, 0 ],
+                                       "saved_bundle_length" : 28,
+                                       "text" : "/on : false"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-4",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 249.0, 102.0, 87.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 47, 111, 110, 0, 44, 84, 0, 0 ],
+                                       "saved_bundle_length" : 28,
+                                       "text" : "/on : true"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-3",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 159.0, 126.0, 60.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 114, 101, 115, 101, 116, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/reset"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 197.0, 256.0, 112.0, 22.0 ],
+                                       "text" : "transport_container"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "transport_container.maxpat",
+                               "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/transport_container.maxpat b/transport_container.maxpat
new file mode 100644 (file)
index 0000000..95a44b8
--- /dev/null
@@ -0,0 +1,411 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 619.0, 294.0, 758.0, 471.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "subpatcher_template" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 478.0, 346.0, 140.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "bang" ],
+                                       "patching_rect" : [ 452.0, 301.0, 63.0, 22.0 ],
+                                       "text" : "onebang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 312.0, 307.0, 113.333333333333371, 22.0 ],
+                                       "text" : "t f b"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-49",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "" ],
+                                       "patching_rect" : [ 385.0, 341.0, 40.0, 22.0 ],
+                                       "text" : "timer"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-45",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 382.0, 206.5, 108.0, 22.0 ],
+                                       "text" : "prepend timesig"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 165.0, 100.0, 453.0, 22.0 ],
+                                       "text" : "o.route /on /reset /timesig /tempo"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-41",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "bang", "bang", "" ],
+                                       "patching_rect" : [ 326.0, 170.0, 44.0, 22.0 ],
+                                       "text" : "sel 0 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 4,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 165.0, 380.0, 239.0, 22.0 ],
+                                       "text" : "o.pack /bar /beat /tempo /elapsed/ms"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-30",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 273.5, 207.0, 32.5, 23.0 ],
+                                       "text" : "0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 165.0, 130.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 20.0, 196.0, 127.0, 22.0 ],
+                                       "text" : "metro @interval 4n"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 9,
+                                       "outlettype" : [ "int", "int", "float", "float", "float", "", "int", "float", "" ],
+                                       "patching_rect" : [ 165.0, 261.0, 127.5, 22.0 ],
+                                       "text" : "transport"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "attr" : "tempo",
+                                       "id" : "obj-7",
+                                       "maxclass" : "attrui",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 501.0, 206.5, 150.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-51",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 165.0, 40.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-52",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 165.0, 424.0, 30.0, 30.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 1 ],
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 1 ],
+                                       "source" : [ "obj-1", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-50", 0 ],
+                                       "source" : [ "obj-1", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-49", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 1 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-52", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-41", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-49", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-44", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-44", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-45", 0 ],
+                                       "source" : [ "obj-44", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-44", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-45", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 3 ],
+                                       "source" : [ "obj-49", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 2 ],
+                                       "source" : [ "obj-50", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-49", 1 ],
+                                       "source" : [ "obj-50", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-51", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}