-odac
;same as "orchestra" file
sr=44100
kr=4410
ksmps=10
nchnls=1
0dbfs=1
instr 1
inote = cpspch(p5) ;pitch = p5
iamp = ampdb(p4) ;amp(db)=p4
ia = p6 ;attack = p6
id =p7 ;decay = p7
is =p8 ;sustain = p8
ir =p9 ;release = p9
klfo lfo 900, 3
avco vco2 iamp+klfo, inote, 12
avco2 vco2 iamp, inote, 2, .4
kadsr madsr ia, id, is, ir
out (avco+avco2)/2*kadsr
endin
;ins strt dur amp freq att decay sustain release
i1 0 3 40 7.00 .99999 .9 .9 .7
e