I'm completely stumped..


    Dec 09 2013 | 7:16 pm
    So this is what I am trying to do:
    I have two videos. Video 1 constantly loops, and a button press activates Video 2. Once Video 2 stops playing it goes back to Video 1 and continues to loop. I thought it sounded simple enough, but it's driving me crazy. Any thoughts/ideas on how to pull this off?
    you can take a look at my patch so far if you want, its based off of one I found called FastCuts.
    Thanks!
    Jeremy

    • Dec 09 2013 | 7:37 pm
      my thinking was to use the last frame number of Video 2 to trigger a bang to button. This activates Video 1 as well as a gswitch turning off the frame count which allows video 1 to loop.
    • Dec 09 2013 | 7:38 pm
      ----------begin_max5_patcher----------
      {
      "boxes" : [ {
      "box" : {
      "maxclass" : "message",
      "text" : "time 0",
      "numinlets" : 2,
      "patching_rect" : [ 246.0, 457.0, 43.0, 18.0 ],
      "id" : "obj-93",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "gswitch",
      "numinlets" : 3,
      "patching_rect" : [ 451.0, 263.0, 102.0, 80.0 ],
      "id" : "obj-91",
      "parameter_enable" : 0,
      "numoutlets" : 1,
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "0 = video 1\n1 = video 2",
      "linecount" : 2,
      "numinlets" : 1,
      "patching_rect" : [ 410.5, 466.5, 150.0, 33.0 ],
      "frgb" : 0.0,
      "id" : "obj-88",
      "fontname" : "Arial",
      "numoutlets" : 0,
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numinlets" : 1,
      "patching_rect" : [ 460.5, 501.5, 50.0, 20.0 ],
      "id" : "obj-86",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "if $i1 == $i2 then bang",
      "numinlets" : 2,
      "patching_rect" : [ 350.5, 539.596985, 129.0, 20.0 ],
      "id" : "obj-84",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numinlets" : 1,
      "patching_rect" : [ 351.0, 474.0, 50.0, 20.0 ],
      "id" : "obj-83",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numinlets" : 1,
      "patching_rect" : [ 761.0, 336.291962, 50.0, 20.0 ],
      "id" : "obj-68",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "if $i1 > $i2 then bang",
      "numinlets" : 2,
      "patching_rect" : [ 649.0, 391.903015, 122.0, 20.0 ],
      "id" : "obj-64",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "t gettime b",
      "numinlets" : 1,
      "patching_rect" : [ 112.0, 438.0, 73.0, 21.0 ],
      "id" : "obj-85",
      "fontname" : "Arial",
      "numoutlets" : 2,
      "outlettype" : [ "", "bang" ],
      "fontsize" : 13.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "sel 1",
      "numinlets" : 2,
      "patching_rect" : [ 550.0, 212.535141, 35.0, 19.0 ],
      "id" : "obj-60",
      "fontname" : "Arial",
      "numoutlets" : 2,
      "outlettype" : [ "bang", "" ],
      "fontsize" : 11.595187
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "unpack s 0",
      "numinlets" : 1,
      "patching_rect" : [ 502.0, 189.535141, 67.0, 19.0 ],
      "id" : "obj-61",
      "fontname" : "Arial",
      "numoutlets" : 2,
      "outlettype" : [ "", "int" ],
      "fontsize" : 11.595187
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "numinlets" : 1,
      "patching_rect" : [ 717.0, 186.903, 54.0, 19.0 ],
      "triscale" : 0.9,
      "id" : "obj-56",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "float", "bang" ],
      "fontsize" : 11.595187,
      "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
      "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numinlets" : 1,
      "patching_rect" : [ 660.0, 186.903, 54.0, 19.0 ],
      "triscale" : 0.9,
      "id" : "obj-57",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 11.595187,
      "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
      "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numinlets" : 1,
      "patching_rect" : [ 750.0, 243.903, 52.0, 19.0 ],
      "triscale" : 0.9,
      "id" : "obj-58",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 11.595187,
      "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
      "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "/ 1.",
      "numinlets" : 2,
      "patching_rect" : [ 750.0, 220.903, 32.5, 19.0 ],
      "id" : "obj-59",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "float" ],
      "fontsize" : 11.595187
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "numinlets" : 1,
      "patching_rect" : [ 1026.0, 558.0, 52.0, 52.0 ],
      "id" : "obj-51",
      "parameter_enable" : 0,
      "numoutlets" : 1,
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "if $i1 > $i2 then bang",
      "numinlets" : 2,
      "patching_rect" : [ 1000.0, 494.903015, 122.0, 20.0 ],
      "id" : "obj-43",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numinlets" : 1,
      "patching_rect" : [ 956.0, 430.903015, 50.0, 20.0 ],
      "id" : "obj-44",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "$1",
      "numinlets" : 2,
      "patching_rect" : [ 873.0, 392.903015, 32.5, 18.0 ],
      "id" : "obj-45",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "scale 1 2 0 1",
      "numinlets" : 6,
      "patching_rect" : [ 857.0, 353.903015, 86.5, 20.0 ],
      "id" : "obj-46",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "button",
      "numinlets" : 1,
      "patching_rect" : [ 887.0, 168.903, 41.0, 41.0 ],
      "id" : "obj-47",
      "numoutlets" : 1,
      "outlettype" : [ "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numinlets" : 1,
      "patching_rect" : [ 887.0, 298.337036, 50.0, 20.0 ],
      "id" : "obj-48",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "counter 1 2",
      "numinlets" : 5,
      "patching_rect" : [ 887.0, 236.903, 73.0, 20.0 ],
      "id" : "obj-49",
      "fontname" : "Arial",
      "numoutlets" : 4,
      "outlettype" : [ "int", "", "", "int" ],
      "fontsize" : 12.0
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "set $1",
      "numinlets" : 2,
      "patching_rect" : [ 590.0, 275.337036, 42.0, 17.0 ],
      "id" : "obj-1",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 11.595187
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numinlets" : 1,
      "patching_rect" : [ 583.5, 303.905121, 55.0, 19.0 ],
      "triscale" : 0.9,
      "id" : "obj-33",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 11.595187,
      "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
      "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "/",
      "numinlets" : 2,
      "patching_rect" : [ 590.0, 250.337036, 32.5, 19.0 ],
      "id" : "obj-34",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 11.595187
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "numinlets" : 1,
      "patching_rect" : [ 590.0, 214.337036, 52.0, 19.0 ],
      "triscale" : 0.9,
      "id" : "obj-35",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 2,
      "outlettype" : [ "int", "bang" ],
      "fontsize" : 11.595187,
      "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
      "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "route read time duration timescale fps rate vol looppoints",
      "numinlets" : 9,
      "patching_rect" : [ 532.0, 130.337036, 474.0, 19.0 ],
      "id" : "obj-36",
      "fontname" : "Arial",
      "numoutlets" : 9,
      "outlettype" : [ "", "", "", "", "", "", "", "", "" ],
      "fontsize" : 11.595187
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "getfps, gettimescale, getduration, getrate, getvol",
      "numinlets" : 2,
      "patching_rect" : [ 502.0, 67.337029, 258.0, 17.0 ],
      "id" : "obj-37",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 11.595187
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "frame $i1",
      "numinlets" : 2,
      "patching_rect" : [ 576.0, 364.903015, 59.0, 17.0 ],
      "id" : "obj-38",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 11.595187
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "numinlets" : 1,
      "patching_rect" : [ 451.0, 4.0, 8.0, 47.0 ],
      "id" : "obj-2",
      "rounded" : 0,
      "numoutlets" : 0,
      "bgcolor" : [ 0.168627, 0.513726, 1.0, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "numinlets" : 1,
      "patching_rect" : [ 439.0, 4.0, 13.0, 47.0 ],
      "id" : "obj-3",
      "rounded" : 0,
      "numoutlets" : 0,
      "bgcolor" : [ 1.0, 0.945098, 0.094118, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "andrewb@cycling74.com",
      "numinlets" : 1,
      "patching_rect" : [ 303.0, 36.0, 120.0, 17.0 ],
      "frgb" : 0.0,
      "id" : "obj-4",
      "fontname" : "Arial",
      "numoutlets" : 0,
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "Fast Cuts",
      "numinlets" : 1,
      "patching_rect" : [ 307.0, 9.0, 118.0, 33.0 ],
      "frgb" : 0.0,
      "id" : "obj-5",
      "fontname" : "Arial",
      "numoutlets" : 0,
      "fontsize" : 24.0
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "numinlets" : 1,
      "patching_rect" : [ 423.0, 4.0, 17.0, 47.0 ],
      "id" : "obj-6",
      "rounded" : 0,
      "numoutlets" : 0,
      "bgcolor" : [ 0.909804, 0.427451, 0.0, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "numinlets" : 1,
      "patching_rect" : [ 259.0, 4.0, 166.0, 47.0 ],
      "id" : "obj-7",
      "rounded" : 0,
      "numoutlets" : 0,
      "bgcolor" : [ 0.87451, 0.956863, 1.0, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "clip menu",
      "numinlets" : 1,
      "patching_rect" : [ 132.0, 188.0, 49.0, 17.0 ],
      "frgb" : 0.0,
      "id" : "obj-8",
      "fontname" : "Arial",
      "numoutlets" : 0,
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "+ 1",
      "numinlets" : 2,
      "patching_rect" : [ 131.0, 78.177727, 28.824324, 18.0 ],
      "id" : "obj-9",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 10.100161
      }
      }
      , {
      "box" : {
      "maxclass" : "umenu",
      "numinlets" : 1,
      "patching_rect" : [ 131.0, 51.0, 58.716217, 17.0 ],
      "id" : "obj-10",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 3,
      "outlettype" : [ "int", "", "" ],
      "fontsize" : 9.0,
      "items" : [ "clip", ",", "frame" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "gate 2",
      "numinlets" : 2,
      "patching_rect" : [ 131.0, 105.355446, 137.621613, 18.0 ],
      "id" : "obj-11",
      "fontname" : "Arial",
      "numoutlets" : 2,
      "outlettype" : [ "", "" ],
      "fontsize" : 10.100161
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "p pick_a_start_frame",
      "numinlets" : 2,
      "patching_rect" : [ 157.779846, 303.905121, 111.46154, 18.0 ],
      "id" : "obj-12",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 10.607677,
      "patcher" : {
      "fileversion" : 1,
      "appversion" : {
      "major" : 6,
      "minor" : 1,
      "revision" : 3,
      "architecture" : "x86"
      }
      ,
      "rect" : [ 20.0, 74.0, 261.0, 262.0 ],
      "bglocked" : 0,
      "openinpresentation" : 0,
      "default_fontsize" : 12.0,
      "default_fontface" : 0,
      "default_fontname" : "Arial",
      "gridonopen" : 0,
      "gridsize" : [ 15.0, 5.0 ],
      "gridsnaponopen" : 0,
      "statusbarvisible" : 2,
      "toolbarvisible" : 1,
      "boxanimatetime" : 200,
      "imprint" : 0,
      "enablehscroll" : 1,
      "enablevscroll" : 1,
      "devicewidth" : 0.0,
      "description" : "",
      "digest" : "",
      "tags" : "",
      "boxes" : [ {
      "box" : {
      "maxclass" : "inlet",
      "numinlets" : 0,
      "patching_rect" : [ 170.0, 50.0, 15.0, 15.0 ],
      "id" : "obj-1",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "comment" : ""
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "frame $1",
      "numinlets" : 2,
      "patching_rect" : [ 100.0, 164.0, 52.0, 15.0 ],
      "id" : "obj-2",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "t b i",
      "numinlets" : 1,
      "patching_rect" : [ 100.0, 70.0, 43.0, 17.0 ],
      "id" : "obj-3",
      "fontname" : "Arial",
      "numoutlets" : 2,
      "outlettype" : [ "bang", "int" ],
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "t b",
      "numinlets" : 1,
      "patching_rect" : [ 50.0, 69.0, 20.0, 17.0 ],
      "id" : "obj-4",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "bang" ],
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "random",
      "numinlets" : 2,
      "patching_rect" : [ 100.0, 126.0, 43.0, 17.0 ],
      "id" : "obj-5",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "getframecount",
      "numinlets" : 2,
      "patching_rect" : [ 50.0, 90.0, 75.0, 15.0 ],
      "id" : "obj-6",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "route read framecount",
      "numinlets" : 3,
      "patching_rect" : [ 50.0, 50.0, 111.0, 17.0 ],
      "id" : "obj-7",
      "fontname" : "Arial",
      "numoutlets" : 3,
      "outlettype" : [ "", "", "" ],
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "inlet",
      "numinlets" : 0,
      "patching_rect" : [ 50.0, 30.0, 15.0, 15.0 ],
      "id" : "obj-8",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "comment" : ""
      }
      }
      , {
      "box" : {
      "maxclass" : "outlet",
      "numinlets" : 1,
      "patching_rect" : [ 100.0, 184.0, 15.0, 15.0 ],
      "id" : "obj-9",
      "numoutlets" : 0,
      "comment" : ""
      }
      }
      ],
      "lines" : [ {
      "patchline" : {
      "source" : [ "obj-8", 0 ],
      "destination" : [ "obj-7", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-7", 0 ],
      "destination" : [ "obj-4", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-7", 1 ],
      "destination" : [ "obj-3", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-6", 0 ],
      "destination" : [ "obj-9", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-5", 0 ],
      "destination" : [ "obj-2", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-4", 0 ],
      "destination" : [ "obj-6", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-3", 0 ],
      "destination" : [ "obj-5", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-3", 1 ],
      "destination" : [ "obj-5", 1 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-2", 0 ],
      "destination" : [ "obj-9", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-1", 0 ],
      "destination" : [ "obj-5", 0 ],
      "hidden" : 0,
      "midpoints" : [ 179.0, 121.0, 109.5, 121.0 ],
      "disabled" : 0
      }
      }
      ]
      }
      ,
      "saved_object_attributes" : {
      "default_fontface" : 0,
      "default_fontname" : "Arial",
      "default_fontsize" : 12.0,
      "description" : "",
      "digest" : "",
      "fontface" : 0,
      "fontname" : "Arial",
      "fontsize" : 12.0,
      "globalpatchername" : "",
      "tags" : ""
      }
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "drop movie folder",
      "numinlets" : 1,
      "patching_rect" : [ 30.0, 101.0, 87.0, 17.0 ],
      "frgb" : 0.0,
      "id" : "obj-13",
      "fontname" : "Arial",
      "numoutlets" : 0,
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "0",
      "hidden" : 1,
      "numinlets" : 2,
      "patching_rect" : [ 390.371429, 186.903, 34.0, 22.0 ],
      "id" : "obj-14",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 16.033041
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "sel 0",
      "hidden" : 1,
      "numinlets" : 2,
      "patching_rect" : [ 347.571442, 233.500549, 41.0, 21.0 ],
      "id" : "obj-15",
      "fontname" : "Arial",
      "numoutlets" : 2,
      "outlettype" : [ "bang", "" ],
      "fontsize" : 13.089143
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "counter 24",
      "hidden" : 1,
      "numinlets" : 5,
      "patching_rect" : [ 347.571442, 212.079926, 75.0, 19.0 ],
      "id" : "obj-16",
      "fontname" : "Arial",
      "numoutlets" : 4,
      "outlettype" : [ "int", "", "", "int" ],
      "fontsize" : 11.029709
      }
      }
      , {
      "box" : {
      "maxclass" : "button",
      "hidden" : 1,
      "numinlets" : 1,
      "patching_rect" : [ 317.0, 103.837029, 73.0, 73.0 ],
      "id" : "obj-17",
      "numoutlets" : 1,
      "outlettype" : [ "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "sync~",
      "hidden" : 1,
      "numinlets" : 1,
      "patching_rect" : [ 317.0, 189.535141, 49.0, 20.0 ],
      "id" : "obj-18",
      "fontname" : "Arial",
      "numoutlets" : 3,
      "outlettype" : [ "signal", "", "int" ],
      "fontsize" : 12.115212
      }
      }
      , {
      "box" : {
      "maxclass" : "ezdac~",
      "numinlets" : 2,
      "patching_rect" : [ 2.0, 413.903015, 33.0, 33.0 ],
      "id" : "obj-19",
      "numoutlets" : 0
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "numinlets" : 1,
      "patching_rect" : [ 22.0, 243.903, 27.0, 27.0 ],
      "id" : "obj-20",
      "parameter_enable" : 0,
      "numoutlets" : 1,
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "qmetro 5",
      "numinlets" : 2,
      "patching_rect" : [ 15.0, 364.903015, 51.0, 17.0 ],
      "id" : "obj-21",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "bang" ],
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.window flashy @size 640 480",
      "numinlets" : 1,
      "patching_rect" : [ 67.0, 336.291962, 174.429703, 18.0 ],
      "id" : "obj-22",
      "fontname" : "Arial",
      "numoutlets" : 2,
      "outlettype" : [ "bang", "" ],
      "fontsize" : 10.607677
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.qt.movie @adapt 1",
      "numinlets" : 1,
      "patching_rect" : [ 67.0, 280.189789, 110.0, 18.0 ],
      "id" : "obj-23",
      "fontname" : "Arial",
      "numoutlets" : 2,
      "outlettype" : [ "jit_matrix", "" ],
      "fontsize" : 10.607677
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "prepend read",
      "numinlets" : 1,
      "patching_rect" : [ 67.0, 237.0, 68.0, 17.0 ],
      "id" : "obj-24",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "random",
      "numinlets" : 2,
      "patching_rect" : [ 131.0, 150.198685, 45.905407, 18.0 ],
      "id" : "obj-25",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "int" ],
      "fontsize" : 10.100161
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "route populate",
      "numinlets" : 2,
      "patching_rect" : [ 112.0, 210.0, 74.0, 17.0 ],
      "id" : "obj-26",
      "fontname" : "Arial",
      "numoutlets" : 2,
      "outlettype" : [ "", "" ],
      "fontsize" : 9.0
      }
      }
      , {
      "box" : {
      "maxclass" : "umenu",
      "numinlets" : 1,
      "patching_rect" : [ 22.0, 188.0, 109.0, 17.0 ],
      "id" : "obj-27",
      "fontname" : "Arial",
      "parameter_enable" : 0,
      "numoutlets" : 3,
      "outlettype" : [ "int", "", "" ],
      "autopopulate" : 1,
      "prefix" : "Macantosh HD:/Users/Jeremy/Documents/Projects/thebutton/videos/test/",
      "fontsize" : 9.0,
      "items" : [ "Radniel_Glass_Test_2_lights.mov", ",", "self in the mirror3.mov" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "prepend prefix",
      "numinlets" : 1,
      "patching_rect" : [ 22.0, 154.756577, 105.0, 23.0 ],
      "id" : "obj-28",
      "fontname" : "Arial",
      "numoutlets" : 1,
      "outlettype" : [ "" ],
      "fontsize" : 15.017571
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "numinlets" : 1,
      "patching_rect" : [ 22.0, 21.0, 103.0, 123.0 ],
      "id" : "obj-29",
      "rounded" : 0,
      "numoutlets" : 0,
      "bgcolor" : [ 0.372549, 0.894118, 0.203922, 1.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "dropfile",
      "numinlets" : 1,
      "patching_rect" : [ 22.0, 21.0, 103.0, 123.0 ],
      "id" : "obj-30",
      "border" : 0.0,
      "rounded" : 0.0,
      "numoutlets" : 2,
      "outlettype" : [ "", "" ],
      "ignoreclick" : 1
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "tap beat",
      "hidden" : 1,
      "numinlets" : 1,
      "patching_rect" : [ 326.304749, 87.369049, 57.0, 21.0 ],
      "frgb" : 0.0,
      "id" : "obj-31",
      "fontname" : "Arial",
      "numoutlets" : 0,
      "fontsize" : 13.391743
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "trigger destination",
      "numinlets" : 1,
      "patching_rect" : [ 190.783783, 53.717773, 98.216217, 18.0 ],
      "frgb" : 0.0,
      "id" : "obj-32",
      "fontname" : "Arial",
      "numoutlets" : 0,
      "fontsize" : 10.100161
      }
      }
      ],
      "lines" : [ {
      "patchline" : {
      "source" : [ "obj-93", 0 ],
      "destination" : [ "obj-23", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-91", 0 ],
      "destination" : [ "obj-38", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-9", 0 ],
      "destination" : [ "obj-11", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-86", 0 ],
      "destination" : [ "obj-84", 1 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-85", 0 ],
      "destination" : [ "obj-23", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-84", 0 ],
      "destination" : [ "obj-91", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-83", 0 ],
      "destination" : [ "obj-84", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-68", 0 ],
      "destination" : [ "obj-64", 1 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-64", 0 ],
      "destination" : [ "obj-51", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-61", 1 ],
      "destination" : [ "obj-60", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 0.0, 0.0, 1.0 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-60", 0 ],
      "destination" : [ "obj-37", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-59", 0 ],
      "destination" : [ "obj-58", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 0.0, 0.0, 1.0 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-58", 0 ],
      "destination" : [ "obj-34", 1 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-57", 0 ],
      "destination" : [ "obj-59", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 0.0, 0.0, 1.0 ],
      "midpoints" : [ 669.5, 210.903, 759.5, 210.903 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-56", 0 ],
      "destination" : [ "obj-59", 1 ],
      "hidden" : 0,
      "color" : [ 0.0, 0.0, 0.0, 1.0 ],
      "midpoints" : [ 726.5, 204.903, 773.0, 204.903 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-51", 0 ],
      "destination" : [ "obj-27", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-49", 0 ],
      "destination" : [ "obj-48", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-48", 0 ],
      "destination" : [ "obj-46", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-48", 0 ],
      "destination" : [ "obj-43", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-47", 0 ],
      "destination" : [ "obj-49", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-46", 0 ],
      "destination" : [ "obj-45", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-45", 0 ],
      "destination" : [ "obj-44", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-44", 0 ],
      "destination" : [ "obj-43", 1 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-43", 0 ],
      "destination" : [ "obj-51", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-38", 0 ],
      "destination" : [ "obj-64", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-38", 0 ],
      "destination" : [ "obj-23", 0 ],
      "hidden" : 0,
      "midpoints" : [ 585.5, 452.337036, 338.0, 452.337036, 338.0, 270.189789, 76.5, 270.189789 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-37", 0 ],
      "destination" : [ "obj-23", 0 ],
      "hidden" : 0,
      "midpoints" : [ 511.5, 182.763412, 76.5, 182.763412 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-36", 0 ],
      "destination" : [ "obj-61", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-36", 3 ],
      "destination" : [ "obj-57", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-36", 4 ],
      "destination" : [ "obj-56", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-36", 1 ],
      "destination" : [ "obj-35", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 0.0, 0.0, 1.0 ],
      "midpoints" : [ 598.375, 152.337036, 633.0, 152.337036, 633.0, 208.337036, 599.5, 208.337036 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-35", 0 ],
      "destination" : [ "obj-34", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 0.0, 0.0, 1.0 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-34", 0 ],
      "destination" : [ "obj-1", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 0.0, 0.0, 1.0 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-33", 0 ],
      "destination" : [ "obj-91", 1 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-30", 0 ],
      "destination" : [ "obj-28", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-28", 0 ],
      "destination" : [ "obj-27", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-27", 0 ],
      "destination" : [ "obj-83", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-27", 2 ],
      "destination" : [ "obj-26", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-27", 1 ],
      "destination" : [ "obj-24", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-26", 0 ],
      "destination" : [ "obj-25", 1 ],
      "hidden" : 0,
      "midpoints" : [ 121.5, 232.0, 191.0, 232.0, 191.0, 149.0, 167.405411, 149.0 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-24", 0 ],
      "destination" : [ "obj-23", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-23", 1 ],
      "destination" : [ "obj-36", 0 ],
      "hidden" : 0,
      "midpoints" : [ 167.5, 308.189789, 354.5, 308.189789, 354.5, 120.337036, 541.5, 120.337036 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-23", 0 ],
      "destination" : [ "obj-22", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-23", 1 ],
      "destination" : [ "obj-12", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-21", 0 ],
      "destination" : [ "obj-85", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-21", 0 ],
      "destination" : [ "obj-23", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-20", 0 ],
      "destination" : [ "obj-21", 0 ],
      "hidden" : 0,
      "midpoints" : [ 31.5, 317.403015, 24.5, 317.403015 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-20", 0 ],
      "destination" : [ "obj-19", 0 ],
      "hidden" : 0,
      "midpoints" : [ 31.5, 341.903015, 11.5, 341.903015 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-18", 2 ],
      "destination" : [ "obj-16", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-17", 0 ],
      "destination" : [ "obj-18", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-17", 0 ],
      "destination" : [ "obj-14", 0 ],
      "hidden" : 0,
      "midpoints" : [ 326.5, 183.435287, 399.871429, 183.435287 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-16", 0 ],
      "destination" : [ "obj-15", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-15", 0 ],
      "destination" : [ "obj-11", 1 ],
      "hidden" : 0,
      "midpoints" : [ 357.071442, 259.0, 286.0, 259.0, 286.0, 100.0, 259.121613, 100.0 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-14", 0 ],
      "destination" : [ "obj-16", 3 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-12", 0 ],
      "destination" : [ "obj-23", 0 ],
      "hidden" : 0,
      "midpoints" : [ 167.279846, 332.284668, 269.774536, 332.284668, 269.774536, 269.503662, 76.5, 269.503662 ],
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-11", 0 ],
      "destination" : [ "obj-25", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-11", 1 ],
      "destination" : [ "obj-12", 1 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-10", 0 ],
      "destination" : [ "obj-9", 0 ],
      "hidden" : 0,
      "disabled" : 0
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-1", 0 ],
      "destination" : [ "obj-33", 0 ],
      "hidden" : 0,
      "color" : [ 0.0, 0.0, 0.0, 1.0 ],
      "disabled" : 0
      }
      }
      ],
      "appversion" : {
      "major" : 6,
      "minor" : 1,
      "revision" : 3,
      "architecture" : "x86"
      }
      }
      -----------end_max5_patcher-----------
    • Dec 10 2013 | 4:51 am
      Can't open your patch, but take a look at this...