From 17d4411aa773de4e7b1e730d29d0e8764579b22b Mon Sep 17 00:00:00 2001 From: equilet <2237372+equilet@users.noreply.github.com> Date: Wed, 23 Apr 2025 13:13:56 -0700 Subject: [PATCH] new patchers consisting of experiments --- misc/analyzer_test.maxpat | 383 ++++++++++++++++++++++++++++ misc/drunken_walk_misc.maxpat | 196 +++++++++++++++ misc/file_or_folder.maxpat | 223 +++++++++++++++++ misc/stretching_options.maxpat | 114 +++++++++ misc/testing_polybuffer.maxpat | 442 +++++++++++++++++++++++++++++++++ 5 files changed, 1358 insertions(+) create mode 100644 misc/analyzer_test.maxpat create mode 100644 misc/drunken_walk_misc.maxpat create mode 100644 misc/file_or_folder.maxpat create mode 100644 misc/stretching_options.maxpat create mode 100644 misc/testing_polybuffer.maxpat diff --git a/misc/analyzer_test.maxpat b/misc/analyzer_test.maxpat new file mode 100644 index 0000000..3b18401 --- /dev/null +++ b/misc/analyzer_test.maxpat @@ -0,0 +1,383 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 709.0, 180.0, 1000.0, 780.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "channels" : 1, + "id" : "obj-28", + "lastchannelcount" : 0, + "maxclass" : "live.gain~", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "signal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 40.0, 447.0, 48.0, 136.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "live.gain~[1]", + "parameter_mmax" : 6.0, + "parameter_mmin" : -70.0, + "parameter_modmode" : 3, + "parameter_shortname" : "live.gain~", + "parameter_type" : 0, + "parameter_unitstyle" : 4 + } + + } +, + "varname" : "live.gain~[1]" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-27", + "linecount" : 4, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 397.0, 427.0, 222.0, 70.0 ], + "text" : "if(/loudness > -15., \n /pitch/out = /pitch/raw/midi, \n /pitch/out = 0.\n)" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-25", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 490.0, 590.0, 149.0, 22.0 ] + } + + } +, { + "box" : { + "channels" : 1, + "id" : "obj-21", + "lastchannelcount" : 0, + "maxclass" : "live.gain~", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "signal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 102.0, 447.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" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 397.0, 601.0, 43.0, 22.0 ], + "text" : "cycle~" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 397.0, 561.0, 32.0, 22.0 ], + "text" : "mtof" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 397.0, 516.0, 98.0, 22.0 ], + "text" : "o.route /pitch/out" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 735.0, 441.0, 132.0, 104.0 ], + "setminmax" : [ -96.0, 30.0 ], + "size" : 25 + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 574.0, 300.5, 369.0, 81.0 ] + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 340.0, 366.0, 76.0, 22.0 ], + "text" : "o.route /bark" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "spectroscope~", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 371.0, 186.0, 300.0, 100.0 ] + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 193.0, 538.0, 45.0, 45.0 ] + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 215.0, 49.0, 22.0 ], + "text" : "open, 1" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 143.0, 251.0, 95.0, 22.0 ], + "text" : "sfplay~ @loop 1" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 9, + "outlettype" : [ "list", "float", "float", "float", "list", "bang", "list", "list", "FullPacket" ], + "patching_rect" : [ 143.0, 330.0, 216.0, 22.0 ], + "text" : "analyzer~ 2048 1024 blackman70 0 32" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-1", 8 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "order" : 1, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "order" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "order" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "order" : 1, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "order" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "order" : 1, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "order" : 1, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "order" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "order" : 2, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ], + "parameters" : { + "obj-21" : [ "live.gain~", "live.gain~", 0 ], + "obj-28" : [ "live.gain~[1]", "live.gain~", 0 ], + "parameterbanks" : { + "0" : { + "index" : 0, + "name" : "", + "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] + } + + } +, + "inherited_shortname" : 1 + } +, + "dependency_cache" : [ { + "name" : "analyzer~.mxo", + "type" : "iLaX" + } +, { + "name" : "o.expr.codebox.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/misc/drunken_walk_misc.maxpat b/misc/drunken_walk_misc.maxpat new file mode 100644 index 0000000..eeec98d --- /dev/null +++ b/misc/drunken_walk_misc.maxpat @@ -0,0 +1,196 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 482.0, 105.0, 1000.0, 700.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-2", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 80.0, 118.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 226.0, 146.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 153.0, 146.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-17", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 69.0, 277.0, 50.0, 23.0 ] + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 41.0, 310.0, 267.0, 200.0 ], + "setminmax" : [ 0.0, 127.0 ], + "setstyle" : 5, + "settype" : 0 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 41.0, 233.0, 77.0, 23.0 ], + "text" : "drunk 128 5" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 41.0, 191.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 41.0, 156.0, 71.0, 23.0 ], + "text" : "metro 100" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 41.0, 123.0, 24.0, 24.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "order" : 1, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "order" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ], + "dependency_cache" : [ ], + "autosave" : 0 + } + +} diff --git a/misc/file_or_folder.maxpat b/misc/file_or_folder.maxpat new file mode 100644 index 0000000..4717e01 --- /dev/null +++ b/misc/file_or_folder.maxpat @@ -0,0 +1,223 @@ +{ + "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-22", + "linecount" : 4, + "maxclass" : "o.display", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 327.0, 321.0, 347.0, 72.0 ], + "presentation_linecount" : 6, + "text" : "/path : \"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/AssortedMetalPercussion/m25.aiff\"" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-21", + "maxclass" : "o.display", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 327.0, 553.0, 640.0, 33.0 ], + "text" : "/status : \"path is a file\"" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 323.0, 263.0, 74.0, 22.0 ], + "text" : "o.pack /path" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-18", + "linecount" : 7, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 327.0, 410.0, 222.0, 108.0 ], + "text" : "/atoi = split(\"\", /path), \n/last = int32(last(/atoi)), \nif(/last == 47, \n /status = \"path is a folder\", \n /status = \"path is a file\"\n), \ndelete(/path, /last, /atoi)" + } + + } +, { + "box" : { + "id" : "obj-12", + "linecount" : 3, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 356.0, 170.0, 345.0, 49.0 ], + "text" : "\"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/AssortedMetalPercussion/m25.aiff\"" + } + + } +, { + "box" : { + "id" : "obj-9", + "linecount" : 3, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 313.0, 101.0, 345.0, 49.0 ], + "text" : "\"Macintosh HD:/Users/jml/Documents/programming/git_repositories/sonogarden_maxproj/\"" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 73.0, 410.0, 26.0, 26.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 105.0, 331.0, 37.0, 21.0 ], + "text" : "== 47" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 73.0, 289.0, 51.0, 21.0 ], + "text" : "zl ecils 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "list" ], + "patching_rect" : [ 73.0, 255.0, 40.0, 21.0 ], + "text" : "atoi" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 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" + } + ], + "autosave" : 0 + } + +} diff --git a/misc/stretching_options.maxpat b/misc/stretching_options.maxpat new file mode 100644 index 0000000..61dcea2 --- /dev/null +++ b/misc/stretching_options.maxpat @@ -0,0 +1,114 @@ +{ + "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-14", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 358.0, 514.0, 150.0, 20.0 ], + "text" : "realtime" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 546.0, 402.0, 150.0, 20.0 ], + "text" : "employing a new model" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 283.0, 169.0, 150.0, 20.0 ], + "text" : "modifying current model" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 312.0, 236.0, 79.0, 22.0 ], + "text" : "buffer~ tester" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 210.0, 268.0, 71.0, 22.0 ], + "text" : "play~ tester" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 554.0, 428.0, 92.0, 22.0 ], + "text" : "groove~ tester2" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "" ], + "patching_rect" : [ 358.0, 548.0, 63.0, 22.0 ], + "text" : "pitchshift~" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 196.0, 202.0, 85.0, 22.0 ], + "text" : "stretch~ tester" + } + + } + ], + "lines" : [ ], + "dependency_cache" : [ ], + "autosave" : 0 + } + +} diff --git a/misc/testing_polybuffer.maxpat b/misc/testing_polybuffer.maxpat new file mode 100644 index 0000000..62492d0 --- /dev/null +++ b/misc/testing_polybuffer.maxpat @@ -0,0 +1,442 @@ +{ + "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-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 674.0, 273.0, 110.0, 22.0 ], + "text" : "prepend readfolder" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "dropfile", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 674.0, 222.0, 92.0, 35.0 ] + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 434.0, 336.0, 35.0, 22.0 ], + "text" : "open" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 426.0, 373.0, 191.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "text" : "polybuffer~ testname" + } + + } +, { + "box" : { + "id" : "obj-10", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 309.5, 454.0, 245.0, 47.0 ], + "text" : "1. load folder of buffers into [dropfile]\n2. load second folder of buffers into [dropfile]\n" + } + + } +, { + "box" : { + "id" : "obj-9", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 473.0, 177.0, 150.0, 47.0 ], + "text" : "I thought this would auto-clear any previously existing contents." + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 64.0, 317.0, 35.0, 22.0 ], + "text" : "open" + } + + } +, { + "box" : { + "id" : "obj-6", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 210.0, 186.0, 150.0, 60.0 ], + "text" : "\"deep clear\" buffer contents, then issue [clear] message to polybuffer~" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 184.0, 190.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 377.0, 228.0, 110.0, 22.0 ], + "text" : "prepend readfolder" + } + + } +, { + "box" : { + "id" : "obj-42", + "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, 247.0, 347.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 41.0, 27.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 141.0, 208.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "id" : "obj-48", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 41.0, 176.0, 55.0, 22.0 ], + "text" : "set none" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 41.0, 130.0, 87.0, 22.0 ], + "text" : "route done" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 41.0, 247.0, 76.0, 22.0 ], + "text" : "buffer~ none" + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "clear", "" ], + "patching_rect" : [ 109.0, 176.0, 51.0, 22.0 ], + "text" : "t clear s" + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 41.0, 81.0, 84.0, 22.0 ], + "text" : "route bufferlist" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "source" : [ "obj-37", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-43", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-52", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 184.0, 398.0, 88.0, 22.0 ], + "text" : "p clear_routine" + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 216.0, 317.0, 70.0, 22.0 ], + "text" : "getbufferlist" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 184.0, 369.0, 191.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "text" : "polybuffer~ testname" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "dropfile", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 377.0, 177.0, 92.0, 35.0 ] + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "clear", "bang" ], + "patching_rect" : [ 184.0, 279.0, 51.0, 22.0 ], + "text" : "t clear b" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-34", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ], + "dependency_cache" : [ ], + "autosave" : 0 + } + +} -- 2.34.1