Toot 3 Although in the second instrument we could control and vary the overall amplitude from note to note, it would be more musical if we could contour the loudness during the course of each note. To do this we'll need to employ an additional opcode linen, which is used as follows: kr linen kamp, irise, idur, idec ar linen xamp, irise, idur, idec linen produces a set of values which go linearly from 0 to kamp in the time (in seconds) specified by irise. It will stay there for some time and then it will return to 0 again taking idec time. The output of linen (k1) is patched into the kamp argument of an oscil. This applies an envelope to the oscil. The csd appears in file toot3.csd. [Envelope generated by the linen opcode] Envelope generated by the linen opcode