src/Examples/FLOSS Manual Examples/09 Csound in other Applications/09B02_maxcs_audio_io.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsInstruments> |
| 3 | sr = 44100 |
| 4 | ksmps = 32 |
| 5 | nchnls = 3 |
| 6 | 0dbfs = 1 |
| 7 | |
| 8 | instr 1 |
| 9 | aTri1 inch 1 |
| 10 | aTri2 inch 2 |
| 11 | aTri3 inch 3 |
| 12 | aMix = (aTri1 + aTri2 + aTri3) * .2 |
| 13 | outch 1, aMix, 2, aMix |
| 14 | endin |
| 15 | |
| 16 | </CsInstruments> |
| 17 | <CsScore> |
| 18 | f0 86400 |
| 19 | i1 0 86400 |
| 20 | e |
| 21 | </CsScore> |
| 22 | </CsoundSynthesizer> |
| 23 | ;example by Davis Pyon |