Toggle confusion

May 18, 2012 at 3:12pm

Toggle confusion

The mousestate portion of the lcd help patch has this fascinating thing

– Pasted Max Patch, click to expand. –

How is it that the toggle “continues to send” a bang without external input? I thought only metro and uzi did this?

Moreover, why doesn’t clicking or banging the message do the same thing?

In fact, lcd seems to behave in an interesting manner in this general sense. If I send “getsize” with no connection at the right outlet, and then connect the right outlet at a later point, I get output!

#63675
May 18, 2012 at 5:35pm

Toggle isn’t sending bangs, it’s replacing the variable in the message with a 1 or 0. If you create two messages (idle 1) and (idle 0), then you’ll be able to click them and get the same behavior as the toggle.

#229593
May 18, 2012 at 5:40pm

Ah, so. Thank you for enlightening me.

#229594

You must be logged in to reply to this topic.