I posted a slightly more advanced example of how to use envelope passing in a real workflow here:
Among other things, I’ve got a post-processing phase in \finish where I ensure all my Env parameters are actually Envs, and set their durations to 1…0. Then later, in the synth, I rescale them back to \sustain… this is a bit of a simplification, but I think it’s roughly the right approach for scaling env arguments, depending on use-case of course.