]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
example for gain control
authorequilet <2237372+equilet@users.noreply.github.com>
Sun, 16 Mar 2025 08:15:54 +0000 (01:15 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Sun, 16 Mar 2025 08:15:54 +0000 (01:15 -0700)
misc/gain_adjustment_example.maxpat [new file with mode: 0644]

diff --git a/misc/gain_adjustment_example.maxpat b/misc/gain_adjustment_example.maxpat
new file mode 100644 (file)
index 0000000..da49f86
--- /dev/null
@@ -0,0 +1,113 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 106.0, 1000.0, 671.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-7",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 324.0, 191.0, 102.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 521.0, 98.0, 52.0, 22.0 ],
+                                       "text" : "0 10000"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 434.0, 98.0, 85.0, 22.0 ],
+                                       "text" : "0 0 157 10000"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "patching_rect" : [ 434.0, 130.0, 41.0, 22.0 ],
+                                       "text" : "line 0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "gain~",
+                                       "multichannelvariant" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 434.0, 186.0, 37.0, 357.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [  ],
+               "autosave" : 0
+       }
+
+}