From 0c596a076c9d523bc38a5573d4260df917ed4370 Mon Sep 17 00:00:00 2001 From: equilet <2237372+equilet@users.noreply.github.com> Date: Wed, 21 May 2025 13:40:56 -0700 Subject: [PATCH] added output gain adjustment, verbose mode --- engine_voice.fragments~.maxpat | 321 ++++++++++++++++++++++++--------- engine_voice.noisewash~.maxpat | 238 ++++++++++++++++++------ engine_voice.stretcher~.maxpat | 242 ++++++++++++++++++++----- 3 files changed, 623 insertions(+), 178 deletions(-) diff --git a/engine_voice.fragments~.maxpat b/engine_voice.fragments~.maxpat index b4188c5..0fa608f 100644 --- a/engine_voice.fragments~.maxpat +++ b/engine_voice.fragments~.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 313.0, 181.0, 1372.0, 779.0 ], + "rect" : [ 313.0, 87.0, 1402.0, 914.0 ], "gridsize" : [ 15.0, 15.0 ], "lefttoolbarpinned" : 1, "toptoolbarpinned" : 1, @@ -18,6 +18,70 @@ "bottomtoolbarpinned" : 1, "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 36.0, 682.0, 94.0, 22.0 ], + "text" : "vt.verbose_print" + } + + } +, { + "box" : { + "fontsize" : 12.0, + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 344.0, 612.0, 39.0, 22.0 ], + "text" : "atodb" + } + + } +, { + "box" : { + "id" : "obj-38", + "lastchannelcount" : 0, + "maxclass" : "live.gain~", + "numinlets" : 2, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 405.0, 649.0, 206.0, 124.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "live.gain~", + "parameter_mmax" : 6.0, + "parameter_mmin" : -70.0, + "parameter_modmode" : 3, + "parameter_shortname" : "live.gain~", + "parameter_type" : 0, + "parameter_unitstyle" : 4 + } + + } +, + "varname" : "live.gain~" + } + + } +, { + "box" : { + "fontsize" : 12.0, + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 344.0, 151.0, 155.0, 22.0 ], + "text" : "o.route /outputgain" + } + + } +, { "box" : { "fontsize" : 12.0, "id" : "obj-16", @@ -25,7 +89,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 367.0, 643.0, 55.0, 22.0 ], + "patching_rect" : [ 592.0, 612.0, 55.0, 22.0 ], "text" : "*~ 0." } @@ -36,7 +100,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 428.0, 788.0, 42.0, 22.0 ], + "patching_rect" : [ 559.0, 844.0, 42.0, 22.0 ], "text" : "out~ 2" } @@ -49,7 +113,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 367.0, 783.0, 36.0, 36.0 ] + "patching_rect" : [ 493.0, 830.0, 36.0, 36.0 ] } } @@ -60,7 +124,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 812.0, 605.0, 72.0, 22.0 ], + "patching_rect" : [ 925.0, 574.0, 72.0, 22.0 ], "text" : "prepend set" } @@ -72,7 +136,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 719.0, 605.0, 72.0, 22.0 ], + "patching_rect" : [ 832.0, 574.0, 72.0, 22.0 ], "text" : "prepend set" } @@ -85,7 +149,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "FullPacket" ], - "patching_rect" : [ 719.0, 563.0, 205.0, 22.0 ], + "patching_rect" : [ 832.0, 532.0, 205.0, 22.0 ], "text" : "o.route /l /r" } @@ -96,7 +160,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 812.0, 737.0, 64.0, 22.0 ], + "patching_rect" : [ 925.0, 837.0, 64.0, 22.0 ], "text" : "send~ ch2" } @@ -107,7 +171,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 719.0, 737.0, 64.0, 22.0 ], + "patching_rect" : [ 832.0, 837.0, 64.0, 22.0 ], "text" : "send~ ch1" } @@ -119,7 +183,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 194.0, 179.0, 97.0, 22.0 ], + "patching_rect" : [ 234.0, 151.0, 97.0, 22.0 ], "text" : "t l l" } @@ -131,7 +195,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 367.0, 189.0, 99.0, 22.0 ], + "patching_rect" : [ 480.0, 194.0, 99.0, 22.0 ], "text" : "vt.handle_variety" } @@ -143,7 +207,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 82.0, 677.0, 163.0, 22.0 ] + "patching_rect" : [ 122.0, 649.0, 163.0, 22.0 ] } } @@ -154,7 +218,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 194.0, 111.0, 59.0, 22.0 ], + "patching_rect" : [ 234.0, 83.0, 59.0, 22.0 ], "text" : "o.route /0" } @@ -167,7 +231,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1188.0, 770.0, 36.0, 36.0 ] + "patching_rect" : [ 1228.0, 742.0, 36.0, 36.0 ] } } @@ -285,7 +349,7 @@ ] } , - "patching_rect" : [ 194.0, 530.0, 45.0, 22.0 ], + "patching_rect" : [ 234.0, 502.0, 45.0, 22.0 ], "text" : "p edge" } @@ -297,7 +361,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "float" ], - "patching_rect" : [ 332.0, 485.0, 29.5, 22.0 ], + "patching_rect" : [ 405.0, 498.0, 29.5, 22.0 ], "text" : "f" } @@ -309,7 +373,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 650.0, 435.0, 29.5, 22.0 ], + "patching_rect" : [ 763.0, 404.0, 29.5, 22.0 ], "text" : "0." } @@ -321,7 +385,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 650.0, 398.0, 38.0, 22.0 ], + "patching_rect" : [ 763.0, 367.0, 38.0, 22.0 ], "text" : "del 0." } @@ -333,7 +397,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "float" ], - "patching_rect" : [ 395.0, 393.0, 29.5, 22.0 ], + "patching_rect" : [ 508.0, 362.0, 29.5, 22.0 ], "text" : "t 1 f" } @@ -346,7 +410,7 @@ "numinlets" : 5, "numoutlets" : 4, "outlettype" : [ "signal", "signal", "", "" ], - "patching_rect" : [ 292.0, 590.0, 172.0, 22.0 ], + "patching_rect" : [ 405.0, 559.0, 172.0, 22.0 ], "text" : "adsr~ 10 0 1. 10 @retrigger 10" } @@ -359,7 +423,7 @@ "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "", "", "", "", "FullPacket" ], - "patching_rect" : [ 367.0, 330.0, 488.0, 22.0 ], + "patching_rect" : [ 480.0, 299.0, 488.0, 22.0 ], "text" : "o.route /gain /line /auxsend /st" } @@ -370,7 +434,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1044.0, 786.0, 81.0, 20.0 ], + "patching_rect" : [ 1084.0, 758.0, 81.0, 20.0 ], "text" : "for [busymap]" } @@ -381,7 +445,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 997.0, 785.0, 35.0, 22.0 ], + "patching_rect" : [ 1037.0, 757.0, 35.0, 22.0 ], "saved_object_attributes" : { "attr_comment" : "" } @@ -465,7 +529,7 @@ ] } , - "patching_rect" : [ 61.0, 485.0, 44.0, 22.0 ], + "patching_rect" : [ 101.0, 457.0, 44.0, 22.0 ], "text" : "p init" } @@ -478,7 +542,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 194.0, 137.0, 192.0, 22.0 ], + "patching_rect" : [ 234.0, 109.0, 129.0, 22.0 ], "text" : "o.select /stop" } @@ -490,7 +554,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 60.5, 608.0, 95.0, 22.0 ], + "patching_rect" : [ 100.0, 580.0, 95.0, 22.0 ], "text" : "sprintf set 1 /%d" } @@ -502,7 +566,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "" ], - "patching_rect" : [ 367.0, 361.0, 47.0, 22.0 ], + "patching_rect" : [ 480.0, 330.0, 47.0, 22.0 ], "text" : "sel 0." } @@ -515,7 +579,7 @@ "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 89.5, 570.0, 23.0, 23.0 ] + "patching_rect" : [ 129.0, 542.0, 23.0, 23.0 ] } } @@ -526,7 +590,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "stop" ], - "patching_rect" : [ 194.0, 284.0, 51.0, 22.0 ], + "patching_rect" : [ 234.0, 256.0, 51.0, 22.0 ], "text" : "t 0. stop" } @@ -538,7 +602,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 550.5, 757.0, 70.0, 22.0 ], + "patching_rect" : [ 664.0, 749.0, 70.0, 22.0 ], "text" : "*~ 0." } @@ -549,7 +613,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 550.5, 788.0, 117.0, 22.0 ], + "patching_rect" : [ 664.0, 840.0, 117.0, 22.0 ], "text" : "send~ #1" } @@ -561,7 +625,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "int", "int", "int" ], - "patching_rect" : [ 61.0, 530.0, 76.0, 22.0 ], + "patching_rect" : [ 101.0, 502.0, 76.0, 22.0 ], "text" : "thispoly~" } @@ -572,7 +636,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 285.0, 788.0, 52.0, 22.0 ], + "patching_rect" : [ 405.0, 844.0, 52.0, 22.0 ], "text" : "out~ 1" } @@ -584,7 +648,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 292.0, 50.0, 38.0, 22.0 ], + "patching_rect" : [ 332.0, 22.0, 38.0, 22.0 ], "text" : "in 1" } @@ -597,7 +661,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "stop" ], - "patching_rect" : [ 367.0, 226.0, 302.0, 22.0 ], + "patching_rect" : [ 480.0, 231.0, 302.0, 22.0 ], "text" : "t l l stop" } @@ -1539,7 +1603,7 @@ ] } , - "patching_rect" : [ 367.0, 267.0, 113.0, 22.0 ], + "patching_rect" : [ 480.0, 272.0, 113.0, 22.0 ], "text" : "p process_bundle" } @@ -1552,7 +1616,7 @@ "numinlets" : 5, "numoutlets" : 4, "outlettype" : [ "signal", "signal", "", "" ], - "patching_rect" : [ 194.0, 485.0, 106.0, 22.0 ], + "patching_rect" : [ 234.0, 457.0, 106.0, 22.0 ], "text" : "adsr~ 10 0 1. 10" } @@ -1565,7 +1629,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 292.0, 643.0, 55.0, 22.0 ], + "patching_rect" : [ 405.0, 612.0, 55.0, 22.0 ], "text" : "*~ 0." } @@ -1578,7 +1642,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 508.5, 267.0, 116.0, 22.0 ], + "patching_rect" : [ 622.0, 272.0, 116.0, 22.0 ], "text" : "o.route /buffer/name" } @@ -1591,7 +1655,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "signal", "bang" ], - "patching_rect" : [ 484.0, 437.0, 156.0, 22.0 ], + "patching_rect" : [ 597.0, 406.0, 156.0, 22.0 ], "text" : "line~ 0." } @@ -1604,7 +1668,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 509.0, 485.0, 82.0, 22.0 ], + "patching_rect" : [ 622.0, 454.0, 82.0, 22.0 ], "text" : "prepend set" } @@ -1617,7 +1681,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 576.0, 586.0, 89.0, 22.0 ], + "patching_rect" : [ 689.0, 555.0, 89.0, 22.0 ], "text" : "buffer~ buffet" } @@ -1630,7 +1694,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "signal", "signal", "bang" ], - "patching_rect" : [ 484.0, 585.0, 81.0, 22.0 ], + "patching_rect" : [ 597.0, 554.0, 81.0, 22.0 ], "text" : "play~ buffet 2" } @@ -1643,7 +1707,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 224.0, 783.0, 36.0, 36.0 ] + "patching_rect" : [ 350.0, 830.0, 36.0, 36.0 ] } } @@ -1656,7 +1720,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 194.0, 42.0, 38.0, 38.0 ] + "patching_rect" : [ 234.0, 14.0, 38.0, 38.0 ] } } @@ -1719,31 +1783,23 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], - "order" : 2, + "destination" : [ "obj-38", 1 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { - "destination" : [ "obj-22", 0 ], + "destination" : [ "obj-42", 0 ], "order" : 0, - "source" : [ "obj-16", 0 ] + "source" : [ "obj-17", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], + "destination" : [ "obj-53", 0 ], "order" : 1, - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], "source" : [ "obj-17", 0 ] } @@ -1807,10 +1863,19 @@ "source" : [ "obj-21", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "order" : 1, + "source" : [ "obj-21", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-58", 0 ], + "order" : 0, "source" : [ "obj-21", 0 ] } @@ -1846,7 +1911,7 @@ , { "patchline" : { "destination" : [ "obj-17", 0 ], - "midpoints" : [ 630.5, 499.69146728515625, 788.9539794921875, 499.69146728515625, 788.9539794921875, 174.705551147460938, 376.5, 174.705551147460938 ], + "midpoints" : [ 743.5, 468.69146728515625, 901.9539794921875, 468.69146728515625, 901.9539794921875, 186.935867309570312, 489.5, 186.935867309570312 ], "source" : [ "obj-28", 1 ] } @@ -1918,10 +1983,88 @@ } , { "patchline" : { - "destination" : [ "obj-17", 0 ], + "destination" : [ "obj-37", 0 ], "source" : [ "obj-36", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-37", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "order" : 3, + "source" : [ "obj-38", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "order" : 2, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "order" : 0, + "source" : [ "obj-38", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "order" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "order" : 1, + "source" : [ "obj-38", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "order" : 1, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "order" : 3, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "order" : 2, + "source" : [ "obj-38", 1 ] + } + } , { "patchline" : { @@ -1936,6 +2079,13 @@ "source" : [ "obj-39", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-40", 0 ] + } + } , { "patchline" : { @@ -2022,7 +2172,7 @@ , { "patchline" : { "destination" : [ "obj-7", 0 ], - "midpoints" : [ 70.0, 640.0, 173.759521484375, 640.0, 173.759521484375, 100.41253662109375, 203.5, 100.41253662109375 ], + "midpoints" : [ 109.5, 612.0, 213.759521484375, 612.0, 213.759521484375, 72.41253662109375, 243.5, 72.41253662109375 ], "order" : 1, "source" : [ "obj-58", 0 ] } @@ -2031,38 +2181,22 @@ , { "patchline" : { "destination" : [ "obj-36", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "order" : 2, - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], "order" : 0, - "source" : [ "obj-8", 0 ] + "source" : [ "obj-7", 0 ] } } , { "patchline" : { - "destination" : [ "obj-30", 0 ], + "destination" : [ "obj-53", 0 ], "order" : 1, - "source" : [ "obj-8", 0 ] + "source" : [ "obj-7", 0 ] } } , { "patchline" : { - "destination" : [ "obj-34", 0 ], - "order" : 3, + "destination" : [ "obj-38", 0 ], "source" : [ "obj-8", 0 ] } @@ -2070,12 +2204,26 @@ , { "patchline" : { "destination" : [ "obj-28", 0 ], - "midpoints" : [ 203.5, 561.210205078125, 189.161376953125, 561.210205078125, 189.161376953125, 430.505340576171875, 493.5, 430.505340576171875 ], + "midpoints" : [ 243.5, 533.210205078125, 229.161376953125, 533.210205078125, 229.161376953125, 402.505340576171875, 606.5, 402.505340576171875 ], "source" : [ "obj-9", 0 ] } } ], + "parameters" : { + "obj-38" : [ "live.gain~", "live.gain~", 0 ], + "parameterbanks" : { + "0" : { + "index" : 0, + "name" : "", + "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] + } + + } +, + "inherited_shortname" : 1 + } +, "dependency_cache" : [ { "name" : "o.collect.mxo", "type" : "iLaX" @@ -2111,6 +2259,10 @@ "name" : "o.pack.mxo", "type" : "iLaX" } +, { + "name" : "o.print.mxo", + "type" : "iLaX" + } , { "name" : "o.righttoleft.maxpat", "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering", @@ -2141,6 +2293,13 @@ "type" : "JSON", "implicit" : 1 } +, { + "name" : "vt.verbose_print.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } ], "autosave" : 0 } diff --git a/engine_voice.noisewash~.maxpat b/engine_voice.noisewash~.maxpat index e58a462..99cca24 100644 --- a/engine_voice.noisewash~.maxpat +++ b/engine_voice.noisewash~.maxpat @@ -18,6 +18,70 @@ "bottomtoolbarpinned" : 1, "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 703.0, 94.0, 22.0 ], + "text" : "vt.verbose_print" + } + + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 416.0, 554.0, 39.0, 22.0 ], + "text" : "atodb" + } + + } +, { + "box" : { + "channels" : 1, + "id" : "obj-31", + "lastchannelcount" : 0, + "maxclass" : "live.gain~", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "signal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 472.0, 589.0, 48.0, 136.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "live.gain~", + "parameter_mmax" : 6.0, + "parameter_mmin" : -70.0, + "parameter_modmode" : 3, + "parameter_shortname" : "live.gain~", + "parameter_type" : 0, + "parameter_unitstyle" : 4 + } + + } +, + "varname" : "live.gain~" + } + + } +, { + "box" : { + "fontsize" : 12.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 416.0, 171.0, 109.0, 22.0 ], + "text" : "o.route /outputgain" + } + + } +, { "box" : { "fontsize" : 12.0, "id" : "obj-6", @@ -136,7 +200,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "float" ], - "patching_rect" : [ 345.0, 379.0, 29.5, 22.0 ], + "patching_rect" : [ 471.5, 388.0, 87.0, 22.0 ], "text" : "t f f" } @@ -148,7 +212,7 @@ "numinlets" : 4, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 336.0, 418.0, 87.0, 22.0 ], + "patching_rect" : [ 472.0, 418.0, 87.0, 22.0 ], "text" : "pack 0. 0. 1. 0." } @@ -160,7 +224,7 @@ "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "", "", "", "", "FullPacket" ], - "patching_rect" : [ 428.0, 332.5, 177.0, 22.0 ], + "patching_rect" : [ 432.0, 354.0, 177.0, 22.0 ], "text" : "o.route /gain /ramp /auxsend /st" } @@ -219,7 +283,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 330.0, 120.0, 59.0, 22.0 ], + "patching_rect" : [ 330.0, 101.0, 59.0, 22.0 ], "text" : "o.route /0" } @@ -350,7 +414,7 @@ ] } , - "patching_rect" : [ 357.0, 533.0, 45.0, 22.0 ], + "patching_rect" : [ 559.0, 554.0, 45.0, 22.0 ], "text" : "p edge" } @@ -387,8 +451,8 @@ "numinlets" : 5, "numoutlets" : 4, "outlettype" : [ "signal", "signal", "", "" ], - "patching_rect" : [ 472.0, 468.0, 106.0, 22.0 ], - "text" : "adsr~ 10 0 1. 10" + "patching_rect" : [ 472.0, 468.0, 122.0, 22.0 ], + "text" : "adsr~ 3000 0 1. 3000" } } @@ -530,7 +594,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 330.0, 147.0, 195.0, 22.0 ], + "patching_rect" : [ 330.0, 134.0, 105.0, 22.0 ], "text" : "o.select /stop" } @@ -968,7 +1032,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 472.0, 506.0, 157.0, 22.0 ], + "patching_rect" : [ 472.0, 522.0, 219.0, 22.0 ], "text" : "*~ 0." } @@ -1052,7 +1116,7 @@ , { "patchline" : { "destination" : [ "obj-23", 0 ], - "order" : 0, + "order" : 1, "source" : [ "obj-20", 0 ] } @@ -1060,7 +1124,7 @@ , { "patchline" : { "destination" : [ "obj-9", 0 ], - "order" : 1, + "order" : 0, "source" : [ "obj-20", 0 ] } @@ -1071,10 +1135,19 @@ "source" : [ "obj-21", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "order" : 1, + "source" : [ "obj-21", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-58", 0 ], + "order" : 0, "source" : [ "obj-21", 0 ] } @@ -1127,6 +1200,69 @@ "source" : [ "obj-30", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "order" : 3, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "order" : 4, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 5, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "order" : 6, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "order" : 1, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "order" : 2, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "order" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-32", 0 ] + } + } , { "patchline" : { @@ -1160,24 +1296,17 @@ } , { "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-35", 0 ] + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-36", 0 ] } } , { "patchline" : { - "destination" : [ "obj-42", 0 ], + "destination" : [ "obj-8", 0 ], "source" : [ "obj-36", 1 ] } - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-36", 0 ] - } - } , { "patchline" : { @@ -1275,68 +1404,56 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], - "order" : 3, - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "order" : 4, - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "order" : 5, + "destination" : [ "obj-31", 0 ], "source" : [ "obj-6", 0 ] } } , { "patchline" : { - "destination" : [ "obj-26", 0 ], - "order" : 6, - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-36", 0 ], + "order" : 0, + "source" : [ "obj-7", 0 ] } } , { "patchline" : { - "destination" : [ "obj-28", 0 ], + "destination" : [ "obj-53", 0 ], "order" : 1, - "source" : [ "obj-6", 0 ] + "source" : [ "obj-7", 0 ] } } , { "patchline" : { - "destination" : [ "obj-29", 0 ], - "order" : 2, - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-32", 0 ], + "source" : [ "obj-8", 0 ] } } , { "patchline" : { - "destination" : [ "obj-30", 0 ], - "order" : 0, - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-42", 0 ], + "source" : [ "obj-8", 1 ] } } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-7", 0 ] + ], + "parameters" : { + "obj-31" : [ "live.gain~", "live.gain~", 0 ], + "parameterbanks" : { + "0" : { + "index" : 0, + "name" : "", + "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] } } - ], +, + "inherited_shortname" : 1 + } +, "dependency_cache" : [ { "name" : "o.collect.mxo", "type" : "iLaX" @@ -1368,6 +1485,10 @@ "name" : "o.pack.mxo", "type" : "iLaX" } +, { + "name" : "o.print.mxo", + "type" : "iLaX" + } , { "name" : "o.righttoleft.maxpat", "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering", @@ -1405,6 +1526,13 @@ "type" : "JSON", "implicit" : 1 } +, { + "name" : "vt.verbose_print.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } ], "autosave" : 0 } diff --git a/engine_voice.stretcher~.maxpat b/engine_voice.stretcher~.maxpat index 0b4e4ca..6f7d96a 100644 --- a/engine_voice.stretcher~.maxpat +++ b/engine_voice.stretcher~.maxpat @@ -18,6 +18,69 @@ "bottomtoolbarpinned" : 1, "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 24.0, 733.0, 94.0, 22.0 ], + "text" : "vt.verbose_print" + } + + } +, { + "box" : { + "id" : "obj-53", + "lastchannelcount" : 0, + "maxclass" : "live.gain~", + "numinlets" : 2, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 370.0, 676.0, 103.0, 83.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "live.gain~", + "parameter_mmax" : 6.0, + "parameter_mmin" : -70.0, + "parameter_modmode" : 3, + "parameter_shortname" : "live.gain~", + "parameter_type" : 0, + "parameter_unitstyle" : 4 + } + + } +, + "varname" : "live.gain~" + } + + } +, { + "box" : { + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 312.0, 594.0, 39.0, 22.0 ], + "text" : "atodb" + } + + } +, { + "box" : { + "fontsize" : 12.0, + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 342.5, 199.0, 109.0, 22.0 ], + "text" : "o.route /outputgain" + } + + } +, { "box" : { "id" : "obj-37", "maxclass" : "newobj", @@ -709,7 +772,7 @@ ] } , - "patching_rect" : [ 405.0, 199.0, 89.0, 22.0 ], + "patching_rect" : [ 405.0, 236.0, 89.0, 22.0 ], "text" : "p initial_bundle" } @@ -1530,7 +1593,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 232.0, 143.0, 192.0, 22.0 ], + "patching_rect" : [ 232.0, 143.0, 130.0, 22.0 ], "text" : "o.select /stop" } @@ -1657,7 +1720,7 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "stop" ], - "patching_rect" : [ 405.0, 232.0, 302.0, 22.0 ], + "patching_rect" : [ 405.0, 269.0, 302.0, 22.0 ], "text" : "t l l stop" } @@ -2599,7 +2662,7 @@ ] } , - "patching_rect" : [ 405.0, 268.0, 113.0, 22.0 ], + "patching_rect" : [ 405.0, 305.0, 113.0, 22.0 ], "text" : "p process_bundle" } @@ -2638,7 +2701,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 547.0, 268.0, 116.0, 22.0 ], + "patching_rect" : [ 547.0, 305.0, 116.0, 22.0 ], "text" : "o.route /buffer/name" } @@ -2809,24 +2872,7 @@ } , { "patchline" : { - "destination" : [ "obj-22", 0 ], - "order" : 0, - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "order" : 1, - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 0 ], - "order" : 2, + "destination" : [ "obj-53", 1 ], "source" : [ "obj-16", 0 ] } @@ -2897,10 +2943,19 @@ "source" : [ "obj-21", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "order" : 1, + "source" : [ "obj-21", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-58", 0 ], + "order" : 0, "source" : [ "obj-21", 0 ] } @@ -3007,7 +3062,7 @@ } , { "patchline" : { - "destination" : [ "obj-17", 0 ], + "destination" : [ "obj-50", 0 ], "source" : [ "obj-36", 1 ] } @@ -3097,6 +3152,20 @@ "source" : [ "obj-49", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-50", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "source" : [ "obj-50", 0 ] + } + } , { "patchline" : { @@ -3148,64 +3217,128 @@ } , { "patchline" : { - "destination" : [ "obj-49", 0 ], - "midpoints" : [ 836.5, 548.96051025390625, 359.063751220703125, 548.96051025390625, 359.063751220703125, 299.47503662109375, 379.5, 299.47503662109375 ], - "source" : [ "obj-57", 0 ] + "destination" : [ "obj-53", 0 ], + "source" : [ "obj-52", 0 ] } } , { "patchline" : { - "destination" : [ "obj-13", 1 ], + "destination" : [ "obj-14", 0 ], + "order" : 2, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], "order" : 0, - "source" : [ "obj-58", 0 ] + "source" : [ "obj-53", 1 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], - "midpoints" : [ 107.5, 646.0, 211.759521484375, 646.0, 211.759521484375, 106.41253662109375, 241.5, 106.41253662109375 ], + "destination" : [ "obj-23", 0 ], + "order" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], "order" : 1, - "source" : [ "obj-58", 0 ] + "source" : [ "obj-53", 1 ] } } , { "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-7", 0 ] + "destination" : [ "obj-30", 0 ], + "order" : 1, + "source" : [ "obj-53", 0 ] } } , { "patchline" : { - "destination" : [ "obj-14", 0 ], + "destination" : [ "obj-34", 0 ], + "order" : 3, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], "order" : 2, - "source" : [ "obj-8", 0 ] + "source" : [ "obj-53", 1 ] } } , { "patchline" : { - "destination" : [ "obj-23", 0 ], + "destination" : [ "obj-38", 0 ], + "order" : 3, + "source" : [ "obj-53", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "order" : 1, + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-49", 0 ], + "midpoints" : [ 836.5, 548.96051025390625, 359.063751220703125, 548.96051025390625, 359.063751220703125, 299.47503662109375, 379.5, 299.47503662109375 ], "order" : 0, - "source" : [ "obj-8", 0 ] + "source" : [ "obj-57", 0 ] } } , { "patchline" : { - "destination" : [ "obj-30", 0 ], + "destination" : [ "obj-13", 1 ], + "order" : 0, + "source" : [ "obj-58", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 107.5, 646.0, 211.759521484375, 646.0, 211.759521484375, 106.41253662109375, 241.5, 106.41253662109375 ], "order" : 1, - "source" : [ "obj-8", 0 ] + "source" : [ "obj-58", 0 ] } } , { "patchline" : { - "destination" : [ "obj-34", 0 ], - "order" : 3, + "destination" : [ "obj-36", 0 ], + "order" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "order" : 1, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], "source" : [ "obj-8", 0 ] } @@ -3219,6 +3352,20 @@ } ], + "parameters" : { + "obj-53" : [ "live.gain~", "live.gain~", 0 ], + "parameterbanks" : { + "0" : { + "index" : 0, + "name" : "", + "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] + } + + } +, + "inherited_shortname" : 1 + } +, "dependency_cache" : [ { "name" : "o.collect.mxo", "type" : "iLaX" @@ -3254,6 +3401,10 @@ "name" : "o.pack.mxo", "type" : "iLaX" } +, { + "name" : "o.print.mxo", + "type" : "iLaX" + } , { "name" : "o.righttoleft.maxpat", "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering", @@ -3277,6 +3428,13 @@ "name" : "o.var.mxo", "type" : "iLaX" } +, { + "name" : "vt.verbose_print.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } ], "autosave" : 0 } -- 2.34.1