| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
; Select audio/midi flags here according to platform |
| 4 |
; Audio out Audio in |
| 5 |
-n ; no sound |
| 6 |
; For Non-realtime ouput leave only the line below: |
| 7 |
; -o cosh.wav -W ;;; for file output any platform |
| 8 |
</CsOptions> |
| 9 |
<CsInstruments> |
| 10 |
|
| 11 |
; by Kevin Conder |
| 12 |
|
| 13 |
sr = 44100 |
| 14 |
ksmps = 32 |
| 15 |
nchnls = 2 |
| 16 |
0dbfs = 1 |
| 17 |
|
| 18 |
instr 1 |
| 19 |
|
| 20 |
irad = 1 |
| 21 |
i1 = cosh(irad) |
| 22 |
print i1 |
| 23 |
|
| 24 |
endin |
| 25 |
|
| 26 |
</CsInstruments> |
| 27 |
<CsScore> |
| 28 |
i 1 0 .1 |
| 29 |
e |
| 30 |
</CsScore> |
| 31 |
</CsoundSynthesizer> |