| 1 |
<CsoundSynthesizer> |
| 2 |
|
| 3 |
; Id: H07_REV02.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_REV02.wav |
| 11 |
</CsOptions> |
| 12 |
|
| 13 |
<CsInstruments> |
| 14 |
|
| 15 |
sr = 192000 |
| 16 |
kr = 192000 |
| 17 |
ksmps = 1 |
| 18 |
nchnls = 1 |
| 19 |
|
| 20 |
;============================================= |
| 21 |
; 284.2 REVERBERATION |
| 22 |
;============================================= |
| 23 |
instr 1 |
| 24 |
iampr = ampdb(p4) |
| 25 |
ifile = p5 |
| 26 |
|
| 27 |
idel = 5.6 ; 5.6 s * 76.2 = 426.72 cm |
| 28 |
|
| 29 |
a1 diskin2 ifile, 1 |
| 30 |
|
| 31 |
ar nreverb a1, 5, .3 |
| 32 |
|
| 33 |
; increasing reverberation only at the end |
| 34 |
aenv expseg .5, .8, .03, 2 , .5, p3-12.8, .5, 3.952, .03 |
| 35 |
aenvr expseg .5, .5, .25, 2.5 , .25, p3-3 , .5 |
| 36 |
|
| 37 |
aout = (a1*aenv) + (ar*iampr*aenvr) |
| 38 |
aout atonex aout, 10 |
| 39 |
|
| 40 |
out aout |
| 41 |
endin |
| 42 |
;============================================= |
| 43 |
|
| 44 |
</CsInstruments> |
| 45 |
<CsScore> |
| 46 |
t0 4572 ; 76.2 cm/sec. tape speed (durations in cm) |
| 47 |
|
| 48 |
; p4 p5 |
| 49 |
; iampr ifile |
| 50 |
i1 0 1749 -2 "H06_TR02.wav" |
| 51 |
|
| 52 |
;durrev= 5*76.2 = 381 |
| 53 |
; dur = 1368 + durrev |
| 54 |
e |
| 55 |
|
| 56 |
</CsScore> |
| 57 |
</CsoundSynthesizer> |