Debian Codegraph @

src/Examples/FLOSS Manual Examples/03 Csound Language/03A02_Perf-pass_incr.csd

raw
1 <CsoundSynthesizer>
2 <CsInstruments>
3 sr = 44100
4 ksmps = 4410
5
6 instr 1
7 kCount init 0; set kcount to 0 first
8 kCount = kCount + 1; increase at each k-pass
9 printk 0, kCount; print the value
10 endin
11
12 </CsInstruments>
13 <CsScore>
14 i 1 0 1
15 </CsScore>
16 </CsoundSynthesizer>
17 ;example by joachim heintz