1<CsoundSynthesizer>
2<CsOptions>
3-o dac -d -B2048 -b512
4</CsOptions>
5<CsInstruments>
6nchnls=1
70dbfs=1
8ksmps=64
9sr = 44100
10
11instr 1
12
13isl chnget "slider"
14ksl chnget "slider"
15ksl port ksl, 0.01, isl
16a2 expsegr 0.001,0.01,p4,p3-0.01, 0.001, 0.1, 0.001
17a1 oscili a2, p5*(1+ksl), 1
18out a1
19
20endin
21
22</CsInstruments>
23<CsScore>
24f1 0 16384 10 1
25;{ 10 CNT
26;i1 [$CNT*0.2] 0.5 0.5 [440*(2^[$CNT/12])]
27;}
28
29i1 0 36000 0.5 440
30</CsScore>
31</CsoundSynthesizer>
32
33