{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, "minor" : 5, "revision" : 6, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", "rect" : [ 768.0, 167.0, 741.0, 528.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" : "", "showontab" : 1, "assistshowspatchername" : 0, "boxes" : [ { "box" : { "fontface" : 1, "id" : "obj-4", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 496.0, 236.0, 204.0, 34.0 ], "text" : "Open any of the following exampe patches to see agn.host in action!" } } , { "box" : { "hidden" : 1, "id" : "obj-14", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 588.5, 340.0, 51.0, 22.0 ], "text" : "pcontrol" } } , { "box" : { "hidden" : 1, "id" : "obj-13", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 588.5, 306.0, 48.0, 22.0 ], "text" : "load $1" } } , { "box" : { "align" : 1, "id" : "obj-11", "items" : [ "agn_starter", ",", "looped_noise_examples", ",", "space_travel_example" ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 520.5, 272.0, 155.0, 22.0 ], "textjustification" : 1 } } , { "box" : { "bubble" : 1, "id" : "obj-32", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 251.0, 283.0, 158.0, 52.0 ], "text" : "See the Settings tab to show available rendering and exporting settings" } } , { "box" : { "bubble" : 1, "id" : "obj-30", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 255.0, 164.0, 164.0, 24.0 ], "text" : "Choose your export folder" } } , { "box" : { "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 229.0, 223.0, 126.0, 22.0 ], "text" : "prepend export_folder" } } , { "box" : { "id" : "obj-27", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, "patching_rect" : [ 229.0, 164.0, 24.0, 24.0 ] } } , { "box" : { "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "patching_rect" : [ 229.0, 195.0, 90.0, 22.0 ], "text" : "opendialog fold" } } , { "box" : { "id" : "obj-23", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 36.0, 390.0, 95.0, 22.0 ], "text" : "s from_agn.host" } } , { "box" : { "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 166.0, 298.0, 79.0, 22.0 ], "text" : "r to_agn.host" } } , { "box" : { "hidden" : 1, "id" : "obj-21", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, "minor" : 5, "revision" : 6, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", "rect" : [ 0.0, 26.0, 741.0, 476.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" : "", "showontab" : 1, "assistshowspatchername" : 0, "boxes" : [ { "box" : { "bubble" : 1, "id" : "obj-30", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 546.0, 284.0, 192.0, 66.0 ], "text" : "Enable to automatically delete previously exported frames before a new export. Requires the shell external to work." } } , { "box" : { "id" : "obj-29", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 456.0, 305.0, 88.0, 22.0 ], "text" : "auto_delete $1" } } , { "box" : { "id" : "obj-25", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 456.0, 269.0, 24.0, 24.0 ] } } , { "box" : { "id" : "obj-23", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 155.0, 368.0, 93.0, 22.0 ], "text" : "r from_agn.host" } } , { "box" : { "id" : "obj-31", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, "minor" : 5, "revision" : 6, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", "rect" : [ 59.0, 107.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" : { "comment" : "", "id" : "obj-2", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 73.0, 30.0, 30.0 ] } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "int" ], "patching_rect" : [ 50.0, 123.0, 59.0, 22.0 ], "text" : "unpack i i" } } , { "box" : { "id" : "obj-243", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 173.0, 295.0, 22.0 ], "text" : "sprintf set Per loop: %i frames to render (%i to export)" } } , { "box" : { "comment" : "", "id" : "obj-29", "index" : 1, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 50.000005999999985, 213.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-243", 1 ], "source" : [ "obj-1", 1 ] } } , { "patchline" : { "destination" : [ "obj-243", 0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-29", 0 ], "source" : [ "obj-243", 0 ] } } ] } , "patching_rect" : [ 155.0, 398.0, 94.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", "globalpatchername" : "", "tags" : "" } , "text" : "p frame-number" } } , { "box" : { "id" : "obj-26", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 155.0, 427.0, 256.600000000000023, 20.0 ], "text" : "Per loop: 120 frames to render (60 to export)" } } , { "box" : { "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 10.0, 368.0, 81.0, 22.0 ], "text" : "s to_agn.host" } } , { "box" : { "id" : "obj-21", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 177.0, 153.0, 81.0, 22.0 ], "text" : "fps_export $1" } } , { "box" : { "id" : "obj-18", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 348.0, 272.0, 92.0, 22.0 ], "text" : "inter_frames $1" } } , { "box" : { "id" : "obj-12", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 10.0, 153.0, 69.0, 22.0 ], "text" : "duration $1" } } , { "box" : { "id" : "obj-10", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 53.0, 302.0, 72.0, 22.0 ], "text" : "pre_loop $1" } } , { "box" : { "border" : 0, "filename" : "helpname.js", "id" : "obj-7", "ignoreclick" : 1, "jsarguments" : [ "agn.host" ], "maxclass" : "jsui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 10.0, 10.0, 183.920013427734375, 57.600002288818359 ] } } , { "box" : { "bubble" : 1, "id" : "obj-47", "linecount" : 5, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 88.0, 216.0, 227.0, 79.0 ], "text" : "If frames depend on previous frames (feedback, smearing, jit.anim.drive animations...), it might be necessary to run the loop once (or more) before exporting." } } , { "box" : { "bubble" : 1, "id" : "obj-217", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 383.0, 193.0, 256.0, 66.0 ], "text" : "Rendering extra frames between exported frames can help with smoothness (eg. smearing). Basically makes rendering on a higher framerate than the export." } } , { "box" : { "bubble" : 1, "id" : "obj-59", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 220.0, 84.0, 348.0, 66.0 ], "text" : "GIFs only work with integer frame interval. \n1 means 1/100 (0.01s), 2 means 50fps (0.02s), 3 means 33.3333fps (0.03s)...\nIn the [umenu], values with a * are not suitable for gif export." } } , { "box" : { "fontface" : 1, "id" : "obj-19", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 348.0, 166.0, 71.0, 20.0 ], "text" : "Inter-frame" } } , { "box" : { "fontface" : 1, "id" : "obj-13", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 53.0, 196.0, 104.0, 20.0 ], "text" : "Pre-export loops" } } , { "box" : { "id" : "obj-239", "items" : [ 120, "*", ",", 100, ",", 60, "*", ",", 50, ",", 33.333333000000003, ",", 25, ",", 20, ",", 12.5 ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 155.0, 105.0, 63.0, 22.0 ] } } , { "box" : { "id" : "obj-165", "linecount" : 5, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 368.0, 188.0, 19.0, 75.0 ], "text" : "0\n1\n2\n3\n4" } } , { "box" : { "disabled" : [ 0, 0, 0, 0, 0 ], "id" : "obj-166", "itemtype" : 0, "maxclass" : "radiogroup", "numinlets" : 1, "numoutlets" : 1, "offset" : 14, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 348.0, 188.0, 18.0, 72.0 ], "size" : 5, "value" : 1 } } , { "box" : { "id" : "obj-76", "linecount" : 5, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 73.0, 218.0, 19.0, 75.0 ], "text" : "0\n1\n2\n3\n4" } } , { "box" : { "disabled" : [ 0, 0, 0, 0, 0 ], "id" : "obj-48", "itemtype" : 0, "maxclass" : "radiogroup", "numinlets" : 1, "numoutlets" : 1, "offset" : 14, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 53.0, 218.0, 18.0, 72.0 ], "size" : 5, "value" : 1 } } , { "box" : { "hidden" : 1, "id" : "obj-36", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 62.0, 105.0, 73.0, 22.0 ], "text" : "loadmess 1." } } , { "box" : { "hidden" : 1, "id" : "obj-35", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 220.0, 105.0, 70.0, 22.0 ], "text" : "loadmess 5" } } , { "box" : { "fontface" : 1, "id" : "obj-17", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 155.0, 83.0, 71.0, 20.0 ], "text" : "Target FPS" } } , { "box" : { "fontface" : 1, "id" : "obj-16", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 10.0, 83.0, 110.0, 20.0 ], "text" : "Loop duration (s.)" } } , { "box" : { "format" : 6, "id" : "obj-14", "maxclass" : "flonum", "minimum" : 0.0, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 10.0, 105.0, 50.0, 22.0 ] } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-22", 0 ], "midpoints" : [ 62.5, 342.0, 19.5, 342.0 ], "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "source" : [ "obj-166", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "midpoints" : [ 357.5, 342.0, 19.5, 342.0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "midpoints" : [ 186.5, 342.0, 19.5, 342.0 ], "source" : [ "obj-21", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 0 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-21", 0 ], "source" : [ "obj-239", 1 ] } } , { "patchline" : { "destination" : [ "obj-29", 0 ], "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "midpoints" : [ 465.5, 342.5, 19.5, 342.5 ], "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-239", 0 ], "hidden" : 1, "source" : [ "obj-35", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "hidden" : 1, "source" : [ "obj-36", 0 ] } } , { "patchline" : { "destination" : [ "obj-10", 0 ], "source" : [ "obj-48", 0 ] } } ] } , "patching_rect" : [ 400.0, 25.0, 62.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", "globalpatchername" : "", "tags" : "" } , "text" : "p Settings", "varname" : "Settings" } } , { "box" : { "bubble" : 1, "id" : "obj-20", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 59.75, 241.0, 105.0, 24.0 ], "text" : "Trigger export" } } , { "box" : { "bubble" : 1, "id" : "obj-18", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 191.0, 389.0, 342.0, 24.0 ], "text" : "Number of frames to render (left) and export (right) per loop" } } , { "box" : { "bubble" : 1, "id" : "obj-15", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 36.0, 164.0, 105.0, 24.0 ], "text" : "Start rendering" } } , { "box" : { "id" : "obj-10", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, "patching_rect" : [ 33.75, 241.0, 24.0, 24.0 ] } } , { "box" : { "id" : "obj-8", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 141.0, 390.0, 50.0, 22.0 ], "text" : "120 60" } } , { "box" : { "fontface" : 0, "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-6", "maxclass" : "jit.fpsgui", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 10.0, 435.0, 80.0, 36.0 ] } } , { "box" : { "id" : "obj-5", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, "patching_rect" : [ 10.0, 389.0, 24.0, 24.0 ] } } , { "box" : { "id" : "obj-3", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 10.0, 164.0, 24.0, 24.0 ] } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 3, "outlettype" : [ "bang", "", "bang" ], "patching_rect" : [ 10.0, 343.0, 71.5, 22.0 ], "text" : "agn.host", "varname" : "agn.host" } } , { "box" : { "border" : 0, "filename" : "helpdetails.js", "id" : "obj-22", "ignoreclick" : 1, "jsarguments" : [ "agn.host" ], "maxclass" : "jsui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 10.0, 10.0, 690.0, 136.0 ] } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-23", 0 ], "order" : 1, "source" : [ "obj-1", 1 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-8", 1 ], "order" : 0, "source" : [ "obj-1", 1 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-13", 0 ], "hidden" : 1, "source" : [ "obj-11", 1 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "hidden" : 1, "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-28", 0 ], "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-25", 0 ], "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "source" : [ "obj-5", 0 ] } } ], "dependency_cache" : [ { "name" : "again_utils.js", "bootpath" : "~/Documents/Max 8/Packages/again/javascript", "patcherrelativepath" : "../javascript", "type" : "TEXT", "implicit" : 1 } , { "name" : "agn.host.maxpat", "bootpath" : "~/Documents/Max 8/Packages/again/patchers", "patcherrelativepath" : "../patchers", "type" : "JSON", "implicit" : 1 } , { "name" : "agn_host.js", "bootpath" : "~/Documents/Max 8/Packages/again/javascript", "patcherrelativepath" : "../javascript", "type" : "TEXT", "implicit" : 1 } , { "name" : "helpdetails.js", "bootpath" : "C74:/help/resources", "type" : "TEXT", "implicit" : 1 } , { "name" : "helpname.js", "bootpath" : "C74:/help/resources", "type" : "TEXT", "implicit" : 1 } , { "name" : "shell.mxe64", "type" : "mx64" } ], "autosave" : 0 } }