The number of steps is of course the number of possible values minus one.
This provides an adapter to create VIZIA based GUIs with NIH-plug.