From f534fb645251c31af06fc31e41347ddbe5f03ecd Mon Sep 17 00:00:00 2001 From: equilet <2237372+equilet@users.noreply.github.com> Date: Fri, 27 Jun 2025 19:42:38 -0700 Subject: [PATCH] fixed bug in /phrase mode whereby count was off --- engine_voice.fragments~.maxpat | 60 +++++++++++++++++----------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/engine_voice.fragments~.maxpat b/engine_voice.fragments~.maxpat index c867ee4..3e93deb 100644 --- a/engine_voice.fragments~.maxpat +++ b/engine_voice.fragments~.maxpat @@ -1272,17 +1272,31 @@ } , "classnamespace" : "box", - "rect" : [ 579.0, 144.0, 439.0, 636.0 ], + "rect" : [ 579.0, 144.0, 781.0, 676.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", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 41.0, 506.0, 22.0, 22.0 ], + "patching_rect" : [ 41.0, 502.0, 22.0, 22.0 ], "text" : "t b" } @@ -1293,7 +1307,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 41.0, 546.0, 93.0, 22.0 ], + "patching_rect" : [ 41.0, 574.0, 93.0, 22.0 ], "text" : "print end_of_list" } @@ -1304,7 +1318,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 221.0, 546.0, 60.0, 22.0 ], + "patching_rect" : [ 246.0, 591.0, 60.0, 22.0 ], "text" : "print /nlist" } @@ -1316,24 +1330,10 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 221.0, 510.0, 74.0, 22.0 ], + "patching_rect" : [ 246.0, 555.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" : { @@ -1710,14 +1710,8 @@ } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], + "destination" : [ "obj-2", 1 ], + "midpoints" : [ 257.5, 499.0400390625, 475.2808837890625, 499.0400390625, 475.2808837890625, 302.70343017578125, 162.5, 302.70343017578125 ], "source" : [ "obj-11", 0 ] } @@ -1738,7 +1732,7 @@ } , { "patchline" : { - "destination" : [ "obj-11", 0 ], + "destination" : [ "obj-5", 0 ], "source" : [ "obj-2", 0 ] } @@ -1766,8 +1760,7 @@ } , { "patchline" : { - "destination" : [ "obj-2", 1 ], - "midpoints" : [ 257.5, 446.0, 362.749755859375, 446.0, 362.749755859375, 302.70343017578125, 162.5, 302.70343017578125 ], + "destination" : [ "obj-11", 0 ], "source" : [ "obj-5", 1 ] } @@ -1778,6 +1771,13 @@ "source" : [ "obj-5", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-6", 0 ] + } + } , { "patchline" : { -- 2.34.1