From: equilet <2237372+equilet@users.noreply.github.com> Date: Wed, 14 May 2025 07:02:58 +0000 (-0700) Subject: udpated for stereo usage X-Git-Tag: v0.1~186 X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=1ae1b02f89863538d60a900e73a05426f320ed99;p=sonogarden_maxproj.git udpated for stereo usage --- diff --git a/engine_zone~.maxhelp b/engine_zone~.maxhelp index 2e18cfc..1d25352 100644 --- a/engine_zone~.maxhelp +++ b/engine_zone~.maxhelp @@ -13,6 +13,30 @@ "rect" : [ 34.0, 126.0, 991.0, 811.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 253.0, 649.0, 58.0, 22.0 ], + "text" : "mc.sum~" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "multichannelsignal" ], + "patching_rect" : [ 253.0, 605.0, 80.0, 22.0 ], + "text" : "mc.*~ 0.0625" + } + + } +, { "box" : { "background_color" : [ 0.768627450980392, 0.815686274509804, 0.76078431372549, 1.0 ], "fontface" : 0, @@ -22,8 +46,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 288.0, 32.0, 213.0, 87.0 ], - "presentation_linecount" : 6, + "patching_rect" : [ 269.0, 61.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, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 24, 47, 108, 111, 111, 112, 47, 115, 116, 97, 116, 117, 115, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 64, 0, 0, 0, 0, 0, 0, 0, 64, 16, 0, 0, 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, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -71, -103, -103, -103, -103, -103, -102 ], "saved_bundle_length" : 196, "text" : "/speed : 1,\n/loop/status : 0,\n/spacing/range : [2., 4.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0.1" @@ -40,8 +63,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 67.0, 32.0, 213.0, 87.0 ], - "presentation_linecount" : 6, + "patching_rect" : [ 48.0, 61.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, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 24, 47, 108, 111, 111, 112, 47, 115, 116, 97, 116, 117, 115, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -32, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 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, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 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 ], "saved_bundle_length" : 196, "text" : "/speed : 1,\n/loop/status : 0,\n/spacing/range : [0.5, 2.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0." @@ -52,13 +74,11 @@ "box" : { "fontface" : 0, "id" : "obj-20", - "linecount" : 8, "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 557.0, 316.0, 263.0, 123.0 ], - "text" : "/speed : 1,\n/loop/status : 0,\n/spacing/range : [2., 4.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0.1,\n/numfiles : 73,\n/pbname : \"audiocollection\"" + "patching_rect" : [ 538.0, 345.0, 263.0, 33.0 ] } } @@ -71,8 +91,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 567.0, 68.0, 401.0, 62.0 ], - "presentation_linecount" : 4, + "patching_rect" : [ 548.0, 97.0, 401.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, -128, 47, 112, 97, 116, 104, 0, 0, 0, 44, 115, 0, 0, 77, 97, 99, 105, 110, 116, 111, 115, 104, 32, 72, 68, 58, 47, 85, 115, 101, 114, 115, 47, 106, 109, 108, 47, 68, 111, 99, 117, 109, 101, 110, 116, 115, 47, 119, 111, 114, 107, 47, 104, 117, 103, 104, 95, 108, 105, 118, 105, 110, 103, 115, 116, 111, 110, 47, 97, 117, 100, 105, 111, 95, 102, 105, 108, 101, 115, 47, 95, 83, 111, 110, 111, 103, 97, 114, 100, 101, 110, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 115, 47, 49, 48, 48, 54, 49, 56, 95, 48, 50, 32, 79, 98, 111, 101, 32, 71, 101, 115, 116, 117, 114, 101, 115, 47, 0, 0, 0, 0, 0, 16, 47, 99, 104, 111, 105, 99, 101, 0, 44, 105, 0, 0, 0, 0, 0, 2 ], "saved_bundle_length" : 168, "text" : "/path : \"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/100618_02 Oboe Gestures/\",\n/choice : 2" @@ -96,7 +115,7 @@ "numoutlets" : 2, "offset" : [ 0.0, 0.0 ], "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 179.0, 162.0, 281.0, 112.0 ], + "patching_rect" : [ 160.0, 191.0, 281.0, 112.0 ], "viewvisibility" : 1 } @@ -109,7 +128,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 445.0, 570.0, 150.0, 33.0 ] + "patching_rect" : [ 426.0, 599.0, 150.0, 33.0 ] } } @@ -119,7 +138,7 @@ "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, - "patching_rect" : [ 179.0, 728.0, 45.0, 45.0 ] + "patching_rect" : [ 160.0, 695.0, 40.0, 40.0 ] } } @@ -130,7 +149,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "multichannelsignal" ], - "patching_rect" : [ 179.0, 638.0, 80.0, 22.0 ], + "patching_rect" : [ 160.0, 605.0, 80.0, 22.0 ], "text" : "mc.*~ 0.0625" } @@ -142,7 +161,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 179.0, 682.0, 58.0, 22.0 ], + "patching_rect" : [ 160.0, 649.0, 58.0, 22.0 ], "text" : "mc.sum~" } @@ -154,7 +173,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 335.0, 471.0, 221.0, 60.0 ], + "patching_rect" : [ 316.0, 412.0, 221.0, 60.0 ], "text" : "arg1: aux destination \narg2: patchername to load (voice patch)\narg3: number of voices\narg4: id offset for spat source count" } @@ -173,10 +192,10 @@ "maxclass" : "bpatcher", "name" : "engine_zone~.maxpat", "numinlets" : 1, - "numoutlets" : 4, + "numoutlets" : 5, "offset" : [ -1.0, 3.0 ], - "outlettype" : [ "multichannelsignal", "FullPacket", "signal", "FullPacket" ], - "patching_rect" : [ 179.0, 463.0, 145.0, 76.0 ], + "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], + "patching_rect" : [ 160.0, 404.0, 145.0, 76.0 ], "viewvisibility" : 1 } @@ -192,7 +211,14 @@ , { "patchline" : { "destination" : [ "obj-13", 0 ], - "source" : [ "obj-1", 3 ] + "source" : [ "obj-1", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-1", 1 ] } } @@ -232,6 +258,13 @@ "source" : [ "obj-18", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-2", 0 ] + } + } , { "patchline" : { @@ -243,21 +276,20 @@ , { "patchline" : { "destination" : [ "obj-11", 1 ], - "order" : 0, - "source" : [ "obj-9", 0 ] + "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], - "order" : 1, "source" : [ "obj-9", 0 ] } } ], "parameters" : { + "obj-1::obj-3" : [ "poly_voices[1]", "poly_voices", 0 ], "obj-1::obj-60" : [ "poly_voices", "poly_voices", 0 ], "parameterbanks" : { "0" : { diff --git a/engine_zone~.maxpat b/engine_zone~.maxpat index 8fa26b3..51dffae 100644 --- a/engine_zone~.maxpat +++ b/engine_zone~.maxpat @@ -15,6 +15,59 @@ "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "comment" : "mc~ output right", + "id" : "obj-19", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 111.5, 745.0, 22.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 238.333333333333314, 478.0, 41.0, 22.0 ], + "text" : "set $1" + } + + } +, { + "box" : { + "id" : "obj-3", + "lastchannelcount" : 1, + "maxclass" : "mc.live.gain~", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "multichannelsignal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 209.0, 355.0, 107.0, 106.0 ], + "presentation" : 1, + "presentation_rect" : [ 173.0, 356.0, 106.0, 66.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "poly_voices[1]", + "parameter_mmax" : 6.0, + "parameter_mmin" : -70.0, + "parameter_modmode" : 3, + "parameter_shortname" : "poly_voices", + "parameter_type" : 0, + "parameter_unitstyle" : 4 + } + + } +, + "varname" : "engine_voices[1]" + } + + } +, { "box" : { "comment" : "", "id" : "obj-1", @@ -22,7 +75,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 111.5, 745.0, 22.0, 22.0 ] + "patching_rect" : [ 176.0, 745.0, 22.0, 22.0 ] } } @@ -49,7 +102,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 413.0, 326.0, 128.0, 22.0 ], + "patching_rect" : [ 433.0, 323.0, 128.0, 22.0 ], "text" : "loadmess channels #3" } @@ -509,7 +562,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 244.0, 467.0, 105.0, 21.0 ], + "patching_rect" : [ 244.0, 569.0, 105.0, 21.0 ], "text" : "o.pack /voice/gain" } @@ -587,11 +640,13 @@ "box" : { "fontface" : 0, "id" : "obj-9", + "linecount" : 7, "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 470.0, 168.0, 181.0, 33.0 ] + "patching_rect" : [ 470.0, 168.0, 181.0, 33.0 ], + "text" : "/source/*/rate : 20,\n/source/1/speed : -14.2189,\n/source/1/radius : 0.1,\n/source/0/speed : 5.78108,\n/source/0/radius : 0." } } @@ -934,9 +989,9 @@ "id" : "obj-23", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "multichannelsignal", "", "" ], - "patching_rect" : [ 69.0, 287.0, 451.0, 21.0 ], + "numoutlets" : 4, + "outlettype" : [ "multichannelsignal", "multichannelsignal", "", "" ], + "patching_rect" : [ 69.0, 287.0, 335.0, 21.0 ], "text" : "mc.poly~ engine_voice.dummy~ @voices #3 @args #1 @target 0" } @@ -995,7 +1050,7 @@ } , { "box" : { - "comment" : "", + "comment" : "mc~ output left", "id" : "obj-36", "index" : 0, "maxclass" : "outlet", @@ -1147,10 +1202,17 @@ } , { "patchline" : { - "destination" : [ "obj-48", 0 ], + "destination" : [ "obj-3", 0 ], "source" : [ "obj-23", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "source" : [ "obj-23", 2 ] + } + } , { "patchline" : { @@ -1165,10 +1227,19 @@ "source" : [ "obj-24", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "order" : 0, + "source" : [ "obj-27", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-60", 0 ], + "order" : 1, "source" : [ "obj-27", 0 ] } @@ -1207,6 +1278,20 @@ "source" : [ "obj-29", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-3", 1 ] + } + } , { "patchline" : { @@ -1256,10 +1341,26 @@ "source" : [ "obj-55", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-6", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-12", 0 ], + "order" : 0, + "source" : [ "obj-60", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "order" : 1, "source" : [ "obj-60", 1 ] } @@ -1287,6 +1388,7 @@ } ], "parameters" : { + "obj-3" : [ "poly_voices[1]", "poly_voices", 0 ], "obj-60" : [ "poly_voices", "poly_voices", 0 ], "parameterbanks" : { "0" : {