Debian Codegraph @

src/Examples/FLOSS Manual Examples/03 Csound Language/03A12_Init_no_incr.csd

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