Konstantinos Benardis wrote:
Hi list
I want to trigger a bang when a specific number occurs in a serie of running numbers for example from the output of a line object. I use the [== ] object to lookup but the object wont work if the numbers are running too fast. What could be the problem? Is there another way to do the lookup?
hi!
this could have several reasons:
high rates
"print" and look if the number is actually there. the line object only outputs some numbers between its start and end. if you want to have all integer numbers between start and end you could use counters, see attached patch.
compared with, even when displayed as equal when using a number to display them. to solve this either use an [int] object before comparing the numbers or give a range, for example to compare 4 and 4.000000001 to be "equal" you could use 4 - 4.000000001 <= 0.001
cheers, martin