examples/gendyx.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsOptions> |
| 3 | ; Select audio/midi flags here according to platform |
| 4 | -odac ;;;realtime audio out |
| 5 | ;-iadc ;;;uncomment -iadc if realtime audio input is needed too |
| 6 | ; For Non-realtime ouput leave only the line below: |
| 7 | ; -o oscil.wav -W ;;; for file output any platform |
| 8 | </CsOptions> |
| 9 | <CsInstruments> |
| 10 | |
| 11 | sr = 44100 |
| 12 | ksmps = 32 |
| 13 | nchnls = 2 |
| 14 | 0dbfs = 1 |
| 15 | |
| 16 | instr 1 |
| 17 | |
| 18 | aout gendyx 0.7, 1, 1, 1, 1, 20, 1000, 0.5, 0.5, 4, 0.13 |
| 19 | outs aout, aout |
| 20 | |
| 21 | endin |
| 22 | </CsInstruments> |
| 23 | <CsScore> |
| 24 | i1 0 10 |
| 25 | e |
| 26 | </CsScore> |
| 27 | </CsoundSynthesizer> |