delay object not working as expected?

Apr 2, 2011 at 7:23am

delay object not working as expected?

problem: the delay in red isn’t actually delaying bangs OR messages coming out (tried it with a button) … can someone help? this seems straightforward, maybe i’m just missing something really easy…

thanks…

– Pasted Max Patch, click to expand. –
#56031
Apr 2, 2011 at 7:39am

If you are looking to delay numbers, use pipe instead.

#201286
Apr 2, 2011 at 10:14am

if you put in a number into delay you set the delaytime in ms and trigger a delayed bang after that time. just put a [t b] in between:

`

– Pasted Max Patch, click to expand. –

but indeed pipe might me slicker…

#201287
Apr 2, 2011 at 11:27am

No, delay does not work as some people expect. It works the way it is documented to work.

The delay object receives a BANG and then holds onto it for a specified amount of time before sending the BANG to the next object.

Neither the reference manual nor the help file state *anywhere* that ints, floats, or any other kind of message will be delayed by the delay object.

2 hours of posting in forums can sometimes save you 2 minutes reading the documentation.

#201288
Apr 2, 2011 at 3:52pm

today i learned two new things, t and pipe. thanks jonathanb / jan.

peter: sorry man, some people have an easier time with a nudging “hey try this” as opposed to “f*** you, read the docs and don’t ask questions”. i spent 2 minutes posting this, not two hours, and i learned something else i didn’t know…

/rant

#201289

You must be logged in to reply to this topic.