Debian Codegraph @

examples/vtablek.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -odac -B441 -b441
4 </CsOptions>
5 <CsInstruments>
6
7 sr = 44100
8 kr = 100
9 ksmps = 441
10 nchnls = 2
11
12 gkindx init -1
13
14 instr 1
15 kindex init 0
16 ktrig metro 0.5
17 if ktrig = 0 goto noevent
18 gkindx = gkindx + 1
19 noevent:
20
21 endin
22
23 instr 2
24 kout1 init 0
25 kout2 init 0
26 kout3 init 0
27 kout4 init 0
28 vtablek gkindx, 1, 1, 0, kout1,kout2, kout3, kout4
29 printk2 kout1
30 printk2 kout2
31 printk2 kout3
32 printk2 kout4
33 endin
34
35 </CsInstruments>
36 <CsScore>
37 f 1 0 32 10 1
38 i 1 0 20
39 i 2 0 20
40 </CsScore>
41 </CsoundSynthesizer>