Encoder 2 in a FM7 broke at a seemingly random moment. I have the callback firing only when a key toggle is true, which seems to continue to work (when the toggle is false I see no exceptions) but when the toggle is true I get the following exception
stack traceback:
/home/we/norns/lua/core/encoders.lua:57: in function 'core/encoders.process'
lua: /home/we/norns/lua/core/encoders.lua:57: attempt to call a number value (field 'callback')
I noticed this about 3 minutes into a live session I began recording with the internal TAPE feature. Prior to recording, the encoder worked as expected. The encoder changes a parameter (the c:m ratio in this case) so I checked the system parameter screen and I could continue to change the value from there. I havenât tried to reproduce this yet. Reloading the script âfixedâ this state.
update: I can reproduce this. Each time the record action of the TAPE feature is called, my encoder function breaks in the same way. Details on Github.