-
Happymurf
@whale-av This is exactly what I need, Works perfectly, Thanks for the fast reply!
-
Happymurf
Hello,
I have an old ps2 joycon XY knob connected to PD via an Arduino running standard firmata. Its an analog input and it's giving me the values I expect. When in the middle I see 0.500, I have a logic statement switching a toggle box when it reaches a certain value (Picture attached). This logic statement also sends a bang which I want to use to trigger instruments (Essientually turning this analog input into a digital input).
My issue is since this is an analog input the value slightly fluctuates all the time, Zero position in the XY it outputs numbers between 0.500- 0.505, So fast you barely notice, this is causing my logic statement to constantly send a bang, even though the toggle box works. Is there a way to smooth this value? or is there some scaling I could do? Maybe a different "if`" or "expr" statement. I would like to be able to trigger samples using this XY pad.
Thanks!