@tehn I love the creative possibilities in adding additional functions to the sequencer. Here is the edited list that is working for me right now.
function on() engine.amp(0.2) end
function inc() on() note = util.clamp(note + 5, 40, 120) end
function dec() on() note = util.clamp(note - 5, 40, 120) end
function bottom() on() note = 40 end
function top() on() note = 120 end
function rand() on() note = math.random(80) + 40 end
function metrofast() counter.time = 0.125 end
function metroslow() counter.time = 0.25 end
function positionrand() position = math.random(STEPS) end
function rest() engine.amp(0) end
function filt() res() engine.cutoff(math.random(5000)+50) end
function res() engine.gain(math.random(4.0)) end
function randsynth() width() release() end
function width() engine.pw(math.random(1.0)) end
function release() engine.release(math.random(3.0)) end
act = {inc, dec, bottom, top, rand, metrofast, metroslow, positionrand, rest, filt, randsynth}
COMMANDS = 11
label = {"+", "-", "<", ">", "*", "M", "m", "#", "r", "f", "s"}