Forums > MaxMSP

One bang Help

August 23, 2011 | 2:10 am

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

———————————————

– Pasted Max Patch, click to expand. –

August 23, 2011 | 3:44 am

Also,

– Pasted Max Patch, click to expand. –

August 23, 2011 | 10:15 am

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:

– Pasted Max Patch, click to expand. –

Brendan


August 24, 2011 | 12:21 am

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


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