| 1 |
<CsoundSynthesizer> |
| 2 |
|
| 3 |
; Id: H05_REV01.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 -oH05_REV01.wav |
| 11 |
</CsOptions> |
| 12 |
|
| 13 |
<CsInstruments> |
| 14 |
|
| 15 |
sr = 192000 |
| 16 |
kr = 192000 |
| 17 |
ksmps = 1 |
| 18 |
nchnls = 1 |
| 19 |
|
| 20 |
;============================================= |
| 21 |
; 284.1 REVERBERATION |
| 22 |
;============================================= |
| 23 |
instr 1 |
| 24 |
iampr = ampdb(90+p4) |
| 25 |
ifile = p5 |
| 26 |
|
| 27 |
idel = 5.6 ; 5.6 s * 76.2 |
| 28 |
|
| 29 |
a1 diskin2 ifile , 1 |
| 30 |
|
| 31 |
ar convolve a1/ 1635201 , "IR5s.cv", 1 |
| 32 |
|
| 33 |
a1 delay a1 , idel |
| 34 |
|
| 35 |
; decreasing and increasing reverberation |
| 36 |
aenvr expseg 1., idel, 1., 2.2, .2 , 2.2, 1 , p3-idel-4.4, 1 |
| 37 |
aenv expseg .1, idel, .1, 2.2, 1.3, 2.2, .25, p3-idel-4.4, 0.0001 |
| 38 |
|
| 39 |
aout = (a1*aenv) +(ar*aenvr*iampr) |
| 40 |
|
| 41 |
out aout |
| 42 |
endin |
| 43 |
;============================================= |
| 44 |
|
| 45 |
</CsInstruments> |
| 46 |
<CsScore> |
| 47 |
t0 4572 ; 76.2 cm/sec. tape speed (durations in cm) |
| 48 |
|
| 49 |
;durerev= 5.6*76.2 + 3*76.2 = 426.72+228.6=655.32 |
| 50 |
|
| 51 |
; p4 p5 |
| 52 |
; iampr ifile |
| 53 |
i1 0 1210 1.5 "H04_TR01.wav" |
| 54 |
|
| 55 |
; dur 342 |
| 56 |
|
| 57 |
e |
| 58 |
|
| 59 |
</CsScore> |
| 60 |
</CsoundSynthesizer> |