Similar patches to flashbulb?

sjk170's icon

Hey!

I know it's a really simple patch, but does anyone know any similar patches to the flashbulb patch shown in the Audio Events Detection tutorial?

I've combined it with a live camera feed, and cross fed the flashbulbs screen with the video output, but I'm trying to find a similar feature to play around with..

({
    "boxes" : [         {
            "box" :             {
                "maxclass" : "comment",
                "text" : "flashbulbs",
                "numoutlets" : 0,
                "patching_rect" : [ 72.0, 250.0, 50.0, 18.0 ],
                "id" : "obj-1",
                "fontname" : "Times New Roman",
                "fontsize" : 10.177998,
                "numinlets" : 1
            }

        }
,         {
            "box" :             {
                "maxclass" : "comment",
                "text" : "20 bangs to fade out",
                "numoutlets" : 0,
                "patching_rect" : [ 213.0, 29.0, 91.0, 18.0 ],
                "id" : "obj-2",
                "fontname" : "Times New Roman",
                "fontsize" : 10.177998,
                "numinlets" : 1
            }

        }
,         {
            "box" :             {
                "maxclass" : "outlet",
                "numoutlets" : 0,
                "patching_rect" : [ 57.0, 250.0, 15.0, 15.0 ],
                "id" : "obj-3",
                "numinlets" : 1,
                "comment" : "(matrix) flashbulbs"
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "b",
                "numoutlets" : 2,
                "patching_rect" : [ 57.0, 47.0, 27.0, 18.0 ],
                "id" : "obj-4",
                "fontname" : "Courier New",
                "outlettype" : [ "bang", "bang" ],
                "fontsize" : 10.331545,
                "numinlets" : 1
            }

        }
,         {
            "box" :             {
                "maxclass" : "inlet",
                "numoutlets" : 1,
                "patching_rect" : [ 198.0, 29.0, 15.0, 15.0 ],
                "id" : "obj-5",
                "outlettype" : [ "bang" ],
                "numinlets" : 0,
                "comment" : "(20 bangs) fade out flashbulbs"
            }

        }
,         {
            "box" :             {
                "maxclass" : "inlet",
                "numoutlets" : 1,
                "patching_rect" : [ 57.0, 29.0, 15.0, 15.0 ],
                "id" : "obj-6",
                "outlettype" : [ "bang" ],
                "numinlets" : 0,
                "comment" : "(bang) trigger"
            }

        }
,         {
            "box" :             {
                "maxclass" : "message",
                "text" : "scale $1",
                "numoutlets" : 1,
                "patching_rect" : [ 207.0, 200.0, 58.0, 16.0 ],
                "id" : "obj-7",
                "fontname" : "Courier New",
                "outlettype" : [ "" ],
                "fontsize" : 10.331545,
                "numinlets" : 2
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.scalebias @scale 20.",
                "numoutlets" : 2,
                "patching_rect" : [ 57.0, 227.0, 159.0, 18.0 ],
                "id" : "obj-8",
                "fontname" : "Courier New",
                "outlettype" : [ "jit_matrix", "" ],
                "fontsize" : 10.331545,
                "numinlets" : 1
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.scalebias @scale 2.",
                "numoutlets" : 2,
                "patching_rect" : [ 57.0, 154.0, 153.0, 18.0 ],
                "id" : "obj-9",
                "fontname" : "Courier New",
                "outlettype" : [ "jit_matrix", "" ],
                "fontsize" : 10.331545,
                "numinlets" : 1
            }

        }
,         {
            "box" :             {
                "maxclass" : "message",
                "text" : "2., 0. 20",
                "numoutlets" : 1,
                "patching_rect" : [ 207.0, 154.0, 64.0, 16.0 ],
                "id" : "obj-10",
                "fontname" : "Courier New",
                "outlettype" : [ "" ],
                "fontsize" : 10.331545,
                "numinlets" : 2
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "bline",
                "numoutlets" : 2,
                "patching_rect" : [ 207.0, 177.0, 39.0, 18.0 ],
                "id" : "obj-11",
                "fontname" : "Courier New",
                "outlettype" : [ "", "" ],
                "fontsize" : 10.331545,
                "numinlets" : 1
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.op @op

                "numoutlets" : 2,
                "patching_rect" : [ 57.0, 202.0, 151.0, 18.0 ],
                "id" : "obj-12",
                "fontname" : "Courier New",
                "outlettype" : [ "jit_matrix", "" ],
                "fontsize" : 10.331545,
                "numinlets" : 2
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.op @op !- @val 1.",
                "numoutlets" : 2,
                "patching_rect" : [ 57.0, 177.0, 141.0, 18.0 ],
                "id" : "obj-13",
                "fontname" : "Courier New",
                "outlettype" : [ "jit_matrix", "" ],
                "fontsize" : 10.331545,
                "numinlets" : 2
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.brcosa @brightness 10. @contrast 8. @saturation 0.01",
                "numoutlets" : 2,
                "patching_rect" : [ 56.173553, 95.826447, 358.0, 18.0 ],
                "id" : "obj-14",
                "fontname" : "Courier New",
                "outlettype" : [ "jit_matrix", "" ],
                "fontsize" : 10.331545,
                "numinlets" : 1
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "jit.noise 4 char 64 48",
                "numoutlets" : 2,
                "patching_rect" : [ 57.0, 72.0, 147.0, 18.0 ],
                "id" : "obj-15",
                "fontname" : "Courier New",
                "outlettype" : [ "jit_matrix", "" ],
                "fontsize" : 10.331545,
                "numinlets" : 1
            }

        }
,         {
            "box" :             {
                "maxclass" : "comment",
                "text" : "bang to trigger",
                "numoutlets" : 0,
                "patching_rect" : [ 72.0, 29.0, 68.0, 18.0 ],
                "id" : "obj-16",
                "fontname" : "Times New Roman",
                "fontsize" : 10.177998,
                "numinlets" : 1
            }

        }
],
    "lines" : [         {
            "patchline" :             {
                "source" : [ "obj-8", 0 ],
                "destination" : [ "obj-3", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-12", 0 ],
                "destination" : [ "obj-8", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-7", 0 ],
                "destination" : [ "obj-8", 0 ],
                "hidden" : 0,
                "midpoints" : [ 216.5, 223.0, 66.5, 223.0 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-13", 0 ],
                "destination" : [ "obj-12", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-9", 0 ],
                "destination" : [ "obj-13", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-14", 0 ],
                "destination" : [ "obj-9", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-15", 0 ],
                "destination" : [ "obj-14", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-4", 0 ],
                "destination" : [ "obj-15", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-6", 0 ],
                "destination" : [ "obj-4", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-5", 0 ],
                "destination" : [ "obj-12", 0 ],
                "hidden" : 0,
                "midpoints" : [ 207.0, 198.0, 66.5, 198.0 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-4", 1 ],
                "destination" : [ "obj-10", 0 ],
                "hidden" : 0,
                "midpoints" : [ 74.5, 68.0, 216.5, 68.0 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-10", 0 ],
                "destination" : [ "obj-11", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-5", 0 ],
                "destination" : [ "obj-11", 0 ],
                "hidden" : 0,
                "midpoints" : [ 207.0, 173.0, 216.5, 173.0 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-11", 0 ],
                "destination" : [ "obj-7", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
]
}
)