Debian Codegraph @

examples/wgflute.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 wgflute.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 = 440
19 kjet init p4 ;vary air jet
20 iatt = 0.1
21 idetk = 0.1
22 kngain = 0.15
23 kvibf = 5.925
24 kvamp = 0.05
25
26 asig wgflute .8, kfreq, kjet, 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.02 ;more air jet
35 i 1 + 2 0.32
36 e
37 </CsScore>
38 </CsoundSynthesizer>