Trigger sfplay with qt.grab so that it will sync with playback

vstiefel's icon

When using qt.grab to record a mov, how can I trigger an sfplay so that when I play the mov I can sync with sfplay?

I cannot get a qt time value as I write, but perhaps I can calculate one as I record, trigger sfplay, then use that value during qt play?

----------begin_max5_patcher----------

{
    "patcher" :     {
        "fileversion" : 1,
        "appversion" :         {
            "major" : 6,
            "minor" : 1,
            "revision" : 3,
            "architecture" : "x86"
        }
,
        "rect" : [ 1116.0, 147.0, 640.0, 480.0 ],
        "bglocked" : 0,
        "openinpresentation" : 0,
        "default_fontsize" : 12.0,
        "default_fontface" : 0,
        "default_fontname" : "Arial",
        "gridonopen" : 0,
        "gridsize" : [ 15.0, 15.0 ],
        "gridsnaponopen" : 0,
        "statusbarvisible" : 2,
        "toolbarvisible" : 1,
        "boxanimatetime" : 200,
        "imprint" : 0,
        "enablehscroll" : 1,
        "enablevscroll" : 1,
        "devicewidth" : 0.0,
        "description" : "",
        "digest" : "",
        "tags" : "",
        "boxes" : [             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "frgb" : 0.0,
                    "id" : "obj-16",
                    "linecount" : 3,
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 478.0, 397.359711, 174.0, 47.0 ],
                    "presentation_rect" : [ 483.0, 397.359711, 0.0, 0.0 ],
                    "text" : "...so that when I play back mov... I can sync my sf with qt movie playback"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "frgb" : 0.0,
                    "id" : "obj-94",
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 633.0, 344.0, 100.0, 21.0 ],
                    "text" : "QT time values",
                    "textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
                }

            }
,             {
                "box" :                 {
                    "bubble" : 1,
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "frgb" : 0.0,
                    "id" : "obj-15",
                    "linecount" : 2,
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 558.0, 223.5, 177.0, 40.0 ],
                    "text" : "send the 'gettime' message with each bang",
                    "textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-88",
                    "maxclass" : "number",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "int", "bang" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 583.0, 344.0, 50.0, 21.0 ]
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-86",
                    "maxclass" : "jit.pwindow",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "" ],
                    "patching_rect" : [ 478.0, 304.0, 89.0, 68.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-85",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "bang" ],
                    "patching_rect" : [ 478.0, 233.0, 73.0, 21.0 ],
                    "text" : "t gettime b"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-82",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "" ],
                    "patching_rect" : [ 583.0, 304.0, 70.0, 21.0 ],
                    "text" : "route time"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-76",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 358.0, 179.0, 107.0, 19.0 ],
                    "text" : "read myFile.mov"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-78",
                    "maxclass" : "flonum",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "float", "bang" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 530.0, 179.0, 50.0, 21.0 ]
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-79",
                    "maxclass" : "toggle",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "int" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 478.0, 179.0, 20.0, 20.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-80",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "bang" ],
                    "patching_rect" : [ 478.0, 206.5, 71.0, 21.0 ],
                    "text" : "qmetro 30"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-81",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "jit_matrix", "" ],
                    "patching_rect" : [ 478.0, 274.0, 124.0, 21.0 ],
                    "text" : "jit.qt.movie"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "frgb" : 0.0,
                    "id" : "obj-13",
                    "linecount" : 3,
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 381.0, 114.359711, 150.0, 47.0 ],
                    "text" : "how can I calculate a qt time value as I \"write\"\nin order to trigger sfplay..."
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "id" : "obj-9",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 273.199341, 114.359711, 101.0, 18.0 ],
                    "text" : "write myFile.mov"
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-7",
                    "maxclass" : "ezdac~",
                    "numinlets" : 2,
                    "numoutlets" : 0,
                    "patching_rect" : [ 623.0, 161.024292, 45.0, 45.0 ]
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-5",
                    "maxclass" : "toggle",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "int" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 545.0, 136.0, 20.0, 20.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "id" : "obj-3",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 574.0, 95.0, 37.0, 18.0 ],
                    "text" : "open"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "id" : "obj-1",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 2,
                    "outlettype" : [ "signal", "bang" ],
                    "patching_rect" : [ 574.0, 136.0, 49.0, 20.0 ],
                    "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ],
                    "text" : "sfplay~"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-59",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 122.821968, 161.024292, 39.0, 19.0 ],
                    "text" : "open"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-61",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 105.321968, 114.359711, 74.0, 19.0 ],
                    "text" : "getinputlist"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "frgb" : 0.0,
                    "id" : "obj-63",
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 186.916458, 748.586182, 144.0, 21.0 ],
                    "text" : "supports: 4 plane char.",
                    "textcolor" : [ 0.516304, 0.516304, 0.516304, 1.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-65",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 117.199341, 136.0, 73.0, 19.0 ],
                    "text" : "getvdevlist"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-67",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 93.199333, 94.0, 58.0, 19.0 ],
                    "text" : "getinput"
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-92",
                    "maxclass" : "toggle",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "int" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 31.091619, 154.189041, 20.0, 20.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-93",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "bang" ],
                    "patching_rect" : [ 31.091619, 185.359711, 71.338112, 21.0 ],
                    "text" : "qmetro 30"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-95",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "jit_matrix", "" ],
                    "patching_rect" : [ 31.091619, 313.024292, 120.107712, 21.0 ],
                    "text" : "jit.qt.grab 320 240"
                }

            }
