Debian Codegraph @

examples/wgclar.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;realtime audio out
5 ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o wgclar.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 nchnls = 2
14 0dbfs = 1
15
16 instr 1
17
18 kfreq = 330
19 kstiff = -0.3
20 iatt = 0.1
21 idetk = 0.1
22 kngain init p4 ;vary breath
23 kvibf = 5.735
24 kvamp = 0.1
25
26 asig wgclar .9, kfreq, kstiff, iatt, idetk, kngain, kvibf, kvamp, 1
27 outs asig, asig
28
29 endin
30 </CsInstruments>
31 <CsScore>
32 f 1 0 16384 10 1 ;sine wave
33
34 i 1 0 2 0.2
35 i 1 + 2 0.5 ;more breath
36 e
37
38 </CsScore>
39 </CsoundSynthesizer>