Why is live.object sending twice?

Jan 25, 2010 at 9:40pm

Why is live.object sending twice?

If ‘id #’ is in the right inlet, and ‘property ‘ is in the left, using ‘t b l’, the ‘initialization’ of the ‘live.observer’ makes it send the value twice. Is this really default behavior?

Here is an example – click the bang – and the value is output twice:

– Pasted Max Patch, click to expand. –
#48015
Jan 25, 2010 at 10:36pm

live_set seems to have the id 1
it seems to be a particular case in which observer sends value when id 1 feeds them.

strange!

btw, for grabbing tempo info, Andrew adviced me to use metro/transport instead the live API:

– Pasted Max Patch, click to expand. –

but I’m sure you already knew that
:D

#172680
Jan 26, 2010 at 10:08am

bouke,

I think in your example the bang is not really needed for initialization since live objects are triggered automatically when loading the patch/device. Sending an additional (redundant) bang seems to cause the unexpected behavior.

#172681
Jan 26, 2010 at 12:42pm

Thanks for the reply guys. @Julien.bayle – interesting – I didn’t know that already, I’ll update my patch, thanks!

#172682

You must be logged in to reply to this topic.