midi controller

is there no midi command for "all notes off"?

YOu could make it so that if a potmeter is below some low value it sends this "note"
(no midi expert)