]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
added gain scalar for engine audio output
authorequilet <2237372+equilet@users.noreply.github.com>
Sat, 7 Jun 2025 22:04:05 +0000 (15:04 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Sat, 7 Jun 2025 22:04:05 +0000 (15:04 -0700)
engine_zone~.maxpat

index 01537cd2eb5525e6979f04e2d41bdee05b903c20..6e8711d3a0e661a1ed9ebb0575d622a7021c235e 100644 (file)
@@ -10,7 +10,7 @@
                }
 ,
                "classnamespace" : "box",
-               "rect" : [ 104.0, 87.0, 1069.0, 779.0 ],
+               "rect" : [ 104.0, 87.0, 1069.0, 744.0 ],
                "openinpresentation" : 1,
                "gridsize" : [ 15.0, 15.0 ],
                "subpatcher_template" : "Untitled5_template",
@@ -46,8 +46,8 @@
                                        "id" : "obj-21",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "FullPacket" ],
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "FullPacket", "" ],
                                        "patcher" :                                     {
                                                "fileversion" : 1,
                                                "appversion" :                                          {
                                                }
 ,
                                                "classnamespace" : "box",
-                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                               "rect" : [ 59.0, 87.0, 1000.0, 744.0 ],
                                                "gridsize" : [ 15.0, 15.0 ],
                                                "subpatcher_template" : "Untitled5_template",
                                                "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 55.5, 252.0, 39.0, 22.0 ],
+                                                                       "text" : "atodb"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "float" ],
+                                                                       "patching_rect" : [ 55.5, 146.0, 66.0, 22.0 ],
+                                                                       "text" : "* 1."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "", "", "FullPacket" ],
+                                                                       "patching_rect" : [ 55.0, 105.0, 114.0, 22.0 ],
+                                                                       "text" : "o.route /gain /scalar"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 259.0, 335.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
                                                                "box" :                                                                 {
                                                                        "id" : "obj-4",
                                                                        "maxclass" : "newobj",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "FullPacket" ],
-                                                                       "patching_rect" : [ 50.0, 100.0, 115.0, 22.0 ],
+                                                                       "patching_rect" : [ 55.5, 295.0, 115.0, 22.0 ],
                                                                        "text" : "o.pack /*/outputgain"
                                                                }
 
                                                                        "numinlets" : 0,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                                                                       "patching_rect" : [ 55.0, 33.0, 30.0, 30.0 ]
                                                                }
 
                                                        }
                                                                        "maxclass" : "outlet",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 0,
-                                                                       "patching_rect" : [ 50.0, 182.0, 30.0, 30.0 ]
+                                                                       "patching_rect" : [ 55.5, 335.0, 30.0, 30.0 ]
                                                                }
 
                                                        }
  ],
                                                "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "order" : 0,
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
                                                                "patchline" :                                                           {
                                                                        "destination" : [ "obj-4", 0 ],
+                                                                       "order" : 1,
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
                                                                        "source" : [ "obj-13", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 1 ],
+                                                                       "source" : [ "obj-3", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "source" : [ "obj-4", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
                                                        }
  ]
                                        }
 ,
-                                       "patching_rect" : [ 179.0, 223.0, 37.0, 22.0 ],
+                                       "patching_rect" : [ 193.0, 157.0, 37.0, 22.0 ],
                                        "text" : "p osc"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 433.0, 323.0, 128.0, 22.0 ],
+                                       "patching_rect" : [ 329.0, 370.0, 128.0, 22.0 ],
                                        "text" : "loadmess channels #3"
                                }
 
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
                                                                        "patching_rect" : [ 470.0, 168.0, 181.0, 33.0 ],
-                                                                       "text" : "/source/*/rate : 20,\n/source/1/speed : -14.1209,\n/source/1/radius : 0.1,\n/source/0/speed : 5.87909,\n/source/0/radius : 0."
+                                                                       "text" : "/source/*/rate : 20,\n/source/1/speed : -14.8114,\n/source/1/radius : 0.1,\n/source/0/speed : 5.18862,\n/source/0/radius : 0."
                                                                }
 
                                                        }
                                        "patching_rect" : [ 531.0, 745.0, 22.0, 22.0 ]
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "fontsize" : 11.0,
-                                       "id" : "obj-11",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 3,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "", "bang" ],
-                                       "patching_rect" : [ 207.0, 164.0, 40.0, 21.0 ],
-                                       "text" : "line 0."
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "numinlets" : 1,
                                        "numoutlets" : 5,
                                        "outlettype" : [ "", "", "", "", "FullPacket" ],
-                                       "patching_rect" : [ 69.0, 115.0, 236.0, 21.0 ],
-                                       "text" : "o.route /aux/gain /voice/gain /engine/gain /spat"
+                                       "patching_rect" : [ 69.0, 115.0, 212.0, 21.0 ],
+                                       "text" : "o.route /aux/gain /voice/gain /engine /spat"
                                }
 
                        }
                                        "source" : [ "obj-21", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-60", 0 ],
+                                       "source" : [ "obj-21", 1 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-21", 0 ],
-                                       "order" : 0,
                                        "source" : [ "obj-29", 2 ]
                                }
 
                                        "source" : [ "obj-29", 3 ]
                                }
 
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-60", 0 ],
-                                       "order" : 1,
-                                       "source" : [ "obj-29", 2 ]
-                               }
-
                        }
 ,                      {
                                "patchline" :                           {