Forums > MaxMSP

some seq~ issues

July 15, 2008 | 6:43 am

I am running max 5.03 on a windows xp. I am trying to use seq~ to send out bangs like metro but based on the audio clock and I can’t figure out the add message. I’m formatting it just like in the documentation (add 1 0. bang) but I always get a "could not get atom memory" message. Could someone walk me through seq~ real fast?

thanks. here’s my patch

open thispatcher{
"boxes" : [ {
"box" : {
"maxclass" : "message",
"text" : "seq 1",
"presentation_rect" : [ 88.0, 121.0, 0.0, 0.0 ],
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 1,
"patching_rect" : [ 81.0, 127.0, 39.0, 18.0 ],
"outlettype" : [ "" ],
"fontname" : "Arial",
"id" : "obj-5"
}

}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"patching_rect" : [ 128.0, 78.0, 20.0, 20.0 ],
"outlettype" : [ "int" ],
"id" : "obj-47"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "play $1",
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 1,
"patching_rect" : [ 128.0, 102.0, 48.0, 18.0 ],
"outlettype" : [ "" ],
"fontname" : "Arial",
"id" : "obj-48"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "print",
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 0,
"patching_rect" : [ 93.0, 238.0, 33.0, 20.0 ],
"fontname" : "Arial",
"id" : "obj-4"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadmess add 1 0. bang",
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 1,
"patching_rect" : [ 13.0, 173.0, 134.0, 20.0 ],
"outlettype" : [ "" ],
"fontname" : "Arial",
"id" : "obj-2"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "seq~",
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 3,
"patching_rect" : [ 183.0, 199.0, 46.0, 20.0 ],
"outlettype" : [ "", "", "" ],
"fontname" : "Arial",
"id" : "obj-43"
}

}
, {
"box" : {
"maxclass" : "flonum",
"presentation_rect" : [ 15.0, 15.0, 50.0, 20.0 ],
"numinlets" : 1,
"fontsize" : 11.595187,
"numoutlets" : 2,
"patching_rect" : [ 181.0, 126.0, 50.0, 20.0 ],
"triscale" : 0.9,
"outlettype" : [ "float", "bang" ],
"fontname" : "Arial",
"id" : "obj-50"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "phasor~ 0.3",
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 1,
"patching_rect" : [ 183.0, 159.0, 72.0, 20.0 ],
"outlettype" : [ "signal" ],
"fontname" : "Arial",
"id" : "obj-54"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "counter",
"numinlets" : 5,
"fontsize" : 12.0,
"numoutlets" : 4,
"patching_rect" : [ 201.0, 252.0, 112.0, 20.0 ],
"outlettype" : [ "int", "", "", "int" ],
"fontname" : "Arial",
"id" : "obj-24"
}

}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 206.0, 332.0, 25.0, 25.0 ],
"id" : "obj-23",
"comment" : ""
}

}
, {
"box" : {
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"patching_rect" : [ 28.0, 136.0, 20.0, 20.0 ],
"outlettype" : [ "bang" ],
"id" : "obj-3"
}

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

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

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

}
, {
"patchline" : {
"source" : [ "obj-48", 0 ],
"destination" : [ "obj-43", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

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

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

}
, {
"patchline" : {
"source" : [ "obj-54", 0 ],
"destination" : [ "obj-43", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

}
, {
"patchline" : {
"source" : [ "obj-50", 0 ],
"destination" : [ "obj-54", 0 ],
"hidden" : 0,
"midpoints" : [ ]
}

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

}
]
}


July 15, 2008 | 7:41 am

It’s like… weird or something(< -that's my very professional way of putting it)... apparently, you need a list of messages after the start-of-event-time, not just one single symbol or value. Try using [loadmess add 1.0 my bang] and then under the seq~ object put [route my] to filter the bangs into the counter.

Like this:
———-begin_max5_patcher———-
719.3ocyW00aaBCE8YxuBKzdLKB+UA1a62wzzjC3l5JvNCbTSVU6u8gsgTVK
IwrRP4EP9BwbNm64duNOuHHbsZOuND7MvO.AAOuHHvFxDHnccPXIaeVAq19Z
gR9Sp0OFtz8HMeu1FdakPpA66hK2UJjEbs82.aCduRpqE+gaiAWQSovj31mI
xsaSyV+ULp2tn1o61ln1naY5rGDxM+phmocPOAsJZI.cWh4FwsHZUD3m89xR
Vo8KG98JAqHz7fWVrvbYomTujWWy1v+.2epRn4CxbzHYNbXl2IftP5Ca4NZG
FdjgCHJXLzHDvT6ML0tHYxUkSXHpZ.KGTdXRbDQCqKnSpKKuf1.SsVEDI0bi
d2L6Xp4+F.mBGCcJMLPD15QHVqBN8JYXzpMaJ3m0Wzigj3QRwl9PmmktrcJt
Km2k4mv761B1AvWljLLIYRSwNxCgw1NkIyaOA6Phong.YzSHZmMzVviwWoB9
SP7BEK23U.r7b.DDspowHXMStYJDCzTZPbEDvT2zB5LqSM8EecR7G3g0D7YG
X36PCHwV7bsFZbegpA0mUFzUh5LVg8CEsJsCxU7ZtTyzBkr+4.roT2UZzfU7
9LoYryfanASazTqO2CcE5N3FMZd8baefUqpdsQGwSxDYxHKGqEajMDxGAJ1Z
7hQyq.ko1I07pAEG5PhiAeerK0IzEx4liu7sJyKNVus3Lg3FvcsDIGN88zKH
7nmT0RDL10eg1c8HOxTkkboK27+vf06zZkzWFfGoc9hU6sSXhiNy4ur+9vBg
78+2T69Yh+u7qVsqJqCAsyDAuoX47ZsPZ6K16cLCI58ROHxy4x9ImRQ9VUiu
qECm3Dh9BIrGPBMuHJxCHgmWLQ7QldGvuIzIS+s4DSvqfCGShVQMGvos4Y7w
UeRzRu8JGM+upaNLE6ClRt8JHmWuOkb6k5n9zifNu5DxGcB8YzolEur3uvwg
STM
———–end_max5_patcher———–


July 15, 2008 | 7:59 am

that worked thanks a lot


Viewing 3 posts - 1 through 3 (of 3 total)