From 51e179848879419396be64dd12af69690f2d2dc7 Mon Sep 17 00:00:00 2001 From: Jeffrey Lubow Date: Tue, 10 May 2016 14:14:36 -0400 Subject: [PATCH] adding converter for bundles to spat --- max/util/o.spatformat.maxpat | 143 +++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 max/util/o.spatformat.maxpat diff --git a/max/util/o.spatformat.maxpat b/max/util/o.spatformat.maxpat new file mode 100644 index 0000000..8c5618a --- /dev/null +++ b/max/util/o.spatformat.maxpat @@ -0,0 +1,143 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 2, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 59.0, 104.0, 276.0, 282.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" : "gridded", + "boxes" : [ { + "box" : { + "id" : "obj-44", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 5, + "outlettype" : [ "", "", "", "", "" ], + "patching_rect" : [ 43.0, 150.5, 153.0, 22.0 ], + "style" : "", + "text" : "regexp \\\\/ @substitute \" \"" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 43.0, 118.5, 63.0, 22.0 ], + "style" : "", + "text" : "o.atomize" + } + + } +, { + "box" : { + "id" : "obj-46", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 43.0, 87.0, 53.0, 22.0 ], + "style" : "", + "text" : "o.flatten" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 43.0, 27.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-23", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 43.0, 197.5, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-46", 0 ] + } + + } + ] + } + +} -- 2.34.1