examples/ftgentmp.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsOptions> |
| 3 | </CsOptions> |
| 4 | <CsInstruments> |
| 5 | |
| 6 | sr = 44100 |
| 7 | ksmps = 128 |
| 8 | nchnls = 2 |
| 9 | 0dbfs = 1 |
| 10 | |
| 11 | instr 1 |
| 12 | ifno ftgentmp 0, 0, 512, 10, 1 |
| 13 | print ifno |
| 14 | endin |
| 15 | |
| 16 | instr 2 |
| 17 | print ftlen(p4) |
| 18 | endin |
| 19 | |
| 20 | </CsInstruments> |
| 21 | <CsScore> |
| 22 | i 1 0 10 |
| 23 | i 2 2 1 101 |
| 24 | i 1 5 10 |
| 25 | i 2 7 1 102 |
| 26 | i 2 12 1 101 |
| 27 | i 2 17 1 102 |
| 28 | e |
| 29 | </CsScore> |
| 30 | </CsoundSynthesizer> |