repro script (confirmed both with self-patching output 1 to input 2 and sending from another module):
-- self-patch output 1 to input 2
function init()
input[2].mode('window',{-2,1,2,4},0.1)
end
input[2].window = function(c,d)
if d then
print('hello')
else
print('goodbye')
end
end
when we hit any of the window values (eg. 2V), there's a deluge of salutations/valedictions printed. i assumed that the hysteresis argument would buffer against this, but perhaps i'm misunderstanding its function? <333