| 1 |
<CsoundSynthesizer> |
| 2 |
|
| 3 |
; Id: H07_REV05.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_REV05.wav |
| 11 |
</CsOptions> |
| 12 |
|
| 13 |
<CsInstruments> |
| 14 |
|
| 15 |
sr = 192000 |
| 16 |
kr = 192000 |
| 17 |
ksmps = 1 |
| 18 |
nchnls = 1 |
| 19 |
|
| 20 |
;============================================= |
| 21 |
; 284.5 REVERBERATION |
| 22 |
;============================================= |
| 23 |
instr 1 |
| 24 |
iampr = ampdb(p4) |
| 25 |
ifile = p5 |
| 26 |
|
| 27 |
a1 diskin2 ifile , 1 |
| 28 |
|
| 29 |
ar nreverb a1, 5, .3 |
| 30 |
|
| 31 |
; decreasing and increasing reverberation |
| 32 |
aenv expseg 1, 4, .25, p3-4, .125 |
| 33 |
aenvr expseg 1, 1.2, ampdb(-30), 1.4, 1, p3-2.6, 1 |
| 34 |
|
| 35 |
aout = (a1*aenv) + (ar*aenvr*iampr) |
| 36 |
aout atonex aout, 10 |
| 37 |
|
| 38 |
out aout |
| 39 |
endin |
| 40 |
;============================================= |
| 41 |
|
| 42 |
</CsInstruments> |
| 43 |
<CsScore> |
| 44 |
t0 4572 ; 76.2 cm/sec. tape speed (durations in cm) |
| 45 |
|
| 46 |
; p4 p5 |
| 47 |
; iampr ifile |
| 48 |
i1 0 864.6 -10 "H05_RM05.wav" |
| 49 |
|
| 50 |
;durrev= 5*76.2 = 381 |
| 51 |
; dur = 483.6 + durrev |
| 52 |
e |
| 53 |
|
| 54 |
</CsScore> |
| 55 |
</CsoundSynthesizer> |