From d52326c777e7a5455d122f7c48e0060dfcdbffcf Mon Sep 17 00:00:00 2001 From: equilet <2237372+equilet@users.noreply.github.com> Date: Sat, 21 Jun 2025 00:07:53 -0700 Subject: [PATCH] added sonogram for output channels --- _sonogarden.maxpat | 266 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 227 insertions(+), 39 deletions(-) diff --git a/_sonogarden.maxpat b/_sonogarden.maxpat index 1be5b0d..b395d62 100644 --- a/_sonogarden.maxpat +++ b/_sonogarden.maxpat @@ -10,10 +10,156 @@ } , "classnamespace" : "box", - "rect" : [ 34.0, 87.0, 1852.0, 918.0 ], + "rect" : [ 34.0, 87.0, 1760.0, 914.0 ], "openinpresentation" : 1, "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { + "box" : { + "id" : "obj-291", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 297.0, 936.0, 150.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 666.0, 1337.0, 62.0, 20.0 ], + "text" : "sonogram", + "textjustification" : 1 + } + + } +, { + "box" : { + "bgcolor" : [ 0.407843137254902, 0.407843137254902, 0.27843137254902, 1.0 ], + "id" : "obj-264", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 1, + "patching_rect" : [ 311.0, 825.693897641795047, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 649.0, 1299.0, 96.0, 96.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_enum" : [ "off", "on" ], + "parameter_longname" : "button[9]", + "parameter_mmax" : 1, + "parameter_modmode" : 0, + "parameter_shortname" : "button[9]", + "parameter_type" : 2 + } + + } +, + "varname" : "button[8]" + } + + } +, { + "box" : { + "id" : "obj-266", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 311.0, 856.693897641795047, 35.0, 22.0 ], + "text" : "open" + } + + } +, { + "box" : { + "id" : "obj-289", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 311.0, 878.693897641795047, 51.0, 22.0 ], + "text" : "pcontrol" + } + + } +, { + "box" : { + "id" : "obj-265", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 48.0, 133.0, 583.0, 574.0 ], + "openinpresentation" : 1, + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-9", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 244.5, 657.0, 201.0, 33.0 ], + "presentation" : 1, + "presentation_rect" : [ 181.0, 539.0, 221.0, 20.0 ], + "text" : "click on a channel dot to view sonogram" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "multichannelsignal" ], + "patching_rect" : [ 68.0, 35.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "displaychan" : 2, + "domain" : [ 0.0, 13000.0 ], + "id" : "obj-1", + "maxclass" : "spectroscope~", + "monochrome" : 0, + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 68.0, 133.0, 554.0, 512.0 ], + "presentation" : 1, + "presentation_rect" : [ 14.0, 13.0, 554.0, 512.0 ], + "sono" : 1 + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-2", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 311.0, 908.693897641795047, 72.0, 22.0 ], + "text" : "p sonogram" + } + + } +, { "box" : { "id" : "obj-252", "maxclass" : "newobj", @@ -1054,7 +1200,7 @@ } , { "box" : { - "args" : [ "aux-7", "engine_voice.stretch~", 4, 64 ], + "args" : [ "/engine/12", "engine_voice.stretch~", 4, 64 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -1071,7 +1217,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 10075.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 1202.5, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 1203.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -1246,7 +1392,7 @@ } , { "box" : { - "args" : [ "aux-3", "engine_voice.fragments~", 8, 44 ], + "args" : [ "/engine/7", "engine_voice.fragments~", 8, 44 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -1263,7 +1409,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 5320.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 714.772727272727025, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 715.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -1438,7 +1584,7 @@ } , { "box" : { - "args" : [ "aux-3", "engine_voice.fragments~", 8, 36 ], + "args" : [ "/engine/6", "engine_voice.fragments~", 8, 36 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -1455,7 +1601,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 4435.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 617.227272727272521, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 617.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -1630,7 +1776,7 @@ } , { "box" : { - "args" : [ "aux-3", "engine_voice.fragments~", 8, 28 ], + "args" : [ "/engine/5", "engine_voice.fragments~", 8, 28 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -1647,7 +1793,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 3580.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 519.681818181818016, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 520.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -1822,7 +1968,7 @@ } , { "box" : { - "args" : [ "aux-3", "engine_voice.fragments~", 8, 20 ], + "args" : [ "/engine/4", "engine_voice.fragments~", 8, 20 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -1839,7 +1985,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 2718.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 422.136363636363626, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 422.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -1874,7 +2020,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 261.0, 897.0, 140.0, 19.0 ], + "patching_rect" : [ 84.900000000000091, 25.5, 140.0, 19.0 ], "presentation" : 1, "presentation_linecount" : 2, "presentation_rect" : [ 450.0, 1331.0, 81.0, 31.0 ], @@ -1891,7 +2037,7 @@ "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 1, - "patching_rect" : [ 47.0, 20.5, 24.0, 24.0 ], + "patching_rect" : [ 47.0, 21.0, 24.0, 24.0 ], "presentation" : 1, "presentation_rect" : [ 442.0, 1298.0, 97.0, 97.0 ], "saved_attribute_attributes" : { @@ -1937,7 +2083,7 @@ "parameter_enable" : 0, "patching_rect" : [ 77.0, 998.0, 149.900000000000034, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 830.0, 1352.0, 117.5, 20.0 ], + "presentation_rect" : [ 935.0, 1352.0, 117.5, 20.0 ], "rounded" : 0.0, "tabcolor" : [ 0.219607843137255, 0.219607843137255, 0.219607843137255, 0.7 ], "tabs" : [ "1", "2", "3", "4", "5", "6", "7", "8" ] @@ -1956,7 +2102,7 @@ "parameter_enable" : 1, "patching_rect" : [ 47.0, 831.0, 22.0, 93.0 ], "presentation" : 1, - "presentation_rect" : [ 715.0, 1379.0, 22.0, 269.0 ], + "presentation_rect" : [ 820.0, 1379.0, 22.0, 269.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "multislider[14]", @@ -1984,7 +2130,7 @@ "numoutlets" : 0, "patching_rect" : [ 90.900000000000091, 897.0, 128.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 715.0, 1352.0, 238.0, 20.0 ], + "presentation_rect" : [ 820.0, 1352.0, 238.0, 20.0 ], "text" : "master volume" } @@ -2025,7 +2171,7 @@ "parameter_enable" : 1, "patching_rect" : [ 77.0, 831.0, 102.0, 60.0 ], "presentation" : 1, - "presentation_rect" : [ 743.0, 1379.0, 75.0, 269.0 ], + "presentation_rect" : [ 848.0, 1379.0, 75.0, 269.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "gain~", @@ -2056,7 +2202,7 @@ "outlettype" : [ "float" ], "patching_rect" : [ 187.0, 831.0, 57.0, 60.0 ], "presentation" : 1, - "presentation_rect" : [ 825.0, 1379.0, 128.0, 269.0 ] + "presentation_rect" : [ 930.0, 1379.0, 128.0, 269.0 ] } } @@ -2781,7 +2927,7 @@ } , { "box" : { - "args" : [ "aux-7", "engine_voice.stretch~", 4, 60 ], + "args" : [ "/engine/11", "engine_voice.stretch~", 4, 60 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -2798,7 +2944,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 9142.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 1104.954545454545041, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 1105.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -2998,7 +3144,7 @@ } , { "box" : { - "args" : [ "aux-6", "engine_voice.stretch~", 4, 56 ], + "args" : [ "/engine/10", "engine_voice.stretch~", 4, 56 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -3015,7 +3161,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 8192.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 1007.409090909090537, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 1007.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -3398,7 +3544,7 @@ "numoutlets" : 0, "patching_rect" : [ 691.0, 865.0, 150.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 996.0, 1520.0, 150.0, 20.0 ], + "presentation_rect" : [ 1101.0, 1520.0, 150.0, 20.0 ], "text" : "enable verbose printing" } @@ -3437,7 +3583,7 @@ "parameter_enable" : 1, "patching_rect" : [ 663.0, 863.0, 24.0, 24.0 ], "presentation" : 1, - "presentation_rect" : [ 970.0, 1518.0, 24.0, 24.0 ], + "presentation_rect" : [ 1075.0, 1518.0, 24.0, 24.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_enum" : [ "off", "on" ], @@ -3979,7 +4125,7 @@ "numoutlets" : 0, "patching_rect" : [ 1110.0, 663.0, 150.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 559.0, 1336.5, 71.0, 20.0 ], + "presentation_rect" : [ 558.5, 1336.5, 71.0, 20.0 ], "text" : "launch mira", "textcolor" : [ 0.345098039215686, 1.0, 0.4, 1.0 ] } @@ -3997,7 +4143,7 @@ "parameter_enable" : 1, "patching_rect" : [ 1077.0, 661.0, 24.0, 24.0 ], "presentation" : 1, - "presentation_rect" : [ 546.0, 1298.0, 97.0, 97.0 ], + "presentation_rect" : [ 545.5, 1298.0, 97.0, 97.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_enum" : [ "off", "on" ], @@ -5090,7 +5236,7 @@ } , { "box" : { - "args" : [ "aux-5", "engine_voice.stretch~", 4, 52 ], + "args" : [ "/engine/9", "engine_voice.stretch~", 4, 52 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -5107,7 +5253,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 7282.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 909.863636363636033, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 910.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -5282,7 +5428,7 @@ } , { "box" : { - "args" : [ "aux-3", "engine_voice.fragments~", 8, 12 ], + "args" : [ "/engine/3", "engine_voice.fragments~", 8, 12 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -5299,7 +5445,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 1828.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 324.590909090909008, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 325.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -5472,7 +5618,7 @@ , "patching_rect" : [ 1520.0, 805.0, 115.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 1409.0, 1465.0, 74.0, 22.0 ], + "presentation_rect" : [ 1514.0, 1465.0, 74.0, 22.0 ], "text" : "p changelog" } @@ -5561,7 +5707,7 @@ "patching_rect" : [ 1774.0, 825.0, 296.0, 141.0 ], "presentation" : 1, "presentation_linecount" : 10, - "presentation_rect" : [ 970.0, 1352.0, 296.0, 141.0 ], + "presentation_rect" : [ 1075.0, 1352.0, 296.0, 141.0 ], "text" : "LEGEND\n\nR: hit 'r' to refresh the cache with new data from edits\nW: hit 'w' to write the current global parameters to disk\nG: global messaging\nX: hit x to play/stop the sequencer\nA: advance sequencer manually\n[space] : panic off \noption-s: enable storage mode\n[0-9]: store or recall preset" } @@ -5768,7 +5914,7 @@ } , { "box" : { - "args" : [ "aux-4", "engine_voice.noisewash~", 4, 48 ], + "args" : [ "/engine/8", "engine_voice.noisewash~", 4, 48 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -5785,7 +5931,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 6214.0, 544.0, 121.0, 92.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 811.818181818181642, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 812.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -5979,7 +6125,7 @@ } , { "box" : { - "args" : [ "aux-2", "engine_voice.fragments~", 8, 4 ], + "args" : [ "/engine/2", "engine_voice.fragments~", 8, 4 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -5996,7 +6142,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 947.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 227.045454545454504, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 227.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -7369,7 +7515,7 @@ , "patching_rect" : [ 1520.0, 832.0, 115.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 1282.0, 1465.0, 115.0, 22.0 ], + "presentation_rect" : [ 1387.0, 1465.0, 115.0, 22.0 ], "text" : "p global_messaging" } @@ -10842,7 +10988,7 @@ } , { "box" : { - "args" : [ "aux-1", "engine_voice.episodes~", 4, 0 ], + "args" : [ "/engine/1", "engine_voice.episodes~", 4, 0 ], "bgmode" : 0, "border" : 1, "clickthrough" : 0, @@ -10859,7 +11005,7 @@ "outlettype" : [ "multichannelsignal", "multichannelsignal", "FullPacket", "signal", "FullPacket" ], "patching_rect" : [ 47.0, 544.0, 140.0, 73.0 ], "presentation" : 1, - "presentation_rect" : [ 1486.0, 128.5, 192.0, 72.0 ], + "presentation_rect" : [ 1486.0, 129.0, 227.0, 72.0 ], "viewvisibility" : 1 } @@ -11055,10 +11201,19 @@ "source" : [ "obj-116", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-265", 0 ], + "order" : 0, + "source" : [ "obj-118", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-89", 0 ], + "order" : 1, "source" : [ "obj-118", 0 ] } @@ -12477,6 +12632,20 @@ "source" : [ "obj-26", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-266", 0 ], + "source" : [ "obj-264", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-289", 0 ], + "source" : [ "obj-266", 0 ] + } + } , { "patchline" : { @@ -12649,6 +12818,13 @@ "source" : [ "obj-288", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-265", 0 ], + "source" : [ "obj-289", 0 ] + } + } , { "patchline" : { @@ -13330,6 +13506,7 @@ "obj-255" : [ "multislider[19]", "multislider[1]", 0 ], "obj-256" : [ "multislider[20]", "multislider[1]", 0 ], "obj-257" : [ "multislider[21]", "multislider[1]", 0 ], + "obj-264" : [ "button[9]", "button[9]", 0 ], "obj-274" : [ "number[8]", "number[1]", 0 ], "obj-275" : [ "multislider[22]", "multislider", 0 ], "obj-277" : [ "number[9]", "number[1]", 0 ], @@ -13868,6 +14045,10 @@ "name" : "o.compose.mxo", "type" : "iLaX" } +, { + "name" : "o.cond.mxo", + "type" : "iLaX" + } , { "name" : "o.dict.mxo", "type" : "iLaX" @@ -14005,6 +14186,13 @@ "type" : "JSON", "implicit" : 1 } +, { + "name" : "vt.demosnd~.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } , { "name" : "vt.density.maxpat", "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", -- 2.34.1