Debian Codegraph @

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

raw
1 <CsoundSynthesizer>
2
3 ; Id: B00_a.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 -oB00_a.wav
11 </CsOptions>
12
13 <CsInstruments>
14
15 sr = 192000
16 kr = 192000
17 ksmps = 1
18 nchnls = 1
19
20 ;=============================================
21 ; SINUS TONES
22 ;=============================================
23 instr 1
24 iamp = ampdb(87+p4)
25 ifreq = p5
26
27 a1 oscili iamp , ifreq , 1
28 aenv linen 1 , .01 , p3 , .01
29
30 aout = a1 * aenv
31
32 out aout
33 endin
34 ;=============================================
35
36 ;=============================================
37 ; FILTERED NOISE
38 ;=============================================
39 instr 2
40 iamp = ampdb(87+p4)
41 ifreq = p5
42 ibw = ifreq * .05 ; filtered noise's bandwidth 5% of central frequency
43
44 a1 rnd31 iamp , 1
45 k1 rms a1
46
47 afilt butterbp a1 , ifreq , ibw
48 afilt butterbp afilt , ifreq , ibw
49
50 aenv linen .9, .01 , p3 , .01
51
52 aout gain afilt , k1
53 aout = aout * aenv
54
55 out aout
56 endin
57 ;=============================================
58
59 ;=============================================
60 ; FILTERED IMPULSES
61 ;=============================================
62 instr 3
63 iamp = ampdb(87+p4)
64 ifreq = p5
65 ibw = ifreq * .01 ; filtered pulse's bandwidth 1% of central frequency
66
67 if1 = ifreq-(ibw/3)
68 if2 = ifreq+((2*ibw)/3)
69
70
71 a1 mpulse iamp , 0
72 k1 rms a1
73
74 afilt atonex a1 , if1 , 2
75 afilt tonex afilt*1000 , if2 , 2
76 afilt butterbp afilt*3000, ifreq , ibw *.05
77
78 aenv linseg 1 , p3-.01, 1 , .01 , 0
79
80 aout = afilt * aenv
81
82 out aout*(sr/192000)
83 endin
84 ;=============================================
85 </CsInstruments>
86 <CsScore>
87 ;functions--------------------------------------------------
88 f1 0 8192 10 1 ; sinusoid
89 ;/functions--------------------------------------------------
90
91 t0 4572 ; 76.2 cm/sec. tape speed (durations in cm)
92
93 ;test--------------------------------------------------
94 ;mute-------------------------------------------------
95 q 1 0 1
96 q 3 0 1
97 ;/mute-------------------------------------------------
98 ;/test-------------------------------------------------
99
100 ;====================================================
101 ; 120. MATERIAL B
102 ; 121. total length: 256.5 cm, 6 sections
103 ;
104 ; sequence a
105 ;
106 ; length sequence
107 ; 27.8 cm (3)
108 ; 93.7 cm (6)
109 ; 41.7 cm (4)
110 ; 12.3 cm (1)
111 ; 18.5 cm (2)
112 ; 62.5 cm (5)
113 ;==================================================
114
115 ;==================================121.11
116 ; 27.8 cm ratio 10/9
117 ;----------------------------------
118 ; p4 p5
119 ; iamp ifreq timbre
120 ; [dB] [Hz]
121 i1 0 3.2 0 84 ; S
122 i3 3.2 2.9 -3.5 102 ; I
123 i1 6.1 4.9 0 124 ; S
124 i3 11 3.9 -6 151 ; I
125 i1 14.9 3.6 0 183 ; S
126 i3 18.5 2.3 -10 223 ; I
127 i1 20.8 4.4 0 271 ; S
128 i3 25.2 2.6 -13.5 329 ; I
129 s
130 t0 4572
131 ;==================================121.12
132 ; 93.7 cm ratio 7/6
133 ;----------------------------------------
134 ; x
135 i1 0 8.7 -6 161 ; S
136 i1 + 7.5 -6 156 ; S
137 i1 + 16.2 -6 141 ; S
138 i1 + 11.9 -6 172 ; S
139 i1 + 10.2 -6 166 ; S
140 i1 + 18.9 -6 146 ; S
141 i1 + 13.9 -6 178 ; S
142 i1 + 6.4 -6 151 ; S
143 ; y
144 i3 0 6.4 -11.5 137 ; I
145 i3 + 13.9 -11 128 ; I
146 i3 + 18.9 -10.5 120 ; I
147 i3 + 10.2 -10 113 ; I
148 i3 + 11.9 -9.5 109 ; I
149 i3 + 16.2 -10.5 116 ; I
150 i3 + 7.5 -11 124 ; I
151 i3 + 8.7 -11.5 133 ; I
152 s
153 t0 4572
154 ;==================================121.13
155 ; 41.7 cm ratio 9/8
156 ;----------------------------------------
157 ; x
158 i3 0 7.6 -18.5 309 ; I
159 i3 + 6.8 -16.5 238 ; I
160 i3 + 4.7 -14 183 ; I
161 i3 + 3.8 -12 141 ; I
162 i3 + 3.3 -9.5 109 ; I
163 i3 + 5.3 -7.5 84 ; I
164 i3 + 4.2 -5.3 65 ; I
165 i3 + 6 -3 50 ; I
166 ; y
167 i1 0 6 -6 50 ; S
168 i1 + 4.2 -6 65 ; S
169 i1 + 5.3 -6 84 ; S
170 i1 + 3.3 -6 109 ; S
171 i1 + 3.8 -6 141 ; S
172 i1 + 4.7 -6 183 ; S
173 i1 + 6.8 -6 238 ; S
174 i1 + 7.6 -6 309 ; S
175 s
176 t0 4572
177 ;==================================121.14
178 ; 12.3 cm ratio 12/11
179 ;----------------------------------------
180 ; x
181 i1 0 1.4 -6 96 ; S
182 i1 + 1.1 -6 93 ; S
183 i1 + 1.3 -6 84 ; S
184 i1 + 1.9 -6 102 ; S
185 i1 + 2.1 -6 99 ; S
186 i1 + 1.2 -6 87 ; S
187 i1 + 1.6 -6 106 ; S
188 i1 + 1.7 -6 90 ; S
189 ; y
190 i3 0 1.7 -9.5 109 ; I
191 i3 + 1.6 -10.5 124 ; I
192 i3 + 1.2 -10.5 141 ; I
193 i3 + 2.1 -13 161 ; I
194 i3 + 1.9 -13.5 172 ; I
195 i3 + 1.3 -12.5 151 ; I
196 i3 + 1.1 -9.5 133 ; I
197 i3 + 1.4 -10 116 ; I
198 s
199 t0 4572
200 ;==================================121.15
201 ; 18.5 cm ratio 11/10
202 ;----------------------------------------
203 i1 0 2.4 0 202 ; I
204 i3 2.4 2.1 -13.5 172 ; S
205 i1 4.5 1.6 0 146 ; I
206 i3 6.1 2.9 -11 124 ; S
207 i1 9 2.6 0 106 ; I
208 i3 11.6 1.8 -8 90 ; S
209 i1 13.4 3.2 0 76 ; I
210 i3 16.6 1.9 -5 65 ; S
211 s
212 t0 4572
213 ;==================================121.16
214 ; 62.5 cm ratio 8/7
215 ;----------------------------------------
216 ; x
217 i1 0 4.7 -6 183 ; S
218 i1 + 11.9 -6 172 ; S
219 i1 + 8 -6 141 ; S
220 i1 + 6.1 -6 209 ; S
221 i1 + 5.3 -6 196 ; S
222 i1 + 9.1 -6 151 ; S
223 i1 + 7 -6 223 ; S
224 i1 + 10.4 -6 161 ; S
225 ; y
226 i3 0 10.4 -7.5 84 ; I
227 i3 + 7 -8.5 96 ; I
228 i3 + 9.1 -9.5 109 ; I
229 i3 + 5.3 -11 124 ; I
230 i3 + 6.1 -11.5 133 ; I
231 i3 + 8 -10.5 116 ; I
232 i3 + 11.9 -9 102 ; I
233 i3 + 4.7 -8 90 ; I
234
235 ; total length: 256.5 cm
236 e
237
238 </CsScore>
239 </CsoundSynthesizer>