On/Off object which allows a toggle to be synced with the on and off of a bang

Dec 10, 2010 at 4:48pm

On/Off object which allows a toggle to be synced with the on and off of a bang

Hi just wondering if anyone could tell me what object would allow me to have a toggle box turn on and off whenever a a bang starts and stops. Obviously it is easy to a bang a toggle and have it turn on but I can ‘t figure out how to have it turn off as soon as the bang is finished.

Thanks

#53855
Dec 10, 2010 at 4:57pm
– Pasted Max Patch, click to expand. –

Though if you’re not mousing, it doesn’t work!

What is this for?

#193863
Dec 10, 2010 at 5:02pm

Oh and bangs don’t go on and off, they just go bang

#193864
Dec 10, 2010 at 5:26pm

Ok it’s for an arpeggiator and I m wanting to trigger an LED, so the bang will happen on it’s own accord and I need the toggle to go on and off in sync with the bang rather than to go on when it bangs the first time and off when it bangs the second

#193865
Dec 10, 2010 at 6:30pm

so do you ant it to work with toggle or led? if it is led just connect your bang and change to the appropriate “blinktime” in the inspector. if you mean toggle, use a trigger and a pipe set to the appropriate blinktime.

– Pasted Max Patch, click to expand. –
#193866
Dec 10, 2010 at 7:18pm

As previously stated, bangs have no duration. You would need a “pulse stretcher” to be able to see it. I recommend using some other display method, but if you’re committed to using a checkbox:

– Pasted Max Patch, click to expand. –
#193867

You must be logged in to reply to this topic.