]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
adding engine transport
authorequilet <2237372+equilet@users.noreply.github.com>
Tue, 25 Mar 2025 03:18:04 +0000 (20:18 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Tue, 25 Mar 2025 03:18:04 +0000 (20:18 -0700)
engine_transport.maxhelp [new file with mode: 0644]
engine_transport.maxpat [new file with mode: 0644]

diff --git a/engine_transport.maxhelp b/engine_transport.maxhelp
new file mode 100644 (file)
index 0000000..8b9d96e
--- /dev/null
@@ -0,0 +1,165 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 715.0, 326.0, 640.0, 480.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-8",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 197.0, 311.0, 193.0, 33.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-6",
+                                       "linecount" : 2,
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 378.0, 162.0, 166.0, 36.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 116, 105, 109, 101, 115, 105, 103, 0, 0, 0, 0, 44, 100, 105, 0, 64, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 20, 47, 116, 101, 109, 112, 111, 0, 0, 44, 100, 0, 0, 64, 94, 25, -103, -103, -103, -103, -102 ],
+                                       "saved_bundle_length" : 72,
+                                       "text" : "/timesig : [9.5, 16],\n/tempo : 120.4"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-5",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 267.0, 132.0, 93.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 47, 111, 110, 0, 44, 70, 0, 0 ],
+                                       "saved_bundle_length" : 28,
+                                       "text" : "/on : false"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-4",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 249.0, 102.0, 87.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 47, 111, 110, 0, 44, 84, 0, 0 ],
+                                       "saved_bundle_length" : 28,
+                                       "text" : "/on : true"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-3",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 159.0, 126.0, 60.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 114, 101, 115, 101, 116, 0, 0, 44, 0, 0, 0 ],
+                                       "saved_bundle_length" : 32,
+                                       "text" : "/reset"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 197.0, 256.0, 99.0, 22.0 ],
+                                       "text" : "engine_transport"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "engine_transport.maxpat",
+                               "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
+,                      {
+                               "name" : "o.compose.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/engine_transport.maxpat b/engine_transport.maxpat
new file mode 100644 (file)
index 0000000..95a44b8
--- /dev/null
@@ -0,0 +1,411 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 8,
+                       "minor" : 6,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 619.0, 294.0, 758.0, 471.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" : "Untitled5_template",
+               "assistshowspatchername" : 0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 478.0, 346.0, 140.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "bang" ],
+                                       "patching_rect" : [ 452.0, 301.0, 63.0, 22.0 ],
+                                       "text" : "onebang"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-50",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 312.0, 307.0, 113.333333333333371, 22.0 ],
+                                       "text" : "t f b"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-49",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "" ],
+                                       "patching_rect" : [ 385.0, 341.0, 40.0, 22.0 ],
+                                       "text" : "timer"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-45",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 382.0, 206.5, 108.0, 22.0 ],
+                                       "text" : "prepend timesig"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 5,
+                                       "outlettype" : [ "", "", "", "", "FullPacket" ],
+                                       "patching_rect" : [ 165.0, 100.0, 453.0, 22.0 ],
+                                       "text" : "o.route /on /reset /timesig /tempo"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-41",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "bang", "bang", "" ],
+                                       "patching_rect" : [ 326.0, 170.0, 44.0, 22.0 ],
+                                       "text" : "sel 0 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-38",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 4,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 165.0, 380.0, 239.0, 22.0 ],
+                                       "text" : "o.pack /bar /beat /tempo /elapsed/ms"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 13.0,
+                                       "id" : "obj-30",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 273.5, 207.0, 32.5, 23.0 ],
+                                       "text" : "0."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-25",
+                                       "maxclass" : "toggle",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 165.0, 130.0, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 20.0, 196.0, 127.0, 22.0 ],
+                                       "text" : "metro @interval 4n"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 9,
+                                       "outlettype" : [ "int", "int", "float", "float", "float", "", "int", "float", "" ],
+                                       "patching_rect" : [ 165.0, 261.0, 127.5, 22.0 ],
+                                       "text" : "transport"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "attr" : "tempo",
+                                       "id" : "obj-7",
+                                       "maxclass" : "attrui",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 501.0, 206.5, 150.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-51",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 165.0, 40.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-52",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 165.0, 424.0, 30.0, 30.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 1 ],
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 1 ],
+                                       "source" : [ "obj-1", 5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-50", 0 ],
+                                       "source" : [ "obj-1", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-49", 0 ],
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 1 ],
+                                       "source" : [ "obj-30", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-52", 0 ],
+                                       "source" : [ "obj-38", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-41", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-49", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "source" : [ "obj-44", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "source" : [ "obj-44", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-45", 0 ],
+                                       "source" : [ "obj-44", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "source" : [ "obj-44", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-45", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 3 ],
+                                       "source" : [ "obj-49", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-38", 2 ],
+                                       "source" : [ "obj-50", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-49", 1 ],
+                                       "source" : [ "obj-50", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-44", 0 ],
+                                       "source" : [ "obj-51", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}