| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
; Select audio/midi flags here according to platform |
| 4 |
-odac ;;;realtime audio out |
| 5 |
;-iadc ;;;uncomment -iadc if real audio input is needed too |
| 6 |
; For Non-realtime ouput leave only the line below: |
| 7 |
; -o passign.wav -W ;;; for file output any platform |
| 8 |
</CsOptions> |
| 9 |
<CsInstruments> |
| 10 |
|
| 11 |
sr = 44100 |
| 12 |
ksmps = 32 |
| 13 |
nchnls = 2 |
| 14 |
0dbfs = 1 |
| 15 |
|
| 16 |
instr 8 |
| 17 |
|
| 18 |
idur,iamp,iskiptime,iattack,irelease,irvbtime,irvbgain passign 3 |
| 19 |
|
| 20 |
kamp linen iamp, iattack, idur, irelease |
| 21 |
asig soundin "fox.wav", iskiptime |
| 22 |
arampsig = kamp * asig |
| 23 |
aeffect reverb asig, irvbtime |
| 24 |
arvbretrn = aeffect * irvbgain |
| 25 |
;mix dry & wet signals |
| 26 |
outs arampsig + arvbretrn, arampsig + arvbretrn |
| 27 |
|
| 28 |
endin |
| 29 |
|
| 30 |
</CsInstruments> |
| 31 |
<CsScore> |
| 32 |
|
| 33 |
;ins strt dur amp skip atk rel rvbt rvbgain |
| 34 |
i8 0 4 .3 0 .03 .1 1.5 .3 |
| 35 |
i8 4 4 .3 1.6 .1 .1 3.1 .7 |
| 36 |
i8 8 4 .3 0 .5 .1 2.1 .2 |
| 37 |
i8 12 4 .4 0 .01 .1 1.1 .1 |
| 38 |
i8 16 4 .5 0.1 .01 .1 0.1 .1 |
| 39 |
|
| 40 |
e |
| 41 |
</CsScore> |
| 42 |
</CsoundSynthesizer> |