src/Examples/FLOSS Manual Examples/14 Miscellanea/14A03_Score_perlscript.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsInstruments> |
| 3 | ;example by tito latini |
| 4 | |
| 5 | instr 1 |
| 6 | prints "amp = %f, freq = %f\n", p4, p5; |
| 7 | endin |
| 8 | |
| 9 | </CsInstruments> |
| 10 | <CsScore bin="perl cs_sco_rand.pl"> |
| 11 | |
| 12 | i1 0 .01 rand() [200 + rand(30)] |
| 13 | i1 + . rand() [400 + rand(80)] |
| 14 | i1 + . rand() [600 + rand(160)] |
| 15 | ;; SEED 123 |
| 16 | i1 + . rand() [750 + rand(200)] |
| 17 | i1 + . rand() [210 + rand(20)] |
| 18 | e |
| 19 | |
| 20 | </CsScore> |
| 21 | </CsoundSynthesizer> |