From d92f952e0c98a75cd7b1f16bd1b2d0556d452bbc Mon Sep 17 00:00:00 2001 From: equilet <2237372+equilet@users.noreply.github.com> Date: Tue, 22 Apr 2025 18:10:11 -0700 Subject: [PATCH] using engine_voice.* for addressing now --- sonogarden.maxpat | 589 ++++++++++++++++++++++++++-------------------- 1 file changed, 328 insertions(+), 261 deletions(-) diff --git a/sonogarden.maxpat b/sonogarden.maxpat index 92c5151..19a7a31 100644 --- a/sonogarden.maxpat +++ b/sonogarden.maxpat @@ -10,9 +10,315 @@ } , "classnamespace" : "box", - "rect" : [ 49.0, 103.0, 1091.0, 779.0 ], + "rect" : [ 49.0, 103.0, 1059.0, 796.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 2, + "outlettype" : [ "", "int" ], + "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-50", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 266.0, 273.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-4", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 177.0, 71.0, 56.0, 22.0 ], + "text" : "saved..." + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 177.0, 38.0, 61.0, 22.0 ], + "text" : "savebang" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 41.0, 141.0, 29.5, 22.0 ], + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 42.0, 102.0, 48.0, 22.0 ], + "text" : "del 600" + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "int", "" ], + "patching_rect" : [ 42.0, 65.0, 111.0, 22.0 ], + "text" : "t b 1 s" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 135.0, 141.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-46", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 42.0, 16.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-48", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 40.0, 185.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-49", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 134.0, 185.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-49", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-39", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "source" : [ "obj-39", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-46", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 159.0, 63.0, 22.0 ], + "text" : "p" + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 50.0, 127.0, 97.0, 22.0 ], + "text" : "o.route /key/msg" + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 100.0, 35.0, 22.0 ], + "text" : "r osc" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-66", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 241.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-67", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 85.0, 241.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "source" : [ "obj-50", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-50", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 340.0, 62.0, 97.0, 22.0 ], + "text" : "p" + } + + } +, { "box" : { "id" : "obj-65", "maxclass" : "button", @@ -784,7 +1090,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 550.0, 433.0, 150.0, 46.0 ], - "text" : "/buffer/name : \"/engine/1.1\"" + "text" : "/buffer/name : \"/engine/1.23\"" } } @@ -865,207 +1171,6 @@ "patching_rect" : [ 942.0, 665.0, 45.0, 45.0 ] } - } -, { - "box" : { - "id" : "obj-50", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 106.0, 266.0, 273.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-4", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 177.0, 71.0, 56.0, 22.0 ], - "text" : "saved..." - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 177.0, 38.0, 61.0, 22.0 ], - "text" : "savebang" - } - - } -, { - "box" : { - "id" : "obj-43", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 41.0, 141.0, 29.5, 22.0 ], - "text" : "0" - } - - } -, { - "box" : { - "id" : "obj-41", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 42.0, 102.0, 48.0, 22.0 ], - "text" : "del 600" - } - - } -, { - "box" : { - "id" : "obj-39", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "int", "" ], - "patching_rect" : [ 42.0, 65.0, 111.0, 22.0 ], - "text" : "t b 1 s" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 135.0, 141.0, 72.0, 22.0 ], - "text" : "prepend set" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-46", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 42.0, 16.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-48", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 40.0, 185.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-49", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 134.0, 185.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-49", 0 ], - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-39", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-39", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-39", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-41", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-46", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 990.0, 93.0, 63.0, 22.0 ], - "text" : "p" - } - } , { "box" : { @@ -1075,7 +1180,7 @@ "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 990.0, 138.0, 24.0, 24.0 ] + "patching_rect" : [ 340.0, 20.5, 24.0, 24.0 ] } } @@ -1089,35 +1194,11 @@ "numoutlets" : 4, "outlettype" : [ "", "int", "", "" ], "parameter_enable" : 0, - "patching_rect" : [ 1034.0, 138.0, 353.0, 29.0 ], + "patching_rect" : [ 363.0, 20.5, 353.0, 29.0 ], "text" : "saved...", "textjustification" : 1 } - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 990.0, 61.0, 97.0, 22.0 ], - "text" : "o.route /key/msg" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 990.0, 34.0, 35.0, 22.0 ], - "text" : "r osc" - } - } , { "box" : { @@ -2326,7 +2407,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 100.0, 487.0, 315.0 ], - "text" : "/engine/1/sequencer/spacing/range : [4.8, 20.],\n/engine/1/sequencer/speed : 1.,\n/engine/1/sequencer/density : 0.0001,\n/engine/1/sequencer/variety : 0.,\n/engine/1/sequencer/auxsend : 0.,\n/engine/1/sequencer/gain/range : [0.8, 1.2],\n/engine/1/sequencer/trajspeed/range : [20., 80.],\n/engine/1/sequencer/loop/status : 0,\n/engine/1/sequencer/loop/wind : 86.,\n/engine/1/sequencer/cat : \"blackgrosbeak\",\n/engine/1/sequencer/audiofile/textbox : \"blackgrosbeak\",\n/engine/1/zone/engine/gain : -9.65517,\n/engine/1/zone/voice/gain : 109,\n/engine/1/polybuf/path : \"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/Shaker/\",\n/engine/1/zone/aux/gain : 0,\n/engine/1/sequencer/steps : [1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0],\n/engine/1/path : \"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/CelloHaiku/\"" + "text" : "/engine/1/sequencer/speed : 1.,\n/engine/1/sequencer/density : 0.09,\n/engine/1/sequencer/variety : 0.4,\n/engine/1/sequencer/auxsend : 0.,\n/engine/1/sequencer/spacing/range : [1.2, 4.],\n/engine/1/sequencer/gain/range : [0.8, 1.2],\n/engine/1/sequencer/trajspeed/range : [20., 80.],\n/engine/1/sequencer/loop/status : 0,\n/engine/1/sequencer/loop/wind : 0.086,\n/engine/1/sequencer/cat : \"blackgrosbeak\",\n/engine/1/sequencer/audiofile/textbox : \"blackgrosbeak\",\n/engine/1/polybuf/path : \"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/Shaker/\",\n/engine/1/zone/engine/gain : 0.,\n/engine/1/zone/aux/gain : 0,\n/engine/1/zone/voice/gain : 84,\n/engine/1/sequencer/steps : [1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0],\n/engine/1/path : \"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/CelloHaiku/\"" } } @@ -2886,9 +2967,9 @@ } , { "box" : { - "args" : [ "/engine/1/sequencer" ], + "args" : [ "/engine/1/sequencer", "engine_voice.window~" ], "bgmode" : 0, - "border" : 0, + "border" : 1, "clickthrough" : 0, "enablehscroll" : 0, "enablevscroll" : 0, @@ -3045,13 +3126,6 @@ "source" : [ "obj-25", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-31", 0 ], - "source" : [ "obj-26", 0 ] - } - } , { "patchline" : { @@ -3074,13 +3148,6 @@ "source" : [ "obj-3", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-31", 0 ] - } - } , { "patchline" : { @@ -3250,20 +3317,6 @@ "source" : [ "obj-45", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "source" : [ "obj-50", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-50", 0 ] - } - } , { "patchline" : { @@ -3330,6 +3383,20 @@ "source" : [ "obj-65", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-68", 1 ] + } + } , { "patchline" : { @@ -3450,7 +3517,7 @@ "implicit" : 1 } , { - "name" : "engine_voice~.maxpat", + "name" : "engine_voice.window~.maxpat", "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", "patcherrelativepath" : ".", "type" : "JSON", -- 2.34.1