Controlling the response of a bang/button

djenkinson's icon

I have a button that is connected to the adc with a threshold control and when it hits the threshold it triggers the bang twice almost instantly. Is there a way to receive the first bang and have it turn off/not accept the next bang automatically for a variable length of time before it turns itself back on?

seejayjames's icon

[onebang] object should do the trick. You can also work up something with [gate] and [del].