| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
-odac -d |
| 4 |
</CsOptions> |
| 5 |
<CsInstruments> |
| 6 |
|
| 7 |
sr = 44100 |
| 8 |
ksmps = 64 |
| 9 |
nchnls = 1 |
| 10 |
0dbfs = 1 |
| 11 |
|
| 12 |
gifw ftgen 0,0,1024,20,2,1 |
| 13 |
instr 1 |
| 14 |
a1 diskin "fox.wav",1,0,1 |
| 15 |
kcfs[],krms,kerr,kcps lpcanal a1,1,512,1024,50,gifw |
| 16 |
a2 rand 0dbfs |
| 17 |
kpar[] apoleparams kcfs |
| 18 |
kmin expseg 8000,p3/4,200,3*p3/4,600 |
| 19 |
a3 resonbnk a2*krms*kerr/4,kpar,kmin,16000-kmin,512,1 |
| 20 |
out a3 |
| 21 |
endin |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
</CsInstruments> |
| 26 |
<CsScore> |
| 27 |
|
| 28 |
i1 0 32 |
| 29 |
</CsScore> |
| 30 |
</CsoundSynthesizer> |
| 31 |
|