Debian Codegraph @

examples/tonek.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 tonek.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 gisin ftgen 0, 0, 2^10, 10, 1
17
18 instr 1
19
20 ksig randomh 400, 1800, 150
21 aout poscil .2, 100+ksig, gisin
22 outs aout, aout
23 endin
24
25 instr 2
26
27 ksig randomh 400, 1800, 150
28 khp line 1, p3, 100 ;vary high-pass
29 ksig tonek ksig, khp
30 aout poscil .2, 100+ksig, gisin
31 outs aout, aout
32 endin
33
34 </CsInstruments>
35 <CsScore>
36
37 i 1 0 5
38 i 2 5.5 5
39 e
40 </CsScore>
41 </CsoundSynthesizer>