| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
-odac -d |
| 4 |
; By Stefano Cucchi 2020 |
| 5 |
|
| 6 |
</CsOptions> |
| 7 |
<CsInstruments> |
| 8 |
|
| 9 |
sr = 44100 |
| 10 |
ksmps = 10 |
| 11 |
nchnls = 2 |
| 12 |
0dbfs = 1 |
| 13 |
|
| 14 |
instr 1 |
| 15 |
|
| 16 |
a1 oscili 0.1, p4 |
| 17 |
a2 oscili 0.1, p5 |
| 18 |
ashape taninv2 a1, a2 |
| 19 |
kdeclick linseg 0, 0.3, 0.2, p3-0.6, 0.2, 0.3, 0 |
| 20 |
outs ashape*kdeclick, ashape*kdeclick |
| 21 |
endin |
| 22 |
|
| 23 |
instr 2 |
| 24 |
|
| 25 |
a1 diskin p4, 1 |
| 26 |
a2 = a1 |
| 27 |
ashape taninv2 a1, a2 |
| 28 |
kdeclick linseg 0, 0.3, 0.2, p3-0.6, 0.2, 0.3, 0 |
| 29 |
outs ashape*kdeclick*.5, ashape*kdeclick*.5 |
| 30 |
endin |
| 31 |
|
| 32 |
</CsInstruments> |
| 33 |
<CsScore> |
| 34 |
|
| 35 |
i 1 0 3 440 300 |
| 36 |
i 1 3 3 200 210 |
| 37 |
i 1 6 3 50 40 |
| 38 |
i 1 9 3 50 3000 |
| 39 |
i 2 12 3 "fox.wav" |
| 40 |
|
| 41 |
</CsScore> |
| 42 |
</CsoundSynthesizer> |