examples/toot1.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsOptions> |
| 3 | -odac |
| 4 | </CsOptions> |
| 5 | <CsInstruments> |
| 6 | |
| 7 | instr 1 |
| 8 | |
| 9 | a1 oscil 10000, 440, 1 |
| 10 | |
| 11 | out a1 |
| 12 | |
| 13 | endin |
| 14 | |
| 15 | </CsInstruments> |
| 16 | <CsScore> |
| 17 | |
| 18 | f1 0 4096 10 1 ; use GEN10 to compute a sine wave |
| 19 | |
| 20 | ;ins strt dur |
| 21 | |
| 22 | i1 0 4 |
| 23 | |
| 24 | e ; indicates the end of the score |
| 25 | |
| 26 | </CsScore> |
| 27 | </CsoundSynthesizer> |