| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
; Select audio/midi flags here according to platform |
| 4 |
; Audio out Audio in No messages |
| 5 |
-odac -iadc -d ;;;RT audio I/O |
| 6 |
; For Non-realtime ouput leave only the line below: |
| 7 |
; -o nestedap.wav -W ;;; for file output any platform |
| 8 |
</CsOptions> |
| 9 |
<CsInstruments> |
| 10 |
|
| 11 |
sr = 44100 |
| 12 |
kr = 4410 |
| 13 |
ksmps = 10 |
| 14 |
nchnls = 2 |
| 15 |
|
| 16 |
instr 5 |
| 17 |
insnd = p4 |
| 18 |
gasig diskin2 insnd, 1 |
| 19 |
endin |
| 20 |
|
| 21 |
instr 10 |
| 22 |
imax = 1 |
| 23 |
idel1 = p4/1000 |
| 24 |
igain1 = p5 |
| 25 |
idel2 = p6/1000 |
| 26 |
igain2 = p7 |
| 27 |
idel3 = p8/1000 |
| 28 |
igain3 = p9 |
| 29 |
idel4 = p10/1000 |
| 30 |
igain4 = p11 |
| 31 |
idel5 = p12/1000 |
| 32 |
igain5 = p13 |
| 33 |
idel6 = p14/1000 |
| 34 |
igain6 = p15 |
| 35 |
|
| 36 |
afdbk init 0 |
| 37 |
|
| 38 |
aout1 nestedap gasig+afdbk*.4, 3, imax, idel1, igain1, idel2, igain2, idel3, igain3 |
| 39 |
|
| 40 |
aout2 nestedap aout1, 2, imax, idel4, igain4, idel5, igain5 |
| 41 |
|
| 42 |
aout nestedap aout2, 1, imax, idel6, igain6 |
| 43 |
|
| 44 |
afdbk butterlp aout, 1000 |
| 45 |
|
| 46 |
outs gasig+(aout+aout1)/2, gasig-(aout+aout1)/2 |
| 47 |
|
| 48 |
gasig = 0 |
| 49 |
endin |
| 50 |
|
| 51 |
|
| 52 |
</CsInstruments> |
| 53 |
<CsScore> |
| 54 |
|
| 55 |
f1 0 8192 10 1 |
| 56 |
|
| 57 |
; Diskin |
| 58 |
; Sta Dur Soundin |
| 59 |
i5 0 3 "drumsMlp.wav" |
| 60 |
|
| 61 |
; Reverb |
| 62 |
; St Dur Del1 Gn1 Del2 Gn2 Del3 Gn3 Del4 Gn4 Del5 Gn5 Del6 Gn6 |
| 63 |
i10 0 6 97 .11 23 .07 43 .09 72 .2 53 .2 119 .3 |
| 64 |
e |
| 65 |
|
| 66 |
|
| 67 |
</CsScore> |
| 68 |
</CsoundSynthesizer> |