src/Examples/FLOSS Manual Examples/03 Csound Language/03A01_Init-pass.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsInstruments> |
| 3 | |
| 4 | giGlobal = 1/2 |
| 5 | |
| 6 | instr 1 |
| 7 | iLocal = 1/4 |
| 8 | print giGlobal, iLocal |
| 9 | endin |
| 10 | |
| 11 | instr 2 |
| 12 | iLocal = 1/5 |
| 13 | print giGlobal, iLocal |
| 14 | endin |
| 15 | |
| 16 | </CsInstruments> |
| 17 | <CsScore> |
| 18 | i 1 0 0 |
| 19 | i 2 0 0 |
| 20 | </CsScore> |
| 21 | </CsoundSynthesizer> |
| 22 | ;example by joachim heintz |