src/Examples/FLOSS Manual Examples/05 Sound Modification/05A02_line_p3.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsOptions> |
| 3 | -odac |
| 4 | </CsOptions> |
| 5 | <CsInstruments> |
| 6 | sr = 44100 |
| 7 | ksmps = 32 |
| 8 | nchnls = 2 |
| 9 | 0dbfs = 1 |
| 10 | |
| 11 | instr 1 |
| 12 | ; A single segment envelope. Time value defined by note duration. |
| 13 | aEnv line 0.5, p3, 0 |
| 14 | aSig poscil aEnv, 500 |
| 15 | out aSig, aSig |
| 16 | endin |
| 17 | |
| 18 | </CsInstruments> |
| 19 | <CsScore> |
| 20 | ; p1 p2 p3 |
| 21 | i 1 0 1 |
| 22 | i 1 2 0.2 |
| 23 | i 1 3 4 |
| 24 | </CsScore> |
| 25 | </CsoundSynthesizer> |
| 26 | ;example by Iain McCurdy |