examples/cbrt.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsOptions> |
| 3 | </CsOptions> |
| 4 | <CsInstruments> |
| 5 | |
| 6 | |
| 7 | instr 1 |
| 8 | |
| 9 | iArg[] fillarray 1,2,3 |
| 10 | iRes[] cbrt iArg |
| 11 | ik init 0 |
| 12 | |
| 13 | while ik < lenarray(iRes) do |
| 14 | print iRes[ik] |
| 15 | ik += 1 |
| 16 | od |
| 17 | |
| 18 | endin |
| 19 | |
| 20 | </CsInstruments> |
| 21 | <CsScore> |
| 22 | i1 0 0 |
| 23 | </CsScore> |
| 24 | </CsoundSynthesizer> |