Forums > MaxMSP

Keeping Bangs lit

February 2, 2013 | 1:27 am

I’m trying to make a teaching tool, where I tell a bang to light up, and when the student pushes the button, the light turns off, and another light turns on.

Is there any way to tell a bang to stay lit until someone presses it??

or another object that works better.


February 2, 2013 | 3:02 am

You could have the button your student presses control a toggle instead of a bang. Then have the toggle turn on/off a metro to send out a bang often enough to make it apear as though the bang is on continuously.

– Pasted Max Patch, click to expand. –

February 2, 2013 | 4:02 am

i think you might be looking for the led object


February 2, 2013 | 5:15 am

there’s probably smarter ways of doing it, but this works:

– Pasted Max Patch, click to expand. –

February 2, 2013 | 11:02 am

Please don’t bang it with a metro to make it look like ON continuously. that feels very wrong. look at this, you can change the color of a bang to make it look like ON even if it’s Off.

– Pasted Max Patch, click to expand. –

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