,             {
                "box" :                 {
                    "background" : 1,
                    "id" : "obj-96",
                    "maxclass" : "jit.pwindow",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "" ],
                    "patching_rect" : [ 31.091619, 359.369537, 320.0, 240.0 ]
                }

            }
],
        "lines" : [             {
                "patchline" :                 {
                    "destination" : [ "obj-7", 1 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-1", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-7", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-1", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-1", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-3", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-1", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-5", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-59", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 1,
                    "midpoints" : [ 114.821968, 217.813492, 40.591621, 217.813492 ],
                    "source" : [ "obj-61", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 1,
                    "midpoints" : [ 126.699341, 217.813492, 40.591621, 217.813492 ],
                    "source" : [ "obj-65", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "midpoints" : [ 102.699333, 217.813492, 40.591621, 217.813492 ],
                    "source" : [ "obj-67", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-81", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "midpoints" : [ 367.5, 267.0, 487.5, 267.0 ],
                    "source" : [ "obj-76", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-80", 1 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-78", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-80", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-79", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-85", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-80", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-82", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-81", 1 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-86", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-81", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-88", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-82", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-81", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-85", 1 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-81", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-85", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-9", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-93", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-92", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-93", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-96", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-95", 0 ]
                }

            }
],
        "dependency_cache" : [ ]
    }

}
-----------end_max5_patcher-----------

vstiefel's icon

----------begin_max5_patcher----------

{
    "patcher" :     {
        "fileversion" : 1,
        "appversion" :         {
            "major" : 6,
            "minor" : 1,
            "revision" : 3,
            "architecture" : "x86"
        }
,
        "rect" : [ 1116.0, 147.0, 640.0, 480.0 ],
        "bglocked" : 0,
        "openinpresentation" : 0,
        "default_fontsize" : 12.0,
        "default_fontface" : 0,
        "default_fontname" : "Arial",
        "gridonopen" : 0,
        "gridsize" : [ 15.0, 15.0 ],
        "gridsnaponopen" : 0,
        "statusbarvisible" : 2,
        "toolbarvisible" : 1,
        "boxanimatetime" : 200,
        "imprint" : 0,
        "enablehscroll" : 1,
        "enablevscroll" : 1,
        "devicewidth" : 0.0,
        "description" : "",
        "digest" : "",
        "tags" : "",
        "boxes" : [             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "frgb" : 0.0,
                    "id" : "obj-16",
                    "linecount" : 3,
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 478.0, 397.359711, 174.0, 47.0 ],
                    "presentation_rect" : [ 483.0, 397.359711, 0.0, 0.0 ],
                    "text" : "...so that when I play back mov... I can sync my sf with qt movie playback"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "frgb" : 0.0,
                    "id" : "obj-94",
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 633.0, 344.0, 100.0, 21.0 ],
                    "text" : "QT time values",
                    "textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
                }

            }
,             {
                "box" :                 {
                    "bubble" : 1,
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "frgb" : 0.0,
                    "id" : "obj-15",
                    "linecount" : 2,
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 558.0, 223.5, 177.0, 40.0 ],
                    "text" : "send the 'gettime' message with each bang",
                    "textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-88",
                    "maxclass" : "number",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "int", "bang" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 583.0, 344.0, 50.0, 21.0 ]
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-86",
                    "maxclass" : "jit.pwindow",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "" ],
                    "patching_rect" : [ 478.0, 304.0, 89.0, 68.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-85",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "bang" ],
                    "patching_rect" : [ 478.0, 233.0, 73.0, 21.0 ],
                    "text" : "t gettime b"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-82",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "" ],
                    "patching_rect" : [ 583.0, 304.0, 70.0, 21.0 ],
                    "text" : "route time"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-76",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 358.0, 179.0, 107.0, 19.0 ],
                    "text" : "read myFile.mov"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-78",
                    "maxclass" : "flonum",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "float", "bang" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 530.0, 179.0, 50.0, 21.0 ]
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-79",
                    "maxclass" : "toggle",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "int" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 478.0, 179.0, 20.0, 20.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-80",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "bang" ],
                    "patching_rect" : [ 478.0, 206.5, 71.0, 21.0 ],
                    "text" : "qmetro 30"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-81",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "jit_matrix", "" ],
                    "patching_rect" : [ 478.0, 274.0, 124.0, 21.0 ],
                    "text" : "jit.qt.movie"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "frgb" : 0.0,
                    "id" : "obj-13",
                    "linecount" : 3,
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 381.0, 114.359711, 150.0, 47.0 ],
                    "text" : "how can I calculate a qt time value as I \"write\"\nin order to trigger sfplay..."
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "id" : "obj-9",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 273.199341, 114.359711, 101.0, 18.0 ],
                    "text" : "write myFile.mov"
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-7",
                    "maxclass" : "ezdac~",
                    "numinlets" : 2,
                    "numoutlets" : 0,
                    "patching_rect" : [ 623.0, 161.024292, 45.0, 45.0 ]
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-5",
                    "maxclass" : "toggle",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "int" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 545.0, 136.0, 20.0, 20.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "id" : "obj-3",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 574.0, 95.0, 37.0, 18.0 ],
                    "text" : "open"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 12.0,
                    "id" : "obj-1",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 2,
                    "outlettype" : [ "signal", "bang" ],
                    "patching_rect" : [ 574.0, 136.0, 49.0, 20.0 ],
                    "save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ],
                    "text" : "sfplay~"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-59",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 122.821968, 161.024292, 39.0, 19.0 ],
                    "text" : "open"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-61",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 105.321968, 114.359711, 74.0, 19.0 ],
                    "text" : "getinputlist"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "frgb" : 0.0,
                    "id" : "obj-63",
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 186.916458, 748.586182, 144.0, 21.0 ],
                    "text" : "supports: 4 plane char.",
                    "textcolor" : [ 0.516304, 0.516304, 0.516304, 1.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-65",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 117.199341, 136.0, 73.0, 19.0 ],
                    "text" : "getvdevlist"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-67",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 93.199333, 94.0, 58.0, 19.0 ],
                    "text" : "getinput"
                }

            }
