So far so good I'm getting some results, but lots of problems to solve.

Figure-like Keyboard patch here
This patch is based on keyboard14notes patch from Add-ons, but I made a ton of changes.
I'll add info about specific problems I'm having, but here's few from the top of the head:
1) with arpeggio off notes are played only in sequence, when trying chords with multi-touch. Is it even possible to get simultaneous parallel midi messages from polyphonic patch?
2) arpeggio for some reason always plays one note twice, then the next etc, not sure why and how to change that. is there good alternatives to one in this patch?
3) can't figure out a way to make 'hold' effect for arpeggio, I guess I need to make notes 'stuck' whenever number of active pressed notes gets decreased (any finger goes up), and then release them with proper note off messages on next press of any note and further as long as number of notes increases. maybe there's better approach or idea for this?
4) if it's possible to make hold effect mentioned earlier, it would be best to make it so that shapes in containers don't disappear from where they were left, to have visual feedback on what notes are playing. maybe even make them appear or blink in sequence that arpeggio plays.
5) is it possible to make a switch for different modes, current with isolated vertical lock of notes and another: free slide across notes, trigger notes as they get under finger and release as they leave. I suspect that I would need a big invisible container on top of notes to track x/y coordinates and perhaps draw circle along the path, and use mouse over output for tracking active notes.

