From: equilet <2237372+equilet@users.noreply.github.com> Date: Mon, 2 Jun 2025 00:06:35 +0000 (-0700) Subject: preliminary version of auditioner X-Git-Tag: v0.1~133 X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=d2da460a7b9fe007e09c095d344ecc1f47ca74fd;p=sonogarden_maxproj.git preliminary version of auditioner --- diff --git a/sg_auditioner.maxpat b/sg_auditioner.maxpat new file mode 100644 index 0000000..c16f1e9 --- /dev/null +++ b/sg_auditioner.maxpat @@ -0,0 +1,797 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 291.0, 183.0, 1000.0, 780.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-62", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 305.0, 693.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-61", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 293.0, 626.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 390.5, 387.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 272.5, 331.0, 22.0, 20.0 ], + "text" : "go" + } + + } +, { + "box" : { + "id" : "obj-57", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 160.0, 102.0, 120.0, 20.0 ], + "text" : "set up audition again" + } + + } +, { + "box" : { + "id" : "obj-55", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 284.0, 100.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 325.0, 141.0, 38.0, 22.0 ], + "text" : "zl.reg" + } + + } +, { + "box" : { + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 801.0, 354.0, 57.0, 22.0 ], + "text" : "tosymbol" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-48", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 5, + "outlettype" : [ "", "", "", "", "" ], + "patching_rect" : [ 801.0, 313.0, 90.0, 23.0 ], + "text" : "regexp .+/(.+)" + } + + } +, { + "box" : { + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 347.5, 511.0, 22.0, 22.0 ], + "text" : "t 0" + } + + } +, { + "box" : { + "id" : "obj-46", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "bang", "bang" ], + "patching_rect" : [ 176.0, 511.0, 42.0, 22.0 ], + "text" : "t 1 b b" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 176.0, 418.0, 55.0, 22.0 ], + "text" : "onebang" + } + + } +, { + "box" : { + "id" : "obj-44", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 752.0, 446.0, 38.0, 22.0 ], + "text" : "zl.reg" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 5, + "outlettype" : [ "count", "", "clear", "bang", "int" ], + "patching_rect" : [ 325.0, 169.0, 293.5, 22.0 ], + "text" : "t count l clear b 0" + } + + } +, { + "box" : { + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 771.0, 387.0, 49.0, 22.0 ], + "text" : "pack i s" + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "meter~", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 647.0, 651.0, 19.0, 93.0 ] + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "gain~", + "multichannelvariant" : 0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "signal", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 618.0, 651.0, 26.0, 93.0 ] + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 568.0, 759.0, 69.0, 69.0 ] + } + + } +, { + "box" : { + "id" : "obj-38", + "maxclass" : "meter~", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 597.0, 651.0, 19.0, 93.0 ] + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "gain~", + "multichannelvariant" : 0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "signal", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 568.0, 651.0, 26.0, 93.0 ] + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 568.0, 523.0, 65.0, 22.0 ], + "text" : "open $1, 1" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 348.0, 598.0, 339.0, 22.0 ], + "text" : "gate" + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 272.5, 511.0, 62.0, 22.0 ], + "text" : "print done" + } + + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 752.0, 220.0, 46.0, 22.0 ], + "text" : "sel 110" + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 4, + "outlettype" : [ "int", "int", "int", "int" ], + "patching_rect" : [ 752.0, 185.0, 50.5, 22.0 ], + "text" : "key" + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 347.5, 478.0, 34.0, 22.0 ], + "text" : "sel 1" + } + + } +, { + "box" : { + "bgcolor" : [ 0.172549019607843, 0.258823529411765, 0.137254901960784, 1.0 ], + "id" : "obj-22", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 271.0, 213.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 261.5, 319.0, 45.0, 45.0 ] + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 4, + "outlettype" : [ "int", "", "", "int" ], + "patching_rect" : [ 261.5, 418.0, 148.0, 22.0 ], + "text" : "counter 0 1 10" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 390.5, 350.0, 69.0, 22.0 ], + "text" : "route count" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 752.0, 492.0, 78.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0, + "precision" : 6 + } +, + "text" : "coll deletions" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 348.0, 646.0, 55.0, 22.0 ], + "text" : "del 2000" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 325.0, 101.0, 85.0, 22.0 ], + "text" : "prepend prefix" + } + + } +, { + "box" : { + "autopopulate" : 1, + "id" : "obj-4", + "items" : [ "30.aiff", ",", "33.aiff", ",", "35.aiff", ",", "37.aiff", ",", "40.aiff", ",", "42.aiff", ",", "43.aiff", ",", "44.aiff", ",", "45.aiff", ",", "46.aiff", ",", "47.aiff", ",", "48.aiff", ",", "49.aiff", ",", "50.aiff", ",", "51.aiff", ",", "53.aiff", ",", "55.aiff", ",", "56.aiff", ",", "62.aiff", ",", "65.aiff", ",", "66.aiff", ",", "69.aiff", ",", "72.aiff" ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 325.0, 267.0, 198.0, 22.0 ], + "prefix" : "~/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/CelloShortSounds/", + "types" : [ "WAV", "WAVE", "AIF", "AIFF" ] + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "bang" ], + "patching_rect" : [ 568.0, 558.0, 119.0, 22.0 ], + "text" : "sfplay~ 2" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "dropfile", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 325.0, 18.0, 240.0, 74.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "midpoints" : [ 357.5, 678.0, 246.97052001953125, 678.0, 246.97052001953125, 309.0, 271.0, 309.0 ], + "order" : 1, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "order" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "midpoints" : [ 271.0, 465.7039794921875, 159.318115234375, 465.7039794921875, 159.318115234375, 207.645111083984375, 280.5, 207.645111083984375 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-18", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "order" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "order" : 1, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 4 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "order" : 1, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "order" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 1 ], + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "order" : 1, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "order" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "order" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "order" : 1, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "order" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "order" : 1, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-37", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "order" : 1, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "order" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 1 ], + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 1 ], + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-43", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-43", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-43", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 1 ], + "source" : [ "obj-43", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 2 ], + "source" : [ "obj-46", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-46", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 1 ], + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "source" : [ "obj-7", 0 ] + } + + } + ], + "dependency_cache" : [ ], + "autosave" : 0 + } + +}