This tutorial describes the use of the line~ MSP object as a way to generate envelope functions, which can then be mapped onto parameters. Amplitude and pitch envelopes are demonstrated, although the process can, in principle, be applied to any parameter that changes over time.