Had a look into this - I don’t know if this is the right place to post about it because this is related to the norns software.
Inside the lua/core/encoders.lua file, we call util.time(), which is supposed to return a timestamp like
1576259801.7825
however, on my norns image, when I call this function;
> s = 1576259801
> us = 782489
> s + us/1000000
1.57626e+09
I get this result, which, when the encoders.process function diffs to find the time between the last encoder change, it gets a result of zero, and thus applies the maximum “acceleration” for the encoder of 6*.
I rewrote the time diff function to diff between seconds and microseconds manually, and this works fine, I can use the encoders normally in scripts again!
My lua version;
# lua -v
Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio
I don’t know if this is an issue I should make a pull request for, or if I’m running the wrong version of something, or what… but at least I got to the bottom of it! 