]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
updates for stereo usage and new param set
authorequilet <2237372+equilet@users.noreply.github.com>
Wed, 14 May 2025 20:40:10 +0000 (13:40 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Wed, 14 May 2025 20:40:10 +0000 (13:40 -0700)
engine_voice.fragments~.maxhelp

index 98a5378d0d693b41af8a4d7aa74b99de41e43688..27fb5d2e7cec4d3b917c6aa0ca423df8043063f9 100644 (file)
@@ -23,7 +23,6 @@
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
                                        "patching_rect" : [ 252.0, 14.0, 213.0, 62.0 ],
-                                       "presentation_linecount" : 4,
                                        "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 63, -32, 0, 0, 0, 0, 0, 0, 63, -31, 14, 86, 4, 24, -109, 117, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -87, -103, -103, -103, -103, -103, -102, 63, -45, 51, 51, 51, 51, 51, 51, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -39, -103, -103, -103, -103, -103, -102 ],
                                        "saved_bundle_length" : 144,
                                        "text" : "/segment : [0.5, 0.533],\n/speed : 1.,\n/spacing/range : [0.05, 0.3],\n/variety : 0.4"
@@ -49,7 +48,7 @@
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 791.0, 248.0, 281.0, 315.0 ],
+                                       "patching_rect" : [ 791.0, 248.0, 283.0, 315.0 ],
                                        "text" : "the fragments voice plays sound files of an intederminate length (meant for short to medium sounds in length, but can be used with anything) from a polybuffer~ reference based on some parameters:\n\nvariety: the likelihood that a different sound will be chosen from the last.  A variety of zero will simply play the last selection.\n\ndensity: the number of voices playing at once (only available in poly version)\n\nspeed: speed of playback\n\nspacing range:  this is a range of time from which a delay will be produced as an offset before a new sound plays.\n\nsegment: what portion of the audio file to play  \n\n* all time values are in seconds, except for \"segment\" which is a factor"
                                }
 
                                "box" :                                 {
                                        "fontface" : 0,
                                        "id" : "obj-20",
-                                       "linecount" : 6,
                                        "maxclass" : "o.display",
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 495.0, 318.0, 263.0, 97.0 ],
-                                       "text" : "/segment : [0.5, 0.533],\n/speed : 1.,\n/spacing/range : [0.05, 0.3],\n/variety : 0.4,\n/numfiles : 73,\n/pbname : \"audiocollection\""
+                                       "patching_rect" : [ 495.0, 318.0, 263.0, 33.0 ]
                                }
 
                        }
                                                "rect" : [ 72.0, 102.0, 1159.0, 743.0 ],
                                                "gridsize" : [ 15.0, 15.0 ],
                                                "subpatcher_template" : "Untitled5_template",
+                                               "visible" : 1,
                                                "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "background_color" : [ 0.768627450980392, 0.815686274509804, 0.76078431372549, 1.0 ],
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-18",
+                                                                       "linecount" : 5,
+                                                                       "maxclass" : "o.compose",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 746.0, 163.0, 213.0, 75.0 ],
+                                                                       "presentation_linecount" : 5,
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 64, 20, 0, 0, 0, 0, 0, 0, 64, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 116, 47, 108, 0, 0, 0, 44, 115, 0, 0, 99, 104, 49, 0, 0, 0, 0, 16, 47, 115, 116, 47, 114, 0, 0, 0, 44, 115, 0, 0, 99, 104, 50, 0 ],
+                                                                       "saved_bundle_length" : 152,
+                                                                       "text" : "/spacing/range : [5., 12.],\n/variety : 0.9,\n/density : 0.5,\n/st/l : \"ch1\",\n/st/r : \"ch2\""
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-12",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 462.5, 598.0, 41.0, 22.0 ],
+                                                                       "text" : "set $1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-5",
+                                                                       "interp" : 0.0,
+                                                                       "maxclass" : "gain~",
+                                                                       "multichannelvariant" : 0,
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "signal", "" ],
+                                                                       "parameter_enable" : 0,
+                                                                       "patching_rect" : [ 380.5, 514.0, 22.0, 140.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
                                                                "box" :                                                                 {
                                                                        "fontface" : 0,
                                                                        "id" : "obj-2",
                                                                        "numoutlets" : 1,
                                                                        "orientation" : 2,
                                                                        "outlettype" : [ "float" ],
-                                                                       "patching_rect" : [ 455.0, 522.0, 158.0, 58.0 ]
+                                                                       "patching_rect" : [ 120.0, 548.0, 158.0, 58.0 ]
                                                                }
 
                                                        }
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
                                                                        "patching_rect" : [ 746.0, 71.0, 213.0, 75.0 ],
