Debian Codegraph @

examples/changed2.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 changed.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 nchnls = 2
14
15 instr 1
16
17 ksig oscil 2, 0.5, 1
18 kint = int(ksig)
19 ktrig changed2 kint
20 printk 0.2, kint
21 printk2 ktrig
22
23 endin
24
25 </CsInstruments>
26 <CsScore>
27 f 1 0 1024 10 1
28 i 1 0 20
29
30 e
31 </CsScore>
32 </CsoundSynthesizer>