Debian Codegraph @

examples/resonk.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 resonk.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10 sr = 44100
11 ksmps = 32
12 nchnls = 2
13 0dbfs = 1
14
15 gisin ftgen 0, 0, 2^10, 10, 1
16
17 instr 1
18
19 ksig randomh 400, 1800, 150
20 aout poscil .2, 1000+ksig, gisin
21 outs aout, aout
22 endin
23
24 instr 2
25
26 ksig randomh 400, 1800, 150
27 khp line 1, p3, 400 ;vary high-pass
28 ksig resonk ksig, khp, 50
29 aout poscil .2, 1000+ksig, gisin
30 outs aout, aout
31 endin
32
33 </CsInstruments>
34 <CsScore>
35 i 1 0 5
36 i 2 5.5 5
37 e
38 </CsScore>
39 </CsoundSynthesizer>