-                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 64, 20, 0, 0, 0, 0, 0, 0, 64, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0 ],
-                                                                       "saved_bundle_length" : 168,
-                                                                       "text" : "/speed : 1,\n/spacing/range : [5., 12.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0.5"
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 64, 20, 0, 0, 0, 0, 0, 0, 64, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 116, 47, 108, 0, 0, 0, 44, 115, 0, 0, 99, 104, 53, 0, 0, 0, 0, 16, 47, 115, 116, 47, 114, 0, 0, 0, 44, 115, 0, 0, 99, 104, 54, 0 ],
+                                                                       "saved_bundle_length" : 152,
+                                                                       "text" : "/spacing/range : [5., 12.],\n/variety : 0.9,\n/density : 0.5,\n/st/l : \"ch5\",\n/st/r : \"ch6\""
                                                                }
 
                                                        }
                                                                                                "box" :                                                                                                 {
                                                                                                        "fontface" : 0,
                                                                                                        "id" : "obj-19",
-                                                                                                       "linecount" : 33,
+                                                                                                       "linecount" : 41,
                                                                                                        "maxclass" : "o.display",
                                                                                                        "numinlets" : 1,
                                                                                                        "numoutlets" : 1,
                                                                                                        "outlettype" : [ "" ],
                                                                                                        "patching_rect" : [ 50.0, 100.0, 438.0, 545.0 ],
-                                                                                                       "text" : "/num/voices : 10,\n/voices/1 : {\n  /segment : [0.5, 0.533],\n  /speed : 1.,\n  /spacing/range : [0.05, 0.3],\n  /variety : 0.4,\n  /numfiles : 73,\n  /pbname : \"polycollection\"\n},\n/voices/2 : {\n  /segment : [0.5, 0.533],\n  /speed : 1.,\n  /spacing/range : [0.05, 0.3],\n  /variety : 0.4,\n  /numfiles : 73,\n  /pbname : \"polycollection\"\n},\n/voices/3 : {\n  /segment : [0.5, 0.533],\n  /speed : 1.,\n  /spacing/range : [0.05, 0.3],\n  /variety : 0.4,\n  /numfiles : 73,\n  /pbname : \"polycollection\"\n},\n/voices/4 : {\n  /segment : [0.5, 0.533],\n  /speed : 1.,\n  /spacing/range : [0.05, 0.3],\n  /variety : 0.4,\n  /numfiles : 73,\n  /pbname : \"polycollection\"\n}"
+                                                                                                       "text" : "/num/voices : 10,\n/voices/1 : {\n  /spacing/range : [5., 12.],\n  /variety : 0.9,\n  /st/l : \"ch5\",\n  /st/r : \"ch6\",\n  /numfiles : 73,\n  /pbname : \"polycollection\"\n},\n/voices/2 : {\n  /spacing/range : [5., 12.],\n  /variety : 0.9,\n  /st/l : \"ch5\",\n  /st/r : \"ch6\",\n  /numfiles : 73,\n  /pbname : \"polycollection\"\n},\n/voices/3 : {\n  /spacing/range : [5., 12.],\n  /variety : 0.9,\n  /st/l : \"ch5\",\n  /st/r : \"ch6\",\n  /numfiles : 73,\n  /pbname : \"polycollection\"\n},\n/voices/4 : {\n  /spacing/range : [5., 12.],\n  /variety : 0.9,\n  /st/l : \"ch5\",\n  /st/r : \"ch6\",\n  /numfiles : 73,\n  /pbname : \"polycollection\"\n},\n/voices/5 : {\n  /spacing/range : [5., 12.],\n  /variety : 0.9,\n  /st/l : \"ch5\",\n  /st/r : \"ch6\",\n  /numfiles : 73,\n  /pbname : \"polycollection\"\n}"
                                                                                                }
 
                                                                                        }
                                                                        "background_color" : [ 0.768627450980392, 0.815686274509804, 0.76078431372549, 1.0 ],
                                                                        "fontface" : 0,
                                                                        "id" : "obj-16",
-                                                                       "linecount" : 5,
+                                                                       "linecount" : 4,
                                                                        "maxclass" : "o.compose",
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 525.0, 71.0, 213.0, 75.0 ],
-                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -32, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
-                                                                       "saved_bundle_length" : 168,
-                                                                       "text" : "/speed : 1,\n/spacing/range : [0.5, 2.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0."
+                                                                       "patching_rect" : [ 525.0, 71.0, 213.0, 62.0 ],
+                                                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -32, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
+                                                                       "saved_bundle_length" : 148,
+                                                                       "text" : "/spacing/range : [0.5, 2.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0."
                                                                }
 
                                                        }
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "" ],
                                                                        "patching_rect" : [ 824.0, 372.0, 263.0, 110.0 ],
