Forums > MaxMSP

Toggle confusion

May 18, 2012 | 3:12 pm

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!


May 18, 2012 | 5:35 pm

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.


May 18, 2012 | 5:40 pm

Ah, so. Thank you for enlightening me.


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