From 6fcc6d9f29a61b7c286095322a2c8c16e656be1d Mon Sep 17 00:00:00 2001 From: Joe Steccato Date: Tue, 27 Feb 2024 20:11:33 -0500 Subject: [PATCH] in ho_st "st" stereo mixdown mode, should only record 2 channels. add audio on/off reset and set sfrecord # of chans --- extras/ppooll_host.maxpat | 418 +++++++++++++++++++++++++++++++------- 1 file changed, 344 insertions(+), 74 deletions(-) diff --git a/extras/ppooll_host.maxpat b/extras/ppooll_host.maxpat index 6aea5cf..8402291 100755 --- a/extras/ppooll_host.maxpat +++ b/extras/ppooll_host.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 527.0, 115.0, 130.0, 125.0 ], + "rect" : [ 562.0, 117.0, 130.0, 125.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 11.595186999999999, @@ -514,7 +514,7 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 70.0, 106.0, 58.0, 20.0 ], - "text" : "14:50:21", + "text" : "20:07:09", "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "varname" : "time" } @@ -12753,7 +12753,7 @@ "bgfillcolor_proportion" : 0.39, "bgfillcolor_type" : "color", "id" : "obj-38", - "items" : [ "no", ",", "ho_st1", ",", "xgroove@3" ], + "items" : [ "no", ",", "ho_st1" ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, @@ -12813,7 +12813,7 @@ "allowdrag" : 0, "fontsize" : 11.595186999999999, "id" : "obj-9", - "items" : [ "none", ",", "", ",", "pseudo-echo.json" ], + "items" : [ "none", ",", "" ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, @@ -13313,7 +13313,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 314.0, 52.5, 29.0, 35.0 ], - "text" : "", + "text" : "\r", "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } @@ -13774,7 +13774,7 @@ "allowdrag" : 0, "fontsize" : 13.0, "id" : "obj-17", - "items" : [ "no", ",", "ho_st1", ",", "xgroove@3" ], + "items" : [ "no", ",", "ho_st1" ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, @@ -18168,7 +18168,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.0, 112.0, 114.0, 22.0 ], - "text" : "xgroove@ 3" + "text" : "ho_st 1" } } @@ -18281,7 +18281,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 241.0, 14.0, 263.0, 35.0 ], - "text" : "\"Macintosh HD:/Users/josephsteccato/Documents/Max 8/Library/ppooll_presets/xgroove@T\"" + "text" : "\"Macintosh HD:/Users/josephsteccato/Documents/Max 8/Library/ppooll_presets/ho_stT\"" } } @@ -19223,7 +19223,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 298.5, 367.0, 128.0, 22.0 ], - "text" : "pseudo-echo" + "text" : "_" } } @@ -21910,13 +21910,12 @@ , { "box" : { "id" : "obj-18", - "linecount" : 2, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 331.0, 205.0, 76.0, 22.0 ], - "text" : "pseudo-echo" + "text" : "_" } } @@ -21985,7 +21984,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 405.0, 455.0, 75.0, 22.0 ], - "text" : "xgroove@" + "text" : "ho_st" } } @@ -24115,7 +24114,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 63.333333333333314, 89.0, 90.0, 22.0 ], - "text" : "xgroove@2" + "text" : "ho_st1" } } @@ -25217,13 +25216,13 @@ , { "box" : { "id" : "obj-49", - "linecount" : 3, + "linecount" : 2, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 259.5, 367.0, 37.0, 35.0 ], - "text" : "xgroove@" + "text" : "ho_st" } } @@ -26273,7 +26272,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 13.0, 2.0, 87.0, 22.0 ], - "text" : "xgroove@2" + "text" : "ho_st1" } } @@ -26733,13 +26732,12 @@ "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", - "linecount" : 5, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 92.25, 304.0, 169.0, 22.0 ], - "text" : "read \"Macintosh HD:/Users/josephsteccato/Documents/Max 8/Library/ppooll_presets/xgroove@P/pseudo-echo.json\"" + "text" : "send ::ho_st1::pat" } } @@ -27208,7 +27206,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 264.0, 102.0, 159.0, 22.0 ], - "text" : "xgroove@2 pseudo-echo" + "text" : "ho_st1 _" } } @@ -27938,7 +27936,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 158.0, 27.0, 313.0, 22.0 ], - "text" : "pseudo-echo" + "text" : "_" } } @@ -30230,7 +30228,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 186.5, 96.0, 22.0 ], - "text" : "pseudo-echo" + "text" : "_" } } @@ -33563,7 +33561,7 @@ , { "box" : { "id" : "obj-7", - "items" : [ ".git", ",", "amxd@P", ",", "amxd@T", ",", "ar.bitglitter@T", ",", "autocount@T", ",", "bangerP", ",", "beastP", ",", "buffer_hostP", ",", "buffubT", ",", "chucker@T", ",", "control@P", ",", "environmentsP", ",", "fcbControlT", ",", "flopP", ",", "gamepad@T", ",", "ho_stP", ",", "keyfreqP", ",", "matriarch@P", ",", "mmods@P", ",", "modul.atorP", ",", "modul.atorT", ",", "notepad@P", ",", "notepad@T", ",", "polyrhythmusP", ",", "rc.loop@T", ",", "rec_eventsSeq", ",", "rombT", ",", "sh.bubblerT", ",", "sinusT", ",", "snap@P", ",", "uclidP", ",", "vst@P", ",", "w_filterT", ",", "waveletsP", ",", "xgroove@P", ",", "xgroove@T" ], + "items" : [ ".git", ",", "amxd@P", ",", "amxd@T", ",", "ar.bitglitter@T", ",", "autocount@T", ",", "bangerP", ",", "beastP", ",", "buffer_hostP", ",", "buffubT", ",", "chucker@T", ",", "control@P", ",", "environmentsP", ",", "fcbControlT", ",", "flopP", ",", "gamepad@T", ",", "gizmo@P", ",", "ho_stP", ",", "keyfreqP", ",", "matriarch@P", ",", "mmods@P", ",", "modul.atorP", ",", "modul.atorT", ",", "notepad@P", ",", "notepad@T", ",", "polyrhythmusP", ",", "rc.loop@T", ",", "rec_eventsSeq", ",", "rombT", ",", "sh.bubblerT", ",", "sinusT", ",", "snap@P", ",", "uclidP", ",", "vst@P", ",", "w_filterT", ",", "waveletsP", ",", "xgroove@P", ",", "xgroove@T" ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, @@ -41318,7 +41316,7 @@ } ], - "bgcolor" : [ 0.0, 0.377063065767288, 0.304954886436462, 1.0 ] + "bgcolor" : [ 0.080597415566444, 0.0, 0.590669453144073, 1.0 ] } , "patching_rect" : [ 401.5, 252.0, 64.0, 24.0 ], @@ -41327,7 +41325,7 @@ "digest" : "", "fontsize" : 10.0, "globalpatchername" : "", - "locked_bgcolor" : [ 0.0, 0.377063065767288, 0.304954886436462, 1.0 ], + "locked_bgcolor" : [ 0.080597415566444, 0.0, 0.590669453144073, 1.0 ], "tags" : "" } , @@ -61013,7 +61011,7 @@ } , "classnamespace" : "box", - "rect" : [ 43.0, 240.0, 718.0, 465.0 ], + "rect" : [ 370.0, 347.0, 718.0, 465.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 10.0, @@ -61302,7 +61300,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 153.0, 372.0, 50.0, 22.0 ], - "text" : "0" + "text" : "1" } } @@ -61727,7 +61725,7 @@ } , "classnamespace" : "box", - "rect" : [ 413.0, 458.0, 652.0, 279.0 ], + "rect" : [ 424.0, 564.0, 652.0, 279.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -61757,37 +61755,316 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-12", - "maxclass" : "message", - "numinlets" : 2, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 133.0, 28.0, 35.0, 22.0 ], - "text" : "open" - } + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 1, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 795.0, 121.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 114.0, 163.0, 29.5, 22.0 ], + "text" : "t i i" + } - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 27.0, 71.0, 24.0, 24.0 ] - } + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 9.0, 187.0, 33.0, 22.0 ], + "text" : "== 0" + } - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 301.0, 62.0, 57.0, 22.0 ], - "text" : "ll.r chans" + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 9.0, 250.0, 61.0, 22.0 ], + "text" : "gate" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 9.0, 294.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 51.0, 216.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 49.5, 110.0, 81.5, 22.0 ], + "text" : "t b i" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 49.5, 134.0, 59.0, 22.0 ], + "text" : "s ll_audio" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 145.5, 250.0, 29.5, 22.0 ], + "text" : "2" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "" ], + "patching_rect" : [ 112.5, 211.0, 85.0, 22.0 ], + "text" : "sel 0 1" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 112.5, 133.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 49.5, 86.0, 58.0, 22.0 ], + "text" : "ll.r stereo" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 51.0, 187.0, 57.0, 22.0 ], + "text" : "ll.r chans" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-37", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 10.5, 326.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-14", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 302.0, 91.0, 100.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p chans-&-stereo" } } @@ -61799,7 +62076,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 301.0, 100.0, 50.0, 22.0 ] + "patching_rect" : [ 302.0, 130.0, 50.0, 22.0 ] } } @@ -61813,7 +62090,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 301.0, 129.0, 324.0, 35.0 ], + "patching_rect" : [ 302.0, 159.0, 324.0, 35.0 ], "text" : "delete sfr, new sfr newex 50 100 190 196617 mc.sfrecord~ $1, connect in 0 sfr 0" } @@ -61825,7 +62102,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 301.0, 173.0, 85.0, 22.0 ], + "patching_rect" : [ 302.0, 203.0, 85.0, 22.0 ], "text" : "prepend script" } @@ -61837,7 +62114,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 301.0, 200.0, 67.0, 22.0 ], + "patching_rect" : [ 302.0, 230.0, 67.0, 22.0 ], "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], "text" : "thispatcher" } @@ -61861,7 +62138,7 @@ "box" : { "fontname" : "Geneva", "fontsize" : 9.0, - "id" : "obj-2", + "id" : "obj-43", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, @@ -61875,7 +62152,7 @@ ], "lines" : [ { "patchline" : { - "destination" : [ "obj-2", 0 ], + "destination" : [ "obj-43", 0 ], "source" : [ "obj-14", 0 ] } @@ -61896,15 +62173,15 @@ } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-39", 0 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-9", 0 ] + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-5", 0 ] } } @@ -62563,13 +62840,13 @@ "fontname" : "Arial", "fontsize" : 9.160197999999999, "id" : "obj-25", - "linecount" : 3, + "linecount" : 4, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 358.0, 299.0, 166.0, 39.0 ], - "text" : "\"Macintosh HD:/Users/josephsteccato/Music/ppooll/ppooll_rec//0.0.0llrec0.0.0.\"" + "text" : "\"Macintosh HD:/Users/josephsteccato/Music/ppooll/ppooll_rec//2024.2.27llrec19.57.52.wav\"" } } @@ -64086,7 +64363,7 @@ "screen" : [ 0 ], "stereo" : [ 0 ], "tetris_menu" : [ "" ], - "title_menu" : [ "closeall" ], + "title_menu" : [ "subpatch" ], "vol" : [ 1.0 ], "vol_ramp" : [ 10 ], "vol_slider" : [ 1.0 ], @@ -64564,13 +64841,6 @@ "type" : "TEXT", "implicit" : 1 } -, { - "name" : "pseudo-echo", - "bootpath" : "~/Documents/Max 8/Library/ppooll_presets/buffer_hostP", - "patcherrelativepath" : "../../../Library/ppooll_presets/buffer_hostP", - "type" : "TEXT", - "implicit" : 1 - } , { "name" : "shell.mxo", "type" : "iLaX"