,             {
                "box" :                 {
                    "id" : "obj-92",
                    "maxclass" : "toggle",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "int" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 31.091619, 154.189041, 20.0, 20.0 ]
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-93",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "bang" ],
                    "patching_rect" : [ 31.091619, 185.359711, 71.338112, 21.0 ],
                    "text" : "qmetro 30"
                }

            }
,             {
                "box" :                 {
                    "fontname" : "Arial",
                    "fontsize" : 13.0,
                    "id" : "obj-95",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "jit_matrix", "" ],
                    "patching_rect" : [ 31.091619, 313.024292, 120.107712, 21.0 ],
                    "text" : "jit.qt.grab 320 240"
                }

            }
,             {
                "box" :                 {
                    "background" : 1,
                    "id" : "obj-96",
                    "maxclass" : "jit.pwindow",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "" ],
                    "patching_rect" : [ 31.091619, 359.369537, 320.0, 240.0 ]
                }

            }
],
        "lines" : [             {
                "patchline" :                 {
                    "destination" : [ "obj-7", 1 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-1", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-7", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-1", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-1", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-3", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-1", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-5", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-59", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 1,
                    "midpoints" : [ 114.821968, 217.813492, 40.591621, 217.813492 ],
                    "source" : [ "obj-61", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 1,
                    "midpoints" : [ 126.699341, 217.813492, 40.591621, 217.813492 ],
                    "source" : [ "obj-65", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "midpoints" : [ 102.699333, 217.813492, 40.591621, 217.813492 ],
                    "source" : [ "obj-67", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-81", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "midpoints" : [ 367.5, 267.0, 487.5, 267.0 ],
                    "source" : [ "obj-76", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-80", 1 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-78", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-80", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-79", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-85", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-80", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-82", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-81", 1 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-86", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-81", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-88", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-82", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-81", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-85", 1 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-81", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-85", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-9", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-93", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-92", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-95", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-93", 0 ]
                }

            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-96", 0 ],
                    "disabled" : 0,
                    "hidden" : 0,
                    "source" : [ "obj-95", 0 ]
                }

            }
],
        "dependency_cache" : [ ]
    }

}
-----------end_max5_patcher-----------