| 1 |
<CsoundSynthesizer> |
| 2 |
|
| 3 |
; Id: D08_ENV07.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 -oD08_ENV07.wav |
| 11 |
</CsOptions> |
| 12 |
|
| 13 |
<CsInstruments> |
| 14 |
|
| 15 |
sr = 192000 |
| 16 |
kr = 192000 |
| 17 |
ksmps = 1 |
| 18 |
nchnls = 1 |
| 19 |
|
| 20 |
;============================================= |
| 21 |
; 245.7 INTENSITY CURVES |
| 22 |
;============================================= |
| 23 |
instr 1 |
| 24 |
iamp1 = ampdb(90+p4)/ 21420 |
| 25 |
iamp2 = ampdb(90+p5)/ 29211 |
| 26 |
|
| 27 |
idur = p3 |
| 28 |
ifile = p6 |
| 29 |
|
| 30 |
a1 diskin2 ifile, 1 |
| 31 |
|
| 32 |
att linen 1 , .01 , p3 , .01 |
| 33 |
aenv expseg iamp1,13,iamp1,idur-13,iamp2 |
| 34 |
|
| 35 |
aout = a1*aenv * att |
| 36 |
|
| 37 |
out aout |
| 38 |
endin |
| 39 |
;============================================= |
| 40 |
|
| 41 |
</CsInstruments> |
| 42 |
<CsScore> |
| 43 |
t0 4572 ; 76.2 cm/sec. tape speed (durations in cm) |
| 44 |
|
| 45 |
; p4 p5 |
| 46 |
; iamp1 iamp2 ifile |
| 47 |
; [dB] [dB] |
| 48 |
i1 0 1224 -15 -49 "D07_TR07.wav" |
| 49 |
|
| 50 |
e |
| 51 |
|
| 52 |
</CsScore> |
| 53 |
</CsoundSynthesizer> |