From: equilet <2237372+equilet@users.noreply.github.com> Date: Tue, 1 Jul 2025 02:26:16 +0000 (-0700) Subject: phrase now plays indefinitely X-Git-Tag: v0.1~15 X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=a38858314e3bab607edb9993ad090091768454c9;p=sonogarden_maxproj.git phrase now plays indefinitely --- diff --git a/engine_voice.fragments~.maxhelp b/engine_voice.fragments~.maxhelp index 43380b3..81c285c 100644 --- a/engine_voice.fragments~.maxhelp +++ b/engine_voice.fragments~.maxhelp @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 103.0, 141.0, 1127.0, 744.0 ], + "rect" : [ 103.0, 89.0, 1166.0, 744.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { @@ -55,13 +55,13 @@ "box" : { "fontface" : 0, "id" : "obj-20", - "linecount" : 5, + "linecount" : 6, "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 525.0, 315.0, 220.0, 85.0 ], - "text" : "/segment : [0., 1.],\n/speed : 1.,\n/phrase : 6,\n/numfiles : 34,\n/pbname : \"audiocollection\"" + "patching_rect" : [ 525.0, 315.0, 220.0, 97.0 ], + "text" : "/segment : [0., 1.],\n/speed : 1.,\n/phrase : 3,\n/spacing/range : [0.5, 1.5],\n/numfiles : 50,\n/pbname : \"audiocollection\"" } } @@ -104,15 +104,15 @@ "box" : { "fontface" : 0, "id" : "obj-11", - "linecount" : 3, + "linecount" : 4, "maxclass" : "o.compose", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 37.0, 221.0, 158.0, 49.0 ], - "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, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 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, 16, 47, 112, 104, 114, 97, 115, 101, 0, 44, 105, 0, 0, 0, 0, 0, 6 ], - "saved_bundle_length" : 96, - "text" : "/segment : [0., 1.],\n/speed : 1.,\n/phrase : 6" + "patching_rect" : [ 37.0, 221.0, 199.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, 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, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 112, 104, 114, 97, 115, 101, 0, 44, 105, 0, 0, 0, 0, 0, 3, 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, 63, -8, 0, 0, 0, 0, 0, 0 ], + "saved_bundle_length" : 136, + "text" : "/segment : [0., 1.],\n/speed : 1.,\n/phrase : 3,\n/spacing/range : [0.5, 1.5]" } } @@ -125,9 +125,9 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 755.0, 142.0, 239.0, 23.0 ], - "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 112, 97, 116, 104, 0, 0, 0, 44, 115, 0, 0, 67, 101, 108, 108, 111, 70, 97, 117, 110, 101, 70, 114, 97, 103, 109, 101, 110, 116, 115, 0 ], - "saved_bundle_length" : 52, - "text" : "/path : \"CelloFauneFragments\"" + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 112, 97, 116, 104, 0, 0, 0, 44, 115, 0, 0, 99, 111, 117, 110, 116, 105, 110, 103, 0, 0, 0, 0 ], + "saved_bundle_length" : 44, + "text" : "/path : \"counting\"" } } @@ -434,7 +434,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 818.0, 236.0, 278.0, 338.0 ], + "patching_rect" : [ 818.0, 236.0, 283.0, 338.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, each time the fragment voice plays a file. It is the spacing between successive plays of the file. There is always a delay incurred before the first file is played, chosen from the same range. A range of [0. 0.] will bypass the delay altogether and play the newly chosen files immediately after the previous file ends.\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" } diff --git a/engine_voice.fragments~.maxpat b/engine_voice.fragments~.maxpat index 3e93deb..dee06a6 100644 --- a/engine_voice.fragments~.maxpat +++ b/engine_voice.fragments~.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 218.0, 177.0, 1372.0, 742.0 ], + "rect" : [ 34.0, 91.0, 1372.0, 742.0 ], "gridsize" : [ 15.0, 15.0 ], "lefttoolbarpinned" : 1, "toptoolbarpinned" : 1, @@ -928,7 +928,7 @@ } , "classnamespace" : "box", - "rect" : [ 59.0, 87.0, 1000.0, 779.0 ], + "rect" : [ 59.0, 87.0, 1000.0, 746.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { @@ -1144,10 +1144,341 @@ } , "classnamespace" : "box", - "rect" : [ 83.0, 267.0, 837.0, 568.0 ], + "rect" : [ 83.0, 265.0, 837.0, 568.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 865.0, 125.0, 541.0, 632.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 377.0, 233.0, 45.0, 22.0 ], + "text" : "/ 9999." + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 377.0, 201.0, 86.0, 22.0 ], + "text" : "random 10000" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 39.0, 233.0, 45.0, 22.0 ], + "text" : "/ 9999." + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 39.0, 201.0, 86.0, 22.0 ], + "text" : "random 10000" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 105.5, 290.0, 215.0, 22.0 ], + "text" : "o.pack /r/space /r/gain /r/tspeed /r/lsize" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 258.0, 233.0, 45.0, 22.0 ], + "text" : "/ 9999." + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 157.0, 233.0, 45.0, 22.0 ], + "text" : "/ 9999." + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-9", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 239.0, 531.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 330.0, 106.0, 29.5, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 330.0, 34.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "bang", "bang", "bang", "bang" ], + "patching_rect" : [ 145.0, 151.0, 52.0, 22.0 ], + "text" : "t b b b b" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 311.0, 323.0, 48.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 258.0, 201.0, 86.0, 22.0 ], + "text" : "random 10000" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 157.0, 201.0, 86.0, 22.0 ], + "text" : "random 10000" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 1 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 2 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 3 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 87.0, 154.0, 59.0, 22.0 ], + "text" : "p o.rand3" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-27", + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 87.0, 345.0, 507.0, 31.0 ], + "text" : "/sdelay = scale(/r/space, 0., 1., /spacing/range[[0]], /spacing/range[[1]])" + } + + } +, { "box" : { "id" : "obj-18", "maxclass" : "comment", @@ -1272,66 +1603,198 @@ } , "classnamespace" : "box", - "rect" : [ 579.0, 144.0, 781.0, 676.0 ], + "rect" : [ 494.0, 87.0, 733.0, 745.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { "box" : { - "fontface" : 0, - "id" : "obj-11", - "linecount" : 2, - "maxclass" : "o.expr.codebox", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 248.0, 440.0, 209.0, 44.0 ], - "text" : "/nlist = rest(/nlist), \n/buffer/name = first(/nlist)" - } - - } -, { - "box" : { - "id" : "obj-10", + "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 41.0, 502.0, 22.0, 22.0 ], - "text" : "t b" - } + "outlettype" : [ "FullPacket" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 865.0, 125.0, 541.0, 632.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 39.0, 233.0, 45.0, 22.0 ], + "text" : "/ 9999." + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 39.0, 201.0, 86.0, 22.0 ], + "text" : "random 10000" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 39.0, 266.0, 90.0, 22.0 ], + "text" : "o.pack /r/space" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-9", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 239.0, 531.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 330.0, 106.0, 29.5, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 330.0, 34.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 311.0, 323.0, 48.0, 22.0 ], + "text" : "o.union" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-8", 1 ] + } - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 41.0, 574.0, 93.0, 22.0 ], - "text" : "print end_of_list" + } + ] + } +, + "patching_rect" : [ 41.0, 651.0, 109.0, 22.0 ], + "presentation_linecount" : 3, + "text" : "p o.recalc_spacing" } } , { "box" : { - "id" : "obj-13", - "maxclass" : "newobj", + "fontface" : 0, + "id" : "obj-6", + "maxclass" : "o.expr.codebox", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 246.0, 591.0, 60.0, 22.0 ], - "text" : "print /nlist" + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 41.0, 608.0, 229.0, 31.0 ], + "text" : "/buffer/name = /nlist[[/count]]" } } , { "box" : { - "id" : "obj-12", - "maxclass" : "newobj", + "fontface" : 0, + "id" : "obj-11", + "linecount" : 4, + "maxclass" : "o.expr.codebox", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 246.0, 555.0, 74.0, 22.0 ], - "text" : "o.route /nlist" + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 292.0, 608.0, 229.0, 70.0 ], + "text" : "/count++, \nif(/count > /len - 1, \n /count = 0\n)" } } @@ -1353,22 +1816,10 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 41.0, 413.0, 226.0, 22.0 ], + "patching_rect" : [ 41.0, 580.0, 270.0, 22.0 ], "text" : "t l l" } - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 41.0, 462.0, 151.5, 22.0 ], - "text" : "o.if length(/nlist) < 1" - } - } , { "box" : { @@ -1378,7 +1829,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 173.5, 546.0, 30.0, 30.0 ] + "patching_rect" : [ 41.0, 705.0, 30.0, 30.0 ] } } @@ -1389,7 +1840,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 84.0, 312.0, 88.0, 22.0 ], + "patching_rect" : [ 237.0, 544.0, 88.0, 22.0 ], "text" : "o.var" } @@ -1644,7 +2095,7 @@ ] } , - "patching_rect" : [ 41.0, 105.0, 79.0, 22.0 ], + "patching_rect" : [ 41.0, 121.0, 79.0, 22.0 ], "text" : "p o.build_rlist" } @@ -1658,8 +2109,8 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 41.0, 139.0, 295.0, 134.0 ], - "text" : "/spacing/range = [0., 0.],\n/nlist = nfill(length(/rlist), 0),\nmap(\n lambda([r, i], \n /nlist[[i]] = /pbname + \".\" + r\n ), /rlist, aseq(0, length(/rlist))\n), \n/buffer/name = first(/nlist),\ndelete(/rlist)" + "patching_rect" : [ 41.0, 150.0, 295.0, 134.0 ], + "text" : "/len = length(/rlist),\n/nlist = nfill(/len, 0),\nmap(\n lambda([r, i], \n /nlist[[i]] = /pbname + \".\" + r\n ), /rlist, aseq(0, /len)\n), \n/count = 0,\ndelete(/rlist)" } } @@ -1670,7 +2121,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 41.0, 76.0, 362.0, 22.0 ], + "patching_rect" : [ 41.0, 76.0, 501.0, 22.0 ], "text" : "o.if exists(/phrase) && /phrase > 0" } @@ -1683,7 +2134,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 384.0, 546.0, 30.0, 30.0 ] + "patching_rect" : [ 532.0, 705.0, 30.0, 30.0 ] } } @@ -1711,14 +2162,14 @@ , { "patchline" : { "destination" : [ "obj-2", 1 ], - "midpoints" : [ 257.5, 499.0400390625, 475.2808837890625, 499.0400390625, 475.2808837890625, 302.70343017578125, 162.5, 302.70343017578125 ], + "midpoints" : [ 301.5, 690.29248046875, 498.5758056640625, 690.29248046875, 498.5758056640625, 534.77606201171875, 315.5, 534.77606201171875 ], "source" : [ "obj-11", 0 ] } } , { "patchline" : { - "destination" : [ "obj-13", 0 ], + "destination" : [ "obj-4", 0 ], "source" : [ "obj-12", 0 ] } @@ -1774,293 +2225,70 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], + "destination" : [ "obj-12", 0 ], "source" : [ "obj-6", 0 ] } } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-7", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 87.0, 288.0, 191.0, 22.0 ], - "text" : "p o.handle_phrase" - } - - } -, { - "box" : { - "fontface" : 0, - "id" : "obj-27", - "maxclass" : "o.expr.codebox", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 259.0, 345.0, 507.0, 31.0 ], - "text" : "/sdelay = scale(/r/space, 0., 1., /spacing/range[[0]], /spacing/range[[1]])" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-4", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 87.0, 60.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-6", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 87.0, 439.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-9", 1 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-9", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 142.0, 247.0, 385.0, 22.0 ], - "text" : "p playback_processing" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 886.0, 125.0, 320.0, 506.0 ], - "gridsize" : [ 15.0, 15.0 ], - "subpatcher_template" : "Untitled5_template", - "boxes" : [ { - "box" : { - "format" : 6, - "id" : "obj-11", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 208.0, 369.0, 96.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 168.0, 305.0, 100.0, 22.0 ], - "text" : "o.pack /buffer/len" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 80.0, 174.0, 31.0, 22.0 ], - "text" : "t b s" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 92.0, 209.0, 72.0, 22.0 ], - "text" : "prepend set" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 80.0, 143.0, 116.0, 22.0 ], - "text" : "o.route /buffer/name" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 10, - "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int", "" ], - "patching_rect" : [ 80.0, 249.0, 183.0, 22.0 ], - "text" : "info~ buffet" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-9", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 49.0, 402.0, 30.0, 30.0 ] - } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-7", 0 ] + } - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 49.0, 105.0, 29.5, 22.0 ], - "text" : "t l l" + } + ] + } +, + "patching_rect" : [ 87.0, 288.0, 191.0, 22.0 ], + "text" : "p o.handle_phrase" } } , { "box" : { "comment" : "", - "id" : "obj-7", + "id" : "obj-4", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 49.0, 33.0, 30.0, 30.0 ] + "patching_rect" : [ 87.0, 60.0, 30.0, 30.0 ] } } , { "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 49.0, 359.0, 48.0, 22.0 ], - "text" : "o.union" + "comment" : "", + "id" : "obj-6", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 87.0, 439.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-11", 0 ], - "order" : 0, - "source" : [ "obj-1", 6 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "order" : 1, - "source" : [ "obj-1", 6 ] + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], + "destination" : [ "obj-9", 1 ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-3", 0 ] + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-27", 0 ] } } @@ -2070,60 +2298,39 @@ "source" : [ "obj-4", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-4", 1 ] - } - } , { "patchline" : { "destination" : [ "obj-9", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 1 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-7", 0 ] + "source" : [ "obj-8", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-8", 1 ] + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-9", 1 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-9", 0 ] } } ] } , - "patching_rect" : [ 142.0, 187.0, 92.0, 22.0 ], - "text" : "p o.getbufferlen" + "patching_rect" : [ 142.0, 247.0, 385.0, 22.0 ], + "text" : "p playback_processing" } } , { "box" : { - "id" : "obj-1", + "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, @@ -2139,30 +2346,31 @@ } , "classnamespace" : "box", - "rect" : [ 886.0, 125.0, 541.0, 632.0 ], + "rect" : [ 886.0, 125.0, 320.0, 506.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 377.0, 233.0, 45.0, 22.0 ], - "text" : "/ 9999." + "format" : 6, + "id" : "obj-11", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 208.0, 369.0, 96.0, 22.0 ] } } , { "box" : { - "id" : "obj-14", + "id" : "obj-6", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 377.0, 201.0, 86.0, 22.0 ], - "text" : "random 10000" + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 168.0, 305.0, 100.0, 22.0 ], + "text" : "o.pack /buffer/len" } } @@ -2170,59 +2378,47 @@ "box" : { "id" : "obj-4", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 39.0, 233.0, 45.0, 22.0 ], - "text" : "/ 9999." + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 80.0, 174.0, 31.0, 22.0 ], + "text" : "t b s" } } , { "box" : { - "id" : "obj-10", + "id" : "obj-3", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 39.0, 201.0, 86.0, 22.0 ], - "text" : "random 10000" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 105.5, 290.0, 215.0, 22.0 ], - "text" : "o.pack /r/space /r/gain /r/tspeed /r/lsize" + "patching_rect" : [ 92.0, 209.0, 72.0, 22.0 ], + "text" : "prepend set" } } , { "box" : { - "id" : "obj-12", + "id" : "obj-2", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 258.0, 233.0, 45.0, 22.0 ], - "text" : "/ 9999." + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 80.0, 143.0, 116.0, 22.0 ], + "text" : "o.route /buffer/name" } } , { "box" : { - "id" : "obj-11", + "id" : "obj-1", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 157.0, 233.0, 45.0, 22.0 ], - "text" : "/ 9999." + "numinlets" : 1, + "numoutlets" : 10, + "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int", "" ], + "patching_rect" : [ 80.0, 249.0, 183.0, 22.0 ], + "text" : "info~ buffet" } } @@ -2234,7 +2430,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 239.0, 531.0, 30.0, 30.0 ] + "patching_rect" : [ 49.0, 402.0, 30.0, 30.0 ] } } @@ -2244,9 +2440,9 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 330.0, 106.0, 29.5, 22.0 ], - "text" : "t b l" + "outlettype" : [ "", "" ], + "patching_rect" : [ 49.0, 105.0, 29.5, 22.0 ], + "text" : "t l l" } } @@ -2259,19 +2455,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 330.0, 34.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "bang", "bang", "bang", "bang" ], - "patching_rect" : [ 145.0, 151.0, 52.0, 22.0 ], - "text" : "t b b b b" + "patching_rect" : [ 49.0, 33.0, 30.0, 30.0 ] } } @@ -2282,88 +2466,38 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 311.0, 323.0, 48.0, 22.0 ], + "patching_rect" : [ 49.0, 359.0, 48.0, 22.0 ], "text" : "o.union" } - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 258.0, 201.0, 86.0, 22.0 ], - "text" : "random 10000" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 157.0, 201.0, 86.0, 22.0 ], - "text" : "random 10000" - } - } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 1 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 2 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 3 ], - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-11", 0 ], + "order" : 0, + "source" : [ "obj-1", 6 ] } } , { "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-14", 0 ] + "destination" : [ "obj-6", 0 ], + "order" : 1, + "source" : [ "obj-1", 6 ] } } , { "patchline" : { - "destination" : [ "obj-11", 0 ], + "destination" : [ "obj-4", 0 ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { - "destination" : [ "obj-12", 0 ], + "destination" : [ "obj-1", 0 ], "source" : [ "obj-3", 0 ] } @@ -2377,36 +2511,22 @@ } , { "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-6", 3 ] + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-4", 1 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-6", 1 ] + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-5", 0 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-6", 2 ] + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-6", 0 ] } } @@ -2419,14 +2539,14 @@ } , { "patchline" : { - "destination" : [ "obj-5", 1 ], + "destination" : [ "obj-2", 0 ], "source" : [ "obj-8", 1 ] } } , { "patchline" : { - "destination" : [ "obj-6", 0 ], + "destination" : [ "obj-5", 0 ], "source" : [ "obj-8", 0 ] } @@ -2434,8 +2554,8 @@ ] } , - "patching_rect" : [ 142.0, 217.0, 59.0, 22.0 ], - "text" : "p o.rand3" + "patching_rect" : [ 142.0, 187.0, 92.0, 22.0 ], + "text" : "p o.getbufferlen" } } @@ -2468,13 +2588,6 @@ "lines" : [ { "patchline" : { "destination" : [ "obj-8", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], "source" : [ "obj-2", 0 ] }