One bang Help

balam's icon

Hi
I am building simple patch that will send a bang if the value matches the sliders values, it works , my problem is that sends several bangs,
is there a way to make send a bang only when the values are in between the values set up by the sliders

please see patch

Max Patch
Copy patch and select New From Clipboard in Max.

---------------------------------------------

Orkester's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Also,

brendan mccloskey's icon

Hi
It's not clear whether you need only one bang or continuous bangs while the condition is true, so here's a patch that addresses both requirements:

Max Patch
Copy patch and select New From Clipboard in Max.

Brendan

balam's icon

thanks
the solutions work really well,
my problem now is the sensor,
im using a ping sensor and looks like genreate sevarl bangs
( using your any of your patches)
looks like a need to figure it out how to do 1 bang while the sensor still reading the same value, .

any help is welcome