Store a list from one Integer box

Dissonance's icon

Hi there,
I'm a newbie so sorry if this has been covered previously!. I want to store an updating integer boxes value in a list where I can get then calculate the average from. The Integer box is updated from a user bang (tap tempo) however I am not sure how to save each value from the same integer box as an individual list element. Any ideas? I feel like this should be really easy to achieve so apologies in advance!

karrrlo's icon
Max Patch
Copy patch and select New From Clipboard in Max.

zl object is your friend,
mean object your buddy

Dissonance's icon

This is really useful thanks a million. Just one other thing, I have a counter which counts the amount of bangs and then feeds this to the right hand side of the zl group object. This works fine if the list length arrives before the elements populating it. However in my patch they are both arriving at zl group at the same time so I think it might be confusing it. Would the buddy object help with this. Just wondering how do I upload my source code to this site to show my patch?

Dissonance's icon

I just copied and pasted code here:

{
    "boxes" : [         {
            "box" :             {
                "maxclass" : "comment",
                "text" : "List length",
                "id" : "obj-68",
                "fontname" : "Arial",
                "patching_rect" : [ 245.0, 551.0, 68.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 0
            }

        }
,         {
            "box" :             {
                "maxclass" : "comment",
                "text" : "MASTER AVERAGE BPM",
                "id" : "obj-66",
                "fontname" : "Arial",
                "patching_rect" : [ 206.0, 612.0, 150.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 0
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "buddy",
                "id" : "obj-64",
                "fontname" : "Arial",
                "patching_rect" : [ 772.0, 460.0, 43.0, 20.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "", "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "number",
                "id" : "obj-61",
                "fontname" : "Arial",
                "patching_rect" : [ 192.0, 550.0, 50.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "int", "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "message",
                "text" : "312",
                "id" : "obj-60",
                "fontname" : "Arial",
                "patching_rect" : [ 264.0, 495.0, 127.0, 18.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "number",
                "id" : "obj-57",
                "fontname" : "Arial",
                "patching_rect" : [ 152.0, 612.0, 50.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "int", "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "mean",
                "id" : "obj-46",
                "fontname" : "Arial",
                "patching_rect" : [ 152.0, 520.0, 41.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "float", "int" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "zl group 5",
                "id" : "obj-47",
                "fontname" : "Arial",
                "patching_rect" : [ 152.0, 444.0, 63.0, 20.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "", "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "comment",
                "text" : "All Intervals",
                "id" : "obj-36",
                "fontname" : "Arial",
                "patching_rect" : [ 194.0, 209.0, 71.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 0
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "r count",
                "id" : "obj-16",
                "fontname" : "Arial",
                "patching_rect" : [ 722.0, 461.0, 47.0, 20.0 ],
                "numinlets" : 0,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "message",
                "text" : "set 0",
                "id" : "obj-5",
                "fontname" : "Arial",
                "patching_rect" : [ 100.0, 173.0, 37.0, 18.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "r msB",
                "id" : "obj-1",
                "fontname" : "Arial",
                "patching_rect" : [ 100.0, 149.0, 42.0, 20.0 ],
                "numinlets" : 0,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "number",
                "id" : "obj-27",
                "fontname" : "Arial",
                "patching_rect" : [ 46.0, 438.0, 50.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "int", "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "r count",
                "id" : "obj-25",
                "fontname" : "Arial",
                "patching_rect" : [ 46.0, 406.0, 47.0, 20.0 ],
                "numinlets" : 0,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "s count",
                "id" : "obj-24",
                "fontname" : "Arial",
                "patching_rect" : [ 40.0, 304.0, 49.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 0
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "r msB",
                "id" : "obj-22",
                "fontname" : "Arial",
                "patching_rect" : [ 40.0, 256.0, 42.0, 20.0 ],
                "numinlets" : 0,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "int",
                "id" : "obj-19",
                "fontname" : "Arial",
                "patching_rect" : [ 40.0, 280.0, 65.5, 20.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "int" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "r msB",
                "id" : "obj-12",
                "fontname" : "Arial",
                "patching_rect" : [ 407.0, 58.0, 42.0, 20.0 ],
                "numinlets" : 0,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "s msB",
                "id" : "obj-11",
                "fontname" : "Arial",
                "patching_rect" : [ 520.0, 205.0, 44.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 0
            }

        }
,         {
            "box" :             {
                "maxclass" : "message",
                "text" : "0",
                "id" : "obj-10",
                "fontname" : "Arial",
                "patching_rect" : [ 432.0, 86.0, 31.5, 18.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "button",
                "id" : "obj-23",
                "patching_rect" : [ 520.13623, 179.623642, 20.0, 20.0 ],
                "numinlets" : 1,
                "numoutlets" : 1,
                "outlettype" : [ "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "match 1000",
                "id" : "obj-21",
                "fontname" : "Arial",
                "patching_rect" : [ 520.13623, 141.6353, 73.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "number",
                "id" : "obj-20",
                "fontname" : "Arial",
                "patching_rect" : [ 432.00473, 138.6353, 50.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "int", "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "message",
                "text" : "1",
                "id" : "obj-18",
                "fontname" : "Arial",
                "patching_rect" : [ 475.00473, 86.169769, 32.5, 18.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "loadmess",
                "id" : "obj-15",
                "fontname" : "Arial",
                "patching_rect" : [ 475.00473, 61.069183, 62.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "clocker",
                "id" : "obj-14",
                "fontname" : "Arial",
                "patching_rect" : [ 432.00473, 109.347397, 49.0, 20.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "float" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "r reset",
                "id" : "obj-8",
                "fontname" : "Arial",
                "patching_rect" : [ 60.93531, 40.497498, 45.0, 20.0 ],
                "numinlets" : 0,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "number",
                "id" : "obj-6",
                "fontname" : "Arial",
                "patching_rect" : [ 21.223694, 214.809265, 50.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "int", "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "button",
                "id" : "obj-4",
                "patching_rect" : [ 60.736862, 68.169769, 20.0, 20.0 ],
                "numinlets" : 1,
                "numoutlets" : 1,
                "outlettype" : [ "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "counter",
                "id" : "obj-2",
                "fontname" : "Arial",
                "patching_rect" : [ 20.885532, 142.247421, 73.0, 20.0 ],
                "numinlets" : 5,
                "fontsize" : 12.0,
                "numoutlets" : 4,
                "outlettype" : [ "int", "", "", "int" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "s b",
                "id" : "obj-150",
                "fontname" : "Arial",
                "patching_rect" : [ 192.220993, 173.623642, 27.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 0
            }

        }
,         {
            "box" :             {
                "maxclass" : "comment",
                "text" : "Tap Here",
                "id" : "obj-133",
                "fontname" : "Arial",
                "patching_rect" : [ 213.774673, 63.242737, 59.917362, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 0
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "p SpaceBarTap",
                "id" : "obj-131",
                "fontname" : "Arial",
                "patching_rect" : [ 151.791229, 13.531992, 93.0, 20.0 ],
                "numinlets" : 0,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "bang" ],
                "patcher" :                 {
                    "fileversion" : 1,
                    "appversion" :                     {
                        "major" : 5,
                        "minor" : 1,
                        "revision" : 9
                    }
,
                    "rect" : [ 25.0, 69.0, 640.0, 480.0 ],
                    "bglocked" : 0,
                    "defrect" : [ 25.0, 69.0, 640.0, 480.0 ],
                    "openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
                    "openinpresentation" : 0,
                    "default_fontsize" : 12.0,
                    "default_fontface" : 0,
                    "default_fontname" : "Arial",
                    "gridonopen" : 0,
                    "gridsize" : [ 15.0, 15.0 ],
                    "gridsnaponopen" : 0,
                    "toolbarvisible" : 1,
                    "boxanimatetime" : 200,
                    "imprint" : 0,
                    "enablehscroll" : 1,
                    "enablevscroll" : 1,
                    "devicewidth" : 0.0,
                    "boxes" : [                         {
                            "box" :                             {
                                "maxclass" : "outlet",
                                "id" : "obj-1",
                                "patching_rect" : [ 344.329071, 236.514542, 25.0, 25.0 ],
                                "numinlets" : 1,
                                "numoutlets" : 0,
                                "comment" : ""
                            }

                        }
,                         {
                            "box" :                             {
                                "maxclass" : "newobj",
                                "text" : "sel 32",
                                "id" : "obj-124",
                                "fontname" : "Arial",
                                "patching_rect" : [ 344.0, 209.099182, 43.0, 20.0 ],
                                "numinlets" : 2,
                                "fontsize" : 12.0,
                                "numoutlets" : 2,
                                "outlettype" : [ "bang", "" ]
                            }

                        }
,                         {
                            "box" :                             {
                                "maxclass" : "newobj",
                                "text" : "key",
                                "id" : "obj-123",
                                "fontname" : "Arial",
                                "patching_rect" : [ 344.0, 181.0, 59.5, 20.0 ],
                                "numinlets" : 0,
                                "fontsize" : 12.0,
                                "numoutlets" : 4,
                                "outlettype" : [ "int", "int", "int", "int" ]
                            }

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

                        }
,                         {
                            "patchline" :                             {
                                "source" : [ "obj-124", 0 ],
                                "destination" : [ "obj-1", 0 ],
                                "hidden" : 0,
                                "midpoints" : [ ]
                            }

                        }
]
                }
,
                "saved_object_attributes" :                 {
                    "fontname" : "Arial",
                    "globalpatchername" : "",
                    "default_fontface" : 0,
                    "default_fontname" : "Arial",
                    "fontface" : 0,
                    "fontsize" : 12.0,
                    "default_fontsize" : 12.0
                }

            }

        }
,         {
            "box" :             {
                "maxclass" : "number",
                "id" : "obj-119",
                "fontname" : "Arial",
                "patching_rect" : [ 151.791229, 403.673828, 62.396694, 20.0 ],
                "bgcolor" : [ 0.090196, 0.94902, 0.176471, 1.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "int", "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "comment",
                "text" : "Each Exact BPM",
                "id" : "obj-117",
                "fontname" : "Arial",
                "patching_rect" : [ 216.97937, 404.673828, 108.252296, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 0
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "* 1000.",
                "id" : "obj-112",
                "fontname" : "Arial",
                "patching_rect" : [ 151.791229, 358.003052, 49.0, 20.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "float" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "!/ 60.",
                "id" : "obj-110",
                "fontname" : "Arial",
                "patching_rect" : [ 151.791229, 327.424561, 37.0, 20.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "float" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "comment",
                "text" : "Allowed Miliseconds",
                "id" : "obj-109",
                "fontname" : "Arial",
                "patching_rect" : [ 203.748322, 285.92865, 117.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 0
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "p LargeInterval",
                "id" : "obj-107",
                "fontname" : "Arial",
                "patching_rect" : [ 151.79129, 244.606369, 91.0, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 1,
                "outlettype" : [ "" ],
                "patcher" :                 {
                    "fileversion" : 1,
                    "appversion" :                     {
                        "major" : 5,
                        "minor" : 1,
                        "revision" : 9
                    }
,
                    "rect" : [ 661.0, 171.0, 640.0, 480.0 ],
                    "bglocked" : 0,
                    "defrect" : [ 661.0, 171.0, 640.0, 480.0 ],
                    "openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
                    "openinpresentation" : 0,
                    "default_fontsize" : 12.0,
                    "default_fontface" : 0,
                    "default_fontname" : "Arial",
                    "gridonopen" : 0,
                    "gridsize" : [ 15.0, 15.0 ],
                    "gridsnaponopen" : 0,
                    "toolbarvisible" : 1,
                    "boxanimatetime" : 200,
                    "imprint" : 0,
                    "enablehscroll" : 1,
                    "enablevscroll" : 1,
                    "devicewidth" : 0.0,
                    "boxes" : [                         {
                            "box" :                             {
                                "maxclass" : "button",
                                "id" : "obj-5",
                                "patching_rect" : [ 481.0, 194.0, 20.0, 20.0 ],
                                "numinlets" : 1,
                                "numoutlets" : 1,
                                "outlettype" : [ "bang" ]
                            }

                        }
,                         {
                            "box" :                             {
                                "maxclass" : "newobj",
                                "text" : "s reset",
                                "id" : "obj-3",
                                "fontname" : "Arial",
                                "patching_rect" : [ 481.0, 219.0, 47.0, 20.0 ],
                                "numinlets" : 1,
                                "fontsize" : 12.0,
                                "numoutlets" : 0
                            }

                        }
,                         {
                            "box" :                             {
                                "maxclass" : "outlet",
                                "id" : "obj-2",
                                "patching_rect" : [ 206.032959, 260.222473, 25.0, 25.0 ],
                                "numinlets" : 1,
                                "numoutlets" : 0,
                                "comment" : ""
                            }

                        }
,                         {
                            "box" :                             {
                                "maxclass" : "inlet",
                                "id" : "obj-1",
                                "patching_rect" : [ 206.032959, 125.313202, 25.0, 25.0 ],
                                "numinlets" : 0,
                                "numoutlets" : 1,
                                "outlettype" : [ "float" ],
                                "comment" : ""
                            }

                        }
,                         {
                            "box" :                             {
                                "maxclass" : "newobj",
                                "text" : "print",
                                "id" : "obj-103",
                                "fontname" : "Arial",
                                "patching_rect" : [ 392.942139, 243.933899, 34.0, 20.0 ],
                                "numinlets" : 1,
                                "fontsize" : 12.0,
                                "numoutlets" : 0
                            }

                        }
,                         {
                            "box" :                             {
                                "maxclass" : "message",
                                "text" : "Try Again",
                                "id" : "obj-102",
                                "fontname" : "Arial",
                                "patching_rect" : [ 392.942078, 220.793396, 61.0, 18.0 ],
                                "numinlets" : 2,
                                "fontsize" : 12.0,
                                "numoutlets" : 1,
                                "outlettype" : [ "" ]
                            }

                        }
,                         {
                            "box" :                             {
                                "maxclass" : "newobj",
                                "text" : "if $f1 > 1000 then out2 bang else $f1",
                                "id" : "obj-100",
                                "fontname" : "Arial",
                                "patching_rect" : [ 206.0, 166.0, 206.0, 20.0 ],
                                "numinlets" : 1,
                                "fontsize" : 12.0,
                                "numoutlets" : 2,
                                "outlettype" : [ "", "" ]
                            }

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

                        }
,                         {
                            "patchline" :                             {
                                "source" : [ "obj-100", 1 ],
                                "destination" : [ "obj-102", 0 ],
                                "hidden" : 0,
                                "midpoints" : [ ]
                            }

                        }
,                         {
                            "patchline" :                             {
                                "source" : [ "obj-100", 0 ],
                                "destination" : [ "obj-2", 0 ],
                                "hidden" : 0,
                                "midpoints" : [ ]
                            }

                        }
,                         {
                            "patchline" :                             {
                                "source" : [ "obj-100", 1 ],
                                "destination" : [ "obj-5", 0 ],
                                "hidden" : 0,
                                "midpoints" : [ 402.5, 189.5, 490.5, 189.5 ]
                            }

                        }
,                         {
                            "patchline" :                             {
                                "source" : [ "obj-102", 0 ],
                                "destination" : [ "obj-103", 0 ],
                                "hidden" : 0,
                                "midpoints" : [ ]
                            }

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

                        }
]
                }
,
                "saved_object_attributes" :                 {
                    "fontname" : "Arial",
                    "globalpatchername" : "",
                    "default_fontface" : 0,
                    "default_fontname" : "Arial",
                    "fontface" : 0,
                    "fontsize" : 12.0,
                    "default_fontsize" : 12.0
                }

            }

        }
,         {
            "box" :             {
                "maxclass" : "flonum",
                "id" : "obj-105",
                "fontname" : "Arial",
                "patching_rect" : [ 151.791229, 285.680725, 50.89106, 20.0 ],
                "bgcolor" : [ 1.0, 1.0, 0.0, 1.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "float", "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "flonum",
                "id" : "obj-91",
                "fontname" : "Arial",
                "patching_rect" : [ 151.791229, 208.945221, 41.363632, 20.0 ],
                "numinlets" : 1,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "float", "bang" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "newobj",
                "text" : "timer",
                "id" : "obj-89",
                "fontname" : "Arial",
                "patching_rect" : [ 151.791229, 173.531982, 37.0, 20.0 ],
                "numinlets" : 2,
                "fontsize" : 12.0,
                "numoutlets" : 2,
                "outlettype" : [ "float", "" ]
            }

        }
,         {
            "box" :             {
                "maxclass" : "button",
                "id" : "obj-88",
                "patching_rect" : [ 151.791229, 41.069183, 58.842972, 58.842972 ],
                "numinlets" : 1,
                "numoutlets" : 1,
                "outlettype" : [ "bang" ]
            }

        }
],
    "lines" : [         {
            "patchline" :             {
                "source" : [ "obj-25", 0 ],
                "destination" : [ "obj-47", 1 ],
                "hidden" : 0,
                "midpoints" : [ 55.5, 432.0, 205.5, 432.0 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-47", 0 ],
                "destination" : [ "obj-46", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-46", 1 ],
                "destination" : [ "obj-61", 0 ],
                "hidden" : 0,
                "midpoints" : [ 183.5, 544.0, 201.5, 544.0 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-47", 0 ],
                "destination" : [ "obj-60", 1 ],
                "hidden" : 0,
                "midpoints" : [ 161.5, 476.0, 381.5, 476.0 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-119", 0 ],
                "destination" : [ "obj-47", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-46", 0 ],
                "destination" : [ "obj-57", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-5", 0 ],
                "destination" : [ "obj-6", 0 ],
                "hidden" : 0,
                "midpoints" : [ 109.5, 211.404633, 30.723694, 211.404633 ]
            }

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

        }
,         {
            "patchline" :             {
                "source" : [ "obj-105", 0 ],
                "destination" : [ "obj-110", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-107", 0 ],
                "destination" : [ "obj-105", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-110", 0 ],
                "destination" : [ "obj-112", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-112", 0 ],
                "destination" : [ "obj-119", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-131", 0 ],
                "destination" : [ "obj-88", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

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

        }
,         {
            "patchline" :             {
                "source" : [ "obj-14", 0 ],
                "destination" : [ "obj-21", 0 ],
                "hidden" : 0,
                "midpoints" : [ 441.50473, 134.991348, 529.63623, 134.991348 ]
            }

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

        }
,         {
            "patchline" :             {
                "source" : [ "obj-18", 0 ],
                "destination" : [ "obj-14", 1 ],
                "hidden" : 0,
                "midpoints" : [ 484.50473, 105.258583, 471.50473, 105.258583 ]
            }

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

        }
,         {
            "patchline" :             {
                "source" : [ "obj-21", 0 ],
                "destination" : [ "obj-23", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

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

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

        }
,         {
            "patchline" :             {
                "source" : [ "obj-88", 0 ],
                "destination" : [ "obj-14", 0 ],
                "hidden" : 0,
                "midpoints" : [ 161.291229, 106.129776, 441.50473, 106.129776 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-88", 0 ],
                "destination" : [ "obj-150", 0 ],
                "hidden" : 0,
                "midpoints" : [ 161.291229, 168.367935, 201.720993, 168.367935 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-88", 0 ],
                "destination" : [ "obj-2", 0 ],
                "hidden" : 0,
                "midpoints" : [ 161.291229, 135.606079, 30.385532, 135.606079 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-88", 0 ],
                "destination" : [ "obj-89", 1 ],
                "hidden" : 0,
                "midpoints" : [ 161.291229, 168.957626, 179.291229, 168.957626 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-88", 0 ],
                "destination" : [ "obj-89", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-89", 0 ],
                "destination" : [ "obj-91", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-91", 0 ],
                "destination" : [ "obj-107", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

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

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

        }
,         {
            "patchline" :             {
                "source" : [ "obj-12", 0 ],
                "destination" : [ "obj-10", 0 ],
                "hidden" : 0,
                "midpoints" : [ 416.5, 82.5, 441.5, 82.5 ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-22", 0 ],
                "destination" : [ "obj-19", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-19", 0 ],
                "destination" : [ "obj-24", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-25", 0 ],
                "destination" : [ "obj-27", 0 ],
                "hidden" : 0,
                "midpoints" : [ ]
            }

        }
,         {
            "patchline" :             {
                "source" : [ "obj-6", 0 ],
                "destination" : [ "obj-19", 1 ],
                "hidden" : 0,
                "midpoints" : [ 30.723694, 243.404633, 96.0, 243.404633 ]
            }

        }
]
}

o s's icon

Hi, did not see your patch but sounds like [trigger] is your friend.

HTH

ole

PS And please use "copy compressed" from the edit menu for posting your patch..

Dissonance's icon

Ok sorry about that wasn't sure how to use the copy compressed. Thanks for your help :)

karrrlo's icon
Max Patch
Copy patch and select New From Clipboard in Max.

you probably need to store your incoming data before outputting it.
and yes trigger is your very best friend in max world so you can sequence any data according to your needs.

Dissonance's icon

Trigger was what I needed alright! thanks for the help folks!

Beep's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Also Dissonance, check out the "copy compressed" option in your menu bar for posting example code on here, that way the messages stay concise. Your patch in copy compressed looks like this:

much nicer! :)