Two bangs check
I have very begginer question: how to send one bang, only when two bangs are simultaneously on. I tried to use ==, but its just for the numbers, not for bangs…
There is also one important question connected to this issue: how fast is the bang – how long the impulse lasts? And how can the complicated patch delay the bang impulse compared to the same bang, thats go directly to the comparator? I hope there is no delay…
Thanks a lot.
The problem here is that bangs are not on or off, they don’t last any length of time and you can’t send two bangs at the same time. This means you can’t compare them like you would do with [==] or other logic operators.
You can however check to see if two have been received in a certain time period. See the patch below for an example. You might also want to look at the [onebang] object.
----------begin_max5_patcher---------- 377.3ocuT1saBBCEG+Z3onoWyLT.swkcydNVLKEnhcAZMvgL2L9tu1BLmaZn RldS+3bZOm+me8i89d3T0NdCF8H5Ejm2deOOqIiAu94d3J1trRVicYXPUTTx wActTsPIGfO1x6hAVHALZUuWYakPp8a2Io23VFjsQHKdslmAc6hFNKL.QRHl tnvg1uiiH2lZU5aOPVfOF7tr2EciwC99ll.GKEI+ccHGhGv2YkC9IcxCcq.W qjfjUY8getVvJwmqziFszIKMcGAvIYnQ7oMCjHs6+RjjaNQ.T5E4QJSVb0.Y z6BzHKIRlBOhu87PTwquHQVWpX.N.g++umrjZZioSAKgmGKQS.Kos.njNdk3 5N3mGN9e.zwOfsaCWJj+9yMahM1Os7ZTs0YC5e3UE5X1y4MfPx.gtr+whVbx h1Hxy4V+C7uRjuUo+wnWDnUmE1NqoPWzTxcUSTWjT78ESwtnICKItqI5xYy0 u+R5eE1O9tozoRO8jC9eAzUJLCF -----------end_max5_patcher-----------
it is almost certain that you need to know something
completely different from what you were asking for.
maybe you can attach you patch to the forum and get
a useful response.