messy draft. this is an incomplete example but should be a start for a mono most recent pitch mode using vanilla objects.
I've been sitting on this one for about half a year, trying to make legato portamento and some other similar features work intuitively.