]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
/gain is now calculated internally rather than being specified as a range
authorequilet <2237372+equilet@users.noreply.github.com>
Tue, 17 Jun 2025 22:54:30 +0000 (15:54 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Tue, 17 Jun 2025 22:54:30 +0000 (15:54 -0700)
engine_voice.noisewash~.maxpat

index 162075cd5b2f1fcad67642ff373d537c0680e033..15d3ed51e22f6fd38472a7348b53c4ab30d45b9a 100644 (file)
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
                                        "patching_rect" : [ 449.0, 779.0, 42.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : ""
+                                       }
+,
                                        "text" : "out~ 2"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
                                        "patching_rect" : [ 922.0, 780.0, 35.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : ""
+                                       }
+,
                                        "text" : "out 1"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
                                        "patching_rect" : [ 307.0, 779.0, 52.0, 22.0 ],
-                                       "saved_object_attributes" :                                     {
-                                               "attr_comment" : ""
-                                       }
-,
                                        "text" : "out~ 1"
                                }
 
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
                                        "patching_rect" : [ 428.0, 42.0, 38.0, 22.0 ],
-                                       "saved_object_attributes" :                                     {
-                                               "attr_comment" : ""
-                                       }
-,
                                        "text" : "in 1"
                                }
 
                                                                "box" :                                                                 {
                                                                        "fontface" : 0,
                                                                        "id" : "obj-27",
-                                                                       "linecount" : 8,
+                                                                       "linecount" : 7,
                                                                        "maxclass" : "o.expr.codebox",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 2,
                                                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                                                       "patching_rect" : [ 50.0, 189.0, 560.0, 121.0 ],
-                                                                       "text" : "/gain/range ??= [0.8, 1.2],\n/trajspeed/range ??= [20, 50],\n/ramp = /ramp/sec * 1000.,\n\n/gain = scale(/r/gain, 0., 1., /gain/range[[0]], /gain/range[[1]]), \n/tspeed = scale(/r/tspeed, 0., 1., /trajspeed/range[[0]], /trajspeed/range[[1]]), \n/dur/ms = /duration/sec * 1000., \ndelete(/gain/range, /ramp/sec)"
+                                                                       "patching_rect" : [ 50.0, 189.0, 560.0, 108.0 ],
+                                                                       "text" : "/trajspeed/range ??= [20, 50],\n/ramp = /ramp/sec * 1000.,\n\n/gain = scale(/r/gain, 0., 1., 0.8, 1.2), \n/tspeed = scale(/r/tspeed, 0., 1., /trajspeed/range[[0]], /trajspeed/range[[1]]), \n/dur/ms = /duration/sec * 1000., \ndelete(/ramp/sec)"
                                                                }
 
                                                        }
                }
 ,
                "dependency_cache" : [                  {
-                               "name" : "o.atomize.mxo",
-                               "type" : "iLaX"
-                       }
-,                      {
                                "name" : "o.collect.mxo",
                                "type" : "iLaX"
                        }