-                                                                       "text" : "/segment : [0.5, 0.533],\n/speed : 1.,\n/spacing/range : [0.05, 0.3],\n/variety : 0.4,\n/density : 0.4,\n/numfiles : 73,\n/pbname : \"polycollection\""
+                                                                       "text" : "/spacing/range : [5., 12.],\n/variety : 0.9,\n/density : 0.5,\n/st/l : \"ch5\",\n/st/r : \"ch6\",\n/numfiles : 73,\n/pbname : \"polycollection\""
                                                                }
 
                                                        }
                                                                        "maxclass" : "ezdac~",
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 0,
-                                                                       "patching_rect" : [ 348.0, 662.0, 45.0, 45.0 ]
+                                                                       "patching_rect" : [ 348.0, 692.0, 51.5, 51.5 ]
                                                                }
 
                                                        }
                                                                        "numoutlets" : 2,
                                                                        "outlettype" : [ "signal", "" ],
                                                                        "parameter_enable" : 0,
-                                                                       "patching_rect" : [ 348.0, 502.0, 22.0, 140.0 ]
+                                                                       "patching_rect" : [ 348.0, 514.0, 22.0, 140.0 ]
                                                                }
 
                                                        }
                                                                        "id" : "obj-1",
                                                                        "maxclass" : "newobj",
                                                                        "numinlets" : 1,
-                                                                       "numoutlets" : 3,
-                                                                       "outlettype" : [ "multichannelsignal", "", "" ],
+                                                                       "numoutlets" : 4,
+                                                                       "outlettype" : [ "multichannelsignal", "multichannelsignal", "", "" ],
                                                                        "patching_rect" : [ 348.0, 465.0, 317.0, 22.0 ],
                                                                        "text" : "mc.poly~ engine_voice.fragments~ @voices 10 @target 0"
                                                                }
                                                "lines" : [                                                     {
                                                                "patchline" :                                                           {
                                                                        "destination" : [ "obj-15", 0 ],
-                                                                       "source" : [ "obj-1", 1 ]
+                                                                       "source" : [ "obj-1", 2 ]
                                                                }
 
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "destination" : [ "obj-26", 0 ],
-                                                                       "order" : 0,
+                                                                       "order" : 1,
                                                                        "source" : [ "obj-1", 0 ]
                                                                }
 
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "destination" : [ "obj-4", 0 ],
-                                                                       "order" : 1,
+                                                                       "order" : 0,
                                                                        "source" : [ "obj-1", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-1", 1 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "source" : [ "obj-11", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-5", 0 ],
+                                                                       "source" : [ "obj-12", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "source" : [ "obj-16", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-18", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
-                                                                       "destination" : [ "obj-6", 1 ],
-                                                                       "order" : 0,
-                                                                       "source" : [ "obj-4", 0 ]
+                                                                       "destination" : [ "obj-12", 0 ],
+                                                                       "source" : [ "obj-4", 1 ]
                                                                }
 
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "destination" : [ "obj-6", 0 ],
-                                                                       "order" : 1,
                                                                        "source" : [ "obj-4", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-5", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-6", 1 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 99.0, 549.0, 35.0, 22.0 ],
+                                       "patching_rect" : [ 130.0, 587.0, 35.0, 22.0 ],
                                        "text" : "open"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "buffername" : "somethin",
-                                       "id" : "obj-11",
-                                       "maxclass" : "waveform~",
-                                       "numinlets" : 5,
-                                       "numoutlets" : 6,
-                                       "outlettype" : [ "float", "float", "float", "float", "list", "" ],
-                                       "patching_rect" : [ 308.0, 583.0, 300.0, 58.0 ]
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "id" : "obj-36",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "signal", "" ],
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "signal", "signal", "" ],
                                        "patching_rect" : [ 199.0, 419.0, 206.0, 22.0 ],
                                        "text" : "engine_voice.fragments~ aux-sender"
                                }
                                        "maxclass" : "ezdac~",
                                        "numinlets" : 2,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 199.0, 609.0, 33.5, 33.5 ]
+                                       "patching_rect" : [ 199.0, 609.0, 42.0, 42.0 ]
                                }
 
                        }
                                        "numoutlets" : 5,
                                        "outlettype" : [ "signal", "signal", "", "float", "list" ],
                                        "parameter_enable" : 1,
-                                       "patching_rect" : [ 199.0, 458.0, 77.0, 139.0 ],
+                                       "patching_rect" : [ 199.0, 453.0, 112.0, 133.0 ],
                                        "saved_attribute_attributes" :                                  {
                                                "valueof" :                                             {
                                                        "parameter_longname" : "live.gain~",
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 308.0, 481.0, 300.0, 100.0 ]
+                                       "patching_rect" : [ 375.0, 453.0, 300.0, 100.0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-7", 1 ],
-                                       "order" : 1,
-                                       "source" : [ "obj-36", 0 ]
+                                       "source" : [ "obj-36", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-7", 0 ],
-                                       "order" : 2,
+                                       "order" : 1,
                                        "source" : [ "obj-36", 0 ]
                                }