Debian Codegraph @

examples/gendy-2.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 oscil.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 kenv expseg 0.01, p3*0.1, 1, p3*0.8, 1, p3*0.1, 0.001
19 kosc oscil 0.1, 3/p3, 1
20 seed 20120123
21 kdis bexprnd kosc
22 knum linseg 3, p3*0.75, 10, p3*0.20, 12, p3*0.05, 5
23 asig gendy 0.2, kosc*60, 6, 0.7, kdis, 500*kenv, 4800, 0.23, 0.3, 12, knum
24 aflt resonz asig, 1400, 400
25 aout comb kenv*aflt*0.1, 0.9, 0.1
26 outs aout, aout
27
28 endin
29 </CsInstruments>
30 <CsScore>
31 f1 0 8192 10 1 0 .8 0 0 .3 0 0 0 .1
32
33 i1 0 20
34 e
35 </CsScore>
36 </CsoundSynthesizer>