]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
finished debugging spat trajectory group for now
authorequilet <2237372+equilet@users.noreply.github.com>
Fri, 9 May 2025 00:21:30 +0000 (17:21 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Fri, 9 May 2025 00:21:30 +0000 (17:21 -0700)
engine_zone~.maxpat

index c110392b5a87525d2b42b7c5b94dd4a78fb0b08c..8fa26b316329a676527456d0c33f5c8359de8060 100644 (file)
                "gridsize" : [ 15.0, 15.0 ],
                "subpatcher_template" : "Untitled5_template",
                "boxes" : [                     {
-                               "box" :                                 {
-                                       "id" : "obj-3",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "" ],
-                                       "patching_rect" : [ 358.0, 642.0, 84.0, 22.0 ],
-                                       "text" : "o.print to_poly"
-                               }
-
-                       }
-,                      {
                                "box" :                                 {
                                        "comment" : "",
                                        "id" : "obj-1",
                                                }
 ,
                                                "classnamespace" : "box",
-                                               "rect" : [ 740.0, 150.0, 942.0, 912.0 ],
+                                               "rect" : [ 740.0, 134.0, 942.0, 912.0 ],
                                                "gridsize" : [ 15.0, 15.0 ],
                                                "subpatcher_template" : "Untitled5_template",
                                                "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-18",
+                                                                       "maxclass" : "number",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "bang" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 324.0, 398.0, 50.0, 22.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-11",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 323.0, 430.0, 52.0, 22.0 ],
+                                                                       "text" : "open $1"
+                                                               }
+
+                                                       }
+,                                                      {
                                                                "box" :                                                                 {
                                                                        "id" : "obj-21",
                                                                        "maxclass" : "message",
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 278.0, 222.0, 39.0, 22.0 ],
+                                                                       "patching_rect" : [ 290.0, 161.0, 39.0, 22.0 ],
                                                                        "text" : "10 16"
                                                                }
 
                                                                        "maxclass" : "comment",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 0,
-                                                                       "patching_rect" : [ 47.0, 160.0, 155.0, 33.0 ],
+                                                                       "patching_rect" : [ 67.5, 51.0, 155.0, 33.0 ],
                                                                        "text" : "3: number of voices\n4: id offset for spat instance"
                                                                }
 
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 507.0, 782.0, 150.0, 33.0 ]
+                                                                       "patching_rect" : [ 470.0, 168.0, 181.0, 33.0 ]
                                                                }
 
                                                        }
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 54.0, 200.0, 121.0, 22.0 ],
+                                                                       "patching_rect" : [ 54.0, 148.0, 121.0, 22.0 ],
                                                                        "text" : "loadmess #3 #4"
                                                                }
 
                                                                        "numoutlets" : 2,
                                                                        "outlettype" : [ "FullPacket", "FullPacket" ],
                                                                        "patching_rect" : [ 54.0, 495.0, 448.0, 198.0 ],
-                                                                       "text" : "/idx = aseq(1, /numsources), \n/scaled = (/idx * (1. / (/numsources - 1))) * /rate/spread, \n/rates = /slowest + /scaled,\nmap(\n  lambda([i,v,f], \n    progn(\n      assign(\"/source/\" + i + \"/speed\", v + /r),\n      assign(\"/source/\" + i + \"/radius\", f)\n    )\n  ), \n  /idx + /offset, /rates, /idx * 0.1\n), \ndelete(/rate/spread, /numsources),\ndelete(/slowest, /idx, /scaled, /rates)"
+                                                                       "text" : "/idx = aseq(1, /numsources), \n/scaled = (/idx * (1. / (/numsources - 1))) * /rate/spread, \n/rates = /slowest + /scaled,\nmap(\n  lambda([i,v,f], \n    progn(\n      assign(\"/source/\" + i + \"/speed\", v + /r),\n      assign(\"/source/\" + i + \"/radius\", f)\n    )\n  ), \n  /idx + /offset, /rates, /idx * 0.1\n), \ndelete(/rate/spread, /numsources),\ndelete(/slowest, /idx, /scaled, /rates, /offset, /r)"
                                                                }
 
                                                        }
                                                                        "source" : [ "obj-10", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-17", 0 ],
+                                                                       "source" : [ "obj-11", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "source" : [ "obj-17", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-11", 0 ],
+                                                                       "source" : [ "obj-18", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-23", 0 ],
-                                       "order" : 1,
                                        "source" : [ "obj-2", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-3", 0 ],
-                                       "order" : 0,
-                                       "source" : [ "obj-2", 0 ]
+                                       "destination" : [ "obj-50", 0 ],
+                                       "source" : [ "obj-20", 0 ]
                                }
 
                        }
                                "name" : "o.pack.mxo",
                                "type" : "iLaX"
                        }
-,                      {
-                               "name" : "o.print.mxo",
-                               "type" : "iLaX"
-                       }
 ,                      {
                                "name" : "o.route.mxo",
                                "type" : "iLaX"