src/Examples/FLOSS Manual Examples/04 Sound Synthesis/04A11_gbuzz_partials_rise.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | |
| 3 | <CsOptions> |
| 4 | -o dac |
| 5 | </CsOptions> |
| 6 | |
| 7 | <CsInstruments> |
| 8 | sr = 44100 |
| 9 | ksmps = 32 |
| 10 | nchnls = 2 |
| 11 | 0dbfs = 1 |
| 12 | |
| 13 | ; a cosine wave |
| 14 | gicos ftgen 0, 0, 2^10, 11, 1 |
| 15 | |
| 16 | instr 1 |
| 17 | knh = 20 |
| 18 | klh line 1, p3, 20 |
| 19 | kmul = 1 |
| 20 | asig gbuzz 1, 100, knh, klh, kmul, gicos |
| 21 | outs asig, asig |
| 22 | endin |
| 23 | |
| 24 | </CsInstruments> |
| 25 | |
| 26 | <CsScore> |
| 27 | i 1 0 8 |
| 28 | e |
| 29 | </CsScore> |
| 30 | |
| 31 | </CsoundSynthesizer> |
| 32 | ;example by Iain McCurdy |