1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
; Audio out Audio in No messages
-odac -iadc -d ;;;RT audio I/O
; For Non-realtime ouput leave only the line below:
; -o fofilter.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 10
nchnls = 1
instr 1
kfe expseg 10, p3*0.9, 180, p3*0.1, 175
kenv linen 1000, 0.05, p3, 0.05
asig buzz kenv, kfe, sr/(2*kfe), 1
afil fofilter asig, 900, 0.007, 0.04
out afil
endin
</CsInstruments>
<CsScore>
; Table #1, a sine wave.
f 1 0 16384 10 1
i 1 0 10
e
</CsScore>
</CsoundSynthesizer>
|