instr 113
113.orc
113.sco
  instr 113 ; SIMPLE OSCIL WITH ENVELOPE
k1 linen p4, p7, p3, p8 ; p3=dur, p4=AMP, p7=attack, p8=release
a1 oscil k1, p5, p6 ; p5=freq, p6=waveshape
  out a1  
  endin    
;Function 1 uses the GEN10 subroutine to compute a sine wave
;Function 2 uses the GEN10 subroutine to compute the first sixteen partials of a sawtooth wave

f1 0 4096 10 1
f2 0 4096 10 1 .5 .333 .25 .2 .166 .142 .125 .111 .1 .09 .083 .076 .071 .066 .062

;ins strt dur amp frq fn atk rel
;==================================================
i113 0 2 10000 440 1 1 1
i113 2.5 2 10000 220 2 .01 1.99
i113 5 4 10000 110 2 3.9 .1
i113 10 10 10000 138.6 2 9 1
i113 10 10 10000 329.6 1 5 5
i113 10 10 10000 440 1 1 9