src/Examples/FLOSS Manual Examples/01 Basics/01C03_FletcherMunson.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 | kfreq expseg p4, p3, p5 |
| 13 | printk 1, kfreq ;prints the frequencies once a second |
| 14 | asin poscil .2, kfreq |
| 15 | aout linen asin, .01, p3, .01 |
| 16 | outs aout, aout |
| 17 | endin |
| 18 | </CsInstruments> |
| 19 | <CsScore> |
| 20 | i 1 0 5 1000 1000 |
| 21 | i 1 6 20 20 20000 |
| 22 | </CsScore> |
| 23 | </CsoundSynthesizer> |
| 24 | ;example by joachim heintz |