Oh sorry, here is my code:
<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1
instr 1
k1 linen p4, p6, p3, p7
a1 buzz 1, p5, p8, 1
outs a1, a1
endin
instr 2
idur = p3
ifreq = p4
iamp = 1 * .5
iharms = (sr*.4) / ifreq
asig gbuzz 1, ifreq, iharms, 1, .9, 1
kfreq linseg 1, idur * 0.5, 5000, idur * 0.5, 1
afilt lowpass2 asig,kfreq, 30
kenv linseg 0, .1, iamp, idur -.2, iamp, .1, 0
out afilt * kenv
endin
</CsInstruments>
<CsScore>
; a cosine wave
f1 0 8192 10 1
;p1 p2 p3 p4 p5 p6 p7 p8
;instr start dur ampl freq rise decay partials
i1 0 1 50 40 .1 .1 1
i1 1 1 50 60 .1 .1 3
i1 2 1 50 50 .1 .1 6
i1 3 1 50 70 .1 .1 9
i1 4 1 50 60 .1 .1 12
i1 5 1 50 50 .1 .1 15
i1 6 1 50 55 .1 .1 18
i1 7 1 50 60 .1 .1 21
i1 8 1 50 65 .1 .1 24
i1 9 1 50 55 .1 .1 27
i1 10 1 50 60 .1 .1 30
i1 11 2 50 50 .1 .1 30
i1 13 2 50 60 .1 .1 30
i1 15 2 50 75 .1 .1 30
i1 17 3 50 80 .1 .1 30
f2 0 8192 9 1 1 .25
i2 0 10 100 10000
i2 10 10 200 <
i2 . . . 100
e
</CsScore>
</CsoundSynthesizer>