Debian Codegraph @

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

raw
1 <CsoundSynthesizer>
2
3 ; Id: B03_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 -oB03_TR02.wav
11 </CsOptions>
12
13 <CsInstruments>
14
15 sr = 192000
16 kr = 192000
17 ksmps = 1
18 nchnls = 1
19
20
21 ;=============================================
22 ; 222.2 TRANSPOSITION (RESAMPLING)
23 ;=============================================
24 instr 1
25 itrasp = p4
26 iamp = p5
27 ifile = p6
28
29 a1 diskin2 ifile, itrasp
30
31 ifrq = sr*p4 ; anti-aliasing filter
32 a1 tonex a1 , ifrq , 10
33 a1 tonex a1 , ifrq , 10
34
35 out a1*iamp
36 endin
37 ;=============================================
38
39 </CsInstruments>
40 <CsScore>
41
42 t0 4572 ; 76.2 cm/sec. tape speed (durations in cm)
43
44 ;ORIGINAL MATERIAL B + DISTORTED MATERIAL B
45
46 ; p4 p5 p6
47 ; itrasp iamp ifile
48 i1 0 2052 .125 0.4 "B01.wav" ; 6.25/50
49 i1 0 2052 .125 0.6 "B02_DIST02.wav" ; 6.25/50
50
51 e
52
53 </CsScore>
54 </CsoundSynthesizer>