Max MSP Scalextric Speed Test
Max MSP Scalextric Speed Test
Max MSP Scalextric Speed Test
Max MSP Scalextric Speed Test
November 18, 2020
November 18, 2020
November 18, 2020
November 18, 2020
Making
Making
Making
Making
So my Monday night geek out challenge was: ‘Would it be possible to measure laps and lap times on a Scalextric Micro track?’ Answer: yes… sort of. It works but because my laptop is old it sometimes lags which kind of defeats the point if you are measuring milliseconds. But if I had a faster machine it would work pretty well.
Here’s the pathway: iPhone > EpocCam App > WiFi > Laptop > MaxMSP > jit.Grab > Motion Detector > Stopwatch > Lap Speeds stored in a Coll > Audio Output
The EpocCam app is wonderfully simple to use opens straight into Max MSP with jit.grab.
{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 8,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 181.0, 92.0, 1292.0, 841.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" : {
"id" : "obj-104",
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 390.5, 334.766061782836914, 160.0, 120.0 ]
}
}
, {
"box" : {
"id" : "obj-20",
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 567.5, 171.027536869049072, 369.0, 226.0 ]
}
}
, {
"box" : {
"id" : "obj-59",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 288.0, 665.733938217163086, 45.0, 22.0 ],
"text" : "r stop1"
}
}
, {
"box" : {
"id" : "obj-102",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 288.0, 705.0, 29.5, 22.0 ],
"text" : "1"
}
}
, {
"box" : {
"basictuning" : 440,
"data" : {
"clips" : [ {
"absolutepath" : "Gong.wav",
"filename" : "Gong.wav",
"filekind" : "audiofile",
"id" : "u912001180",
"loop" : 0,
"content_state" : {
}
}
]
}
,
"followglobaltempo" : 0,
"formantcorrection" : 0,
"id" : "obj-101",
"maxclass" : "playlist~",
"mode" : "basic",
"numinlets" : 1,
"numoutlets" : 5,
"originallength" : [ 0.0, "ticks" ],
"originaltempo" : 120.0,
"outlettype" : [ "signal", "signal", "signal", "", "dictionary" ],
"parameter_enable" : 0,
"patching_rect" : [ 288.0, 743.0, 150.0, 30.0 ],
"pitchcorrection" : 0,
"quality" : "basic",
"timestretch" : [ 0 ]
}
}
, {
"box" : {
"basictuning" : 440,
"data" : {
"clips" : [ {
"absolutepath" : "Bell.wav",
"filename" : "Bell.wav",
"filekind" : "audiofile",
"id" : "u185000761",
"loop" : 0,
"content_state" : {
}
}
]
}
,
"followglobaltempo" : 0,
"formantcorrection" : 0,
"id" : "obj-99",
"maxclass" : "playlist~",
"mode" : "basic",
"numinlets" : 1,
"numoutlets" : 5,
"originallength" : [ 0.0, "ticks" ],
"originaltempo" : 120.0,
"outlettype" : [ "signal", "signal", "signal", "", "dictionary" ],
"parameter_enable" : 0,
"patching_rect" : [ 42.701831340789795, 743.0, 150.0, 30.0 ],
"pitchcorrection" : 0,
"quality" : "basic",
"timestretch" : [ 0 ]
}
}
, {
"box" : {
"id" : "obj-97",
"maxclass" : "ezdac~",
"numinlets" : 2,
"numoutlets" : 0,
"patching_rect" : [ 42.701831340789795, 794.766061782836914, 45.0, 45.0 ]
}
}
, {
"box" : {
"id" : "obj-96",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 42.701831340789795, 705.0, 29.5, 22.0 ],
"text" : "1"
}
}
, {
"box" : {
"id" : "obj-93",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "int", "", "" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 8,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 113.0, 62.0, 1201.0, 795.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-12",
"index" : 3,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 821.0, 380.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-3",
"index" : 2,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 619.0, 505.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-2",
"index" : 1,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 109.201831340789795, 663.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-1",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 109.201831340789795, 66.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"id" : "obj-79",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 917.0, 220.532123565673828, 49.0, 22.0 ],
"text" : "r reset1"
}
}
, {
"box" : {
"id" : "obj-80",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 869.0, 220.532123565673828, 45.0, 22.0 ],
"text" : "r stop1"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-84",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 908.600915670394897, 255.532123565673828, 40.798168659210205, 20.0 ],
"text" : "Reset"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-86",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 863.100915670394897, 255.532123565673828, 35.798168659210205, 20.0 ],
"text" : "Stop"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-87",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 815.201831340789795, 255.532123565673828, 35.798168659210205, 20.0 ],
"text" : "Start"
}
}
, {
"box" : {
"id" : "obj-88",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 917.0, 281.266061782836914, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-89",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 869.0, 281.266061782836914, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-90",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 821.0, 281.266061782836914, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-92",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 8,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 59.0, 81.0, 691.0, 701.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-14",
"index" : 1,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 179.0, 526.0, 30.0, 30.0 ],
"varname" : "Time"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-13",
"index" : 3,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 313.0, 107.0, 30.0, 30.0 ],
"varname" : "Reset"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-11",
"index" : 2,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 209.5, 107.0, 30.0, 30.0 ],
"varname" : "Stop"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-10",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 179.0, 107.0, 30.0, 30.0 ],
"varname" : "Start"
}
}
, {
"box" : {
"id" : "obj-9",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 209.5, 175.0, 29.5, 22.0 ],
"text" : "0"
}
}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 179.0, 175.0, 29.5, 22.0 ],
"text" : "1"
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 77.0, 175.0, 70.0, 22.0 ],
"text" : "loadmess 0"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-17",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 269.0, 158.0, 49.0, 20.0 ],
"text" : "Reset:"
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-18",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 179.0, 456.0, 139.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 179.0, 413.0, 45.0, 22.0 ],
"text" : "/ 1000."
}
}
, {
"box" : {
"id" : "obj-32",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 313.0, 158.0, 20.0, 20.0 ],
"presentation" : 1,
"presentation_rect" : [ 345.0, 396.0, 68.0, 68.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-12",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 313.0, 202.0, 32.5, 22.0 ],
"text" : "0"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-6",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 179.0, 369.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-4",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 179.0, 245.0, 20.0, 20.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 179.0, 281.0, 51.0, 22.0 ],
"text" : "metro 1"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 5,
"numoutlets" : 4,
"outlettype" : [ "int", "", "", "int" ],
"patching_rect" : [ 179.0, 319.0, 198.0, 22.0 ],
"text" : "counter"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"source" : [ "obj-10", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 3 ],
"source" : [ "obj-12", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-32", 0 ],
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-14", 0 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"source" : [ "obj-32", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-4", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-18", 0 ],
"source" : [ "obj-7", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-8", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-9", 0 ]
}
}
],
"styles" : [ {
"name" : "AudioStatus_Menu",
"default" : {
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.294118, 0.313726, 0.337255, 1 ],
"color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ],
"color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0
}
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
,
"patching_rect" : [ 821.0, 316.266061782836914, 115.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p stop watch"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-91",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 334.0, 677.0, 41.0, 23.0 ],
"text" : "open"
}
}
, {
"box" : {
"id" : "obj-74",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 334.0, 643.761475086212158, 41.0, 22.0 ],
"text" : "r coll1"
}
}
, {
"box" : {
"id" : "obj-66",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 576.0, 601.0, 49.0, 22.0 ],
"text" : "r reset1"
}
}
, {
"box" : {
"id" : "obj-65",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 715.0, 220.532123565673828, 49.0, 22.0 ],
"text" : "r reset1"
}
}
, {
"box" : {
"id" : "obj-64",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 239.701831340789795, 231.532123565673828, 49.0, 22.0 ],
"text" : "r reset1"
}
}
, {
"box" : {
"id" : "obj-60",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 667.0, 220.532123565673828, 45.0, 22.0 ],
"text" : "r stop1"
}
}
, {
"box" : {
"id" : "obj-59",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 162.0, 539.733938217163086, 47.0, 22.0 ],
"text" : "s stop1"
}
}
, {
"box" : {
"id" : "obj-52",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 200.302747011184692, 501.5, 33.0, 20.0 ],
"text" : "Stop"
}
}
, {
"box" : {
"id" : "obj-51",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 162.0, 494.0, 35.0, 35.0 ]
}
}
, {
"box" : {
"id" : "obj-50",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 252.701831340789795, 429.0, 29.5, 22.0 ],
"text" : "+ 1"
}
}
, {
"box" : {
"id" : "obj-49",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 161.90366268157959, 460.0, 109.798168659210205, 22.0 ],
"text" : "select 51"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-39",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 576.0, 644.0, 40.0, 23.0 ],
"text" : "clear"
}
}
, {
"box" : {
"id" : "obj-37",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 389.0, 534.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-35",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 389.0, 608.0, 50.0, 22.0 ],
"text" : "1"
}
}
, {
"box" : {
"id" : "obj-34",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 389.0, 644.0, 138.201831340789795, 22.0 ],
"text" : "pack 0 0."
}
}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 4,
"outlettype" : [ "", "", "", "" ],
"patching_rect" : [ 389.0, 708.0, 138.201831340789795, 22.0 ],
"saved_object_attributes" : {
"embed" : 0,
"precision" : 6
}
,
"text" : "coll laps"
}
}
, {
"box" : {
"id" : "obj-33",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 508.201831340789795, 608.0, 50.0, 22.0 ],
"text" : "0."
}
}
, {
"box" : {
"id" : "obj-32",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "bang" ],
"patching_rect" : [ 389.201831340789795, 187.532123565673828, 170.0, 22.0 ],
"text" : "t b b b"
}
}
, {
"box" : {
"id" : "obj-22",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 540.201831340789795, 409.0, 97.798168659210205, 22.0 ],
"text" : "8.849"
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-13",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 619.0, 370.266061782836914, 115.0, 22.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-11",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 706.600915670394897, 255.532123565673828, 40.798168659210205, 20.0 ],
"text" : "Reset"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-10",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 661.100915670394897, 255.532123565673828, 35.798168659210205, 20.0 ],
"text" : "Stop"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-9",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 613.201831340789795, 255.532123565673828, 35.798168659210205, 20.0 ],
"text" : "Start"
}
}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 715.0, 281.266061782836914, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 667.0, 281.266061782836914, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 619.0, 281.266061782836914, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 8,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 59.0, 81.0, 691.0, 701.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-14",
"index" : 1,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 179.0, 526.0, 30.0, 30.0 ],
"varname" : "Time"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-13",
"index" : 3,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 313.0, 107.0, 30.0, 30.0 ],
"varname" : "Reset"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-11",
"index" : 2,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 209.5, 107.0, 30.0, 30.0 ],
"varname" : "Stop"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-10",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 179.0, 107.0, 30.0, 30.0 ],
"varname" : "Start"
}
}
, {
"box" : {
"id" : "obj-9",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 209.5, 175.0, 29.5, 22.0 ],
"text" : "0"
}
}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 179.0, 175.0, 29.5, 22.0 ],
"text" : "1"
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 77.0, 175.0, 70.0, 22.0 ],
"text" : "loadmess 0"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-17",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 269.0, 158.0, 49.0, 20.0 ],
"text" : "Reset:"
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-18",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 179.0, 456.0, 139.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 179.0, 413.0, 45.0, 22.0 ],
"text" : "/ 1000."
}
}
, {
"box" : {
"id" : "obj-32",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 313.0, 158.0, 20.0, 20.0 ],
"presentation" : 1,
"presentation_rect" : [ 345.0, 396.0, 68.0, 68.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-12",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 313.0, 202.0, 32.5, 22.0 ],
"text" : "0"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-6",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 179.0, 369.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-4",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 179.0, 245.0, 20.0, 20.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 179.0, 281.0, 51.0, 22.0 ],
"text" : "metro 1"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 5,
"numoutlets" : 4,
"outlettype" : [ "int", "", "", "int" ],
"patching_rect" : [ 179.0, 319.0, 198.0, 22.0 ],
"text" : "counter"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"source" : [ "obj-10", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 3 ],
"source" : [ "obj-12", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-32", 0 ],
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-14", 0 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"source" : [ "obj-32", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-4", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-18", 0 ],
"source" : [ "obj-7", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-8", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-9", 0 ]
}
}
],
"styles" : [ {
"name" : "AudioStatus_Menu",
"default" : {
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.294118, 0.313726, 0.337255, 1 ],
"color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ],
"color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0
}
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
,
"patching_rect" : [ 619.0, 316.266061782836914, 115.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p stop watch"
}
}
, {
"box" : {
"id" : "obj-45",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 109.201831340789795, 539.733938217163086, 29.5, 22.0 ],
"text" : "- 1"
}
}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 309.90366268157959, 397.266061782836914, 77.0, 22.0 ],
"text" : "loadmess 50"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-19",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 252.90366268157959, 372.266061782836914, 50.0, 20.0 ],
"text" : "Laps"
}
}
, {
"box" : {
"id" : "obj-18",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 252.90366268157959, 397.266061782836914, 50.0, 22.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-17",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 231.701831340789795, 271.266061782836914, 40.0, 20.0 ],
"text" : "Reset"
}
}
, {
"box" : {
"id" : "obj-16",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 239.701831340789795, 296.266061782836914, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-15",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 109.201831340789795, 118.553897857666016, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "newobj",
"numinlets" : 5,
"numoutlets" : 4,
"outlettype" : [ "int", "", "", "int" ],
"patching_rect" : [ 109.201831340789795, 336.266061782836914, 193.0, 22.0 ],
"text" : "counter 0 100"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-15", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 1 ],
"order" : 1,
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"order" : 0,
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-32", 0 ],
"order" : 2,
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"order" : 1,
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"order" : 3,
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-90", 0 ],
"order" : 0,
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 3 ],
"source" : [ "obj-16", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-50", 0 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-18", 0 ],
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-33", 1 ],
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"source" : [ "obj-32", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-37", 0 ],
"source" : [ "obj-32", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-32", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-34", 1 ],
"source" : [ "obj-33", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-34", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-34", 0 ],
"source" : [ "obj-35", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-33", 0 ],
"order" : 0,
"source" : [ "obj-37", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-35", 0 ],
"order" : 1,
"source" : [ "obj-37", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-39", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 0 ],
"source" : [ "obj-4", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-45", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-51", 0 ],
"source" : [ "obj-49", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-49", 1 ],
"source" : [ "obj-50", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-59", 0 ],
"source" : [ "obj-51", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 1 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"source" : [ "obj-60", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-16", 0 ],
"source" : [ "obj-64", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-65", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-39", 0 ],
"source" : [ "obj-66", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 2 ],
"source" : [ "obj-7", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-91", 0 ],
"source" : [ "obj-74", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-88", 0 ],
"source" : [ "obj-79", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-35", 1 ],
"order" : 0,
"source" : [ "obj-8", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-45", 0 ],
"order" : 2,
"source" : [ "obj-8", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-49", 0 ],
"order" : 1,
"source" : [ "obj-8", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-89", 0 ],
"source" : [ "obj-80", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-92", 2 ],
"source" : [ "obj-88", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-92", 1 ],
"source" : [ "obj-89", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-92", 0 ],
"source" : [ "obj-90", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-91", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"source" : [ "obj-92", 0 ]
}
}
],
"styles" : [ {
"name" : "AudioStatus_Menu",
"default" : {
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.294118, 0.313726, 0.337255, 1 ],
"color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ],
"color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0
}
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
,
"patching_rect" : [ 224.201831340789795, 401.0, 141.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p Lap Counter and Timer"
}
}
, {
"box" : {
"fontsize" : 48.0,
"format" : 6,
"id" : "obj-77",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 903.5, 585.0, 173.0, 62.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 48.0,
"id" : "obj-78",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 759.0, 585.0, 161.0, 60.0 ],
"text" : "TIME:"
}
}
, {
"box" : {
"id" : "obj-75",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 713.0, 409.527536869049072, 52.0, 20.0 ],
"text" : "Results"
}
}
, {
"box" : {
"id" : "obj-76",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 713.0, 440.395640134811401, 48.0, 48.0 ]
}
}
, {
"box" : {
"id" : "obj-73",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 713.0, 505.0, 43.0, 22.0 ],
"text" : "s coll1"
}
}
, {
"box" : {
"id" : "obj-72",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 594.0, 409.527536869049072, 41.0, 20.0 ],
"text" : "Reset"
}
}
, {
"box" : {
"id" : "obj-69",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 654.0, 505.0, 47.0, 22.0 ],
"text" : "s stop1"
}
}
, {
"box" : {
"id" : "obj-70",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 654.0, 409.527536869049072, 33.0, 20.0 ],
"text" : "Stop"
}
}
, {
"box" : {
"id" : "obj-71",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 654.0, 440.395640134811401, 48.0, 48.0 ]
}
}
, {
"box" : {
"id" : "obj-68",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 594.0, 440.395640134811401, 48.0, 48.0 ]
}
}
, {
"box" : {
"id" : "obj-67",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 594.0, 505.0, 51.0, 22.0 ],
"text" : "s reset1"
}
}
, {
"box" : {
"fontsize" : 48.0,
"format" : 6,
"id" : "obj-63",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 561.0, 585.0, 173.0, 62.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 48.0,
"id" : "obj-61",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 322.0, 585.0, 297.0, 60.0 ],
"text" : "LAP TIME:"
}
}
, {
"box" : {
"id" : "obj-58",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 978.0, 1202.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 48.0,
"id" : "obj-40",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 107.935752868652344, 585.0, 134.0, 60.0 ],
"text" : "LAP:"
}
}
, {
"box" : {
"id" : "obj-38",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 8,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 1134.0, 676.0, 421.0, 376.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,
"visible" : 1,
"boxes" : [ {
"box" : {
"id" : "obj-8",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 273.0, 78.0, 150.0, 33.0 ],
"text" : "Change Sensitivity of Motion Detection"
}
}
, {
"box" : {
"id" : "obj-37",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 36.002297520637512, 313.688071250915527, 74.77064847946167, 20.0 ],
"text" : "Reset Delay"
}
}
, {
"box" : {
"id" : "obj-36",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 146.002297520637512, 313.688071250915527, 67.0, 22.0 ],
"text" : "delay 3000"
}
}
, {
"box" : {
"id" : "obj-35",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 253.5, 475.486231565475464, 24.0, 24.0 ]
}
}
, {
"box" : {
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"id" : "obj-34",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 220.25, 417.486231565475464, 22.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-32",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 367.0, 244.678897857666016, 32.0, 22.0 ],
"text" : "t b b"
}
}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 220.25, 313.688071250915527, 58.0, 22.0 ],
"text" : "loadbang"
}
}
, {
"box" : {
"id" : "obj-28",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 253.5, 371.486231565475464, 29.5, 22.0 ],
"text" : "0"
}
}
, {
"box" : {
"id" : "obj-27",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 220.25, 371.486231565475464, 29.5, 22.0 ],
"text" : "1"
}
}
, {
"box" : {
"id" : "obj-22",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 253.5, 417.486231565475464, 145.5, 22.0 ],
"text" : "gate"
}
}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 367.0, 184.678897857666016, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 222.0, 184.678897857666016, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 2,
"outlettype" : [ "float", "float" ],
"patching_rect" : [ 222.0, 141.678897857666016, 164.0, 22.0 ],
"text" : "split 0.1"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-4",
"index" : 1,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 253.5, 559.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-2",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 222.0, 78.0, 30.0, 30.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-35", 0 ],
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"order" : 0,
"source" : [ "obj-27", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-34", 0 ],
"order" : 1,
"source" : [ "obj-27", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"order" : 0,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-34", 0 ],
"order" : 1,
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"source" : [ "obj-29", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 1 ],
"source" : [ "obj-32", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-28", 0 ],
"source" : [ "obj-32", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-36", 0 ],
"midpoints" : [ 263.0, 515.871497392654419, 121.082568883895874, 515.871497392654419, 121.082568883895874, 302.110047340393066, 155.502297520637512, 302.110047340393066 ],
"order" : 1,
"source" : [ "obj-35", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"order" : 0,
"source" : [ "obj-35", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"source" : [ "obj-36", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-5", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-32", 0 ],
"source" : [ "obj-7", 0 ]
}
}
],
"styles" : [ {
"name" : "AudioStatus_Menu",
"default" : {
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.294118, 0.313726, 0.337255, 1 ],
"color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ],
"color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0
}
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
,
"patching_rect" : [ 224.201831340789795, 269.027536869049072, 77.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p reset delay"
}
}
, {
"box" : {
"fontsize" : 48.0,
"id" : "obj-14",
"maxclass" : "number",
"minimum" : 0,
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 224.201831340789795, 585.0, 75.633005857467651, 62.0 ]
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-2",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 315.302747011184692, 269.027536869049072, 85.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "float", "jit_matrix" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 8,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 34.0, 570.0, 255.0, 505.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,
"visible" : 1,
"boxes" : [ {
"box" : {
"id" : "obj-3",
"linecount" : 2,
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 372.201831340789795, 189.928897857666016, 63.0, 35.0 ],
"text" : "loadmess 0.01"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-85",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 305.951831340789795, 161.428897857666016, 66.5, 20.0 ],
"text" : "Threshold"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"format" : 6,
"id" : "obj-83",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 312.201831340789795, 189.928897857666016, 54.0, 23.0 ],
"triscale" : 0.9
}
}
, {
"box" : {
"id" : "obj-46",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 150.0, 342.125, 120.0, 33.0 ],
"text" : "3m finds the -mean- value of all the pixels"
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-26",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 94.5, 412.875, 85.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-25",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 4,
"outlettype" : [ "", "", "", "" ],
"patching_rect" : [ 84.0, 342.125, 50.5, 22.0 ],
"text" : "jit.3m"
}
}
, {
"box" : {
"id" : "obj-24",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 94.5, 376.875, 41.0, 22.0 ],
"text" : "/ 255."
}
}
, {
"box" : {
"id" : "obj-30",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 84.0, 93.0, 62.0, 22.0 ],
"text" : "jit.change"
}
}
, {
"box" : {
"id" : "obj-97",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 84.0, 214.125, 103.0, 22.0 ],
"text" : "jit.op @op absdiff"
}
}
, {
"box" : {
"id" : "obj-98",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 84.0, 168.125, 103.0, 22.0 ],
"text" : "t l l"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-41",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 84.0, 132.5, 89.0, 22.0 ],
"text" : "jit.rgb2luma"
}
}
, {
"box" : {
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-84",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 84.0, 298.75, 136.0, 23.0 ],
"text" : "jit.op @op > @val 0.1"
}
}
, {
"box" : {
"attr" : "op",
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-35",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 102.0, 255.0, 100.0, 23.0 ],
"text_width" : 52.0
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-5",
"index" : 2,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 283.0, 342.125, 30.0, 30.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-2",
"index" : 1,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 58.0, 412.875, 30.0, 30.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-1",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "jit_matrix" ],
"patching_rect" : [ 84.0, 37.0, 30.0, 30.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-30", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"order" : 1,
"source" : [ "obj-24", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-26", 0 ],
"order" : 0,
"source" : [ "obj-24", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-24", 0 ],
"source" : [ "obj-25", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-83", 0 ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-41", 0 ],
"source" : [ "obj-30", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-84", 0 ],
"source" : [ "obj-35", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-98", 0 ],
"source" : [ "obj-41", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-84", 1 ],
"source" : [ "obj-83", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-25", 0 ],
"order" : 1,
"source" : [ "obj-84", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"order" : 0,
"source" : [ "obj-84", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-84", 0 ],
"source" : [ "obj-97", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-97", 0 ],
"source" : [ "obj-98", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-97", 1 ],
"source" : [ "obj-98", 0 ]
}
}
],
"styles" : [ {
"name" : "AudioStatus_Menu",
"default" : {
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.294118, 0.313726, 0.337255, 1 ],
"color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ],
"color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0
}
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
,
"patching_rect" : [ 224.201831340789795, 207.428897857666016, 107.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p motion detection"
}
}
, {
"box" : {
"id" : "obj-12",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "jit_matrix" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 8,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 1367.0, 93.0, 629.0, 478.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,
"visible" : 1,
"boxes" : [ {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 426.0, 214.0, 61.0, 22.0 ],
"text" : "delay 500"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-4",
"index" : 1,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 48.0, 369.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"id" : "obj-11",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 467.0, 336.5, 29.5, 22.0 ],
"text" : "8"
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 426.0, 336.5, 29.5, 22.0 ],
"text" : "1"
}
}
, {
"box" : {
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 192.0, 12.0, 58.0, 22.0 ],
"text" : "loadbang"
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 124.0, 66.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"attr" : "adapt",
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-9",
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 281.0, 269.0, 96.0, 23.0 ],
"text_width" : 58.0
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-16",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "clear", "clear" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 8,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 34.0, 79.0, 389.0, 300.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" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-21",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 132.5, 27.0, 23.0 ],
"text" : "iter"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-23",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "clear" ],
"patching_rect" : [ 151.0, 132.5, 46.0, 23.0 ],
"text" : "t clear"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-24",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "clear" ],
"patching_rect" : [ 302.0, 131.5, 46.0, 23.0 ],
"text" : "t clear"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-27",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 201.0, 155.5, 107.0, 23.0 ],
"text" : "prepend append"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-28",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 201.0, 132.5, 27.0, 23.0 ],
"text" : "iter"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-32",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 155.5, 107.0, 23.0 ],
"text" : "prepend append"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-33",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 50.0, 100.0, 141.0, 23.0 ],
"text" : "route vdevlist formatlist"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-1",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-5",
"index" : 1,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 95.5, 236.5, 25.0, 25.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-13",
"index" : 2,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 246.5, 236.5, 25.0, 25.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-33", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-32", 0 ],
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"source" : [ "obj-23", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 0 ],
"source" : [ "obj-24", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 0 ],
"source" : [ "obj-27", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"source" : [ "obj-32", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"order" : 1,
"source" : [ "obj-33", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-23", 0 ],
"midpoints" : [ 59.5, 128.5, 160.5, 128.5 ],
"order" : 0,
"source" : [ "obj-33", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-24", 0 ],
"midpoints" : [ 120.5, 124.5, 311.5, 124.5 ],
"order" : 0,
"source" : [ "obj-33", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-28", 0 ],
"midpoints" : [ 120.5, 124.5, 210.5, 124.5 ],
"order" : 1,
"source" : [ "obj-33", 1 ]
}
}
]
}
,
"patching_rect" : [ 248.0, 336.5, 170.0, 23.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p vdev/format"
}
}
, {
"box" : {
"attr" : "dim",
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-54",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 163.0, 269.0, 116.0, 23.0 ],
"text_width" : 32.0
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-25",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 399.0, 433.5, 63.0, 23.0 ],
"text" : "format $1"
}
}
, {
"box" : {
"id" : "obj-26",
"items" : [ "Y'CbCr 4:2:2 - yuvs - 1280 x 720", ",", "Y'CbCr 4:2:2 - uyvy - 1280 x 720", ",", "Y'CbCr 4:2:0 - 420v - 1280 x 720", ",", "Y'CbCr 4:2:2 - yuvs - 640 x 480", ",", "Y'CbCr 4:2:2 - uyvy - 640 x 480", ",", "Y'CbCr 4:2:0 - 420v - 640 x 480", ",", "Y'CbCr 4:2:2 - yuvs - 320 x 240", ",", "Y'CbCr 4:2:2 - uyvy - 320 x 240", ",", "Y'CbCr 4:2:0 - 420v - 320 x 240" ],
"maxclass" : "umenu",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "int", "", "" ],
"parameter_enable" : 0,
"patching_rect" : [ 399.0, 386.5, 211.5, 22.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-30",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 248.0, 433.5, 73.0, 23.0 ],
"text" : "vdevice $1"
}
}
, {
"box" : {
"id" : "obj-31",
"items" : [ "FaceTime HD Camera", ",", "EpocCam" ],
"maxclass" : "umenu",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "int", "", "" ],
"parameter_enable" : 0,
"patching_rect" : [ 248.0, 386.5, 145.0, 22.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-19",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 192.0, 195.0, 79.0, 23.0 ],
"text" : "getformatlist"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-17",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 104.5, 195.0, 72.0, 23.0 ],
"text" : "getvdevlist"
}
}
, {
"box" : {
"id" : "obj-10",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 76.25, 269.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-8",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 108.0, 269.0, 40.0, 23.0 ],
"text" : "clear"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-7",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 14.25, 66.0, 42.0, 23.0 ],
"text" : "close"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-6",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 68.25, 66.0, 40.0, 23.0 ],
"text" : "open"
}
}
, {
"box" : {
"id" : "obj-92",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 152.5, 66.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-93",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 48.0, 147.0, 67.0, 23.0 ],
"text" : "qmetro 10"
}
}
, {
"box" : {
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-95",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 48.0, 304.5, 113.0, 23.0 ],
"text" : "jit.grab 320 240"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-11", 0 ],
"order" : 0,
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"order" : 1,
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 85.75, 297.0, 57.5, 297.0 ],
"source" : [ "obj-10", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-26", 0 ],
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-26", 0 ],
"source" : [ "obj-16", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-31", 0 ],
"source" : [ "obj-16", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 114.0, 235.0, 57.5, 235.0 ],
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 201.5, 235.0, 57.5, 235.0 ],
"source" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"order" : 0,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-17", 0 ],
"order" : 4,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-19", 0 ],
"order" : 1,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"order" : 3,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"order" : 5,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-92", 0 ],
"order" : 2,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 408.5, 464.0, 38.0, 464.0, 38.0, 293.0, 57.5, 293.0 ],
"source" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-25", 0 ],
"source" : [ "obj-26", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 133.5, 99.0, 33.0, 99.0, 33.0, 292.0, 57.5, 292.0 ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 257.5, 464.0, 38.0, 464.0, 38.0, 294.0, 57.5, 294.0 ],
"source" : [ "obj-30", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-30", 0 ],
"source" : [ "obj-31", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-31", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 172.5, 298.0, 57.5, 298.0 ],
"source" : [ "obj-54", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 77.75, 99.0, 34.0, 99.0, 34.0, 293.0, 57.5, 293.0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 23.75, 92.0, 34.0, 92.0, 34.0, 294.0, 57.5, 294.0 ],
"source" : [ "obj-7", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 117.5, 298.0, 57.5, 298.0 ],
"source" : [ "obj-8", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"midpoints" : [ 290.5, 297.75, 57.5, 297.75 ],
"source" : [ "obj-9", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-93", 0 ],
"source" : [ "obj-92", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-95", 0 ],
"source" : [ "obj-93", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-16", 0 ],
"midpoints" : [ 151.5, 331.5, 257.5, 331.5 ],
"source" : [ "obj-95", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-95", 0 ]
}
}
]
}
,
"patching_rect" : [ 224.201831340789795, 164.428897857666016, 61.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p Camera"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-104", 0 ],
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"order" : 0,
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-38", 0 ],
"order" : 1,
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-97", 1 ],
"order" : 0,
"source" : [ "obj-101", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-97", 0 ],
"order" : 1,
"source" : [ "obj-101", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-101", 0 ],
"source" : [ "obj-102", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"order" : 1,
"source" : [ "obj-12", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"order" : 0,
"source" : [ "obj-12", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-93", 0 ],
"order" : 0,
"source" : [ "obj-38", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-96", 0 ],
"order" : 1,
"source" : [ "obj-38", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-102", 0 ],
"source" : [ "obj-59", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-67", 0 ],
"source" : [ "obj-68", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-69", 0 ],
"source" : [ "obj-71", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-73", 0 ],
"source" : [ "obj-76", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-14", 0 ],
"source" : [ "obj-93", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-63", 0 ],
"source" : [ "obj-93", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-77", 0 ],
"source" : [ "obj-93", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-99", 0 ],
"source" : [ "obj-96", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-97", 1 ],
"order" : 0,
"source" : [ "obj-99", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-97", 0 ],
"order" : 1,
"source" : [ "obj-99", 0 ]
}
}
],
"dependency_cache" : [ {
"name" : "Bell.wav",
"bootpath" : "~/Desktop/Race",
"patcherrelativepath" : ".",
"type" : "WAVE",
"implicit" : 1
}
, {
"name" : "Gong.wav",
"bootpath" : "~/Desktop/Race",
"patcherrelativepath" : ".",
"type" : "WAVE",
"implicit" : 1
}
],
"autosave" : 0,
"styles" : [ {
"name" : "AudioStatus_Menu",
"default" : {
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.294118, 0.313726, 0.337255, 1 ],
"color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ],
"color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0
}
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
}