Debian Codegraph @

src/Scripts/Koenig-Essay/csds/F02_REVcancer.csd

raw
1 <CsoundSynthesizer>
2
3 ; Id: F02_REVcancer.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 -oF02_REVcancer.wav
11 </CsOptions>
12
13 <CsInstruments>
14
15 sr = 192000
16 kr = 192000
17 ksmps = 1
18 nchnls = 1
19
20 ;=============================================
21 ; 264.1-4 REVERBERATION
22 ;=============================================
23 instr 1
24
25 iskip = 6.496
26 iampr = ampdb(p4)
27
28 ifile = p5
29
30 a1 diskin2 ifile, -1 , iskip ; reads backwards from the end of the file
31
32 ar nreverb a1, 5, .3
33
34 aout = a1*.3 +(ar*iampr)
35 aout atonex aout, 10
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 ; iampr ifile
47 i1 0 876 -19 "F02_REV.wav"
48
49 ;durrev= 5*76.2 = 381
50 ; dur = 495 + durrev
51 e
52
53 </CsScore>
54 </CsoundSynthesizer>