| 1 |
<CsoundSynthesizer> |
| 2 |
|
| 3 |
; Id: H07_REV04.CSD mg (2006, rev.2009) |
| 4 |
; author: marco gasperini (marcogsp at yahoo dot it) |
| 5 |
|
| 6 |
; G.M. Koenig |
| 7 |
; ESSAY (1957) |
| 8 |
|
| 9 |
<CsOptions> |
| 10 |
-W -f -oH07_REV04.wav |
| 11 |
</CsOptions> |
| 12 |
|
| 13 |
<CsInstruments> |
| 14 |
|
| 15 |
sr = 192000 |
| 16 |
kr = 192000 |
| 17 |
ksmps = 1 |
| 18 |
nchnls = 1 |
| 19 |
|
| 20 |
;============================================= |
| 21 |
; 284.4 REVERBERATION |
| 22 |
;============================================= |
| 23 |
|
| 24 |
; backwards reverberation |
| 25 |
|
| 26 |
instr 1 |
| 27 |
ifile = p4 |
| 28 |
|
| 29 |
a1 diskin2 ifile , -1, p3 |
| 30 |
ga1 = a1 |
| 31 |
endin |
| 32 |
|
| 33 |
instr 2 |
| 34 |
iampr = ampdb(p4) |
| 35 |
|
| 36 |
a1 = ga1 |
| 37 |
|
| 38 |
ar nreverb a1, 5, .3 |
| 39 |
|
| 40 |
aenv expseg 1, 2, 0.1, p3-2, 0.1 |
| 41 |
aenvr expseg .25, .5, 1, p3-2, 1 |
| 42 |
|
| 43 |
aout = (a1*aenv) +(ar*aenvr*iampr) |
| 44 |
|
| 45 |
out aout |
| 46 |
ga1 = 0 |
| 47 |
endin |
| 48 |
;============================================= |
| 49 |
|
| 50 |
</CsInstruments> |
| 51 |
<CsScore> |
| 52 |
t0 4572 ; 76.2 cm/sec. tape speed (durations in cm) |
| 53 |
|
| 54 |
; p4 |
| 55 |
; ifile |
| 56 |
i1 0 171 "H01.wav" |
| 57 |
; p4 |
| 58 |
; iampr |
| 59 |
i2 0 552 -18 |
| 60 |
|
| 61 |
;durrev= 5*76.2 = 381 |
| 62 |
; dur = 171 + durrev |
| 63 |
e |
| 64 |
|
| 65 |
</CsScore> |
| 66 |
</CsoundSynthesizer> |