]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
added safeguard against a non-entry for voice id
authorequilet <2237372+equilet@users.noreply.github.com>
Fri, 9 May 2025 00:20:32 +0000 (17:20 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Fri, 9 May 2025 00:20:32 +0000 (17:20 -0700)
spat_trajectory_group.maxpat

index 325f81a1a5995fa21886f8774adea50973a61dbc..90ed7ebf31680a723dc04cad1b73055eb85eb592 100644 (file)
                }
 ,
                "classnamespace" : "box",
-               "rect" : [ 89.0, 99.0, 531.0, 594.0 ],
+               "rect" : [ 227.0, 144.0, 525.0, 466.0 ],
                "gridsize" : [ 15.0, 15.0 ],
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 379.0, 233.0, 101.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 317.0, 184.0, 101.0, 22.0 ]
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "id" : "obj-18",
                                        "maxclass" : "newobj",
                                                }
 ,
                                                "classnamespace" : "box",
-                                               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+                                               "rect" : [ 840.0, 167.0, 469.0, 562.0 ],
                                                "gridsize" : [ 15.0, 15.0 ],
                                                "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
+                                                                       "patching_rect" : [ 326.0, 229.0, 34.0, 22.0 ],
+                                                                       "text" : "sel 0"
+                                                               }
+
+                                                       }
+,                                                      {
                                                                "box" :                                                                 {
                                                                        "id" : "obj-1",
                                                                        "maxclass" : "message",
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 310.0, 114.0, 92.0, 22.0 ],
+                                                                       "patching_rect" : [ 326.0, 136.0, 92.0, 22.0 ],
                                                                        "text" : "mute 1, 0, bang"
                                                                }
 
@@ -51,7 +85,7 @@
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 59.0, 241.0, 82.0, 22.0 ],
+                                                                       "patching_rect" : [ 90.0, 336.0, 82.0, 22.0 ],
                                                                        "text" : "prepend set 1"
                                                                }
 
@@ -63,7 +97,7 @@
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 154.0, 241.0, 72.0, 22.0 ],
+                                                                       "patching_rect" : [ 185.0, 336.0, 72.0, 22.0 ],
                                                                        "text" : "prepend set"
                                                                }
 
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "bang" ],
-                                                                       "patching_rect" : [ 310.0, 67.0, 58.0, 22.0 ],
+                                                                       "patching_rect" : [ 326.0, 89.0, 58.0, 22.0 ],
                                                                        "text" : "loadbang"
                                                                }
 
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 2,
                                                                        "outlettype" : [ "", "" ],
-                                                                       "patching_rect" : [ 154.0, 208.0, 175.0, 22.0 ],
+                                                                       "patching_rect" : [ 185.0, 303.0, 175.0, 22.0 ],
                                                                        "text" : "combine /source/ 0 @triggers 1"
                                                                }
 
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 3,
                                                                        "outlettype" : [ "int", "int", "int" ],
-                                                                       "patching_rect" : [ 310.0, 172.0, 56.0, 22.0 ],
+                                                                       "patching_rect" : [ 326.0, 194.0, 56.0, 22.0 ],
                                                                        "text" : "thispoly~"
                                                                }
 
                                                                        "maxclass" : "outlet",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 0,
-                                                                       "patching_rect" : [ 59.0, 323.0, 30.0, 30.0 ]
+                                                                       "patching_rect" : [ 90.0, 418.0, 30.0, 30.0 ]
                                                                }
 
                                                        }
                                                                        "maxclass" : "outlet",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 0,
-                                                                       "patching_rect" : [ 154.0, 323.0, 30.0, 30.0 ]
+                                                                       "patching_rect" : [ 185.0, 418.0, 30.0, 30.0 ]
                                                                }
 
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "destination" : [ "obj-7", 1 ],
+                                                                       "source" : [ "obj-2", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
                                                                        "source" : [ "obj-3", 0 ]
                                                                }
 
  ]
                                        }
 ,
-                                       "patching_rect" : [ 230.0, 104.0, 34.0, 22.0 ],
-                                       "text" : "p init"
+                                       "patching_rect" : [ 348.0, 107.0, 70.0, 22.0 ],
+                                       "text" : "p init_setup"
                                }
 
                        }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "FullPacket" ],
-                                       "patching_rect" : [ 49.0, 147.0, 99.0, 22.0 ],
+                                       "patching_rect" : [ 133.0, 156.0, 99.0, 22.0 ],
                                        "text" : "o.route /source/0"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 155.0, 39.0, 28.0, 22.0 ],
+                                       "patching_rect" : [ 133.0, 58.0, 28.0, 22.0 ],
                                        "text" : "in 1"
                                }
 
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 243.0, 556.0, 35.0, 22.0 ],
+                                       "patching_rect" : [ 191.0, 388.0, 35.0, 22.0 ],
                                        "text" : "out 1"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "" ],
-                                       "patching_rect" : [ 133.0, 230.0, 100.0, 22.0 ],
+                                       "patching_rect" : [ 133.0, 190.0, 100.0, 22.0 ],
                                        "text" : "spat5.trajectories"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "" ],
-                                       "patching_rect" : [ 133.0, 373.0, 160.0, 22.0 ],
-                                       "text" : "spat5.osc.prepend /source/0"
+                                       "patching_rect" : [ 133.0, 246.0, 107.0, 22.0 ],
+                                       "text" : "spat5.osc.prepend"
                                }
 
                        }
                                        "maxclass" : "outlet",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 133.0, 543.0, 30.0, 30.0 ]
+                                       "patching_rect" : [ 100.0, 380.0, 30.0, 30.0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-5", 0 ],
+                                       "order" : 1,
                                        "source" : [ "obj-18", 1 ]
                                }
 
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-6", 0 ],
+                                       "order" : 1,
                                        "source" : [ "obj-18", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-18", 1 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {