Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## old format:
- max v2;
- #N vpatcher 343 333 686 616;
- #N comlet delay time;
- #P inlet 201 80 15 0;
- #N comlet list;
- #P outlet 37 186 15 0;
- #N comlet four int list to be delayed;
- #P inlet 37 76 15 0;
- #P window setfont "Sans Serif" 9.;
- #P newex 37 163 135 196617 pack i i i i;
- #P newex 160 138 51 196617 pipe 0;
- #P newex 119 138 35 196617 pipe 0;
- #P newex 78 139 35 196617 pipe 0;
- #P newex 37 139 35 196617 pipe 0;
- #P newex 37 99 133 196617 unpack i i i i;
- #P connect 6 0 0 0;
- #P connect 0 0 1 0;
- #P connect 1 0 5 0;
- #P connect 5 0 7 0;
- #P connect 8 0 1 1;
- #P connect 0 1 2 0;
- #P connect 2 0 5 1;
- #P connect 8 0 2 1;
- #P connect 0 2 3 0;
- #P connect 3 0 5 2;
- #P connect 8 0 3 1;
- #P connect 0 3 4 0;
- #P connect 4 0 5 3;
- #P connect 8 0 4 1;
- #P pop;
- ## same "patcher" / script, new format (yes, it's JSON):
- {
- "patcher" : {
- "fileversion" : 1,
- "rect" : [ 789.0, 308.0, 343.0, 309.0 ],
- "bglocked" : 0,
- "defrect" : [ 789.0, 308.0, 343.0, 309.0 ],
- "openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
- "openinpresentation" : 0,
- "default_fontsize" : 12.0,
- "default_fontface" : 0,
- "default_fontname" : "Arial",
- "gridonopen" : 0,
- "gridsize" : [ 15.0, 15.0 ],
- "gridsnaponopen" : 0,
- "toolbarvisible" : 1,
- "boxanimatetime" : 200,
- "imprint" : 0,
- "metadata" : [ ],
- "boxes" : [ {
- "box" : {
- "maxclass" : "inlet",
- "numinlets" : 0,
- "numoutlets" : 1,
- "patching_rect" : [ 201.0, 80.0, 15.0, 15.0 ],
- "outlettype" : [ "" ],
- "id" : "obj-1",
- "comment" : "delay time"
- }
- }
- , {
- "box" : {
- "maxclass" : "outlet",
- "numinlets" : 1,
- "numoutlets" : 0,
- "patching_rect" : [ 37.0, 186.0, 15.0, 15.0 ],
- "id" : "obj-2",
- "comment" : "list"
- }
- }
- , {
- "box" : {
- "maxclass" : "inlet",
- "numinlets" : 0,
- "numoutlets" : 1,
- "patching_rect" : [ 37.0, 76.0, 15.0, 15.0 ],
- "outlettype" : [ "" ],
- "id" : "obj-3",
- "comment" : "four int list to be delayed"
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "pack i i i i",
- "numinlets" : 4,
- "fontsize" : 9.0,
- "numoutlets" : 1,
- "patching_rect" : [ 37.0, 163.0, 135.0, 17.0 ],
- "outlettype" : [ "" ],
- "fontname" : "Arial",
- "id" : "obj-4"
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "pipe 0",
- "numinlets" : 2,
- "fontsize" : 9.0,
- "numoutlets" : 1,
- "patching_rect" : [ 160.0, 138.0, 51.0, 17.0 ],
- "outlettype" : [ "" ],
- "fontname" : "Arial",
- "id" : "obj-5"
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "pipe 0",
- "numinlets" : 2,
- "fontsize" : 9.0,
- "numoutlets" : 1,
- "patching_rect" : [ 119.0, 138.0, 35.0, 17.0 ],
- "outlettype" : [ "" ],
- "fontname" : "Arial",
- "id" : "obj-6"
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "pipe 0",
- "numinlets" : 2,
- "fontsize" : 9.0,
- "numoutlets" : 1,
- "patching_rect" : [ 78.0, 139.0, 35.0, 17.0 ],
- "outlettype" : [ "" ],
- "fontname" : "Arial",
- "id" : "obj-7"
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "pipe 0",
- "numinlets" : 2,
- "fontsize" : 9.0,
- "numoutlets" : 1,
- "patching_rect" : [ 37.0, 139.0, 35.0, 17.0 ],
- "outlettype" : [ "" ],
- "fontname" : "Arial",
- "id" : "obj-8"
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "unpack i i i i",
- "numinlets" : 1,
- "fontsize" : 9.0,
- "numoutlets" : 4,
- "patching_rect" : [ 37.0, 99.0, 133.0, 17.0 ],
- "outlettype" : [ "int", "int", "int", "int" ],
- "fontname" : "Arial",
- "id" : "obj-9"
- }
- }
- ],
- "lines" : [ {
- "patchline" : {
- "source" : [ "obj-1", 0 ],
- "destination" : [ "obj-5", 1 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-5", 0 ],
- "destination" : [ "obj-4", 3 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-9", 3 ],
- "destination" : [ "obj-5", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-1", 0 ],
- "destination" : [ "obj-6", 1 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-6", 0 ],
- "destination" : [ "obj-4", 2 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-9", 2 ],
- "destination" : [ "obj-6", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-1", 0 ],
- "destination" : [ "obj-7", 1 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-7", 0 ],
- "destination" : [ "obj-4", 1 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-9", 1 ],
- "destination" : [ "obj-7", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-1", 0 ],
- "destination" : [ "obj-8", 1 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-4", 0 ],
- "destination" : [ "obj-2", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-8", 0 ],
- "destination" : [ "obj-4", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-9", 0 ],
- "destination" : [ "obj-8", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-3", 0 ],
- "destination" : [ "obj-9", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- ]
- }
- }
Add Comment
Please, Sign In to add comment