; an instrument with two oscillators sr = 44100 kr = 2205 ksmps = 20 instr 1 imaxamp = 16383 ; maximum amplitude is 1/2 because there are two oscillators kampenv linen p4*imaxamp, 0.125, p3, 0.125 ; 1/8-second attack, 1/8-second release awave1 oscil kampenv, p5, 1 awave2 oscil kampenv, p6, 1 out awave1+awave2 endin