Is there a way to use boolean logic with bangs?

Jose Hamilton 's icon

Something like if i have 2 bangs at different speeds i would have them only output a bang when they both hit at the same time, or have them only output a bang when they didnt hit at the same time, for example.. I know i can do it with numbers but is there a way to use bangs instead?

Thank you!

schlam's icon

Hello;

"In the same time" doesn't really exist.

You have to declare in which duration your two bangs will be consider "at the same time"

in this example, it's 20ms

Source Audio's icon

also disqualify long inactivity maybe ?