Is there a way that a potmeter can act like an encoder? I want it to send value 1 when rotated clockwise and 65 when rotated ccw.
Hello!
Under setup event:
self.val = 0
this will just initialise the values.
Under the potmeter event:
local encVal = 0
if val > self.val then
encVal = 65
else
encVal = 63
end
self.val = val
Then use encVal in the MIDI action block:
This works in Ableton, although a potentiometer in default value range (0-127) and default bit-depth (7-bit) setting sends small number of values out, so for better effect probably it’s better to change those as well.