src/Examples/FLOSS Manual Examples/03 Csound Language/03A04_Perf-pass_no_incr.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsInstruments> |
| 3 | sr = 44100 |
| 4 | ksmps = 4410 |
| 5 | |
| 6 | instr 1 |
| 7 | kcount = 0; sets kcount to 0 at each k-cycle |
| 8 | kcount = kcount + 1; does not really increase ... |
| 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 |