1<CsoundSynthesizer>
2
3<CsOptions>
4--env:SSDIR+=../SourceMaterials -o dac
5</CsOptions>
6
7<CsInstruments>
8sr = 44100
9ksmps = 32
10nchnls = 2
110dbfs = 1
12
13; a cosine wave
14gicos ftgen 0, 0, 2^10, 11, 1
15
16 instr 1
17knh  line  1, p3, 20  ; number of harmonics
18klh  =     1          ; lowest harmonic
19kmul =     1          ; amplitude coefficient multiplier
20asig gbuzz 1, 100, knh, klh, kmul, gicos
21     outs  asig, asig
22 endin
23
24</CsInstruments>
25
26<CsScore>
27i 1 0 8
28e
29</CsScore>
30
31</CsoundSynthesizer>
32