]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
adding some notes on gain
authorequilet <2237372+equilet@users.noreply.github.com>
Mon, 19 May 2025 07:16:57 +0000 (00:16 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Mon, 19 May 2025 07:16:57 +0000 (00:16 -0700)
misc/gain_musings_interpolation.maxpat [new file with mode: 0644]
misc/gain_storage_trick.maxpat [new file with mode: 0644]

diff --git a/misc/gain_musings_interpolation.maxpat b/misc/gain_musings_interpolation.maxpat
new file mode 100644 (file)
index 0000000..5986a1f
--- /dev/null
@@ -0,0 +1,135 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "signal", "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 243.0, 324.0, 48.0, 136.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "live.gain~",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_shortname" : "live.gain~",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.gain~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "gain~",
+                                       "multichannelvariant" : 0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 522.0, 328.0, 130.0, 138.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "attr" : "interp",
+                                       "id" : "obj-3",
+                                       "maxclass" : "attrui",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 522.0, 215.0, 150.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "attr" : "interpinlet",
+                                       "id" : "obj-4",
+                                       "maxclass" : "attrui",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 544.0, 266.0, 150.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "attr" : "interp",
+                                       "id" : "obj-5",
+                                       "maxclass" : "attrui",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 243.0, 215.0, 150.0, 22.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-2" : [ "live.gain~", "live.gain~", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [  ],
+               "autosave" : 0
+       }
+
+}
diff --git a/misc/gain_storage_trick.maxpat b/misc/gain_storage_trick.maxpat
new file mode 100644 (file)
index 0000000..62c6300
--- /dev/null
@@ -0,0 +1,128 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "floatoutput" : 1,
+                                       "id" : "obj-15",
+                                       "inputrangemode" : 1,
+                                       "maxclass" : "slider",
+                                       "min" : -70.0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 485.0, 325.0, 20.0, 140.0 ],
+                                       "size" : 76.0
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "lastchannelcount" : 0,
+                                       "maxclass" : "live.gain~",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "signal", "signal", "", "float", "list" ],
+                                       "parameter_enable" : 1,
+                                       "patching_rect" : [ 384.0, 326.0, 74.0, 138.0 ],
+                                       "saved_attribute_attributes" :                                  {
+                                               "valueof" :                                             {
+                                                       "parameter_longname" : "live.gain~",
+                                                       "parameter_mmax" : 6.0,
+                                                       "parameter_mmin" : -70.0,
+                                                       "parameter_modmode" : 3,
+                                                       "parameter_shortname" : "live.gain~",
+                                                       "parameter_type" : 0,
+                                                       "parameter_unitstyle" : 4
+                                               }
+
+                                       }
+,
+                                       "varname" : "live.gain~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-5",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 338.0, 527.0, 91.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "floatoutput" : 1,
+                                       "id" : "obj-1",
+                                       "inputrangemode" : 1,
+                                       "maxclass" : "slider",
+                                       "min" : -70.0,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 338.0, 325.0, 20.0, 140.0 ],
+                                       "size" : 76.0
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "source" : [ "obj-14", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+ ],
+               "parameters" :          {
+                       "obj-14" : [ "live.gain~", "live.gain~", 0 ],
+                       "parameterbanks" :                      {
+                               "0" :                           {
+                                       "index" : 0,
+                                       "name" : "",
+                                       "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
+                               }
+
+                       }
+,
+                       "inherited_shortname" : 1
+               }
+,
+               "dependency_cache" : [  ],
+               "autosave" : 0
+       }
+
+}