Hi guys, I'v created a patch with my Arduino and Im trying to create a range between 50 to 55 and 56 to 60 without them all banging, Can anyone help? arduino-test.pd
-
Allow my pd patch the bang a certain range with Arduino
-
If I got it right, you want [clip]s to bang only when a value is within these two ranges, right?
Check this arduino-test.pd
I've changed one [change] with two comparison objects,[>= 50]
and[<= 55]
, a[&& ]
, and a[sel 1]
This will bang only when the incoming value is between 50 and 55. Do the same for the other range and you should be good to go. Take care to use [t f f] correctly (like in the patch I've uploaded).[Edit]: Add a
[change]
between[&& ]
and[sel]
so you don't get massive bangs, since the Arduino will be sending data in the set baud rate.