July 24, 2014, 2:52pm
I need to detect cycles of an infinity rotary potentiometer. I can simulate the behavior with the LFO (Animation) because it has Cycles output pin. I recieve data from Phidget stuff.
Please look at the attached patch.
PotentiometerCycles.v4p (11.9 kB)
Check the node FrameDifference (Animation) to figure this out.
Like I d did in attached patch.
Endlelss Potti.v4p (11.5 kB)
July 24, 2014, 5:37pm
There’s also the SumUp module, pretty handy along with framedifference.
August 28, 2014, 5:20pm
Another question: I want to limit my endless potti value e.g. from 0 to 5. When I’m rotating clockwise the value increases from 0 to 5 and then it locks at 5 also if I continue to rotate. If I change the direction of the rotation the value soon decrease. The same thing should happen at 0.
August 28, 2014, 5:38pm
have you tried
SumUp (Value)? doesn’t have a helppatch but does exactly that.
increase min max and add a frac node to the output to get the cycles…
Endlelss Potti.v4p (8.5 kB)
August 28, 2014, 6:45pm
I used SumUp in a wrong way. Westbam patch +
FrameDifference (Animation) + SumUp (Value) work for me.