Debian Codegraph @

examples/aresonk.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;RT audio out
5 ;-iadc ;;;uncomment -iadc if RT audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o aresonk.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 kbw line 1, p3, 600 ; vary bandwith
28 ksig aresonk ksig, 800, kbw
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>