Pattern for using DynamicTextDisplay with VCV based MM plugins

Thanks for the detailed feedback, and happy to be a guinea pig for iterating towards useful VCV plugin centric API elements! It will take me a bit longer than it would you, but actually it’s be very useful for me learning the codebase, setting up debugging etc etc. And worth getting these things right. :smiley:

Yes that all sounds sensible, it’s awkward where it is.

I think the only time visible state currently persists is in the Widget constructor when the adaptor is doing a pass, so shouldn’t really change in theory. Example where it does are e.g. when muxlicer changes from 8to1 to 1to8 (so inputs/outputs are hidden/shown), but this is part of the rack ui draw which doesn’t get called at present. However, to be honest the mechanism in the PR isn’t very “discoverable” so some explicit interface for VCV-ports is better I think. I’ll give it some thought.

I can see that working, however again the only meaningful place visible state can change is in the UI thread (i.e. draw, which is currently no-op).

This is a great idea, and works well :slight_smile: It actually invalidates the need for AltParamMomentary in this instance, though I can still see that being generically useful.