| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
-odac ; activates real time sound output |
| 4 |
</CsOptions> |
| 5 |
<CsInstruments> |
| 6 |
|
| 7 |
sr = 44100 |
| 8 |
ksmps = 32 |
| 9 |
nchnls = 2 |
| 10 |
0dbfs = 1 |
| 11 |
|
| 12 |
giLFOShape ftgen 0, 0, 2^12, 19, 0.5, 1, 180, 1 |
| 13 |
|
| 14 |
instr 1 |
| 15 |
aSig pinkish 0.1 |
| 16 |
|
| 17 |
aMod poscil 0.005, 0.05, giLFOShape |
| 18 |
iOffset = ksmps/sr |
| 19 |
kFdback linseg 0.8,(p3/2)-0.5,0.95,1,-0.95 |
| 20 |
|
| 21 |
aDelay init 0 |
| 22 |
aDelay vdelayx aSig+aDelay*kFdback, aMod+iOffset, 0.5, 128 |
| 23 |
|
| 24 |
aOut linen (aSig+aDelay)/2, .1, p3, 1 |
| 25 |
out aOut, aOut |
| 26 |
endin |
| 27 |
|
| 28 |
</CsInstruments> |
| 29 |
<CsScore> |
| 30 |
i 1 0 25 |
| 31 |
</CsScore> |
| 32 |
</CsoundSynthesizer> |
| 33 |
;example by Iain McCurdy and joachim heintz |