1<CsoundSynthesizer>
2<CsOptions>
3-o dac
4</CsOptions>
5<CsInstruments>
6
7sr = 48000
8ksmps = 32
9nchnls = 1
100dbfs = 1
11
12instr 1
13aOffset linseg 0, 1, 0, 5, 0.6, 3, 0
14aSine1 poscil 0.3, 40 , 1
15aSine2 poscil 0.3, 440, 1
16out (aSine1+aOffset)*aSine2
17endin
18
19
20</CsInstruments>
21<CsScore>
22f 1 0 1024 10 1
23i 1 0 10
24e
25</CsScore>
26</CsoundSynthesizer>
27; written by Alex Hofmann (Mar. 2011)
28