From c9bbd2ff7ef8e6555eddbecc506ce0d782266fe5 Mon Sep 17 00:00:00 2001 From: equilet <2237372+equilet@users.noreply.github.com> Date: Wed, 16 Apr 2025 17:19:11 -0700 Subject: [PATCH] cleaning up in preparation for updates --- engine_voice~.maxpat | 1258 ++++++++++++++++++------------------------ 1 file changed, 546 insertions(+), 712 deletions(-) diff --git a/engine_voice~.maxpat b/engine_voice~.maxpat index f160215..7da1c75 100644 --- a/engine_voice~.maxpat +++ b/engine_voice~.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 283.0, 111.0, 1347.0, 889.0 ], + "rect" : [ 397.0, 105.0, 1129.0, 822.0 ], "gridsize" : [ 15.0, 15.0 ], "lefttoolbarpinned" : 1, "toptoolbarpinned" : 1, @@ -19,99 +19,202 @@ "subpatcher_template" : "Untitled5_template", "boxes" : [ { "box" : { - "fontsize" : 12.0, - "id" : "obj-36", + "id" : "obj-5", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 883.0, 735.0, 81.0, 20.0 ], + "text" : "for [busymap]" + } + + } +, { + "box" : { + "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 836.0, 734.0, 35.0, 22.0 ], + "text" : "out 1" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-48", + "maxclass" : "o.expr.codebox", + "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 144.0, 96.0, 114.0, 22.0 ], - "text" : "o.if exists(/stop)" + "patching_rect" : [ 194.0, 119.0, 120.0, 31.0 ], + "text" : "/firstin = true" } } , { "box" : { - "id" : "obj-62", + "id" : "obj-46", "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 0.0, 1000.0, 780.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "id" : "obj-26", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 133.0, 59.0, 22.0 ], + "text" : "mute 1, 0" + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.0, 100.0, 58.0, 22.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-45", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 215.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-26", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 61.0, 556.0, 44.0, 22.0 ], + "text" : "p init" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 203.5, 673.0, 42.0, 22.0 ], - "text" : "edge~" + "numoutlets" : 0, + "patching_rect" : [ 921.0, 455.0, 160.0, 20.0 ], + "text" : "does nothing currently" } } , { "box" : { - "id" : "obj-61", + "fontsize" : 12.0, + "id" : "obj-40", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 203.0, 646.0, 43.0, 22.0 ], - "text" : "==~ 0." + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 883.0, 416.0, 89.0, 22.0 ], + "text" : "o.route /tspeed" } } , { "box" : { - "id" : "obj-60", + "fontsize" : 12.0, + "id" : "obj-37", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 56.0, 400.0, 29.0, 22.0 ], - "text" : "thru" + "numoutlets" : 6, + "outlettype" : [ "", "", "", "", "", "FullPacket" ], + "patching_rect" : [ 367.0, 342.0, 504.0, 22.0 ], + "text" : "o.route /gain /line /loop /spacing /auxsend" } } , { "box" : { - "format" : 6, - "id" : "obj-52", - "maxclass" : "flonum", + "fontsize" : 12.0, + "id" : "obj-36", + "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 305.0, 587.0, 50.0, 22.0 ] + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 194.0, 176.0, 192.0, 22.0 ], + "text" : "o.if exists(/stop)" } } , { "box" : { - "id" : "obj-58", + "id" : "obj-62", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 48.0, 761.0, 91.0, 22.0 ], - "text" : "sprintf /poly/%d" + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 195.0, 637.0, 52.0, 22.0 ], + "text" : "edge~" } } , { "box" : { - "id" : "obj-49", + "id" : "obj-61", "maxclass" : "newobj", - "numinlets" : 1, + "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 48.0, 787.0, 72.0, 22.0 ], - "text" : "prepend set" + "outlettype" : [ "signal" ], + "patching_rect" : [ 194.0, 610.0, 53.0, 22.0 ], + "text" : "==~ 0." } } , { "box" : { - "id" : "obj-20", + "id" : "obj-58", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 703.0, 810.0, 109.0, 22.0 ], - "text" : "o.prepend /nothing" + "outlettype" : [ "" ], + "patching_rect" : [ 61.0, 706.0, 101.0, 22.0 ], + "text" : "sprintf /poly/%d" } } @@ -122,7 +225,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "" ], - "patching_rect" : [ 354.0, 538.0, 37.0, 22.0 ], + "patching_rect" : [ 367.0, 462.0, 47.0, 22.0 ], "text" : "sel 0." } @@ -135,7 +238,7 @@ "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 104.5, 709.0, 24.0, 24.0 ] + "patching_rect" : [ 90.0, 668.0, 23.0, 23.0 ] } } @@ -146,7 +249,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], - "patching_rect" : [ 181.0, 554.0, 25.0, 22.0 ], + "patching_rect" : [ 194.0, 507.0, 35.0, 22.0 ], "text" : "t 0." } @@ -158,7 +261,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 498.0, 840.0, 34.0, 22.0 ], + "patching_rect" : [ 614.0, 682.0, 160.0, 22.0 ], "text" : "*~ 0." } @@ -169,34 +272,10 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 498.0, 880.0, 107.0, 22.0 ], + "patching_rect" : [ 614.0, 734.0, 117.0, 22.0 ], "text" : "send~ #1" } - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 56.0, 326.0, 59.0, 22.0 ], - "text" : "mute 1, 0" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 56.0, 259.0, 58.0, 22.0 ], - "text" : "loadbang" - } - } , { "box" : { @@ -205,21 +284,10 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "int", "int", "int" ], - "patching_rect" : [ 48.0, 665.0, 132.0, 22.0 ], + "patching_rect" : [ 61.0, 637.0, 76.0, 22.0 ], "text" : "thispoly~" } - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 740.0, 872.0, 35.0, 22.0 ], - "text" : "out 1" - } - } , { "box" : { @@ -227,7 +295,11 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 415.0, 872.0, 42.0, 22.0 ], + "patching_rect" : [ 428.0, 734.0, 52.0, 22.0 ], + "saved_object_attributes" : { + "attr_comment" : "" + } +, "text" : "out~ 1" } @@ -239,7 +311,11 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 297.0, 32.0, 28.0, 22.0 ], + "patching_rect" : [ 292.0, 50.0, 38.0, 22.0 ], + "saved_object_attributes" : { + "attr_comment" : "" + } +, "text" : "in 1" } @@ -250,46 +326,20 @@ "id" : "obj-42", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "int", "start" ], - "patching_rect" : [ 354.0, 283.0, 188.799999999999841, 22.0 ], - "text" : "t l l 0 start" - } - - } -, { - "box" : { - "fontsize" : 12.0, - "id" : "obj-41", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 5, - "outlettype" : [ "", "", "", "", "FullPacket" ], - "patching_rect" : [ 893.0, 480.0, 231.0, 22.0 ], - "text" : "o.route /line /loop /p /auxsend" + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "patching_rect" : [ 367.0, 252.0, 257.0, 22.0 ], + "text" : "t l l 0" } } , { "box" : { - "fontsize" : 12.0, - "id" : "obj-40", + "id" : "obj-19", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 527.0, 124.0, 128.0, 22.0 ], - "text" : "o.route /spacing/range" - } - - } -, { - "box" : { - "id" : "obj-33", - "maxclass" : "newobj", - "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "" ], + "outlettype" : [ "FullPacket" ], "patcher" : { "fileversion" : 1, "appversion" : { @@ -301,31 +351,18 @@ } , "classnamespace" : "box", - "rect" : [ 59.0, 106.0, 486.0, 539.0 ], + "rect" : [ 178.0, 103.0, 656.0, 619.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { "box" : { - "id" : "obj-6", - "maxclass" : "newobj", + "id" : "obj-11", + "linecount" : 2, + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 260.0, 104.0, 74.0, 22.0 ], - "text" : "unpack 0. 0." - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-5", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 256.0, 51.0, 30.0, 30.0 ] + "numoutlets" : 0, + "patching_rect" : [ 165.0, 91.5, 199.0, 33.0 ], + "text" : "process bundle if first time through, otherwise we're looping" } } @@ -333,397 +370,430 @@ "box" : { "id" : "obj-9", "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 83.0, 226.0, 103.0, 22.0 ], - "text" : "scale 0. 1. 0.8 1.2" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 83.0, 95.0, 24.0, 24.0 ] + "patching_rect" : [ 132.0, 146.0, 22.0, 22.0 ], + "text" : "t b" } } , { "box" : { - "id" : "obj-4", + "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 83.0, 177.0, 45.0, 22.0 ], - "text" : "/ 9999." + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 132.0, 446.0, 77.0, 22.0 ], + "text" : "o.var" } } , { "box" : { - "id" : "obj-3", + "id" : "obj-6", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 83.0, 137.0, 89.0, 22.0 ], - "text" : "random 10000." + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 400.0, 29.5, 22.0 ], + "text" : "t l l" } } , { "box" : { - "comment" : "", - "id" : "obj-2", - "index" : 1, - "maxclass" : "outlet", + "id" : "obj-3", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 83.0, 282.0, 30.0, 30.0 ] + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 50.0, 97.0, 101.0, 22.0 ], + "text" : "o.if /firstin == true" } } , { "box" : { - "comment" : "", "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, + "maxclass" : "newobj", + "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 83.0, 43.0, 30.0, 30.0 ] - } - - } + "outlettype" : [ "FullPacket" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 886.0, 125.0, 541.0, 632.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "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" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 58.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" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 145.0, 151.0, 42.0, 22.0 ], + "text" : "t 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-4", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 58.0, 281.0, 219.0, 22.0 ], + "text" : "o.pack /r/spacing /r/gain /r/tspeed" + } + + } +, { + "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" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 58.0, 201.0, 86.0, 22.0 ], + "text" : "random 10000" + } + + } ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 4 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 3 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-9", 0 ] - } - - } + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "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" : [ 608.0, 554.0, 114.0, 22.0 ], - "text" : "p choose_spacing" - } - - } -, { - "box" : { - "fontsize" : 12.0, - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "" ], - "patching_rect" : [ 354.0, 472.0, 526.0, 22.0 ], - "text" : "t b b l" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } + } , - "classnamespace" : "box", - "rect" : [ 59.0, 106.0, 289.0, 347.0 ], - "gridsize" : [ 15.0, 15.0 ], - "subpatcher_template" : "Untitled5_template", - "visible" : 1, - "boxes" : [ { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 83.0, 226.0, 103.0, 22.0 ], - "text" : "scale 0. 1. 0.8 1.2" + "patching_rect" : [ 50.0, 146.0, 59.0, 22.0 ], + "text" : "p o.rand3" } } , { "box" : { - "id" : "obj-8", - "maxclass" : "button", + "fontface" : 0, + "id" : "obj-27", + "linecount" : 13, + "maxclass" : "o.expr.codebox", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 83.0, 95.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 83.0, 177.0, 45.0, 22.0 ], - "text" : "/ 9999." + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 50.0, 182.0, 547.0, 185.0 ], + "text" : "/segment ??= [0., 1.], \n/spacing/range ??= [0, 0],\n/gain/range ??= [0.8, 1.2],\n/trajspeed/range ??= [20, 50],\n\n/spacing = scale(/r/spacing, 0., 1., /spacing/range[[0]], /spacing/range[[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/area = /segment * /buffer/len,\n/dur = abs(/area[[0]] - /area[[1]]) * (1. / /speed),\n/line = [/area[[0]], 0, /area[[1]], /dur], \n\n/firstin = false" } } , { "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 2, + "comment" : "", + "id" : "obj-5", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 83.0, 137.0, 89.0, 22.0 ], - "text" : "random 10000." + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] } } , { "box" : { "comment" : "", - "id" : "obj-2", + "id" : "obj-7", "index" : 1, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 83.0, 282.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 83.0, 43.0, 30.0, 30.0 ] + "patching_rect" : [ 61.0, 538.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-8", 0 ], + "destination" : [ "obj-27", 0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-4", 0 ] + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-27", 0 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-3", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 354.0, 504.0, 87.0, 22.0 ], - "text" : "p gain_choose" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 703.0, 756.0, 83.0, 22.0 ], - "text" : "o.pack /phase" - } - - } -, { - "box" : { - "id" : "obj-19", - "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" : [ 58.0, 91.0, 998.0, 654.0 ], - "gridsize" : [ 15.0, 15.0 ], - "subpatcher_template" : "Untitled5_template", - "boxes" : [ { - "box" : { - "fontface" : 0, - "id" : "obj-2", - "linecount" : 17, - "maxclass" : "o.expr.codebox", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 570.0, 333.0, 474.0, 236.0 ], - "text" : "/spacing/ms ??= 0,\n/segment ??= [0., 1.],\n/p = /segment * /buffer/len,\n/dur = abs(/p[[0]] - /p[[1]]) * (1. / /speed),\n/line = [/p[[0]], 0, /p[[1]], /dur],\nif(\n exists(/numplays) && (/numplays > 1), \n progn(\n /numplays--, \n /active = 1, \n /total = (/dur * /numplays) + ((/spacing/ms - 1) * /numplays)\n ), \n progn(\n delete(/numplays), \n /active = 0\n )\n)" + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-3", 1 ] } - - } -, { - "box" : { - "fontface" : 0, - "id" : "obj-27", - "linecount" : 5, - "maxclass" : "o.expr.codebox", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 50.0, 182.0, 474.0, 83.0 ], - "text" : "/spacing/ms ??= 0,\n/segment ??= [0., 1.],\n/p = /segment * /buffer/len,\n/dur = abs(/p[[0]] - /p[[1]]) * (1. / /speed),\n/line = [/p[[0]], 0, /p[[1]], /dur]" + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-5", 0 ] } } , { - "box" : { - "comment" : "", - "id" : "obj-5", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-6", 1 ] } } , { - "box" : { - "comment" : "", - "id" : "obj-7", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 474.0, 30.0, 30.0 ] + "patchline" : { + "destination" : [ "obj-8", 1 ], + "source" : [ "obj-6", 0 ] } } - ], - "lines" : [ { +, { "patchline" : { "destination" : [ "obj-7", 0 ], - "source" : [ "obj-27", 0 ] + "source" : [ "obj-8", 0 ] } } , { "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-9", 0 ] } } ] } , - "patching_rect" : [ 354.0, 433.0, 103.0, 22.0 ], + "patching_rect" : [ 367.0, 285.0, 113.0, 22.0 ], "text" : "p process_bundle" } @@ -735,36 +805,10 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 873.0, 149.0, 36.0, 22.0 ], + "patching_rect" : [ 477.0, 139.0, 46.0, 22.0 ], "text" : "rate~" } - } -, { - "box" : { - "id" : "obj-37", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "stop" ], - "patching_rect" : [ 487.0, 721.0, 51.0, 22.0 ], - "text" : "t 0. stop" - } - - } -, { - "box" : { - "fontface" : 2, - "fontsize" : 10.0, - "id" : "obj-23", - "linecount" : 6, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 873.0, 39.0, 147.0, 74.0 ], - "text" : "currently outputs the phase of any sample playback, whether it be delayed or not. Does not account for the overall aggregated time involved in repetitions + delays" - } - } , { "box" : { @@ -774,7 +818,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 487.0, 655.0, 29.5, 22.0 ], + "patching_rect" : [ 227.0, 409.0, 40.0, 22.0 ], "text" : "!- 1" } @@ -787,58 +831,10 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 487.0, 687.0, 51.0, 22.0 ], + "patching_rect" : [ 227.0, 462.0, 61.0, 22.0 ], "text" : "gate" } - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 740.0, 666.0, 74.0, 22.0 ], - "text" : "unpack 0. 0." - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 649.0, 703.0, 137.0, 22.0 ], - "text" : "scale 0. 1. 0. 1." - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-4", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 703.0, 870.0, 26.0, 26.0 ] - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 649.0, 673.0, 81.0, 22.0 ], - "text" : "snapshot~ 10" - } - } , { "box" : { @@ -848,7 +844,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 556.0, 605.0, 55.399999999999977, 22.0 ], + "patching_rect" : [ 604.0, 426.0, 73.0, 22.0 ], "text" : "del 0" } @@ -860,7 +856,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "stop" ], - "patching_rect" : [ 203.5, 710.0, 38.0, 22.0 ], + "patching_rect" : [ 195.0, 674.0, 48.0, 22.0 ], "text" : "t stop" } @@ -872,7 +868,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 873.0, 120.0, 67.0, 22.0 ], + "patching_rect" : [ 477.0, 110.0, 77.0, 22.0 ], "text" : "transratio" } @@ -885,7 +881,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 354.0, 252.0, 259.0, 22.0 ], + "patching_rect" : [ 367.0, 221.0, 269.0, 22.0 ], "text" : "o.var" } @@ -898,7 +894,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 932.0, 538.0, 52.0, 22.0 ], + "patching_rect" : [ 561.0, 462.0, 62.0, 22.0 ], "text" : "gate 1 0" } @@ -911,7 +907,7 @@ "numinlets" : 5, "numoutlets" : 4, "outlettype" : [ "signal", "signal", "", "" ], - "patching_rect" : [ 181.0, 587.0, 96.0, 22.0 ], + "patching_rect" : [ 194.0, 556.0, 106.0, 22.0 ], "text" : "adsr~ 10 0 1. 10" } @@ -924,7 +920,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 354.0, 687.0, 107.599999999999994, 22.0 ], + "patching_rect" : [ 367.0, 631.0, 101.0, 22.0 ], "text" : "*~ 0." } @@ -937,7 +933,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 536.0, 326.0, 157.0, 22.0 ], + "patching_rect" : [ 486.0, 285.0, 167.0, 22.0 ], "text" : "o.route /buffer/name" } @@ -950,7 +946,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "signal", "bang" ], - "patching_rect" : [ 443.0, 562.0, 95.0, 22.0 ], + "patching_rect" : [ 464.0, 393.0, 159.0, 22.0 ], "text" : "line~ 0." } @@ -963,7 +959,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 536.0, 355.0, 72.0, 22.0 ], + "patching_rect" : [ 486.0, 538.0, 82.0, 22.0 ], "text" : "prepend set" } @@ -976,7 +972,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 415.0, 400.0, 79.0, 22.0 ], + "patching_rect" : [ 576.0, 586.0, 89.0, 22.0 ], "text" : "buffer~ buffet" } @@ -989,7 +985,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "bang" ], - "patching_rect" : [ 443.0, 605.0, 71.0, 22.0 ], + "patching_rect" : [ 464.0, 586.0, 81.0, 22.0 ], "text" : "play~ buffet" } @@ -1002,7 +998,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 354.0, 864.0, 26.0, 26.0 ] + "patching_rect" : [ 367.0, 729.0, 36.0, 36.0 ] } } @@ -1015,7 +1011,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 230.0, 29.0, 28.0, 28.0 ] + "patching_rect" : [ 194.0, 42.0, 38.0, 38.0 ] } } @@ -1023,30 +1019,15 @@ "lines" : [ { "patchline" : { "destination" : [ "obj-39", 1 ], - "midpoints" : [ 565.5, 729.0, 1066.227880859375091, 729.0, 1066.227880859375091, 528.0, 974.5, 528.0 ], "source" : [ "obj-1", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-9", 2 ], - "source" : [ "obj-10", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 1 ], - "source" : [ "obj-10", 0 ] - } - } , { "patchline" : { "color" : [ 0.441550731658936, 0.06802275031805, 0.125140219926834, 1.0 ], "destination" : [ "obj-1", 0 ], - "order" : 1, + "order" : 0, "source" : [ "obj-11", 0 ] } @@ -1055,30 +1036,21 @@ "patchline" : { "color" : [ 0.441550731658936, 0.06802275031805, 0.125140219926834, 1.0 ], "destination" : [ "obj-28", 0 ], - "order" : 2, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "color" : [ 0.441550731658936, 0.06802275031805, 0.125140219926834, 1.0 ], - "destination" : [ "obj-3", 0 ], - "order" : 0, + "order" : 1, "source" : [ "obj-11", 0 ] } } , { "patchline" : { - "destination" : [ "obj-36", 0 ], + "destination" : [ "obj-48", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { - "destination" : [ "obj-37", 0 ], + "destination" : [ "obj-51", 0 ], "source" : [ "obj-15", 0 ] } @@ -1093,22 +1065,13 @@ , { "patchline" : { "destination" : [ "obj-2", 0 ], - "order" : 1, - "source" : [ "obj-18", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-52", 0 ], - "order" : 0, "source" : [ "obj-18", 1 ] } } , { "patchline" : { - "destination" : [ "obj-27", 0 ], + "destination" : [ "obj-37", 0 ], "order" : 1, "source" : [ "obj-19", 0 ] } @@ -1117,7 +1080,7 @@ , { "patchline" : { "destination" : [ "obj-47", 1 ], - "midpoints" : [ 363.5, 462.004364013671875, 814.46527099609375, 462.004364013671875, 814.46527099609375, 248.0, 603.5, 248.0 ], + "midpoints" : [ 376.5, 322.828948974609375, 665.52581787109375, 322.828948974609375, 665.52581787109375, 217.0, 626.5, 217.0 ], "order" : 0, "source" : [ "obj-19", 0 ] } @@ -1153,22 +1116,6 @@ "source" : [ "obj-2", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "order" : 0, - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "order" : 1, - "source" : [ "obj-20", 0 ] - } - } , { "patchline" : { @@ -1183,13 +1130,6 @@ "source" : [ "obj-21", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-22", 0 ] - } - } , { "patchline" : { @@ -1197,34 +1137,6 @@ "source" : [ "obj-25", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-60", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-27", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-27", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-27", 0 ] - } - } , { "patchline" : { @@ -1241,19 +1153,10 @@ "source" : [ "obj-28", 1 ] } - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "order" : 0, - "source" : [ "obj-28", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-32", 0 ], - "order" : 1, "source" : [ "obj-28", 0 ] } @@ -1261,7 +1164,7 @@ , { "patchline" : { "destination" : [ "obj-31", 0 ], - "order" : 1, + "order" : 0, "source" : [ "obj-29", 0 ] } @@ -1269,17 +1172,10 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "order" : 0, + "order" : 1, "source" : [ "obj-29", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-3", 0 ] - } - } , { "patchline" : { @@ -1297,21 +1193,14 @@ } , { "patchline" : { - "destination" : [ "obj-1", 1 ], - "source" : [ "obj-33", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], + "destination" : [ "obj-48", 0 ], "source" : [ "obj-35", 0 ] } } , { "patchline" : { - "destination" : [ "obj-40", 0 ], + "destination" : [ "obj-47", 0 ], "source" : [ "obj-36", 1 ] } @@ -1325,74 +1214,60 @@ } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-37", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-37", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-47", 0 ], - "midpoints" : [ 941.5, 599.61077880859375, 1145.845199584960938, 599.61077880859375, 1145.845199584960938, 241.0, 363.5, 241.0 ], - "source" : [ "obj-39", 0 ] + "destination" : [ "obj-1", 1 ], + "source" : [ "obj-37", 3 ] } } , { "patchline" : { - "destination" : [ "obj-33", 1 ], - "source" : [ "obj-40", 0 ] + "destination" : [ "obj-16", 0 ], + "order" : 1, + "source" : [ "obj-37", 2 ] } } , { "patchline" : { - "destination" : [ "obj-47", 0 ], - "source" : [ "obj-40", 1 ] + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-37", 0 ] } } , { "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-41", 2 ] + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-37", 1 ] } } , { "patchline" : { - "destination" : [ "obj-16", 0 ], - "order" : 1, - "source" : [ "obj-41", 1 ] + "destination" : [ "obj-30", 1 ], + "source" : [ "obj-37", 4 ] } } , { "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-41", 0 ] + "destination" : [ "obj-39", 0 ], + "order" : 0, + "source" : [ "obj-37", 2 ] } } , { "patchline" : { - "destination" : [ "obj-30", 1 ], - "source" : [ "obj-41", 3 ] + "destination" : [ "obj-40", 0 ], + "source" : [ "obj-37", 5 ] } } , { "patchline" : { - "destination" : [ "obj-39", 0 ], - "order" : 0, - "source" : [ "obj-41", 1 ] + "destination" : [ "obj-47", 0 ], + "midpoints" : [ 570.5, 493.34918212890625, 700.955917358398438, 493.34918212890625, 700.955917358398438, 210.0, 376.5, 210.0 ], + "source" : [ "obj-39", 0 ] } } @@ -1419,8 +1294,8 @@ } , { "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-42", 3 ] + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-46", 0 ] } } @@ -1433,15 +1308,8 @@ } , { "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-49", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-48", 0 ] } } @@ -1451,20 +1319,6 @@ "source" : [ "obj-51", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-49", 0 ], - "source" : [ "obj-58", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-60", 0 ] - } - } , { "patchline" : { @@ -1479,13 +1333,6 @@ "source" : [ "obj-62", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-7", 0 ] - } - } , { "patchline" : { @@ -1510,13 +1357,6 @@ "source" : [ "obj-8", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-9", 0 ] - } - } ], "dependency_cache" : [ { @@ -1532,23 +1372,17 @@ "type" : "iLaX" } , { - "name" : "o.prepend.mxo", + "name" : "o.route.mxo", "type" : "iLaX" } , { - "name" : "o.route.mxo", + "name" : "o.union.mxo", "type" : "iLaX" } , { "name" : "o.var.mxo", "type" : "iLaX" } -, { - "name" : "thru.maxpat", - "bootpath" : "C74:/patchers/m4l/Pluggo for Live resources/patches", - "type" : "JSON", - "implicit" : 1 - } , { "name" : "transratio.maxpat", "bootpath" : "~/Library/Application Support/Cycling '74/Max 9/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio", -- 2.34.1