Debian Codegraph @

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

raw
1 <CsoundSynthesizer>
2
3 ; Id: D07_TR02.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 -oD07_TR02.wav
11 </CsOptions>
12
13 <CsInstruments>
14
15 sr = 192000
16 kr = 192000
17 ksmps = 1
18 nchnls = 1
19
20 ;=============================================
21 ; 242.2 TRANSPOSITION (RESAMPLING)
22 ;=============================================
23 instr 1
24 itrasp = p4
25 ifile = p5
26
27 a1 diskin2 ifile, itrasp
28
29 ifrq = sr*p4 ; anti-aliasing filter
30 a1 tonex a1 , ifrq , 10
31 a1 tonex a1 , ifrq , 10
32
33 aenv linseg 1, p3-.01, 1 , .01 , 0
34
35 out a1*aenv
36 endin
37 ;=============================================
38
39 </CsInstruments>
40 <CsScore>
41 t0 4572 ; 76.2 cm/sec. tape speed (durations in cm)
42
43 ; p4 p5
44 ; itrasp ifile
45 i1 0 2493.4 .5 "D04_REV02.wav" ; 25/50
46 ; + durrev*2
47 e
48
49 </CsScore>
50 </CsoundSynthesizer>