From: equilet <2237372+equilet@users.noreply.github.com> Date: Fri, 13 Jun 2025 08:26:31 +0000 (-0700) Subject: added phrase stitcher feature X-Git-Tag: v0.1~86 X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=a18c5425052d37ee6a43d263f701f061dfb7dc94;p=sonogarden_maxproj.git added phrase stitcher feature --- diff --git a/engine_voice.fragments~.maxpat b/engine_voice.fragments~.maxpat index 4510b9f..b0f328c 100644 --- a/engine_voice.fragments~.maxpat +++ b/engine_voice.fragments~.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 96.0, 87.0, 1402.0, 914.0 ], + "rect" : [ 340.0, 87.0, 1402.0, 914.0 ], "gridsize" : [ 15.0, 15.0 ], "lefttoolbarpinned" : 1, "toptoolbarpinned" : 1, @@ -18,6 +18,170 @@ "bottomtoolbarpinned" : 1, "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 1000.0, 780.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 441.0, 314.0, 22.0, 22.0 ], + "text" : "t 2" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 567.0, 377.0, 22.0, 22.0 ], + "text" : "t 1" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 462.0, 255.0, 107.0, 22.0 ], + "text" : "o.if exists(/phrase)" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 387.0, 588.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 503.0, 112.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-5", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 605.0, 191.0, 50.0, 22.0 ], + "text" : "p check" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 605.0, 217.0, 94.0, 22.0 ], + "text" : "gate 2" + } + + } +, { + "box" : { + "fontsize" : 12.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 480.0, 165.0, 144.0, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "fontsize" : 12.0, + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 480.0, 308.0, 161.0, 22.0 ], + "text" : "t l l" + } + + } +, { "box" : { "id" : "obj-53", "maxclass" : "newobj", @@ -63,7 +227,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 344.0, 151.0, 155.0, 22.0 ], + "patching_rect" : [ 344.0, 137.0, 155.0, 22.0 ], "text" : "o.route /outputgain" } @@ -170,7 +334,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 234.0, 151.0, 97.0, 22.0 ], + "patching_rect" : [ 234.0, 177.0, 97.0, 22.0 ], "text" : "t l l" } @@ -182,7 +346,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 480.0, 194.0, 99.0, 22.0 ], + "patching_rect" : [ 480.0, 248.0, 99.0, 22.0 ], "text" : "vt.handle_variety" } @@ -352,30 +516,6 @@ "text" : "f" } - } -, { - "box" : { - "id" : "obj-47", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 763.0, 404.0, 29.5, 22.0 ], - "text" : "0." - } - - } -, { - "box" : { - "id" : "obj-41", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 763.0, 367.0, 38.0, 22.0 ], - "text" : "del 0." - } - } , { "box" : { @@ -384,7 +524,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "float" ], - "patching_rect" : [ 508.0, 362.0, 29.5, 22.0 ], + "patching_rect" : [ 508.0, 430.0, 29.5, 22.0 ], "text" : "t 1 f" } @@ -410,7 +550,7 @@ "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "", "", "", "", "FullPacket" ], - "patching_rect" : [ 480.0, 299.0, 488.0, 22.0 ], + "patching_rect" : [ 480.0, 368.0, 488.0, 22.0 ], "text" : "o.route /gain /line /auxsend /st" } @@ -553,7 +693,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "" ], - "patching_rect" : [ 480.0, 330.0, 47.0, 22.0 ], + "patching_rect" : [ 480.0, 398.0, 47.0, 22.0 ], "text" : "sel 0." } @@ -639,25 +779,12 @@ "text" : "in 1" } - } -, { - "box" : { - "fontsize" : 12.0, - "id" : "obj-42", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "stop" ], - "patching_rect" : [ 480.0, 231.0, 302.0, 22.0 ], - "text" : "t l l stop" - } - } , { "box" : { "id" : "obj-19", "maxclass" : "newobj", - "numinlets" : 1, + "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "FullPacket", "FullPacket" ], "patcher" : { @@ -671,16 +798,40 @@ } , "classnamespace" : "box", - "rect" : [ 244.0, 129.0, 630.0, 690.0 ], + "rect" : [ 59.0, 267.0, 630.0, 690.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "id" : "obj-18", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 546.0, 46.0, 35.0, 20.0 ], + "text" : "bang" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-9", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 508.0, 41.0, 30.0, 30.0 ] + } + + } +, { "box" : { "id" : "obj-11", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 216.0, 559.5, 55.0, 20.0 ], + "patching_rect" : [ 174.0, 602.0, 55.0, 20.0 ], "text" : "main out" } @@ -932,7 +1083,7 @@ ] } , - "patching_rect" : [ 184.0, 346.0, 90.0, 22.0 ], + "patching_rect" : [ 142.0, 389.0, 90.0, 22.0 ], "text" : "p handle_delay" } @@ -941,7 +1092,7 @@ "box" : { "id" : "obj-8", "maxclass" : "newobj", - "numinlets" : 1, + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], "patcher" : { @@ -955,20 +1106,673 @@ } , "classnamespace" : "box", - "rect" : [ 701.0, 173.0, 1000.0, 780.0 ], + "rect" : [ 83.0, 267.0, 837.0, 568.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "id" : "obj-18", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 295.0, 65.0, 35.0, 20.0 ], + "text" : "bang" + } + + } +, { + "box" : { + "id" : "obj-8", + "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" : [ 130.0, 143.0, 643.0, 410.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "fontface" : 0, + "id" : "obj-1", + "linecount" : 11, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 50.0, 100.0, 547.0, 159.0 ], + "text" : "/segment ??= [0., 1.], \n/spacing/range ??= [0., 0.],\n/gain/range ??= [0.8, 1.2],\n/trajspeed/range ??= [20, 50],\n/speed ??= 1.,\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/spacing/range *= 1000.,\n/area = /segment * /buffer/len,\n/dur = abs(/area[[0]] - /area[[1]]) * (1. / /speed),\n/line = [/area[[0]], 0, /area[[1]], /dur]" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-5", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 307.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-5", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 87.0, 187.0, 129.0, 22.0 ], + "text" : "p o.default_processing" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 259.0, 60.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 579.0, 144.0, 439.0, 636.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 41.0, 506.0, 22.0, 22.0 ], + "text" : "t b" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 41.0, 546.0, 93.0, 22.0 ], + "text" : "print end_of_list" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 221.0, 546.0, 60.0, 22.0 ], + "text" : "print /nlist" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 221.0, 510.0, 74.0, 22.0 ], + "text" : "o.route /nlist" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-11", + "linecount" : 2, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 84.0, 343.0, 209.0, 44.0 ], + "text" : "/buffer/name = first(/nlist), \n/nlist = rest(/nlist)" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 271.0, 25.0, 35.0, 20.0 ], + "text" : "bang" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 41.0, 413.0, 226.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" : { + "comment" : "", + "id" : "obj-4", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 173.5, 546.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 84.0, 312.0, 88.0, 22.0 ], + "text" : "o.var" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 237.0, 20.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-20", + "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" : [ 59.0, 106.0, 250.0, 495.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 89.0, 290.0, 69.0, 22.0 ], + "text" : "o.pack /rlist" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 89.0, 320.0, 102.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "clear", "int" ], + "patching_rect" : [ 111.0, 162.0, 47.0, 22.0 ], + "text" : "t clear i" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 50.0, 225.0, 29.5, 22.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "patching_rect" : [ 50.0, 194.0, 108.0, 22.0 ], + "text" : "urn" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 89.0, 260.0, 51.0, 22.0 ], + "text" : "zl.group" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 50.0, 132.0, 96.0, 22.0 ], + "text" : "uzi" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "FullPacket" ], + "patching_rect" : [ 50.0, 100.0, 141.0, 22.0 ], + "text" : "o.route /phrase /numfiles" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 89.0, 402.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "source" : [ "obj-14", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 1 ], + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 41.0, 105.0, 79.0, 22.0 ], + "text" : "p o.build_rlist" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-15", + "linecount" : 9, + "maxclass" : "o.expr.codebox", + "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)" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 41.0, 76.0, 362.0, 22.0 ], + "text" : "o.if exists(/phrase) && /phrase > 0" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-9", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 384.0, 546.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 41.0, 20.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "midpoints" : [ 257.5, 446.0, 362.749755859375, 446.0, 362.749755859375, 302.70343017578125, 162.5, 302.70343017578125 ], + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-5", 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", - "linecount" : 13, "maxclass" : "o.expr.codebox", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 50.0, 100.0, 560.0, 185.0 ], - "text" : "/segment ??= [0., 1.], \n/gain/range ??= [0.8, 1.2],\n/trajspeed/range ??= [20, 50],\n/spacing/range *= 1000.,\n/speed ??= 1.,\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/area = /segment * /buffer/len,\n/dur = abs(/area[[0]] - /area[[1]]) * (1. / /speed),\n/line = [/area[[0]], 0, /area[[1]], /dur], \n/sdelay = scale(/r/space, 0., 1., /spacing/range[[0]], /spacing/range[[1]]), \n/duroff = /dur - 20." + "patching_rect" : [ 259.0, 345.0, 507.0, 31.0 ], + "text" : "/sdelay = scale(/r/space, 0., 1., /spacing/range[[0]], /spacing/range[[1]])" } } @@ -981,7 +1785,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + "patching_rect" : [ 87.0, 60.0, 30.0, 30.0 ] } } @@ -993,12 +1797,19 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 50.0, 511.0, 30.0, 30.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 ] @@ -1007,15 +1818,36 @@ } , { "patchline" : { - "destination" : [ "obj-27", 0 ], + "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" : [ 236.0, 298.0, 131.0, 22.0 ], + "patching_rect" : [ 142.0, 247.0, 385.0, 22.0 ], "text" : "p playback_processing" } @@ -1568,7 +2400,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 184.0, 561.0, 30.0, 30.0 ] + "patching_rect" : [ 142.0, 604.0, 30.0, 30.0 ] } } @@ -1639,11 +2471,18 @@ "source" : [ "obj-8", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "source" : [ "obj-9", 0 ] + } + } ] } , - "patching_rect" : [ 480.0, 272.0, 113.0, 22.0 ], + "patching_rect" : [ 480.0, 279.0, 219.0, 22.0 ], "text" : "p process_bundle" } @@ -1682,7 +2521,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 622.0, 272.0, 116.0, 22.0 ], + "patching_rect" : [ 622.0, 338.0, 116.0, 22.0 ], "text" : "o.route /buffer/name" } @@ -1830,7 +2669,7 @@ } , { "patchline" : { - "destination" : [ "obj-42", 0 ], + "destination" : [ "obj-19", 0 ], "source" : [ "obj-17", 0 ] } @@ -1844,7 +2683,7 @@ } , { "patchline" : { - "destination" : [ "obj-1", 0 ], + "destination" : [ "obj-42", 0 ], "source" : [ "obj-19", 0 ] } @@ -1948,16 +2787,16 @@ } , { "patchline" : { - "destination" : [ "obj-17", 0 ], - "midpoints" : [ 743.5, 468.69146728515625, 901.9539794921875, 468.69146728515625, 901.9539794921875, 186.935867309570312, 489.5, 186.935867309570312 ], - "source" : [ "obj-28", 1 ] + "destination" : [ "obj-32", 0 ], + "source" : [ "obj-28", 0 ] } } , { "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-28", 0 ] + "destination" : [ "obj-43", 1 ], + "midpoints" : [ 743.5, 438.0, 987.839599609375, 438.0, 987.839599609375, 207.0, 689.5, 207.0 ], + "source" : [ "obj-28", 1 ] } } @@ -2028,15 +2867,15 @@ } , { "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-37", 1 ] + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-37", 0 ] } } , { "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-37", 0 ] + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-37", 1 ] } } @@ -2120,14 +2959,21 @@ } , { "patchline" : { - "destination" : [ "obj-47", 0 ], + "destination" : [ "obj-17", 0 ], "source" : [ "obj-41", 0 ] } } , { "patchline" : { - "destination" : [ "obj-19", 0 ], + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-41", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], "source" : [ "obj-42", 0 ] } @@ -2141,22 +2987,29 @@ } , { "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-42", 2 ] + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-43", 0 ] } } , { "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-46", 0 ] + "destination" : [ "obj-19", 1 ], + "source" : [ "obj-43", 1 ] } } , { "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-47", 0 ] + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-46", 0 ] } } @@ -2179,15 +3032,6 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "order" : 1, - "source" : [ "obj-51", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-41", 0 ], - "order" : 0, "source" : [ "obj-51", 1 ] } @@ -2235,7 +3079,7 @@ , { "patchline" : { "destination" : [ "obj-28", 0 ], - "midpoints" : [ 243.5, 533.210205078125, 229.161376953125, 533.210205078125, 229.161376953125, 402.505340576171875, 606.5, 402.505340576171875 ], + "midpoints" : [ 243.5, 533.210205078125, 770.43621826171875, 533.210205078125, 770.43621826171875, 402.505340576171875, 606.5, 402.505340576171875 ], "source" : [ "obj-9", 0 ] }