Debian Codegraph @

src/Examples/CsoundQt/Music/Stockhausen-Studie_II.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -odac -m0
4 </CsOptions>
5 <CsInstruments>
6 ksmps = 16
7 nchnls = 2
8 0dbfs = 1
9
10 ;============================================================================;
11 ;============================================================================;
12 ;============================================================================;
13 ; KARLHEINZ STOCKHAUSEN: STUDIE II (1954) ;
14 ;============================================================================;
15 ;============================================================================;
16 ; GENERATED IN CSOUND BY JOACHIM HEINTZ ;
17 ; VERSION 1, NOVEMBER 2009 ;
18 ;============================================================================;
19 ;============================================================================;
20 ;============================================================================;
21
22 ;This version is not to execute Stockhausen's "Studie II" which can be easily;
23 ;done by transcribing the original score. This is the generation of all ;
24 ;musical events in real time and from these basic principles: ;
25 ;1) the series 3 - 5 - 1 - 4 - 2, and ;
26 ;2) a number of decisions and "methods" (i.e. defined rules or processes) on ;
27 ;different levels, to derive from the original series firstly expanded series;
28 ;or squares of numbers, then a preliminary set of frequencies, durations ;
29 ;and amplitudes, and finally the musical events of the five parts of the ;
30 ;"Studie". ;
31 ; ;
32 ;If something follows a defined rule, it is also programmable. ;
33 ;Nevertheless, retracing the compositional process by programming reveals the;
34 ;richly imaginative variety Stockhausen applied in "Studie II" and how ;
35 ;strongly the choice of a process was influenced by his musical intuitions. ;
36 ;His continuous attendance to the emerging and willingness to react with and ;
37 ;within the original methods and procedures is the powerful message driven ;
38 ;home by this excercise. ;
39 ; ;
40 ;This piece of work would not have been possible without the comprehensive ;
41 ;analysis by Heinz Silberhorn (Die Reihentechnik in Stockhausens Studie II, ;
42 ;Rohrdorfer Musikverlag 1980). Few white spaces are left; first and foremost ;
43 ;the question for the envelopes. I am convinced that at least the ;
44 ;envelopes in parts 1 to 4 are derived from the series. In parts 2 and 4 ;
45 ;the series of five are visible (see below). I hope that the means of these ;
46 ;derivations will be found and added to a later version. ;
47 ; ;
48 ;In this first version I have not labelled, where Stockhausen's (mostly ;
49 ;small) deviations from the series were assumed and where these were omitted.;
50 ;This will be part of later versions, which will give the user the choice ;
51 ;to either play the strictly serial or Stockhausen's version. There are a ;
52 ;number of addiotional ideas for later versions and corrections, suggestions ;
53 ;and criticism (to jh at joachimheintz.de) are appreciated. ;
54 ; ;
55 ; ;
56 ; joachim heintz, 15.11.09 ;
57 ; ;
58 ; (for CsoundQt: TabWidth 70);
59
60
61
62 ;============================================================================;
63 ;============================================================================;
64 ; CONTENTS ;
65 ;============================================================================;
66 ; I. OPCODE-DEFINITIONS ;
67 ; A. GENERAL FUNCTIONS ;
68 ; B. MORE SPECIFIC METHODS FOR STOCKHAUSEN'S STUDIE II (SS2_...) ;
69 ; 1. ON THE GENERATION OF SERIES ;
70 ; 2. ON THE BASIC TABLES ;
71 ; 3. GENERATION OF TABLES OF ONE PARAMETER WITHIN ONE PART ;
72 ; 4. SPECIFIC PROCEDURES FOR CERTAIN PARTS ;
73 ; 5. GENERATION OF STARTING TIMES ;
74 ; 6. AMPLITUDES AND ENVELOPES ;
75 ; 7. TRIGGERING THE EVENTS ;
76 ; II. GENERATION OF THE STRUCTURES AND SOUNDS ;
77 ; A. THE SERIES AND NUMBER SQUARES ;
78 ; B. BASIC TABLES FOR FREQUENCIES, DURATIONS AND INTENSITIES ;
79 ; C. EVENTS OF THE PARTS ;
80 ; 1. PART 1 ;
81 ; 2. PART 2 ;
82 ; 3. PART 3 ;
83 ; 4. PART 4 ;
84 ; 5. PART 5 ;
85 ; 6. CODA ;
86 ; 7. CALCULATION OF TOTAL DURATION AND SOUND OUTPUT ;
87 ; 8. INSTRUMENT FOR GENERATING A SOUNDMIX/EVENT ;
88 ;============================================================================;
89 ;============================================================================;
90
91
92 ;============================================================================;
93 ;============================================================================;
94 ;============================================================================;
95 ; I. OPCODE-DEFINITIONS ;
96 ;============================================================================;
97 ;============================================================================;
98 ;============================================================================;
99
100
101 ;============================================================================;
102 ;============================================================================;
103 ; A. GENERAL FUNCTIONS ;
104 ;============================================================================;
105 ;============================================================================;
106
107 opcode TabCopyGroupIn_i, 0, iiiii
108 ;to transfer a set of values from one table (array, list) to another. arguments:
109 ;source table, first read index, number of read indices, target table, first write index
110 isrc, istrtindx, ihowmany, idest, istrtwrite xin
111 ireadindx = istrtindx
112 loop:
113 ival tab_i ireadindx, isrc
114 tabw_i ival, istrtwrite, idest
115 istrtwrite = istrtwrite + 1
116 loop_lt ireadindx, 1, istrtindx+ihowmany, loop
117 endop
118
119 opcode TabMkPartCp_i, i, iiio
120 ;copies ihowmany values starting at index istrtindx from source table isrc into
121 ;a new table (starting with index istrtwrite with 0 as default) and returns
122 ;its denomination icop
123 isrc, istrtindx, ihowmany, istrtwrite xin
124 icop ftgen 0, 0, -(ihowmany + istrtwrite), -2, 0
125 ireadindx = istrtindx
126 loop:
127 ival tab_i ireadindx, isrc
128 tabw_i ival, istrtwrite, icop
129 istrtwrite = istrtwrite + 1
130 loop_lt ireadindx, 1, istrtindx+ihowmany, loop
131 xout icop
132 endop
133
134 opcode TabMkCp_i, i, i
135 ;creates a new table icop as copy of isrc and returns its denomination
136 isrc xin
137 isrclen = ftlen(isrc)
138 icop ftgen 0, 0, -isrclen, -2, 0
139 tableicopy icop, isrc
140 xout icop
141 endop
142
143 opcode TabMultRecurs_i, i, iii
144 ;sets istart to index 0 of a newly created table ift. multiplies the following values recursively with imult until isize is reached and returns ift
145 isize, istart, imult xin
146 ift ftgen 0, 0, -isize, -2, 0
147 indx = 0
148 loop:
149 ival = istart * (imult ^ indx)
150 tabw_i ival, indx, ift
151 loop_lt indx, 1, isize, loop
152 xout ift
153 endop
154
155 opcode TabMkNewByHop_i, i, ii
156 ;creates a new table by hopping with step width ihop through ift. Returns iftres
157 ift, ihop xin
158 ihowmany = ftlen(ift)
159 iftres ftgen 0, 0, -ihowmany, -2, 0
160 indx = 0
161 loop:
162 iread = indx * ihop
163 iread = (iread >= ihowmany ? iread % ihowmany : iread)
164 ival tab_i iread, ift
165 tabw_i ival, indx, iftres
166 loop_lt indx, 1, ihowmany, loop
167 xout iftres
168 endop
169
170 opcode TabMkTbFrmGrpMx_i, i, ii
171 ;creates a new table containing the maxima from sets of indices in iftsrc, which are declared by iftgrp and returns the denomination iftout
172 iftsrc, iftgrp xin
173 iftout ftgen 0, 0, -ftlen(iftgrp), -2, 0
174 indxiftgrp = 0
175 indxabs = 0
176 loop1:
177 indxels = 0
178 igrplen tab_i indxiftgrp, iftgrp
179 icomval tab_i indxabs, iftsrc; comparison to first value of every set
180 loop2:
181 ival tab_i indxabs, iftsrc
182 icomval = (ival > icomval ? ival : icomval)
183 indxabs = indxabs + 1
184 loop_lt indxels, 1, igrplen, loop2
185 tabw_i icomval, indxiftgrp, iftout
186 loop_lt indxiftgrp, 1, ftlen(iftgrp), loop1
187 xout iftout
188 endop
189
190 opcode TabRvrs_i, i, i
191 ;returns a copy of iftin in reverse order as iftout
192 iftin xin
193 iftlen = ftlen(iftin)
194 iftout ftgen 0, 0, -iftlen, -2, 0
195 tableicopy iftout, iftin
196 indx = 0
197 loop:
198 iread tab_i indx, iftin
199 tabw_i iread, iftlen-indx-1, iftout
200 loop_lt indx, 1, iftlen, loop
201 xout iftout
202 endop
203
204 opcode TabValIn, i, ii
205 ;finds whether any of the values in a table itable is equal to ivalsuch
206 ;returns the index of the identical value or -1 if no equal value is found
207 ivalsuch, itable xin
208 ilen = ftlen(itable)
209 indx init 0
210 loop:
211 ival tab_i indx, itable
212 iresult = (ival == ivalsuch ? indx : -1)
213 indx = indx + 1
214 if iresult == -1 && indx < ilen igoto loop
215 xout iresult
216 endop
217
218 opcode TableAppend2_i, i, iii
219 ;attaches ift2 and ift3 to ift1 and returns resulting table ift
220 ift1, ift2, ift3 xin
221 ilen1 = ftlen(ift1)
222 ilen2 = ftlen(ift2)
223 ilen3 = ftlen(ift3)
224 ilen = ilen1+ilen2+ilen3
225 ift ftgen 0, 0, -ilen, -2, 0
226 indxread = 0
227 indxwrite = 0
228 loop1:
229 ival tab_i indxread, ift1
230 tabw_i ival, indxwrite, ift
231 indxwrite = indxwrite + 1
232 loop_lt indxread, 1, ilen1, loop1
233 indxread = 0
234 loop2:
235 ival tab_i indxread, ift2
236 tabw_i ival, indxwrite, ift
237 indxwrite = indxwrite + 1
238 loop_lt indxread, 1, ilen2, loop2
239 indxread = 0
240 loop3:
241 ival tab_i indxread, ift3
242 tabw_i ival, indxwrite, ift
243 indxwrite = indxwrite + 1
244 loop_lt indxread, 1, ilen3, loop3
245 xout ift
246 endop
247
248 opcode TableDumpSimp, 0, iio
249 ;simply prints the contents of a table
250 ifn, iprec, ippr xin; table, decimal places, parameters per line (maximum = 32, default = 10)
251 ippr = (ippr == 0 ? 10 : ippr)
252 iend = ftlen(ifn)
253 indx = 0
254 Sformat sprintf "%s.%d%s\t", "%", iprec, "f"
255 Sdump = ""
256 loop:
257 ival tab_i indx, ifn
258 Snew sprintf Sformat, ival
259 Sdump strcat Sdump, Snew
260 indx = indx + 1
261 imod = indx % ippr
262 if imod == 0 then
263 puts Sdump, 1
264 Sdump = ""
265 endif
266 if indx < iend igoto loop
267 puts Sdump, 1
268 endop
269
270 opcode TableDumpSimpS, 0, iiSo
271 ;simply prints the content of a table with an extra string as 'introduction'
272 ifn, iprec, String, ippr xin; table, decimal places, string, parameter per line (maximum = 32, default = 10)
273 ippr = (ippr == 0 ? 10 : ippr)
274 iend = ftlen(ifn)
275 indx = 0
276 puts String, 1
277 Sformat sprintf "%s.%d%s\t", "%", iprec, "f"
278 Sdump = ""
279 loop:
280 ival tab_i indx, ifn
281 Snew sprintf Sformat, ival
282 Sdump strcat Sdump, Snew
283 indx = indx + 1
284 imod = indx % ippr
285 if imod == 0 then
286 puts Sdump, 1
287 Sdump = ""
288 endif
289 if indx < iend igoto loop
290 puts Sdump, 1
291 endop
292
293 opcode ShowLED_a, 0, Sakkk
294 ;zeigt ein audiosignal in einem outvalue-kanal, in dB oder reinen amplituden
295 ;Soutchan: string als name des outvalue-kanals
296 ;asig: audio signal das angezeigt werden soll
297 ;kdispfreq: erneuerungsfrequenz der anzeige (Hz)
298 ;idb: 1 = in dB anzeigen, 0 = in reinen amplitudes anzei (beides im bereich 0-1)
299 ;idbrange: wenn idb=1: wie viele dB-schritte werden angezeigt (zb wenn idbrange=36 sieht man nichts von einem signal unterhalb von -36 dB)
300 Soutchan, asig, ktrig, kdb, kdbrange xin
301 ; kdispval rms asig
302 kdispval max_k asig, ktrig, 1
303 kdispval = lagud(kdispval, 0.001, 0.003)
304 kdispval = lagud(kdispval, 0.001, 0.003)
305
306 if ktrig == 1 then
307 if kdb != 0 then
308 kdb = dbfsamp(kdispval)
309 kval = (kdbrange + kdb) / kdbrange
310 else
311 kval = kdispval
312 endif
313
314 outvalue Soutchan, kval
315 endif
316 endop
317
318 opcode ShowOver_a, 0, Sakk
319 ;zeigt wenn asig grĂ¶ĂŸer als 1 war und bleibt khold sekunden auf dieser anzeige
320 ;Soutchan: string als name des outvalue-kanals
321 ;kdispfreq: erneuerungsfrequenz der anzeige (Hz)
322 Soutchan, asig, ktrig, khold xin
323 kon init 0
324 ktim times
325 kstart init 0
326 kend init 0
327 khold = (khold < .01 ? .01 : khold); avoiding too short hold times
328 kmax max_k asig, ktrig, 1
329 if kon == 0 && kmax > 1 && ktrig == 1 then
330 kstart = ktim
331 kend = kstart + khold
332 outvalue Soutchan, kmax
333 kon = 1
334 endif
335 if kon == 1 && ktim > kend && ktrig == 1 then
336 outvalue Soutchan, 0
337 kon = 0
338 endif
339 endop
340
341
342
343
344 ;============================================================================;
345 ;============================================================================;
346 ; B. MORE SPECIFIC METHODS FOR STOCKHAUSEN'S STUDIE II (SS2_...) ;
347 ;============================================================================;
348 ;============================================================================;
349
350
351 ;============================================================================;
352 ; 1. ON THE GENERATION OF SERIES ;
353 ;============================================================================;
354
355 opcode SS2_TP1Val, i, iiii
356 ;calculates a new value from ival and the transposition interval interv, within the scope of iminval and imaxval
357 ival, interv, iminval, imaxval xin
358 ivalneu = ival + interv
359 ires = (ivalneu > imaxval ? ivalneu - imaxval : (ivalneu < iminval ? ivalneu + imaxval : ivalneu))
360 xout ires
361 endop
362
363 opcode SS2_Transp, i, iiii
364 ;transposes "intervallfolge" (series of intervals) of a series to a given initial value
365 ift, iminval, imaxval, itransval xin; series, minimal and maximal value, and value to transpose to
366 ifttrans TabMkCp_i ift
367 iftlen = ftlen(ift)
368 indx = 0
369 loop:
370 ival tab_i indx, ift
371 indxnext = (indx + 1 < iftlen ? indx + 1 : (indx + 1) - iftlen)
372 ivalnext tab_i indxnext, ift
373 interv = ivalnext - ival
374 ires SS2_TP1Val itransval, interv, iminval, imaxval
375 tabw_i itransval, indx, ifttrans
376 itransval = ires
377 loop_lt indx, 1, iftlen, loop
378 xout ifttrans
379 endop
380
381 opcode SS2_Transp_R, i, i
382 ;transpose a series by using single values with a stepwidth ihop as initial value of a new line (if ihop = 1 the lines of the series 3-5-1-4-2 start with the same numbers; if ihop = 2 the lines start with 3-1-2-5-4, etc), and consecutively writes everything
383 ift xin; a series with five values
384 ires ftgen 0, 0, -(ftlen(ift) ^ 2), -2, 0
385 indx = 0
386 loop:
387 itransval tab_i indx, ift
388 iftres SS2_Transp ift, 1, 5, itransval
389 TabCopyGroupIn_i iftres, 0, ftlen(ift), ires, indx * 5
390 loop_lt indx, 1, ftlen(ift), loop
391 xout ires
392 endop
393
394 opcode SS2_Hop1, i, iii
395 ;creates beginning of lines for R2-R5 from lines of R1 using given stepwidths
396 ift, istart, ihop xin
397 idest ftgen 0, 0, -5, -2, 0
398 TabCopyGroupIn_i ift, istart, 5, idest, 0
399 ifttransvals TabMkNewByHop_i idest, ihop
400 ftfree idest, 0
401 xout ifttransvals
402 endop
403
404 opcode SS2_Hop2, i, ii
405 ;analyses the distance between the elements of ifn2 in ifn1 and returns the distances as a new table
406 ifn1, ifn2 xin
407 iftreslen = ftlen(ifn2) - 1
408 ifnabst ftgen 0, 0, -iftreslen, -2, 0
409 indx = 0
410 loop:
411 ival1 tab_i indx, ifn2; next value in ifn2
412 indx1 TabValIn ival1, ifn1; which index does this value hold in ifn1
413 ival2 tab_i indx+1, ifn2; next value in ifn2
414 indx2 TabValIn ival2, ifn1; which index does this value hold in ifn1
415 iabst = indx2 - indx1
416 iabst = (iabst < 0 ? iabst + 5 : iabst)
417 tabw_i iabst, indx, ifnabst
418 loop_lt indx, 1, iftreslen, loop
419 xout ifnabst
420 endop
421
422 opcode SS2_Hop3, i, iii
423 ;creates a new series of five from a series, a series of distances and an initial element
424 ifn, ifnabst, istartval xin
425 ilen = ftlen(ifn)
426 iftres ftgen 0, 0, -ilen, -2, 0
427 tabw_i istartval, 0, iftres; istartval is the first result
428 indx = 0
429 ival = istartval; begin with istartval
430 indxifn TabValIn ival, ifn; look where it is in ifn
431 loop:
432 iabst tab_i indx, ifnabst; take the first distance
433 indxnext = indxifn + iabst; the index where the next value is: in general ...
434 indxnext = (indxnext >= ilen ? indxnext % ilen : indxnext);...and really
435 ival tab_i indxnext, ifn; get this value
436 tabw_i ival, indx+1, iftres; write it to iftres
437 indxifn = indxnext; go on starting at the point where you are
438 loop_lt indx, 1, ilen-1, loop; repeat 4 times
439 xout iftres
440 endop
441
442 opcode SS2_HopAbst, i, i
443 ;returns the distances of the elements in line 2-5 to the elements in line 1 of a number square
444 iftquadr xin
445 ifterste TabMkPartCp_i iftquadr, 0, 5; first line
446 iftzeil ftgen 0, 0, -5, -2, 0
447 iftres ftgen 0, 0, -16, -2, 0
448 indx = 5
449 iwrite = 0
450 loop:
451 TabCopyGroupIn_i iftquadr, indx, 5, iftzeil, 0; lines 2-5 while looping
452 iftabst SS2_Hop2 ifterste, iftzeil
453 TabCopyGroupIn_i iftabst, 0, 4, iftres, iwrite
454 iwrite = iwrite + 4
455 loop_lt indx, 5, ftlen(iftquadr), loop
456 xout iftres
457 endop
458
459 opcode SS2_Hop, i, iiii
460 ;creates a new number square from another number square, a named line by a starting index in ift, the stepwidth and the list of distances. Returns the denominator of the new number suare
461 ift, istart, ihop, iftabst xin; first number square, start index of line, stepwidth, list of distances
462 iftkopf ftgen 0, 0, -5, -2, 0
463 TabCopyGroupIn_i ift, istart, 5, iftkopf, 0; line from ift as topline of the new square
464 ifttransvals SS2_Hop1 ift, istart, ihop; beginnings of lines for the new square from the topline
465 iftres ftgen 0, 0, -25, -2, 0; list of results
466 TabCopyGroupIn_i iftkopf, 0, 5, iftres, 0; using iftkopf as initial element
467 indx = 1
468 loop:
469 istartval tab_i indx, ifttransvals; beginning of a new line
470 iabstzeil TabMkPartCp_i iftabst, (indx - 1) * 4, 4; line from list of distances
471 iftneuzeil SS2_Hop3 iftkopf, iabstzeil, istartval; whole new line
472 TabCopyGroupIn_i iftneuzeil, 0, 5, iftres, indx * 5
473 loop_lt indx, 1, 5,loop
474 xout iftres
475 endop
476
477 opcode SS2_Umk, i, i
478 ;reverses a series in interval-like way (1->5, 2->4, 4->2, 5->1)
479 iftreihe xin
480 iftumkehr TabMkCp_i iftreihe
481 indx = 0
482 loop:
483 ival tab_i indx, iftreihe
484 tabw_i 6 - ival, indx, iftumkehr
485 loop_lt indx, 1, ftlen(iftreihe), loop
486 xout iftumkehr
487 endop
488
489
490
491 ;============================================================================;
492 ; 2. ON THE BASIC TABLES ;
493 ;============================================================================;
494
495 opcode SS2_IndxAusGSS, i, iii
496 ;returns the index for a table from the values of set, column and position
497 ;eg for 1-1-1: index=0, for 2-1-1: index=25, etc.
498 igrup, ispalt, istel xin
499 igrupval = (igrup - 1) * 5
500 ispstval = ispalt * (istel - 1)
501 indx = igrupval + ispstval
502 xout indx
503 endop
504
505 opcode SS2_FreqsAusGTSS, iiiii, iiiii
506 ;returns the 5 frequencies of a soundmix for a given set-transposition-column-position
507 ifreqtab, igrup, itrans, ispalt, istel xin
508 igrup = igrup + itrans - 1
509 indx SS2_IndxAusGSS igrup, ispalt, istel
510 ifreq1 tab_i indx, ifreqtab
511 ifreq2 tab_i indx + ispalt, ifreqtab
512 ifreq3 tab_i indx + (2*ispalt), ifreqtab
513 ifreq4 tab_i indx + (3*ispalt), ifreqtab
514 ifreq5 tab_i indx + (4*ispalt), ifreqtab
515 xout ifreq1, ifreq2, ifreq3, ifreq4, ifreq5
516 endop
517
518 opcode SS2_ValsAusGTSS, i, iiiii
519 ;returns the intensity or duration for a given set-transposition-column-postion
520 ivaltab, igrup, itrans, ispalt, istel xin
521 igrup = igrup + itrans - 1
522 indx SS2_IndxAusGSS igrup, ispalt, istel
523 ival tab_i indx, ivaltab
524 xout ival
525 endop
526
527 opcode SS2_MkGlob_dB_Tab, i, ii
528 ;fills a table with values from istart to imin in steps of -1, and backwards, once imin is reached
529 istart, imin xin
530 ilen = (abs(imin-istart) * 2) + 1
531 iftres ftgen 0, 0, -ilen, -2, 0
532 indx = 0
533 incr = 0
534 loop:
535 ival = istart + incr
536 tabw_i ival, indx, iftres
537 if (indx < (ilen/2 - 1)) then
538 incr = incr - 1
539 else
540 incr = incr + 1
541 endif
542 loop_lt indx, 1, ilen, loop
543 xout iftres
544 endop
545
546
547
548 ;============================================================================;
549 ; 3. GENERATIONS OF TABLES FOR ONE PARAMETER WITHIN ONE PART ;
550 ;============================================================================;
551
552 opcode SS2_MkParamTab_Meth1, i, iiiiiiiii
553 ;the first method to generate a table of parameters for one part: a constant value for the transposition, set and column move by iftcount, one value per note for position.
554 ;if a table of frequencies is generated, it contains 5 values for each tone; one value each for durations or intensities
555 ;iftbas = table of frequencies, durations or amplitudes as general repertoire
556 ;iftcount = ftable declaring the numbers of repetitions for every type
557 ;iftgrup = ftable declaring the (untransposed) sets
558 ;itrans = transposition"interval"
559 ;iftspalt = ftable declaring columns
560 ;iftstel1-3 are ftables declaring the positions (changing at every tone, the others stay the same for one type)
561 ;ifreqjn = 0= table of durations or amplitudes, 1=table of frequencies
562 iftbas, iftcount, iftgrup, itrans, iftspalt, iftstel1, iftstel2, iftstel3, ifreqjn xin
563 iftstel TableAppend2_i iftstel1, iftstel2, iftstel3
564 if ifreqjn == 0 then
565 iftout ftgen 0, 0, -ftlen(iftstel), -2, 0; table of durations or dbs
566 else
567 iftout ftgen 0, 0, -(ftlen(iftstel) * 5), -2, 0; table for frequencies
568 endif
569 indxcount = 0
570 indxtonabs = 0
571 seq:
572 icount tab_i indxcount, iftcount
573 igrup tab_i indxcount, iftgrup
574 ispalt tab_i indxcount, iftspalt
575 indxton = 0
576 ton:
577 istel tab_i indxtonabs, iftstel
578 if ifreqjn == 0 then
579 ival SS2_ValsAusGTSS iftbas, igrup, itrans, ispalt, istel
580 tabw_i ival, indxtonabs, iftout
581 else
582 ifq1, ifq2, ifq3, ifq4, ifq5 SS2_FreqsAusGTSS iftbas, igrup, itrans, ispalt, istel
583 tabw_i ifq1, indxtonabs * 5, iftout
584 tabw_i ifq2, indxtonabs * 5 + 1, iftout
585 tabw_i ifq3, indxtonabs * 5 + 2, iftout
586 tabw_i ifq4, indxtonabs * 5 + 3, iftout
587 tabw_i ifq5, indxtonabs * 5 + 4, iftout
588 endif
589 indxtonabs = indxtonabs + 1
590 loop_lt indxton, 1, icount, ton
591 loop_lt indxcount, 1, ftlen(iftcount), seq
592 xout iftout
593 endop
594
595 opcode SS2_MkParamTab_Meth2, i, iiiiiiii
596 ;the second method to generate a table of parameters for one part:
597 ;1. set changes from tone to tone (the same series are used as for generating the positions)
598 ;2. the transposition changes by one value per sequence
599 ;for everything else see method 1
600 iftbas, iftcount, ifttrans, iftspalt, iftstel1, iftstel2, iftstel3, ifreqjn xin
601 iftstel TableAppend2_i iftstel1, iftstel2, iftstel3
602 if ifreqjn == 0 then
603 iftout ftgen 0, 0, -ftlen(iftstel), -2, 0; table of durations or dbs
604 else
605 iftout ftgen 0, 0, -(ftlen(iftstel) * 5), -2, 0; table of frequencies
606 endif
607 indxcount = 0
608 indxtonabs = 0
609 seq:
610 icount tab_i indxcount, iftcount
611 ispalt tab_i indxcount, iftspalt
612 itrans tab_i indxcount, ifttrans
613 indxton = 0
614 ton:
615 istel tab_i indxtonabs, iftstel
616 igrup = istel
617 if ifreqjn == 0 then
618 ival SS2_ValsAusGTSS iftbas, igrup, itrans, ispalt, istel
619 tabw_i ival, indxtonabs, iftout
620 else
621 ifq1, ifq2, ifq3, ifq4, ifq5 SS2_FreqsAusGTSS iftbas, igrup, itrans, ispalt, istel
622 tabw_i ifq1, indxtonabs * 5, iftout
623 tabw_i ifq2, indxtonabs * 5 + 1, iftout
624 tabw_i ifq3, indxtonabs * 5 + 2, iftout
625 tabw_i ifq4, indxtonabs * 5 + 3, iftout
626 tabw_i ifq5, indxtonabs * 5 + 4, iftout
627 endif
628 indxtonabs = indxtonabs + 1
629 loop_lt indxton, 1, icount, ton
630 loop_lt indxcount, 1, ftlen(iftcount), seq
631 xout iftout
632 endop
633
634
635 ;============================================================================;
636 ; 4. SPECIFIC PROCEDURES FOR CERTAIN PARTS ;
637 ;============================================================================;
638
639 opcode SS2_Freqtab_5, i, iiiiiiiii
640 ;;same as in part 3 and 4, but in certain sequences a set is replaced by a 2 (the procedure is otherwise unchanged). these sequences are denominated by the sets of five irpl5a and irpl5b. The first number of a series points to a position in the first set of sequences (between 1 and 5), the second to a position in the second set of sequences, and so on for both the series.
641 ;in the very last sequence (set 5, sequence 5) the column is set to 3
642 ift_Freqs, iftcount, ifttrans, iftspalt, iftstel1, iftstel2, iftstel3, iftrpl1, iftrpl2 xin
643 iftstel TableAppend2_i iftstel1, iftstel2, iftstel3
644 iftfreqs ftgen 0, 0, -(ftlen(iftstel) * 5), -2, 0
645 indxseqgrp = 0
646 indxtonabs = 0
647 seqgrp:
648 indxseq = 0
649 irplseq1 tab_i indxseqgrp, iftrpl1
650 irplseq2 tab_i indxseqgrp, iftrpl2
651 seq:
652 indxcount = (indxseqgrp * 5) + indxseq
653 icount tab_i indxcount, iftcount
654 if indxseqgrp == 4 && indxseq == 4 then; at the last time
655 ispalt = 3; set column to 3
656 else
657 ispalt tab_i indxcount, iftspalt
658 endif
659 itrans tab_i indxcount, ifttrans
660 indxton = 0
661 ton:
662 istel tab_i indxtonabs, iftstel
663 if indxseq+1 == irplseq1 || indxseq+1 == irplseq2 then; if sequence to be changed
664 igrup = 2; set set to 2
665 else
666 igrup = istel; otherwise set set to position
667 endif
668 ifq1, ifq2, ifq3, ifq4, ifq5 SS2_FreqsAusGTSS ift_Freqs, igrup, itrans, ispalt, istel
669 tabw_i ifq1, indxtonabs * 5, iftfreqs
670 tabw_i ifq2, indxtonabs * 5 + 1, iftfreqs
671 tabw_i ifq3, indxtonabs * 5 + 2, iftfreqs
672 tabw_i ifq4, indxtonabs * 5 + 3, iftfreqs
673 tabw_i ifq5, indxtonabs * 5 + 4, iftfreqs
674 indxtonabs = indxtonabs + 1
675 loop_lt indxton, 1, icount, ton
676 loop_lt indxseq, 1, 5, seq
677 loop_lt indxseqgrp, 1, 5, seqgrp
678 xout iftfreqs; contains all frequencies of this part in five-pack-like manner
679 endop
680
681 opcode SS2_durs2, i, iii
682 iftdur, iftcount, iftenv xin; original table of durations, table with number of elements per sequence, table of envelopes for each sequence (1-5, see opcode SS2_dbs_2)
683 iftout ftgen 0, 0, -ftlen(iftdur), -2, 0
684 indxseq = 0
685 indxnotabs = 0
686 seq:
687 indxnote = 0
688 iduraccum = 0
689 indxabsseq = indxnotabs; absolute index in iftdur at the beginning of a sequence
690 icount tab_i indxseq, iftcount
691 ienv tab_i indxseq, iftenv
692 note:
693 if ienv == 1 || ienv == 2 then; common start: first duration normal, all others are added up
694 idurnorm tab_i indxnotabs, iftdur; durations from normal table
695 idur = idurnorm + iduraccum; real duration = sum of preceding durations of this sequence plus idurnorm
696 iduraccum = idur; this is the next value for the assembled durations
697 tabw_i idur, indxnotabs, iftout; write durations to iftout
698 else; common end: last duration normal, all others are added up reversely
699 indxback = indxabsseq + icount - indxnote - 1; counting down
700 idurnorm tab_i indxback, iftdur; duration from normal table
701 idur = idurnorm + iduraccum; real duration = sum of preceding durations of this sequence plus idurnorm
702 iduraccum = idur; this is the next value for the assembled durations
703 tabw_i idur, indxback, iftout; write durations to iftout
704 endif
705 indxnotabs = indxnotabs + 1
706 loop_lt indxnote, 1, icount, note
707 loop_lt indxseq, 1, ftlen(iftcount), seq
708 xout iftout
709 endop
710
711 opcode SS2_durs4, i, iii
712 iftdur, iftcount, iftenv xin; original table of durations, table of number of elements per sequence, table of envelopes for each sequence (1-5, see opcode SS2_dbs_4)
713 iftout ftgen 0, 0, -ftlen(iftdur), -2, 0
714 indxseq = 0
715 indxnotabs = 0
716 seq:
717 indxnote = 0
718 iduraccum = 0
719 indxabsseq = indxnotabs; absolute index in iftdur at the beginning of a sequence
720 icount tab_i indxseq, iftcount
721 ienv tab_i indxseq, iftenv
722 note:
723 if ienv == 1 || ienv == 2 || ienv == 5 then; common start: first duration normal, all others are added up
724 idurnorm tab_i indxnotabs, iftdur; durations from normal table
725 idur = idurnorm + iduraccum; reale dauer = sum of preceding durations of this sequence plus idurnorm
726 iduraccum = idur; this is the next value for the assembled durations
727 tabw_i idur, indxnotabs, iftout; write durations to iftout
728 else; common end: last duration normal, all others are added up reversely
729 indxback = indxabsseq + icount - indxnote - 1; counts backwards
730 idurnorm tab_i indxback, iftdur; durations from normal table
731 idur = idurnorm + iduraccum; reale dauer = sum of preceding durations of this sequence plus idurnorm
732 iduraccum = idur; this is the next value for the assembled durations
733 tabw_i idur, indxback, iftout; write durations to iftout
734 endif
735 indxnotabs = indxnotabs + 1
736 loop_lt indxnote, 1, icount, note
737 loop_lt indxseq, 1, ftlen(iftcount), seq
738 xout iftout
739 endop
740
741 opcode SS2_durs5, i, iiii
742 ;changes durations within chords by the usual principle (common start: first duration unchanged, the other durations are added up; common end: last duration unchanged, the other durations are added up backwards)
743 iftdur, ifttyps, iftcount, iftenv xin; original table of durations, table with types for part 5 (1-3), table of numbers of elements per sequence, table of envelopes for each sequence (1-6, see instr 1)
744 iftout ftgen 0, 0, -ftlen(iftdur), -2, 0
745 indxseq = 0
746 indxnotabs = 0
747 indxenv = 0
748 seq:
749 indxnote = 0
750 iduraccum = 0
751 indxabsseq = indxnotabs; absolute index in iftdur at the start of a sequence
752 icount tab_i indxseq, iftcount
753 ityp tab_i indxseq, ifttyps
754 note:
755 if ityp == 2 then; if chord:
756 ienv tab_i indxenv, iftenv
757 if ienv == 1 || ienv == 2 || ienv == 5 then; common start: first duration normal, all others add up
758 idurnorm tab_i indxnotabs, iftdur; duration from normal table
759 idur = idurnorm + iduraccum; real duration = sum of preceding durations in this sequence plus idurnorm
760 iduraccum = idur; this is the next value for the assembled durations
761 tabw_i idur, indxnotabs, iftout; write duration to iftout
762 else; common end: last duration normal, all others are added up reversely
763 indxback = indxabsseq + icount - indxnote - 1; counts backwards
764 idurnorm tab_i indxback, iftdur; duration from normal table
765 idur = idurnorm + iduraccum; real duration = sum of preceding durations in this sequence plus idurnorm
766 iduraccum = idur; this is the next value for the assembled durations
767 tabw_i idur, indxback, iftout; write duration to iftout
768 endif
769 else; else write duration from normal table to iftout
770 idur tab_i indxnotabs, iftdur
771 tabw_i idur, indxnotabs, iftout
772 endif
773 indxnotabs = indxnotabs + 1
774 loop_lt indxnote, 1, icount, note
775 indxenv = (ityp == 2 ? indxenv+1 : indxenv); indxenv up if value was used
776 loop_lt indxseq, 1, ftlen(iftcount), seq
777 xout iftout
778 endop
779
780
781 ;============================================================================;
782 ; 5. GENERATION OF STARTING TIMES ;
783 ;============================================================================;
784
785 opcode SS2_Starts_part, i, iiiiiiiii
786 ;first index is istartabs (absolute startingpoint in cm), then the 24 following startingpoints of the sequences
787 ;starting point is passed down to the next part as index 25 (26th value)
788 ift_Durs, iftcount, iftgrup, itrans, iftspalt, iftstel1, iftstel2, iftstel3, istartabs xin
789 iftstel TableAppend2_i iftstel1, iftstel2, iftstel3
790 iftstarts ftgen 0, 0, -(ftlen(iftcount)+1), -2, istartabs
791 indxcount = 0
792 indxtonabs = 0
793 seq:
794 icount tab_i indxcount, iftcount
795 igrup tab_i indxcount, iftgrup
796 ispalt tab_i indxcount, iftspalt
797 indxton = 0
798 idurabs = 0
799 ton:
800 istel tab_i indxtonabs, iftstel
801 idur SS2_ValsAusGTSS ift_Durs, igrup, itrans, ispalt, istel
802 indxtonabs = indxtonabs + 1
803 idurabs = idurabs + idur; dauer einer 1-5 ton gruppe in cm
804 loop_lt indxton, 1, icount, ton
805 istartabs = istartabs + idurabs
806 tabw_i istartabs, indxcount+1, iftstarts
807 loop_lt indxcount, 1, ftlen(iftcount), seq
808 xout iftstarts
809 endop
810
811 opcode SS2_Starts_3, i, iiiiiiiii
812 ;first index is istartabs (absolute startingpoint in cm), then the following 74 startingpoints of the notes
813 ;the startingpoint of the next part is passed down as index 75 (ie. 76th value)
814 ift_Durs, iftcount, iftgrup, itrans, iftspalt, iftstel1, iftstel2, iftstel3, istartabs xin
815 iftstel TableAppend2_i iftstel1, iftstel2, iftstel3
816 iftstarts ftgen 0, 0, -(ftlen(iftstel)+1), -2, istartabs
817 indxcount = 0
818 indxtonabs = 0
819 seq:
820 icount tab_i indxcount, iftcount
821 igrup tab_i indxcount, iftgrup
822 ispalt tab_i indxcount, iftspalt
823 indxton = 0
824 ton:
825 istel tab_i indxtonabs, iftstel
826 idur SS2_ValsAusGTSS ift_Durs, igrup, itrans, ispalt, istel
827 istartabs = istartabs + idur
828 tabw_i istartabs, indxtonabs+1, iftstarts
829 indxtonabs = indxtonabs + 1
830 loop_lt indxton, 1, icount, ton
831 loop_lt indxcount, 1, ftlen(iftcount), seq
832 xout iftstarts
833 endop
834
835 opcode SS2_Starts_5, i, iiiiii
836 ;generates the startingpoints. indx 75 (position 76) makes the start of coda
837 iftstarts5a, iftcount, ifttyps, iftdurs, iftenvtyp2, istartabs xin; preliminary starting points, notes per sequence, types of sequences (1-3), durations, types of envelopes for chords (typ=2) (1-6), start of this point (cm)
838 iftout ftgen 0, 0, -(ftlen(iftstarts5a) + 1), -2, istartabs
839 iftmxgrpdrs TabMkTbFrmGrpMx_i iftdurs, iftcount; table with the maximal durations of each sequence
840 indxseq = 0
841 indxtonabs = 0
842 indxenv = 0; read index in iftenvtyp2 (has as many positions as there are typ2-sequenzes)
843 seq:
844 icount tab_i indxseq, iftcount
845 indxton = 0
846 ityp tab_i indxseq, ifttyps
847 istartseq = istartabs; absolute starting time for this sequence
848 idurshift = 0
849 imaxdur tab_i indxseq, iftmxgrpdrs
850 ton:
851 istartdiff3 tab_i indxtonabs, iftstarts5a
852 istartabs = istartabs + istartdiff3; starting time if all is direct from iftstarts5a (typ=3)
853 if ityp == 1 && indxton < icount-1 then; typ1: concatenating the notes of one sequence
854 idur1 tab_i indxtonabs, iftdurs
855 idurshift = idurshift + idur1
856 istart1 = istartseq + idurshift
857 tabw_i istart1, indxtonabs+1, iftout; value for the next note after the duration of this note
858 elseif ityp == 2 then; typ2: chords
859 ienv tab_i indxenv, iftenvtyp2; get its envelope
860 if (ienv == 1 || ienv == 2 || ienv == 5) && (indxton < icount-1) then; for common starts
861 istart2 = istartseq
862 else; else starting point as difference to the maximum duration of the sequence
863 idur2 tab_i indxtonabs, iftdurs
864 istart2 = istartseq + (imaxdur - idur2)
865 endif
866 tabw_i istart2, indxtonabs, iftout; value for this note from this calculation
867 tabw_i istartabs, indxtonabs+1, iftout; value for the next note from normal table
868 else; typ=3: isolated events, or last note from a typ=1 sequence
869 tabw_i istartabs, indxtonabs+1, iftout
870 endif
871 indxtonabs = indxtonabs + 1
872 loop_lt indxton, 1, icount, ton
873 indxenv = (ityp == 2 ? indxenv+1 : indxenv); indxenv up if value was used
874 loop_lt indxseq, 1, ftlen(iftcount), seq
875 xout iftout
876 endop
877
878
879 ;============================================================================;
880 ; 6. AMPLITUDES AND ENVELOPES ;
881 ;============================================================================;
882
883 opcode SS2_dbs_1, ii, iiiii
884 ;assuming that the envelopes in part one follow these rules:
885 ;a) crescendi are executed isolated as a principle, so they begin at -40 dB
886 ;b) diminuendi are executed isolated (so they end at -40 dB) if either
887 ; - they are superseded by a crescendo
888 ; - or the next note is louder (otherwise a conjunction would cause a cresc)
889 ; - or the current note is the last of a sequence
890 ;c) otherwise the end value of the diminuendi is the starting value of the next note
891 iftdb, iftenv, indxnotabs, indxnote, icount xin
892 idb tab_i indxnotabs, iftdb
893 ienv tab_i indxnotabs, iftenv
894 if indxnote != icount-1 then; calculate idbnext and ienvnext if it's relevant
895 idbnext tab_i indxnotabs+1, iftdb
896 ienvnext tab_i indxnotabs+1, iftenv
897 else ; otherwise take dummy values
898 idbnext = 0
899 ienvnext = 1
900 endif
901 if ienv == 1 then; execute crescendo isolated (starting from -40 db)
902 idb1 = -40
903 idb2 = idb
904 elseif indxnote == icount-1 || ienvnext == 1 || idbnext > idb then; execute dim isolated (falling to -40 db)
905 idb1 = idb
906 idb2 = -40
907 else ;if dim is followed by dim and not the last note: dim to starting value of next dim
908 idb1 = idb
909 idb2 = idbnext
910 endif
911 xout idb1, idb2
912 endop
913
914 opcode SS2_dbs_2, ii, iiii
915 idb, ienv, imaxdur, idur xin; db value for this note, type of envelope (1-5), duration of longest note of this sequence, duration of this note
916 ;;possible types of envelopes (ienv)
917 ; 1 = common start, diminuendo, truncation of the shorter notes before -40 dB because of common point of intersection ("fluchtpunkt")
918 ; 2 = common start, crescendo of single tones
919 ; 3 = common end, diminuendo of single tones
920 ; 4 = common end, crescendo, start of shorter notes over -40 dB because of common point of intersection ("fluchtpunkt")
921 ; 5 = common end, crescendo of single tones
922 if ienv == 2 || ienv == 5 then; simple cresc for the duration of the note
923 idb1 = -40
924 idb2 = idb
925 elseif ienv == 3 then; simple dim
926 idb1 = idb
927 idb2 = -40
928 elseif ienv == 1 then; dim, but shorter notes do not go down to -40 dB
929 idb1 = idb
930 irel = idur / imaxdur
931 idbdiff = idb1 + 35; how much db between the maximum and -35 as endpoint (because the score only holds space for 5 db between -30 and -40)
932 idb2 = idb1 - (irel * idbdiff)
933 idb2 = (idb2 <= -35 ? -40 : idb2); set to real minimum if necessary
934 elseif ienv == 4 then; cresc, but start is more or less stronger than -40 db
935 idb2 = idb
936 irel = idur / imaxdur
937 idbdiff = idb2 + 35; how much db between the maximum und -35 as startingpoint (see above for scaling)
938 idb1 = idb2 - (irel * idbdiff)
939 idb1 = (idb1 <= -35 ? -40 : idb1); set to real minimum if necessary
940 endif
941 xout idb1, idb2
942 endop
943
944 opcode SS2_dbtab_3, i, iiiiiii
945 ;the procedure is the same as for the frequencies (see above, opcode SS2_Freqtabs_3), but this time only one value per note is generated
946 ift_Intens, iftcount, ifttrans, iftspalt, iftstel1, iftstel2, iftstel3 xin
947 iftstel TableAppend2_i iftstel1, iftstel2, iftstel3
948 iftdbs ftgen 0, 0, -ftlen(iftstel), -2, 0
949 indxcount = 0
950 indxtonabs = 0
951 seq:
952 icount tab_i indxcount, iftcount
953 ispalt tab_i indxcount, iftspalt
954 itrans tab_i indxcount, ifttrans
955 indxton = 0
956 ton:
957 istel tab_i indxtonabs, iftstel
958 igrup = istel
959 idb SS2_ValsAusGTSS ift_Intens, igrup, itrans, ispalt, istel
960 tabw_i idb, indxtonabs, iftdbs
961 indxtonabs = indxtonabs + 1
962 loop_lt indxton, 1, icount, ton
963 loop_lt indxcount, 1, ftlen(iftcount), seq
964 xout iftdbs
965 endop
966
967 opcode SS2_dbtab_4, i, iiiiiiiii
968 ;only the shortest note of a sequence is assigned its usual duration from the table of intensities; the others have the value of their position subtracted from this db-value and the result is set as reference value for the following sequence
969 ift_Intens, iftcount, iftgrup, itrans, iftspalt, iftstel1, iftstel2, iftstel3, iftenv xin
970 iftstel TableAppend2_i iftstel1, iftstel2, iftstel3
971 iftdbs ftgen 0, 0, -ftlen(iftstel), -2, 0
972 indxcount = 0
973 indxtonabs = 0
974 seq:
975 icount tab_i indxcount, iftcount
976 ispalt tab_i indxcount, iftspalt
977 igrup tab_i indxcount, iftgrup
978 ienv tab_i indxcount, iftenv
979 indxton = 0
980 idbref = 0; db-reference value (is overwritten)
981 indxabsseq = indxtonabs; absolute index in iftstel at the start of a sequence
982 ton:
983 if ienv == 1 || ienv == 2 || ienv == 5 then; common start:
984 istel tab_i indxtonabs, iftstel; normal count of position
985 if indxton == 0 then; for the first time
986 idb SS2_ValsAusGTSS ift_Intens, igrup, itrans, ispalt, istel; get db-value from table
987 idbref = idb; set as reference
988 else; all others
989 idb = idbref - istel; subtract their position in db
990 idbref = idb; and set new reference to the result
991 endif
992 tabw_i idb, indxtonabs, iftdbs; and write new reference to iftdbs
993 else; common end:
994 indxback = indxabsseq + icount - indxton - 1; backwards counter
995 istel tab_i indxback, iftstel; starting with last note of a sequence, then the second-last etc.
996 if indxton == 0 then; for the first time
997 idb SS2_ValsAusGTSS ift_Intens, igrup, itrans, ispalt, istel; get db-value from table
998 idbref = idb; set as reference
999 else; alle anderen
1000 idb = idbref - istel; subtract their position in db
1001 idbref = idb; and set new reference to the result
1002 endif
1003 tabw_i idb, indxback, iftdbs; and write it from end to start into the positions of this sequence
1004 endif
1005 indxtonabs = indxtonabs + 1
1006 loop_lt indxton, 1, icount, ton
1007 loop_lt indxcount, 1, ftlen(iftcount), seq
1008 xout iftdbs
1009 endop
1010
1011 opcode SS2_dbtab_5b, i, ii
1012 ;corrects the values in iftdbs_5a as assigned by iftkorr
1013 iftdbs_5a, iftkorr xin
1014 iftout TabMkCp_i iftdbs_5a
1015 indxkorr = 0
1016 loop:
1017 iwhich tab_i indxkorr, iftkorr
1018 ikorrval tab_i indxkorr+1, iftkorr
1019 tabw_i ikorrval, iwhich, iftout
1020 loop_lt indxkorr, 2, ftlen(iftkorr), loop
1021 xout iftout
1022 endop
1023
1024 opcode SS2_dbs_4, ii, iiii
1025 idb, ienv, imaxdur, idur xin; db value for this note, type of envelope (1-5), duration of the longest note of this sequence, duration of this note
1026 ;;possible types of envelopes (ienv)
1027 ; 1 = common start, diminuendo, truncation of the shorter notes before -40 dB because of common point of intersection ("fluchtpunkt")
1028 ; 2 = common start, crescendo of single tones
1029 ; 3 = common end, diminuendo of single tones
1030 ; 4 = common end, crescendo, start of shorter notes over -40 dB because of common point of intersection ("fluchtpunkt")
1031 ; 5 = common end, crescendo of single tones
1032 if ienv == 2 then; simple cresc for duration of this note
1033 idb1 = -40
1034 idb2 = idb
1035 elseif ienv == 3 || ienv == 5 then; simple dim
1036 idb1 = idb
1037 idb2 = -40
1038 elseif ienv == 1 then; dim but shorter notes do not fall to -40 dB
1039 idb1 = idb
1040 irel = idur / imaxdur
1041 idbdiff = idb1 + 35; how much db between the maximum and -35 as endpoint (because the score only holds space for 5 db between -30 and -40)
1042 idb2 = idb1 - (irel * idbdiff)
1043 idb2 = (idb2 <= -35 ? -40 : idb2); set to real minimum if necessary
1044 elseif ienv == 4 then; cresc but start more or less stronger than -40 db
1045 idb2 = idb
1046 irel = idur / imaxdur
1047 idbdiff = idb2 + 35; how much db between the maximum and -35 as starting point (see above for scaling)
1048 idb1 = idb2 - (irel * idbdiff)
1049 idb1 = (idb1 <= -35 ? -40 : idb1); set to real minimum if necessary
1050 endif
1051 xout idb1, idb2
1052 endop
1053
1054 opcode SS2_dbs_5, i, iiiiii
1055 iftdb, iftcount, ifttyp, iftenv1, iftenv2, iftdur xin; table with db maxima for one note, table of number of notes for one sequence, type of note (1-3), envelopes for type 1 (1-2), envelopes for type 2 (1-6), durations
1056 ;output is a table with the pattern db1, db2, db1, db2, ... (two values per note)
1057 iftout ftgen 0, 0, -(ftlen(iftdb) * 2), -2, 0
1058 iftmxgrpdrs TabMkTbFrmGrpMx_i iftdur, iftcount; table of maximal durations in each sequence
1059 indxnotabs = 0
1060 indxseq = 0
1061 indxenv1 = 0; reading index in envelopes for type 1 (one per note)
1062 indxenv2 = 0; reading index in envelopes for type 2 (one per sequence)
1063 seq:
1064 indxnot = 0
1065 icrescalign = 0; to see if a cresc of type1 does not start with the final value of the preceding dim
1066 icount tab_i indxseq, iftcount
1067 imaxdur tab_i indxseq, iftmxgrpdrs
1068 ityp tab_i indxseq, ifttyp
1069 note:
1070 idb tab_i indxnotabs, iftdb
1071 idur tab_i indxnotabs, iftdur
1072
1073 if ityp == 3 then; ISOLATED SINGLE TONES
1074 idb1 = idb
1075 idb2 = -40
1076 tabw_i idb1, indxnotabs * 2, iftout
1077 tabw_i idb2, (indxnotabs * 2) + 1, iftout
1078
1079 elseif ityp == 2 then; CHORDS
1080 ienv2 tab_i indxenv2, iftenv2; get envelope type
1081 if ienv2 == 2 || ienv2 == 6 then; simple cresc for the duration of the tone
1082 idb1 = -40
1083 idb2 = idb
1084 elseif ienv2 == 3 || ienv2 == 5 then; simple dim
1085 idb1 = idb
1086 idb2 = -40
1087 elseif ienv2 == 1 then; dim but shorter tones do not fall to -40 dB
1088 idb1 = idb
1089 irel = idur / imaxdur
1090 idbdiff = idb1 + 35; how much db between the maximum and -35 as endpoint (because the score only holds space for 5 db between -30 and -40)
1091 idb2 = idb1 - (irel * idbdiff)
1092 idb2 = (idb2 <= -35 ? -40 : idb2); set to real minimum if necessary
1093 elseif ienv2 == 4 then; cresc but starting more or less stronger than -40 db
1094 idb2 = idb
1095 irel = idur / imaxdur
1096 idbdiff = idb2 + 35; how much db between the maximum and -35 as starting point (see above for scaling)
1097 idb1 = idb2 - (irel * idbdiff)
1098 idb1 = (idb1 <= -35 ? -40 : idb1); set to real miminum if necessary
1099 endif
1100 tabw_i idb1, indxnotabs * 2, iftout
1101 tabw_i idb2, (indxnotabs * 2) + 1, iftout
1102
1103 elseif ityp == 1 then; LINKED NOTES
1104 ienv1 tab_i indxenv1, iftenv1
1105 if ienv1 == 1 then; crescendo
1106 if icrescalign == 0 then; if not linked to preceding note
1107 idb1 = -40; execute isolated (starting from -40 db)
1108 idb2 = idb
1109 else; if linked (icrescalign == 1)
1110 idbprev tab_i (indxnotabs * 2) - 1, iftout; get preceding db2 from table
1111 idb1 = idbprev
1112 idb2 = idb
1113 icrescalign = 0; delete information on linkage
1114 endif
1115 elseif ienv1 == 2 then; diminuendo
1116 if (indxnot != icount - 1) then; get next db and next env if not last note of a sequence
1117 idbnext tab_i indxnotabs + 1, iftdb; next db-value from the table
1118 ienvnext tab_i indxenv1 + 1, iftenv1; next value for envelope (cresc or dim)
1119 else ;otherwise assign dummy value
1120 idbnext = 0
1121 ienvnext = 2
1122 endif
1123 if (indxnot == icount - 1) || (ienvnext == 2 && idbnext > idb) || (ienvnext == 1 && idbnext < idb) || (ienvnext == 1 && idb < -21) then; if (1) last note of a sequence, or (2) following dim and db-value thereof greater than this db-value, or (3) following cresc and db-value thereof smaller than this db-value, or (4) following cresc and current db-value is -22 or smaller: dim until -40 db
1124 idb1 = idb
1125 idb2 = -40
1126 else;
1127 if ienvnext == 1 then; if linked cresc back to -25 db (two positions: 3.3 and 4.4)
1128 idb1 = idb
1129 idb2 = -25
1130 icrescalign = 1; set label for next note
1131 else ; otherwise dim to starting value of next note
1132 idb1 = idb
1133 idb2 = idbnext
1134 icrescalign = 1; set label for next note
1135 endif
1136 endif
1137 endif
1138 tabw_i idb1, indxnotabs * 2, iftout
1139 tabw_i idb2, (indxnotabs * 2) + 1, iftout
1140 endif
1141
1142 indxnotabs = indxnotabs + 1
1143 indxenv1 = (ityp == 1 ? indxenv1+1 : indxenv1); indices for iftenv1 and iftenv 2 ...
1144 loop_lt indxnot, 1, icount, note
1145 indxenv2 = (ityp == 2 ? indxenv2+1 : indxenv2); ... progressing once one was used
1146 loop_lt indxseq, 1, ftlen(iftcount), seq
1147
1148 xout iftout
1149 endop
1150
1151
1152 ;============================================================================;
1153 ; 7. TRIGGERING THE EVENTS ;
1154 ;============================================================================;
1155
1156 opcode SS2_TrigEvents_1, 0, iiiiiiii
1157 ;triggers the events of part 1 and prints them if iprintjn=1
1158 iftstarts, iftcounts, iftfreqs, iftdurs, iftdb, iftenv, isubinstr, iprintjn xin
1159 indxseq = 0
1160 indxnotabs = 0
1161 seq:
1162 indxnote = 0
1163 idurshift tab_i indxseq, iftstarts
1164 icount tab_i indxseq, iftcounts
1165 istartseq tab_i indxseq, iftstarts
1166 note:
1167 ifq1 tab_i indxnotabs * 5, iftfreqs
1168 ifq2 tab_i indxnotabs * 5 + 1, iftfreqs
1169 ifq3 tab_i indxnotabs * 5 + 2, iftfreqs
1170 ifq4 tab_i indxnotabs * 5 + 3, iftfreqs
1171 ifq5 tab_i indxnotabs * 5 + 4, iftfreqs
1172 idur tab_i indxnotabs, iftdurs
1173 idb1, idb2 SS2_dbs_1 iftdb, iftenv, indxnotabs, indxnote, icount
1174 event_i "i", isubinstr, idurshift/76.2, idur/76.2, ifq1, ifq2, ifq3, ifq4, ifq5, idb1, idb2
1175 if iprintjn == 1 then
1176 prints "%d.%d.%d.%-4d%-10.2f%-12.3f%-14.2f%-14.3f%-13.2f%-13.2f%-7.0f%-7.0f%n", 1, int(indxseq/5) + 1, (indxseq%5) + 1, indxnote + 1, idurshift, idurshift/76.2, idur, idur/76.2, ifq1, ifq5, idb1, idb2
1177 endif
1178 idurshift = idurshift + idur
1179 indxnotabs = indxnotabs + 1
1180 loop_lt indxnote, 1, icount, note
1181 loop_lt indxseq, 1, ftlen(iftcounts), seq
1182 endop
1183
1184 opcode SS2_TrigEvents_2, 0, iiiiiiii
1185 ;triggers the events of part 2 and prints them if iprintjn=1
1186 iftstarts, iftcounts, iftfreqs, iftdurs, iftdb, iftenv, isubinstr, iprintjn xin
1187 iftmxgrpdrs TabMkTbFrmGrpMx_i iftdurs, iftcounts; table of maximal durations for each sequence
1188 indxseq = 0
1189 indxnotabs = 0
1190 seq:
1191 indxnote = 0
1192 icount tab_i indxseq, iftcounts
1193 istartseq tab_i indxseq, iftstarts
1194 ienv tab_i indxseq, iftenv
1195 imaxdur tab_i indxseq, iftmxgrpdrs
1196 note:
1197 ifq1 tab_i indxnotabs * 5, iftfreqs
1198 ifq2 tab_i indxnotabs * 5 + 1, iftfreqs
1199 ifq3 tab_i indxnotabs * 5 + 2, iftfreqs
1200 ifq4 tab_i indxnotabs * 5 + 3, iftfreqs
1201 ifq5 tab_i indxnotabs * 5 + 4, iftfreqs
1202 idur tab_i indxnotabs, iftdurs
1203 idb tab_i indxnotabs, iftdb
1204 idb1, idb2 SS2_dbs_2 idb, ienv, imaxdur, idur
1205 if ienv == 1 || ienv == 2 then; for common start
1206 istart = istartseq
1207 else; else starting point as difference to maximal duration of the sequence
1208 istart = istartseq + (imaxdur - idur)
1209 endif
1210 event_i "i", isubinstr, istart/76.2, idur/76.2, ifq1, ifq2, ifq3, ifq4, ifq5, idb1, idb2
1211 if iprintjn == 1 then
1212 prints "%d.%d.%d.%-4d%-10.2f%-12.3f%-14.2f%-14.3f%-13.2f%-13.2f%-7.0f%-7.0f%n", 2, int(indxseq/5) + 1, (indxseq%5) + 1, indxnote + 1, istart, istart/76.2, idur, idur/76.2, ifq1, ifq5, idb1, idb2
1213 endif
1214 indxnotabs = indxnotabs + 1
1215 loop_lt indxnote, 1, icount, note
1216 loop_lt indxseq, 1, ftlen(iftcounts), seq
1217 endop
1218
1219 opcode SS2_TrigEvents_3, 0, iiiiiii
1220 ;triggers the events of part 3 and prints them if iprintjn=1
1221 iftstarts, iftcounts, iftfreqs, iftdurs, iftdb, isubinstr, iprintjn xin
1222 indxseq = 0
1223 indxnotabs = 0
1224 seq: ;double loop only for the printout; everything else runs note by note
1225 indxnote = 0
1226 icount tab_i indxseq, iftcounts
1227 note:
1228 ifq1 tab_i indxnotabs * 5, iftfreqs
1229 ifq2 tab_i indxnotabs * 5 + 1, iftfreqs
1230 ifq3 tab_i indxnotabs * 5 + 2, iftfreqs
1231 ifq4 tab_i indxnotabs * 5 + 3, iftfreqs
1232 ifq5 tab_i indxnotabs * 5 + 4, iftfreqs
1233 idur tab_i indxnotabs, iftdurs
1234 idb1 tab_i indxnotabs, iftdb
1235 idb2 = -40
1236 istart tab_i indxnotabs, iftstarts
1237 event_i "i", isubinstr, istart/76.2, idur/76.2, ifq1, ifq2, ifq3, ifq4, ifq5, idb1, idb2
1238 if iprintjn == 1 then
1239 prints "%d.%d.%d.%-4d%-10.2f%-12.3f%-14.2f%-14.3f%-13.2f%-13.2f%-7.0f%-7.0f%n", 3, int(indxseq/5) + 1, (indxseq%5) + 1, indxnote + 1, istart, istart/76.2, idur, idur/76.2, ifq1, ifq5, idb1, idb2
1240 endif
1241 indxnotabs = indxnotabs + 1
1242 loop_lt indxnote, 1, icount, note
1243 loop_lt indxseq, 1, ftlen(iftcounts), seq
1244 endop
1245
1246 opcode SS2_TrigEvents_4, 0, iiiiiiii
1247 ;triggers the events of part 4 and prints them if iprintjn=1
1248 iftstarts, iftcounts, iftfreqs, iftdurs, iftdb, iftenv, isubinstr, iprintjn xin
1249 iftmxgrpdrs TabMkTbFrmGrpMx_i iftdurs, iftcounts; table of maximal durations of each sequence
1250 indxseq = 0
1251 indxnotabs = 0
1252 seq:
1253 indxnote = 0
1254 icount tab_i indxseq, iftcounts
1255 istartseq tab_i indxseq, iftstarts
1256 ienv tab_i indxseq, iftenv
1257 imaxdur tab_i indxseq, iftmxgrpdrs
1258 note:
1259 ifq1 tab_i indxnotabs * 5, iftfreqs
1260 ifq2 tab_i indxnotabs * 5 + 1, iftfreqs
1261 ifq3 tab_i indxnotabs * 5 + 2, iftfreqs
1262 ifq4 tab_i indxnotabs * 5 + 3, iftfreqs
1263 ifq5 tab_i indxnotabs * 5 + 4, iftfreqs
1264 idur tab_i indxnotabs, iftdurs
1265 idb tab_i indxnotabs, iftdb
1266 idb1, idb2 SS2_dbs_4 idb, ienv, imaxdur, idur
1267 if ienv == 1 || ienv == 2 || ienv == 5 then; for common starts
1268 istart = istartseq
1269 else; else starting point as difference to maximal duration of the sequence
1270 istart = istartseq + (imaxdur - idur)
1271 endif
1272 event_i "i", isubinstr, istart/76.2, idur/76.2, ifq1, ifq2, ifq3, ifq4, ifq5, idb1, idb2
1273 if iprintjn == 1 then
1274 prints "%d.%d.%d.%-4d%-10.2f%-12.3f%-14.2f%-14.3f%-13.2f%-13.2f%-7.0f%-7.0f%n", 4, int(indxseq/5) + 1, (indxseq%5) + 1, indxnote + 1, istart, istart/76.2, idur, idur/76.2, ifq1, ifq5, idb1, idb2
1275 endif
1276 indxnotabs = indxnotabs + 1
1277 loop_lt indxnote, 1, icount, note
1278 loop_lt indxseq, 1, ftlen(iftcounts), seq
1279 endop
1280
1281 opcode SS2_TrigEvents_5, 0, iiiiiii
1282 ;triggers events of part 5 and prints them if iprintjn=1
1283 iftstarts, iftfreqs, iftdurs, iftdbs, iftcount, isubinstr, iprintjn xin
1284 indxnotabs = 0
1285 indxseq = 0
1286 seq:
1287 indxnote = 0
1288 icount tab_i indxseq, iftcount
1289 note:
1290 istart tab_i indxnotabs, iftstarts
1291 ifq1 tab_i indxnotabs * 5, iftfreqs
1292 ifq2 tab_i indxnotabs * 5 + 1, iftfreqs
1293 ifq3 tab_i indxnotabs * 5 + 2, iftfreqs
1294 ifq4 tab_i indxnotabs * 5 + 3, iftfreqs
1295 ifq5 tab_i indxnotabs * 5 + 4, iftfreqs
1296 idur tab_i indxnotabs, iftdurs
1297 idb1 tab_i indxnotabs * 2, iftdbs
1298 idb2 tab_i indxnotabs * 2 + 1, iftdbs
1299 event_i "i", isubinstr, istart/76.2, idur/76.2, ifq1, ifq2, ifq3, ifq4, ifq5, idb1, idb2
1300 if iprintjn == 1 then
1301 prints "%d.%d.%d.%-4d%-10.2f%-12.3f%-14.2f%-14.3f%-13.2f%-13.2f%-7.0f%-7.0f%n", 5, int(indxseq/5) + 1, (indxseq%5) + 1, indxnote + 1, istart, istart/76.2, idur, idur/76.2, ifq1, ifq5, idb1, idb2
1302 endif
1303 indxnotabs = indxnotabs + 1
1304 loop_lt indxnote, 1, icount, note
1305 loop_lt indxseq, 1, ftlen(iftcount), seq
1306 endop
1307
1308 opcode SS2_TrigEvents_Coda, i, iiiiiii
1309 ;triggers the events for the cods and prints them if iprintjn=1
1310 iftdur, iftfreq, iftdbs, iftser, istart, isubinstr, iprintjn xin
1311 indx = 0
1312 loop:
1313 iserval tab_i indx, iftser
1314 ifq1, ifq2, ifq3, ifq4, ifq5 SS2_FreqsAusGTSS iftfreq, 1, 1, 1, iserval
1315 idur SS2_ValsAusGTSS iftdur, 1, 1, 5, iserval
1316 idb SS2_ValsAusGTSS iftdbs, 1, 2, 1, iserval
1317 ;envelopes
1318 if iserval > 3 then; series has 4 or 5: crescendo
1319 if idb < -8 then; of course this is half a joke, but
1320 idb1 = -30; the first cresc starts at -30 db
1321 else
1322 idb1 = -40; in contrast, the second at -40
1323 endif
1324 idb2 = idb
1325 else; diminuendo
1326 if idb < -6 then; see above for the joke...
1327 idb2 = -30
1328 else
1329 idb2 = -40
1330 endif
1331 idb1 = idb
1332 endif
1333 event_i "i", isubinstr, istart/76.2, idur/76.2, ifq1, ifq2, ifq3, ifq4, ifq5, idb1, idb2
1334 if iprintjn == 1 then
1335 prints "Coda.%-5d%-10.2f%-12.3f%-14.2f%-14.3f%-13.2f%-13.2f%-7.0f%-7.0f%n", indx+1, istart, istart/76.2, idur, idur/76.2, ifq1, ifq5, idb1, idb2
1336 endif
1337 istart = istart + idur
1338 loop_lt indx, 1, ftlen(iftser), loop
1339 xout istart; time after the end of the last event
1340 endop
1341
1342
1343 ;============================================================================;
1344 ;============================================================================;
1345 ;============================================================================;
1346 ; II. GENERATION OF THE STRUCTURES AND SOUNDS ;
1347 ;============================================================================;
1348 ;============================================================================;
1349 ;============================================================================;
1350
1351 instr 1
1352 ;;GUI-INPUT AND GENERAL SETTINGS
1353 isubinstr = 10; instrument executing the sounds
1354 kprintlines invalue "printlines"; whether each note should be printed with its values (0=nein, 1=ja)
1355 iprintlines = i(kprintlines)
1356 kwdmix invalue "wdmix";(between 0=dry und 1=reverberating)
1357 kroomsize invalue "roomsize"; 0-1 (for freeverb)
1358 khfdamp invalue "hfdamp"; attenuation of high frequencies (0-1) (fĂ¼r freeverb)
1359 kshowdb invalue "showdb"; 0=raw amplitudes, 1=db as display in the widgets
1360 kdbrange invalue "dbrange"; if kshowdb==1: which db range
1361
1362
1363 ;============================================================================;
1364 ;============================================================================;
1365 ; A. THE SERIES AND NUMBER SQUARES ;
1366 ;============================================================================;
1367 ;============================================================================;
1368 iReihe ftgen 0, 0, -5, -2, 3, 5, 1, 4, 2; initially given
1369 ifzwaf = 5 ^ (1/25); 25th root of 5
1370 ift_R1 SS2_Transp_R iReihe; generates R1, the first number square from the basic series
1371 ift_Abst_R1 SS2_HopAbst ift_R1; distances of the elements from line 2-5 in R1 to the elements of line 1
1372 ift_R2 SS2_Hop ift_R1, 5, 2, ift_Abst_R1; number square R2
1373 ift_R3 SS2_Hop ift_R1, 10, 3, ift_Abst_R1; number square R3
1374 ift_R4 SS2_Hop ift_R1, 15, 4, ift_Abst_R1; number square R4
1375 ift_R5 SS2_Hop ift_R1, 20, 5, ift_Abst_R1; number square R5
1376 ift_U1 SS2_Umk ift_R1; inversion of R1
1377 ift_U2 SS2_Umk ift_R2; inversion of R2
1378 ift_U3 SS2_Umk ift_R3; inversion of R3
1379 ift_U4 SS2_Umk ift_R4; inversion of R4
1380 ift_U5 SS2_Umk ift_R5; inversion of R5
1381 prints "%n%nGENERATING NUMBER SQUARES:%n%n"
1382 TableDumpSimpS ift_R1, 0, "\nR1:", 5
1383 TableDumpSimpS ift_R2, 0, "R2:", 5
1384 TableDumpSimpS ift_R3, 0, "R3:", 5
1385 TableDumpSimpS ift_R4, 0, "R4:", 5
1386 TableDumpSimpS ift_R5, 0, "R5:", 5
1387 TableDumpSimpS ift_U1, 0, "U1:", 5
1388 TableDumpSimpS ift_U2, 0, "U2:", 5
1389 TableDumpSimpS ift_U3, 0, "U3:", 5
1390 TableDumpSimpS ift_U4, 0, "U4:", 5
1391 TableDumpSimpS ift_U5, 0, "U5:", 5
1392
1393
1394 ;============================================================================;
1395 ;============================================================================;
1396 ; B. BASIC TABLES FOR FREQUENCIES, DURATIONS, INTENSITIES ;
1397 ;============================================================================;
1398 ;============================================================================;
1399
1400 ;81 frequencies on the basis of 100 hz with the ratio 5^(1/25)
1401 ift_Freqs TabMultRecurs_i 81, 100, ifzwaf
1402 ;durations on the basis of 2.5 cm (0.039 sec) in the same proportion
1403 ift_Durs TabMultRecurs_i 61, 2.5, ifzwaf; durations in centimeters (1 sec = 76.2 cm)
1404 ift_Durs TabRvrs_i ift_Durs; reverse order
1405 ;intensitäties oscillating between -30 and 0
1406 ift_Intens SS2_MkGlob_dB_Tab 0, -30
1407 prints "%n%nGENERATING TABLES OF MATERIAL:%n%n"
1408 TableDumpSimpS ift_Freqs, 0, "\nFREQUENCIES (Hz):", 5
1409 TableDumpSimpS ift_Durs, 2, "\nDURATIONS (cm):", 5
1410 TableDumpSimpS ift_Intens, 0, "\nINTENSITIES (dB):", 5
1411
1412
1413
1414 ;============================================================================;
1415 ;============================================================================;
1416 ; C. EVENTS OF THE PARTS ;
1417 ;============================================================================;
1418 ;============================================================================;
1419
1420 ;I will use the following terms, borrowed from Silberhorn's terminology: ;
1421 ;a) 5 sinustones make up one SOUND ("KLANG") or one SOUNDMIX ;
1422 ;("KLANGMISCHUNG"). Every soundmix that occurs during the piece is termed ;
1423 ; EVENT ("EREIGNIS"), TONE ("TON") or NOTE ;
1424 ;b) 1-5 notes make up a SEQUENCE ("SEQUENZ"). ;
1425 ;c) 5 sequences form a SET ("GRUPPE") or SET OF SEQUENCES ("SEQUENZGRUPPE"). ;
1426 ;d) 5 sets make up one PART ("TEIL"). ;
1427 ;e) 5 parts, and the coda, form the whole piece. ;
1428
1429
1430
1431 ;============================================================================;
1432 ; 1. PART 1 ;
1433 ;============================================================================;
1434
1435 ;;an envelope for each note in this part (1=crescendo, 2=diminuendo)
1436 iftenv_1 ftgen 0, 0, -75, -2, 2, 1, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2,\
1437 2, 1, 1, 2, 2, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2,\
1438 1, 2, 1, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 1,\
1439 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2,\
1440 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2
1441 istart_1 = 0; absolute starting time of this part
1442 iftcounts_1 = ift_R5; R5 defines the number of elements in each sequence
1443 iftfreqs_1 SS2_MkParamTab_Meth1 ift_Freqs, iftcounts_1, ift_R1, 3, ift_R2, ift_R1, ift_R2, ift_R3, 1; list of all frequences
1444 iftdurs_1 SS2_MkParamTab_Meth1 ift_Durs, iftcounts_1, ift_R3, 1, ift_R4, ift_R3, ift_R4, ift_R5, 0; list of durations
1445 iftdb_1 SS2_MkParamTab_Meth1 ift_Intens, iftcounts_1, ift_R2, 5, ift_R3, ift_R2, ift_R3, ift_R4, 0; list of intensities
1446 iftstarts_1 SS2_Starts_part ift_Durs, iftcounts_1, ift_R4, 1, ift_U5, ift_R4, ift_R5, ift_R1, istart_1; starting times (one per sequence)
1447 prints "%n%nGENERATING LIST OF EVENTS PART 1 (Events as Part.Set.Sequence.Note):%n%n"
1448 printf_i "%-10s%-10s%-12s%-14s%-14s%-13s%-13s%-7s%-7s\n", 1, "Event","Start(cm)", "Start(sec)", "Duration(cm)", "Duration(sec)", "FreqInf(Hz)", "FreqSup(Hz)", "dB1", "dB2"
1449 SS2_TrigEvents_1 iftstarts_1, iftcounts_1, iftfreqs_1, iftdurs_1, iftdb_1, iftenv_1, isubinstr, iprintlines
1450
1451
1452
1453 ;============================================================================;
1454 ; 2. PART 2 ;
1455 ;============================================================================;
1456
1457 ;;TABLE OF POSSIBLE ENVELOPES IN PART 2:
1458 ; 1 = common start, diminuendo, truncation of shorter notes before -40 dB because of common point of intersection ("fluchtpunkt")
1459 ; 2 = gemeinsamer beginn, crescendo of single tones
1460 ; 3 = gemeinsames ende, diminuendo of single tones
1461 ; 4 = common end, crescendo, start of shorter tones above -40 dB because of common point of intersection ("fluchtpunkt")
1462 ; 5 = common end, crescendo of single tones
1463 iftenv_2 ftgen 0, 0, -25, -2, 1, 2, 4, 3, 5,\
1464 1, 4, 3, 5, 2,\
1465 1, 4, 5, 2, 3,\
1466 4, 3, 1, 5, 2,\
1467 3, 1, 4, 5, 2
1468 istart_2 tab_i ftlen(iftstarts_1) - 1, iftstarts_1; absolute starting time of this part
1469 iftcounts_2 = ift_R1; R1 defines the number of elements in each sequence
1470 iftfreqs_2 SS2_MkParamTab_Meth1 ift_Freqs, iftcounts_2, ift_R2, 5, ift_R3, ift_R4, ift_R5, ift_R1, 1; list of all frequencies
1471 iftdurnorm_2 SS2_MkParamTab_Meth1 ift_Durs, iftcounts_2, ift_R4, 3, ift_R5, ift_R1, ift_R2, ift_R3, 0; list of "underlying" durations
1472 iftdurs_2 SS2_durs2 iftdurnorm_2, iftcounts_2, iftenv_2; list of modified durations (see above in opcode SS2_durs2)
1473 iftdb_2 SS2_MkParamTab_Meth1 ift_Intens, iftcounts_2, ift_R3, 2, ift_R4, ift_R5, ift_R1, ift_R2, 0; list of intensities
1474 iftstarts_2 SS2_Starts_part ift_Durs, iftcounts_2, ift_R5, 3, ift_U1, ift_R2, ift_R3, ift_R4, istart_2; starting times (1 per seq)
1475 prints "%n%nGENERATING LIST OF EVENTS PART 2 (Events as Part.Set.Sequence.Note):%n%n"
1476 printf_i "%-10s%-10s%-12s%-14s%-14s%-13s%-13s%-7s%-7s\n", 1, "Event","Start(cm)", "Start(sec)", "Duration(cm)", "Duration(sec)", "FreqInf(Hz)", "FreqSup(Hz)", "dB1", "dB2"
1477 SS2_TrigEvents_2 iftstarts_2, iftcounts_2, iftfreqs_2, iftdurs_2, iftdb_2, iftenv_2, isubinstr, iprintlines
1478
1479
1480 ;============================================================================;
1481 ; 3. PART 3 ;
1482 ;============================================================================;
1483
1484 istart_3 tab_i ftlen(iftstarts_2) - 1, iftstarts_2; absolute starting point of this part
1485 iftcounts_3 = ift_R2; R2 defines the number of elements in each sequence
1486 iftfreqs_3 SS2_MkParamTab_Meth2 ift_Freqs, iftcounts_3, ift_R3, ift_R4, ift_R2, ift_R3, ift_R4, 1; list of all frequencies
1487 iftdurs_3 SS2_MkParamTab_Meth1 ift_Durs, iftcounts_3, ift_R5, 4, ift_R1, ift_R4, ift_R5, ift_R1, 0; list of durations
1488 iftdb_3 SS2_MkParamTab_Meth2 ift_Intens, iftcounts_3, ift_R4, ift_R5, ift_R4, ift_R5, ift_R1, 0; list of intensities
1489 iftstarts_3 SS2_Starts_3 ift_Durs, iftcounts_3, ift_R1, 4, ift_U2, ift_R5, ift_R1, ift_R2, istart_3; starting points (one per note)
1490 prints "%n%nGENERATING LIST OF EVENTS PART 3 (Events as Part.Set.Sequence.Note):%n%n"
1491 printf_i "%-10s%-10s%-12s%-14s%-14s%-13s%-13s%-7s%-7s\n", 1, "Event","Start(cm)", "Start(sec)", "Duration(cm)", "Duration(sec)", "FreqInf(Hz)", "FreqSup(Hz)", "dB1", "dB2"
1492 SS2_TrigEvents_3 iftstarts_3, iftcounts_3, iftfreqs_3, iftdurs_3, iftdb_3, isubinstr, iprintlines
1493
1494
1495 ;============================================================================;
1496 ; 4. PART 4 ;
1497 ;============================================================================;
1498
1499 ;;TABLE OF POSSIBLE ENVELOPES IN PART 4:
1500 ; 1 = common start, diminuendo, truncation of shorter notes before -40 dB because of common point of intersection ("fluchtpunkt")
1501 ; 2 = common start, crescendo of single tones
1502 ; 3 = common end, diminuendo of single tones
1503 ; 4 = common end, crescendo, start of shorter tones above -40 dB because of common point of intersection ("fluchtpunkt")
1504 ; 5 = common start, diminuendo of single tones (this is the only difference to the types used in part 2)
1505 iftenv_4 ftgen 0, 0, -25, -2, 2, 5, 4, 3, 1,\
1506 2, 1, 5, 4, 3,\
1507 2, 3, 1, 4, 5,\
1508 2, 5, 1, 3, 4,\
1509 2, 3, 5, 1, 4
1510 istart_4 tab_i ftlen(iftstarts_3) - 1, iftstarts_3; absolute starting point of this part
1511 iftcounts_4 = ift_R3; R3 defines the number of element in a sequence
1512 iftfreqs_4 SS2_MkParamTab_Meth2 ift_Freqs, iftcounts_4, ift_R4, ift_R5, ift_R5, ift_R1, ift_R2, 1; list of all frequencies
1513 iftdurnorm_4 SS2_MkParamTab_Meth1 ift_Durs, iftcounts_4, ift_R1, 2, ift_R2, ift_R2, ift_R3, ift_R4, 0; list of "underlying" durations
1514 iftdurs_4 SS2_durs4 iftdurnorm_4, iftcounts_4, iftenv_4; list of modified durations (see above in opcode SS2_durs2)
1515 iftdb_4 SS2_dbtab_4 ift_Intens, iftcounts_4, ift_R5, 1, ift_R1, ift_R1, ift_R2, ift_R3, iftenv_4; list of intensities
1516 iftstarts_4 SS2_Starts_part ift_Durs, iftcounts_4, ift_R2, 2, ift_U3, ift_R3, ift_R4, ift_R5, istart_4; starting times (1 per seq)
1517 prints "%n%nGENERATING LIST OF EVENTS PART 4 (Events as Part.Set.Sequence.Note):%n%n"
1518 printf_i "%-10s%-10s%-12s%-14s%-14s%-13s%-13s%-7s%-7s\n", 1, "Event","Start(cm)", "Start(sec)", "Duration(cm)", "Duration(sec)", "FreqInf(Hz)", "FreqSup(Hz)", "dB1", "dB2"
1519 SS2_TrigEvents_4 iftstarts_4, iftcounts_4, iftfreqs_4, iftdurs_4, iftdb_4, iftenv_4, isubinstr, iprintlines
1520
1521
1522
1523 ;============================================================================;
1524 ; 5. PART 5 ;
1525 ;============================================================================;
1526
1527 ;;ABSOLUTE STARTING TIME (in cm)
1528 istart_5 tab_i ftlen(iftstarts_4) - 1, iftstarts_4
1529 ;;NOTES PER SEQUENCE
1530 iftcounts_5 = ift_R4; R4 defines the number of elements in a sequence
1531
1532 ;;TYPES OF EVENTS
1533 ;1 = as in part 1 (single tones conjugated), 2 = as in part 2 and 4 (chords starting or beginning collectively), 3 = as in part 3 (single isolated notes)
1534 ifteventtyps_5 ftgen 0, 0, -25, -2, 3, 1, 2, 1, 2,\
1535 2, 3, 2, 1, 1,\
1536 2, 3, 1, 2, 1,\
1537 2, 2, 3, 1, 1,\
1538 2, 2, 1, 1, 3
1539
1540 ;;ENVELOPES
1541 ;A) FOR EVENTS OF TYPE 1 (several consecutive notes, each with its own envelope)
1542 ;in total, there are 10 sequences of type 1; separated by newline here (1=cresc, 2=dim)
1543 iftenv_5_typ1 ftgen 0, 0, -30, -2, 2,\
1544 1, 2, 2, 1, 2,\
1545 2, 2, 1, 2,\
1546 2,\
1547 1, 2, 1,\
1548 1, 2,\
1549 1, 2, 2, 1,\
1550 2, 1, 2,\
1551 2, 2, 2, 2, 2,\
1552 1, 2
1553
1554 ;B) FOR EVENTS OF TYPE 2 (chords) (this time all kinds of envelops, i.e. 6)
1555 ; 1 = common start, diminuendo, truncation of shorter tones before -40 dB because of common point of intersection ("fluchtpunkt")
1556 ; 2 = common start, crescendo of single tones
1557 ; 3 = common end, diminuendo of single tones
1558 ; 4 = common end, crescendo, start of shorter notes greater than -40 dB because of common point of intersection ("fluchtpunkt")
1559 ; 5 = common start, diminuendo of single tones
1560 ; 6 = common end, crescendo of single tones
1561 ;in total, there are 10 sequences of type 2 (see above ifteventtyps_5: two in each set of sequences)
1562 iftenv_5_typ2 ftgen 0, 0, -10, -2, 5, 6, 3, 2, 1, 4, 2, 3, 2, 3
1563
1564 ;;FREQUENCIES
1565 ;applying the same methods as in part 3 and 4, it should be like this:
1566 ;(iftfreqs_5 SS2_Freqtab_3 ift_Freqs, iftcounts_5, ift_R5, ift_R1, ift_R3, ift_R4, ift_R5)
1567 ;but in some sequences a (untransposed) set is replaced by a 2.
1568 ;these sequences can be represented as two series of five (positions in a set of sequences respectively):
1569 irpl5a ftgen 0, 0, -5, -2, 1, 4, 2, 5, 3; this gives a good impression...
1570 irpl5b ftgen 0, 0, -5, -2, 2, 2, 5, 3, 5; but this is not indeed a proper series =(
1571 ;so this becomes:
1572 iftfreqs_5 SS2_Freqtab_5 ift_Freqs, iftcounts_5, ift_R5, ift_R1, ift_R3, ift_R4, ift_R5, irpl5a, irpl5b
1573
1574 ;;DURATIONS
1575 ;basic table of durations
1576 iftdurs_5a SS2_MkParamTab_Meth2 ift_Durs, iftcounts_5, ift_R2, ift_R3, ift_R5, ift_R1, ift_R2, 0
1577 ;change of durations in chords (same as for parts 2 and 4)
1578 iftdurs_5 SS2_durs5 iftdurs_5a, ifteventtyps_5, iftcounts_5, iftenv_5_typ2
1579
1580 ;;STARTS
1581 iftstarts_5a SS2_MkParamTab_Meth2 ift_Durs, iftcounts_5, ift_R3, ift_U4, ift_R1, ift_R2, ift_R3, 0
1582 iftstarts_5 SS2_Starts_5 iftstarts_5a, iftcounts_5, ifteventtyps_5, iftdurs_5, iftenv_5_typ2, istart_5
1583
1584 ;;AMPLITUDES
1585 iftdbs_5a SS2_MkParamTab_Meth2 ift_Intens, iftcounts_5, ift_R1, ift_R2, ift_R4, ift_R5, ift_R1, 0
1586 ;there are so many deviations from this presumptive basis that for the time being only a list of deviation makes sense: pairs of index-to-be-replaced and value-of-this-position
1587 ;(the list could be considerably shortened by applying even more rules - next time....)
1588 iftkorrdbs_5 ftgen 0, 0, -92, -2,\
1589 0, -22, 1, -18, 2, -17, 3, -15,\
1590 6, -18,\
1591 7, -26, 8, -27, 9, -30, 10, -29, 11, -28,\
1592 12, -21, 13, -18,\
1593 19, -30,\
1594 21, -22, 22, -29, 23, -18,\
1595 25, -4,\
1596 31, -12, 32, -13, 33, -17, 34, -4,\
1597 36, -21, 38, -10,\
1598 39, -30, 40, -29, 41, -27,\
1599 46, -23,\
1600 47, -15,\
1601 48, -24, 50, -13,\
1602 53, -21, 54, -9, 55, -21, 56, -13,\
1603 59, -7,\
1604 61, -14, 62, -11, 63, -7, 64, -5,\
1605 66, -11, 67, -13, 68, -18, 69, -21,\
1606 70, -29, 71, -23,\
1607 73, -19
1608 iftdbs_5b SS2_dbtab_5b iftdbs_5a, iftkorrdbs_5
1609 iftdbs_5 SS2_dbs_5 iftdbs_5b, iftcounts_5, ifteventtyps_5, iftenv_5_typ1, iftenv_5_typ2, iftdurs_5
1610
1611 ;;TRIGGERING EVENTS
1612 prints "%n%nGENERATING LIST OF EVENTS PART 5 (Events as Part.Set.Sequence.Note):%n%n"
1613 printf_i "%-10s%-10s%-12s%-14s%-14s%-13s%-13s%-7s%-7s\n", 1, "Event","Start(cm)", "Start(sec)", "Duration(cm)", "Duration(sec)", "FreqInf(Hz)", "FreqSup(Hz)", "dB1", "dB2"
1614 SS2_TrigEvents_5 iftstarts_5, iftfreqs_5, iftdurs_5, iftdbs_5, iftcounts_5, isubinstr, iprintlines
1615
1616
1617 ;============================================================================;
1618 ; 6. CODA ;
1619 ;============================================================================;
1620
1621 istart_coda tab_i ftlen(iftstarts_5) - 1, iftstarts_5
1622 prints "%n%nGENERATING LIST OF EVENTS CODA (Events as Part.Set.Sequence.Note):%n%n"
1623 printf_i "%-10s%-10s%-12s%-14s%-14s%-13s%-13s%-7s%-7s\n", 1, "Event","Start(cm)", "Start(sec)", "Duration(cm)", "Duration(sec)", "FreqInf(Hz)", "FreqSup(Hz)", "dB1", "dB2"
1624 iend SS2_TrigEvents_Coda ift_Durs, ift_Freqs, ift_Intens, iReihe, istart_coda, isubinstr, iprintlines
1625
1626
1627 ;============================================================================;
1628 ; 7. CALCULATION OF TOTAL DURATION AND SOUND OUTPUT ;
1629 ;============================================================================;
1630
1631 ;; calculate net total duration plus maximum reverb time
1632 p3 = (iend / 76.2) + 5
1633 ;; receive dry signal from instr 10 and mix with reverb
1634 gadryL init 0
1635 gadryR init 0
1636 awetL, awetR freeverb gadryL, gadryR, kroomsize, khfdamp
1637 aoutL = (1-kwdmix) * gadryL + (kwdmix * awetL)
1638 aoutR = (1-kwdmix) * gadryR + (kwdmix * awetR)
1639 outs aoutL, aoutR
1640 ;; send to GUI
1641 kTrigDisp metro 20
1642 ShowLED_a "outL", aoutL, kTrigDisp, kshowdb, kdbrange
1643 ShowLED_a "outR", aoutR, kTrigDisp, kshowdb, kdbrange
1644 ShowOver_a "outLover", aoutL, kTrigDisp, 2
1645 ShowOver_a "outRover", aoutR, kTrigDisp, 2
1646 ;; reset global audio
1647 gadryL = 0
1648 gadryR = 0
1649 endin
1650
1651
1652 ;============================================================================;
1653 ; 8. INSTRUMENT FOR GENERATING A SOUNDMIX/EVENT ;
1654 ;============================================================================;
1655
1656 instr 10
1657 ifreq1 = p4
1658 ifreq2 = p5
1659 ifreq3 = p6
1660 ifreq4 = p7
1661 ifreq5 = p8
1662 idb1 = p9; -dB at the start
1663 idb2 = p10; -dB at the end
1664 kpanwidth invalue "panwidth"; 0=mono, 1=broad stereo panning (low=left, high=right)
1665 kampcorr invalue "vol"; volume multiplier(to adjust according to wet-dry-mix)
1666 adb linseg idb1, p3, idb2
1667 aenv linen ampdb(adb), .01, p3, .01
1668 a1 oscili aenv*kampcorr, ifreq1, 1
1669 a2 oscili aenv*kampcorr, ifreq2, 1
1670 a3 oscili aenv*kampcorr, ifreq3, 1
1671 a4 oscili aenv*kampcorr, ifreq4, 1
1672 a5 oscili aenv*kampcorr, ifreq5, 1
1673 aout sum a1, a2, a3, a4, a5
1674 ;stereo-panning
1675 irel = (log(ifreq1/100) / log(5)) * 25; resulting values between 0=lowest und 60=highest frequency
1676 ipan = irel / 60; 0-1
1677 kpan = (ipan * kpanwidth) + (1 - kpanwidth) / 2; spread around 0.5 as centre depending on kpanwidth
1678 aL, aR pan2 aout, kpan
1679 gadryL = gadryL+aL
1680 gadryR = gadryR+aR
1681 endin
1682 </CsInstruments>
1683 <CsScore>
1684 f 1 0 4096 10 1; sinus
1685 i 1 0 1; p3 is computed internally
1686 e
1687 </CsScore>
1688 </CsoundSynthesizer>
1689
1690
1691
1692 <bsbPanel>
1693 <label>Widgets</label>
1694 <objectName/>
1695 <x>67</x>
1696 <y>30</y>
1697 <width>98</width>
1698 <height>28</height>
1699 <visible>true</visible>
1700 <uuid/>
1701 <bgcolor mode="background">
1702 <r>221</r>
1703 <g>224</g>
1704 <b>230</b>
1705 </bgcolor>
1706 <bsbObject type="BSBLabel" version="2">
1707 <objectName/>
1708 <x>34</x>
1709 <y>102</y>
1710 <width>365</width>
1711 <height>236</height>
1712 <uuid>{72785e28-4949-4951-914a-271d451bb95c}</uuid>
1713 <visible>true</visible>
1714 <midichan>0</midichan>
1715 <midicc>-3</midicc>
1716 <description/>
1717 <label>Reverb (freeverb)</label>
1718 <alignment>center</alignment>
1719 <valignment>top</valignment>
1720 <font>Noto Sans</font>
1721 <fontsize>16</fontsize>
1722 <precision>3</precision>
1723 <color>
1724 <r>27</r>
1725 <g>30</g>
1726 <b>32</b>
1727 </color>
1728 <bgcolor mode="nobackground">
1729 <r>255</r>
1730 <g>255</g>
1731 <b>255</b>
1732 </bgcolor>
1733 <bordermode>true</bordermode>
1734 <borderradius>1</borderradius>
1735 <borderwidth>1</borderwidth>
1736 </bsbObject>
1737 <bsbObject type="BSBLabel" version="2">
1738 <objectName/>
1739 <x>34</x>
1740 <y>349</y>
1741 <width>365</width>
1742 <height>180</height>
1743 <uuid>{260f807c-d005-4341-a7f3-40283e311525}</uuid>
1744 <visible>true</visible>
1745 <midichan>0</midichan>
1746 <midicc>-3</midicc>
1747 <description/>
1748 <label>Panning and Volume</label>
1749 <alignment>center</alignment>
1750 <valignment>top</valignment>
1751 <font>Noto Sans</font>
1752 <fontsize>16</fontsize>
1753 <precision>3</precision>
1754 <color>
1755 <r>27</r>
1756 <g>30</g>
1757 <b>32</b>
1758 </color>
1759 <bgcolor mode="nobackground">
1760 <r>255</r>
1761 <g>255</g>
1762 <b>255</b>
1763 </bgcolor>
1764 <bordermode>true</bordermode>
1765 <borderradius>1</borderradius>
1766 <borderwidth>1</borderwidth>
1767 </bsbObject>
1768 <bsbObject type="BSBHSlider" version="2">
1769 <objectName>vol</objectName>
1770 <x>41</x>
1771 <y>492</y>
1772 <width>250</width>
1773 <height>29</height>
1774 <uuid>{b002a247-cbf6-449f-b26e-bb76be745fed}</uuid>
1775 <visible>true</visible>
1776 <midichan>0</midichan>
1777 <midicc>-3</midicc>
1778 <description/>
1779 <minimum>0.00000000</minimum>
1780 <maximum>0.50000000</maximum>
1781 <value>0.39000000</value>
1782 <mode>lin</mode>
1783 <mouseControl act="jump">continuous</mouseControl>
1784 <resolution>-1.00000000</resolution>
1785 <randomizable group="0">false</randomizable>
1786 </bsbObject>
1787 <bsbObject type="BSBLabel" version="2">
1788 <objectName/>
1789 <x>165</x>
1790 <y>460</y>
1791 <width>97</width>
1792 <height>32</height>
1793 <uuid>{18898af5-3ec2-40d7-be22-a2b59edc0ebf}</uuid>
1794 <visible>true</visible>
1795 <midichan>0</midichan>
1796 <midicc>-3</midicc>
1797 <description/>
1798 <label>Volume</label>
1799 <alignment>center</alignment>
1800 <valignment>top</valignment>
1801 <font>Lucida Grande</font>
1802 <fontsize>14</fontsize>
1803 <precision>3</precision>
1804 <color>
1805 <r>0</r>
1806 <g>0</g>
1807 <b>0</b>
1808 </color>
1809 <bgcolor mode="nobackground">
1810 <r>255</r>
1811 <g>255</g>
1812 <b>255</b>
1813 </bgcolor>
1814 <bordermode>noborder</bordermode>
1815 <borderradius>1</borderradius>
1816 <borderwidth>0</borderwidth>
1817 </bsbObject>
1818 <bsbObject type="BSBController" version="2">
1819 <objectName>outL</objectName>
1820 <x>38</x>
1821 <y>543</y>
1822 <width>336</width>
1823 <height>22</height>
1824 <uuid>{1b7e298c-e58f-4d03-b5b0-19d2f60779d1}</uuid>
1825 <visible>true</visible>
1826 <midichan>0</midichan>
1827 <midicc>0</midicc>
1828 <description/>
1829 <objectName2>out1_post</objectName2>
1830 <xMin>0.00000000</xMin>
1831 <xMax>1.00000000</xMax>
1832 <yMin>0.00000000</yMin>
1833 <yMax>1.00000000</yMax>
1834 <xValue>0.68365745</xValue>
1835 <yValue>0.36363600</yValue>
1836 <type>fill</type>
1837 <pointsize>1</pointsize>
1838 <fadeSpeed>0.00000000</fadeSpeed>
1839 <mouseControl act="press">jump</mouseControl>
1840 <bordermode>border</bordermode>
1841 <borderColor>#407824</borderColor>
1842 <color>
1843 <r>135</r>
1844 <g>255</g>
1845 <b>75</b>
1846 </color>
1847 <randomizable mode="both" group="0">false</randomizable>
1848 <bgcolor>
1849 <r>42</r>
1850 <g>46</g>
1851 <b>50</b>
1852 </bgcolor>
1853 <bgcolormode>true</bgcolormode>
1854 </bsbObject>
1855 <bsbObject type="BSBController" version="2">
1856 <objectName>outLover</objectName>
1857 <x>372</x>
1858 <y>543</y>
1859 <width>27</width>
1860 <height>22</height>
1861 <uuid>{d06eab2e-2b7a-4833-9be3-c1a0953c9471}</uuid>
1862 <visible>true</visible>
1863 <midichan>0</midichan>
1864 <midicc>0</midicc>
1865 <description/>
1866 <objectName2>outLover</objectName2>
1867 <xMin>0.00000000</xMin>
1868 <xMax>1.00000000</xMax>
1869 <yMin>0.00000000</yMin>
1870 <yMax>1.00000000</yMax>
1871 <xValue>0.00000000</xValue>
1872 <yValue>0.00000000</yValue>
1873 <type>fill</type>
1874 <pointsize>1</pointsize>
1875 <fadeSpeed>0.00000000</fadeSpeed>
1876 <mouseControl act="press">jump</mouseControl>
1877 <bordermode>noborder</bordermode>
1878 <borderColor>#00ff00</borderColor>
1879 <color>
1880 <r>196</r>
1881 <g>14</g>
1882 <b>12</b>
1883 </color>
1884 <randomizable mode="both" group="0">false</randomizable>
1885 <bgcolor>
1886 <r>42</r>
1887 <g>46</g>
1888 <b>50</b>
1889 </bgcolor>
1890 <bgcolormode>true</bgcolormode>
1891 </bsbObject>
1892 <bsbObject type="BSBController" version="2">
1893 <objectName>outR</objectName>
1894 <x>38</x>
1895 <y>570</y>
1896 <width>336</width>
1897 <height>22</height>
1898 <uuid>{52af599b-1c21-42f6-90bb-27868a8949ea}</uuid>
1899 <visible>true</visible>
1900 <midichan>0</midichan>
1901 <midicc>0</midicc>
1902 <description/>
1903 <objectName2>out2_post</objectName2>
1904 <xMin>0.00000000</xMin>
1905 <xMax>1.00000000</xMax>
1906 <yMin>0.00000000</yMin>
1907 <yMax>1.00000000</yMax>
1908 <xValue>0.73474905</xValue>
1909 <yValue>0.52631600</yValue>
1910 <type>fill</type>
1911 <pointsize>1</pointsize>
1912 <fadeSpeed>0.00000000</fadeSpeed>
1913 <mouseControl act="press">jump</mouseControl>
1914 <bordermode>border</bordermode>
1915 <borderColor>#3c6e20</borderColor>
1916 <color>
1917 <r>111</r>
1918 <g>210</g>
1919 <b>62</b>
1920 </color>
1921 <randomizable mode="both" group="0">false</randomizable>
1922 <bgcolor>
1923 <r>42</r>
1924 <g>46</g>
1925 <b>50</b>
1926 </bgcolor>
1927 <bgcolormode>true</bgcolormode>
1928 </bsbObject>
1929 <bsbObject type="BSBController" version="2">
1930 <objectName>outRover</objectName>
1931 <x>372</x>
1932 <y>570</y>
1933 <width>27</width>
1934 <height>22</height>
1935 <uuid>{e95cbdad-921b-47b3-915d-779e9f95166c}</uuid>
1936 <visible>true</visible>
1937 <midichan>0</midichan>
1938 <midicc>0</midicc>
1939 <description/>
1940 <objectName2>outRover</objectName2>
1941 <xMin>0.00000000</xMin>
1942 <xMax>1.00000000</xMax>
1943 <yMin>0.00000000</yMin>
1944 <yMax>1.00000000</yMax>
1945 <xValue>0.00000000</xValue>
1946 <yValue>0.00000000</yValue>
1947 <type>fill</type>
1948 <pointsize>1</pointsize>
1949 <fadeSpeed>0.00000000</fadeSpeed>
1950 <mouseControl act="press">jump</mouseControl>
1951 <bordermode>noborder</bordermode>
1952 <borderColor>#00ff00</borderColor>
1953 <color>
1954 <r>196</r>
1955 <g>14</g>
1956 <b>12</b>
1957 </color>
1958 <randomizable mode="both" group="0">false</randomizable>
1959 <bgcolor>
1960 <r>42</r>
1961 <g>46</g>
1962 <b>50</b>
1963 </bgcolor>
1964 <bgcolormode>true</bgcolormode>
1965 </bsbObject>
1966 <bsbObject type="BSBHSlider" version="2">
1967 <objectName>wdmix</objectName>
1968 <x>136</x>
1969 <y>161</y>
1970 <width>160</width>
1971 <height>31</height>
1972 <uuid>{2f6d8ddb-fd7b-42a9-b828-aee5d9c53ff5}</uuid>
1973 <visible>true</visible>
1974 <midichan>0</midichan>
1975 <midicc>-3</midicc>
1976 <description/>
1977 <minimum>0.00000000</minimum>
1978 <maximum>1.00000000</maximum>
1979 <value>0.88750000</value>
1980 <mode>lin</mode>
1981 <mouseControl act="jump">continuous</mouseControl>
1982 <resolution>-1.00000000</resolution>
1983 <randomizable group="0">false</randomizable>
1984 </bsbObject>
1985 <bsbObject type="BSBLabel" version="2">
1986 <objectName/>
1987 <x>38</x>
1988 <y>160</y>
1989 <width>97</width>
1990 <height>32</height>
1991 <uuid>{bb44acb7-8651-49a1-b7ac-8cdff92bc2b9}</uuid>
1992 <visible>true</visible>
1993 <midichan>0</midichan>
1994 <midicc>-3</midicc>
1995 <description/>
1996 <label>Dry</label>
1997 <alignment>center</alignment>
1998 <valignment>top</valignment>
1999 <font>Lucida Grande</font>
2000 <fontsize>14</fontsize>
2001 <precision>3</precision>
2002 <color>
2003 <r>0</r>
2004 <g>0</g>
2005 <b>0</b>
2006 </color>
2007 <bgcolor mode="nobackground">
2008 <r>255</r>
2009 <g>255</g>
2010 <b>255</b>
2011 </bgcolor>
2012 <bordermode>noborder</bordermode>
2013 <borderradius>1</borderradius>
2014 <borderwidth>0</borderwidth>
2015 </bsbObject>
2016 <bsbObject type="BSBLabel" version="2">
2017 <objectName/>
2018 <x>298</x>
2019 <y>161</y>
2020 <width>97</width>
2021 <height>31</height>
2022 <uuid>{47733370-0329-446e-a1a8-78bffe84858b}</uuid>
2023 <visible>true</visible>
2024 <midichan>0</midichan>
2025 <midicc>-3</midicc>
2026 <description/>
2027 <label>Wet</label>
2028 <alignment>center</alignment>
2029 <valignment>top</valignment>
2030 <font>Lucida Grande</font>
2031 <fontsize>14</fontsize>
2032 <precision>3</precision>
2033 <color>
2034 <r>0</r>
2035 <g>0</g>
2036 <b>0</b>
2037 </color>
2038 <bgcolor mode="nobackground">
2039 <r>255</r>
2040 <g>255</g>
2041 <b>255</b>
2042 </bgcolor>
2043 <bordermode>noborder</bordermode>
2044 <borderradius>1</borderradius>
2045 <borderwidth>0</borderwidth>
2046 </bsbObject>
2047 <bsbObject type="BSBLabel" version="2">
2048 <objectName/>
2049 <x>158</x>
2050 <y>132</y>
2051 <width>110</width>
2052 <height>29</height>
2053 <uuid>{d9fa6050-ff89-4450-a203-bf10a0430e42}</uuid>
2054 <visible>true</visible>
2055 <midichan>0</midichan>
2056 <midicc>-3</midicc>
2057 <description/>
2058 <label>Mix</label>
2059 <alignment>center</alignment>
2060 <valignment>top</valignment>
2061 <font>Lucida Grande</font>
2062 <fontsize>14</fontsize>
2063 <precision>3</precision>
2064 <color>
2065 <r>0</r>
2066 <g>0</g>
2067 <b>0</b>
2068 </color>
2069 <bgcolor mode="nobackground">
2070 <r>255</r>
2071 <g>255</g>
2072 <b>255</b>
2073 </bgcolor>
2074 <bordermode>noborder</bordermode>
2075 <borderradius>1</borderradius>
2076 <borderwidth>0</borderwidth>
2077 </bsbObject>
2078 <bsbObject type="BSBHSlider" version="2">
2079 <objectName>roomsize</objectName>
2080 <x>138</x>
2081 <y>227</y>
2082 <width>160</width>
2083 <height>31</height>
2084 <uuid>{ecada93e-b277-4c9b-81d6-455ed6828f22}</uuid>
2085 <visible>true</visible>
2086 <midichan>0</midichan>
2087 <midicc>-3</midicc>
2088 <description/>
2089 <minimum>0.00000000</minimum>
2090 <maximum>1.00000000</maximum>
2091 <value>0.91875000</value>
2092 <mode>lin</mode>
2093 <mouseControl act="jump">continuous</mouseControl>
2094 <resolution>-1.00000000</resolution>
2095 <randomizable group="0">false</randomizable>
2096 </bsbObject>
2097 <bsbObject type="BSBLabel" version="2">
2098 <objectName/>
2099 <x>40</x>
2100 <y>226</y>
2101 <width>97</width>
2102 <height>32</height>
2103 <uuid>{9534b63d-04f1-4a11-a575-eeda51182d48}</uuid>
2104 <visible>true</visible>
2105 <midichan>0</midichan>
2106 <midicc>-3</midicc>
2107 <description/>
2108 <label>Small</label>
2109 <alignment>center</alignment>
2110 <valignment>top</valignment>
2111 <font>Lucida Grande</font>
2112 <fontsize>14</fontsize>
2113 <precision>3</precision>
2114 <color>
2115 <r>0</r>
2116 <g>0</g>
2117 <b>0</b>
2118 </color>
2119 <bgcolor mode="nobackground">
2120 <r>255</r>
2121 <g>255</g>
2122 <b>255</b>
2123 </bgcolor>
2124 <bordermode>noborder</bordermode>
2125 <borderradius>1</borderradius>
2126 <borderwidth>0</borderwidth>
2127 </bsbObject>
2128 <bsbObject type="BSBLabel" version="2">
2129 <objectName/>
2130 <x>300</x>
2131 <y>227</y>
2132 <width>97</width>
2133 <height>31</height>
2134 <uuid>{2ced57ec-9073-4b77-8d59-1709ff869d8b}</uuid>
2135 <visible>true</visible>
2136 <midichan>0</midichan>
2137 <midicc>-3</midicc>
2138 <description/>
2139 <label>Large</label>
2140 <alignment>center</alignment>
2141 <valignment>top</valignment>
2142 <font>Lucida Grande</font>
2143 <fontsize>14</fontsize>
2144 <precision>3</precision>
2145 <color>
2146 <r>0</r>
2147 <g>0</g>
2148 <b>0</b>
2149 </color>
2150 <bgcolor mode="nobackground">
2151 <r>255</r>
2152 <g>255</g>
2153 <b>255</b>
2154 </bgcolor>
2155 <bordermode>noborder</bordermode>
2156 <borderradius>1</borderradius>
2157 <borderwidth>0</borderwidth>
2158 </bsbObject>
2159 <bsbObject type="BSBLabel" version="2">
2160 <objectName/>
2161 <x>156</x>
2162 <y>193</y>
2163 <width>110</width>
2164 <height>30</height>
2165 <uuid>{78dd9204-9d75-493b-9731-fe6289f96beb}</uuid>
2166 <visible>true</visible>
2167 <midichan>0</midichan>
2168 <midicc>-3</midicc>
2169 <description/>
2170 <label>Room Size</label>
2171 <alignment>center</alignment>
2172 <valignment>top</valignment>
2173 <font>Lucida Grande</font>
2174 <fontsize>14</fontsize>
2175 <precision>3</precision>
2176 <color>
2177 <r>0</r>
2178 <g>0</g>
2179 <b>0</b>
2180 </color>
2181 <bgcolor mode="nobackground">
2182 <r>255</r>
2183 <g>255</g>
2184 <b>255</b>
2185 </bgcolor>
2186 <bordermode>noborder</bordermode>
2187 <borderradius>1</borderradius>
2188 <borderwidth>0</borderwidth>
2189 </bsbObject>
2190 <bsbObject type="BSBHSlider" version="2">
2191 <objectName>hfdamp</objectName>
2192 <x>138</x>
2193 <y>295</y>
2194 <width>160</width>
2195 <height>31</height>
2196 <uuid>{51e59ddd-21ea-4d61-bad6-8102d654fa73}</uuid>
2197 <visible>true</visible>
2198 <midichan>0</midichan>
2199 <midicc>-3</midicc>
2200 <description/>
2201 <minimum>0.00000000</minimum>
2202 <maximum>1.00000000</maximum>
2203 <value>0.45625000</value>
2204 <mode>lin</mode>
2205 <mouseControl act="jump">continuous</mouseControl>
2206 <resolution>-1.00000000</resolution>
2207 <randomizable group="0">false</randomizable>
2208 </bsbObject>
2209 <bsbObject type="BSBLabel" version="2">
2210 <objectName/>
2211 <x>40</x>
2212 <y>294</y>
2213 <width>97</width>
2214 <height>32</height>
2215 <uuid>{4ca1d8ea-cbc3-4c05-8b54-94c9862a2327}</uuid>
2216 <visible>true</visible>
2217 <midichan>0</midichan>
2218 <midicc>-3</midicc>
2219 <description/>
2220 <label>No</label>
2221 <alignment>center</alignment>
2222 <valignment>top</valignment>
2223 <font>Lucida Grande</font>
2224 <fontsize>14</fontsize>
2225 <precision>3</precision>
2226 <color>
2227 <r>0</r>
2228 <g>0</g>
2229 <b>0</b>
2230 </color>
2231 <bgcolor mode="nobackground">
2232 <r>255</r>
2233 <g>255</g>
2234 <b>255</b>
2235 </bgcolor>
2236 <bordermode>noborder</bordermode>
2237 <borderradius>1</borderradius>
2238 <borderwidth>0</borderwidth>
2239 </bsbObject>
2240 <bsbObject type="BSBLabel" version="2">
2241 <objectName/>
2242 <x>300</x>
2243 <y>295</y>
2244 <width>97</width>
2245 <height>31</height>
2246 <uuid>{e17cdf38-ef69-4aa2-bcef-8c0977b7ebe4}</uuid>
2247 <visible>true</visible>
2248 <midichan>0</midichan>
2249 <midicc>-3</midicc>
2250 <description/>
2251 <label>Yes</label>
2252 <alignment>center</alignment>
2253 <valignment>top</valignment>
2254 <font>Lucida Grande</font>
2255 <fontsize>14</fontsize>
2256 <precision>3</precision>
2257 <color>
2258 <r>0</r>
2259 <g>0</g>
2260 <b>0</b>
2261 </color>
2262 <bgcolor mode="nobackground">
2263 <r>255</r>
2264 <g>255</g>
2265 <b>255</b>
2266 </bgcolor>
2267 <bordermode>noborder</bordermode>
2268 <borderradius>1</borderradius>
2269 <borderwidth>0</borderwidth>
2270 </bsbObject>
2271 <bsbObject type="BSBLabel" version="2">
2272 <objectName/>
2273 <x>41</x>
2274 <y>261</y>
2275 <width>352</width>
2276 <height>31</height>
2277 <uuid>{947171f3-9246-48cf-9909-aaab43e6b552}</uuid>
2278 <visible>true</visible>
2279 <midichan>0</midichan>
2280 <midicc>-3</midicc>
2281 <description/>
2282 <label>High Frequency Attenuation</label>
2283 <alignment>center</alignment>
2284 <valignment>top</valignment>
2285 <font>Lucida Grande</font>
2286 <fontsize>14</fontsize>
2287 <precision>3</precision>
2288 <color>
2289 <r>0</r>
2290 <g>0</g>
2291 <b>0</b>
2292 </color>
2293 <bgcolor mode="nobackground">
2294 <r>255</r>
2295 <g>255</g>
2296 <b>255</b>
2297 </bgcolor>
2298 <bordermode>noborder</bordermode>
2299 <borderradius>1</borderradius>
2300 <borderwidth>0</borderwidth>
2301 </bsbObject>
2302 <bsbObject type="BSBHSlider" version="2">
2303 <objectName>panwidth</objectName>
2304 <x>160</x>
2305 <y>413</y>
2306 <width>132</width>
2307 <height>32</height>
2308 <uuid>{9d7c85e1-713d-4792-8945-d358c061e243}</uuid>
2309 <visible>true</visible>
2310 <midichan>0</midichan>
2311 <midicc>-3</midicc>
2312 <description/>
2313 <minimum>0.00000000</minimum>
2314 <maximum>1.00000000</maximum>
2315 <value>0.86363636</value>
2316 <mode>lin</mode>
2317 <mouseControl act="jump">continuous</mouseControl>
2318 <resolution>-1.00000000</resolution>
2319 <randomizable group="0">false</randomizable>
2320 </bsbObject>
2321 <bsbObject type="BSBLabel" version="2">
2322 <objectName/>
2323 <x>37</x>
2324 <y>414</y>
2325 <width>122</width>
2326 <height>32</height>
2327 <uuid>{101f3de4-f72e-41e3-9372-fba17f7b62a1}</uuid>
2328 <visible>true</visible>
2329 <midichan>0</midichan>
2330 <midicc>-3</midicc>
2331 <description/>
2332 <label>Narrow (Mono)</label>
2333 <alignment>center</alignment>
2334 <valignment>top</valignment>
2335 <font>Lucida Grande</font>
2336 <fontsize>14</fontsize>
2337 <precision>3</precision>
2338 <color>
2339 <r>0</r>
2340 <g>0</g>
2341 <b>0</b>
2342 </color>
2343 <bgcolor mode="nobackground">
2344 <r>255</r>
2345 <g>255</g>
2346 <b>255</b>
2347 </bgcolor>
2348 <bordermode>noborder</bordermode>
2349 <borderradius>1</borderradius>
2350 <borderwidth>0</borderwidth>
2351 </bsbObject>
2352 <bsbObject type="BSBLabel" version="2">
2353 <objectName/>
2354 <x>294</x>
2355 <y>414</y>
2356 <width>97</width>
2357 <height>31</height>
2358 <uuid>{03b0ed7c-3773-4470-9684-52a74e2a1a52}</uuid>
2359 <visible>true</visible>
2360 <midichan>0</midichan>
2361 <midicc>-3</midicc>
2362 <description/>
2363 <label>Broad</label>
2364 <alignment>center</alignment>
2365 <valignment>top</valignment>
2366 <font>Lucida Grande</font>
2367 <fontsize>14</fontsize>
2368 <precision>3</precision>
2369 <color>
2370 <r>0</r>
2371 <g>0</g>
2372 <b>0</b>
2373 </color>
2374 <bgcolor mode="nobackground">
2375 <r>255</r>
2376 <g>255</g>
2377 <b>255</b>
2378 </bgcolor>
2379 <bordermode>noborder</bordermode>
2380 <borderradius>1</borderradius>
2381 <borderwidth>0</borderwidth>
2382 </bsbObject>
2383 <bsbObject type="BSBLabel" version="2">
2384 <objectName/>
2385 <x>38</x>
2386 <y>381</y>
2387 <width>352</width>
2388 <height>31</height>
2389 <uuid>{bb612343-f865-45a8-8fac-4741b62472a2}</uuid>
2390 <visible>true</visible>
2391 <midichan>0</midichan>
2392 <midicc>-3</midicc>
2393 <description/>
2394 <label>Stereo Panning</label>
2395 <alignment>center</alignment>
2396 <valignment>top</valignment>
2397 <font>Lucida Grande</font>
2398 <fontsize>14</fontsize>
2399 <precision>3</precision>
2400 <color>
2401 <r>0</r>
2402 <g>0</g>
2403 <b>0</b>
2404 </color>
2405 <bgcolor mode="nobackground">
2406 <r>255</r>
2407 <g>255</g>
2408 <b>255</b>
2409 </bgcolor>
2410 <bordermode>noborder</bordermode>
2411 <borderradius>1</borderradius>
2412 <borderwidth>0</borderwidth>
2413 </bsbObject>
2414 <bsbObject type="BSBDisplay" version="2">
2415 <objectName>vol</objectName>
2416 <x>291</x>
2417 <y>491</y>
2418 <width>98</width>
2419 <height>31</height>
2420 <uuid>{cdf98770-bdd8-4da7-984c-cb277dcbe92c}</uuid>
2421 <visible>true</visible>
2422 <midichan>0</midichan>
2423 <midicc>-3</midicc>
2424 <description/>
2425 <label>0.390</label>
2426 <alignment>center</alignment>
2427 <valignment>top</valignment>
2428 <font>Lucida Grande</font>
2429 <fontsize>14</fontsize>
2430 <precision>3</precision>
2431 <color>
2432 <r>0</r>
2433 <g>0</g>
2434 <b>0</b>
2435 </color>
2436 <bgcolor mode="nobackground">
2437 <r>255</r>
2438 <g>255</g>
2439 <b>255</b>
2440 </bgcolor>
2441 <bordermode>noborder</bordermode>
2442 <borderradius>1</borderradius>
2443 <borderwidth>0</borderwidth>
2444 </bsbObject>
2445 <bsbObject type="BSBLabel" version="2">
2446 <objectName/>
2447 <x>34</x>
2448 <y>14</y>
2449 <width>366</width>
2450 <height>78</height>
2451 <uuid>{4e1ffe54-a79a-4e5f-a3e8-801a242859c1}</uuid>
2452 <visible>true</visible>
2453 <midichan>0</midichan>
2454 <midicc>-3</midicc>
2455 <description/>
2456 <label>KARLHEINZ STOCKHAUSEN: STUDIE II
2457 generated in Csound by Joachim Heintz
2458 Version 1, November 2009</label>
2459 <alignment>center</alignment>
2460 <valignment>top</valignment>
2461 <font>Noto Sans</font>
2462 <fontsize>14</fontsize>
2463 <precision>3</precision>
2464 <color>
2465 <r>0</r>
2466 <g>0</g>
2467 <b>0</b>
2468 </color>
2469 <bgcolor mode="nobackground">
2470 <r>255</r>
2471 <g>255</g>
2472 <b>255</b>
2473 </bgcolor>
2474 <bordermode>false</bordermode>
2475 <borderradius>1</borderradius>
2476 <borderwidth>0</borderwidth>
2477 </bsbObject>
2478 <bsbObject type="BSBCheckBox" version="2">
2479 <objectName>printlines</objectName>
2480 <x>40</x>
2481 <y>644</y>
2482 <width>20</width>
2483 <height>20</height>
2484 <uuid>{f218a6e0-8bf8-4b6f-8343-f1086a0793cd}</uuid>
2485 <visible>true</visible>
2486 <midichan>0</midichan>
2487 <midicc>-3</midicc>
2488 <description/>
2489 <selected>true</selected>
2490 <label/>
2491 <pressedValue>1</pressedValue>
2492 <randomizable group="0">false</randomizable>
2493 </bsbObject>
2494 <bsbObject type="BSBLabel" version="2">
2495 <objectName/>
2496 <x>64</x>
2497 <y>640</y>
2498 <width>352</width>
2499 <height>31</height>
2500 <uuid>{3c17bd1d-fa39-4243-a33d-6cbac8d32645}</uuid>
2501 <visible>true</visible>
2502 <midichan>0</midichan>
2503 <midicc>-3</midicc>
2504 <description/>
2505 <label>Print all Events in Output Console</label>
2506 <alignment>left</alignment>
2507 <valignment>top</valignment>
2508 <font>Noto Sans</font>
2509 <fontsize>12</fontsize>
2510 <precision>3</precision>
2511 <color>
2512 <r>0</r>
2513 <g>0</g>
2514 <b>0</b>
2515 </color>
2516 <bgcolor mode="nobackground">
2517 <r>255</r>
2518 <g>255</g>
2519 <b>255</b>
2520 </bgcolor>
2521 <bordermode>false</bordermode>
2522 <borderradius>1</borderradius>
2523 <borderwidth>0</borderwidth>
2524 </bsbObject>
2525 <bsbObject type="BSBSpinBox" version="2">
2526 <objectName>dbrange</objectName>
2527 <x>319</x>
2528 <y>600</y>
2529 <width>80</width>
2530 <height>25</height>
2531 <uuid>{a1e3b8b3-2521-4219-8d07-cb75f4a77209}</uuid>
2532 <visible>true</visible>
2533 <midichan>0</midichan>
2534 <midicc>0</midicc>
2535 <description/>
2536 <alignment>left</alignment>
2537 <font>Noto Sans</font>
2538 <fontsize>10</fontsize>
2539 <color>
2540 <r>42</r>
2541 <g>46</g>
2542 <b>50</b>
2543 </color>
2544 <bgcolor mode="background">
2545 <r>184</r>
2546 <g>195</g>
2547 <b>200</b>
2548 </bgcolor>
2549 <resolution>0.10000000</resolution>
2550 <minimum>-1e+12</minimum>
2551 <maximum>1e+12</maximum>
2552 <randomizable group="0">false</randomizable>
2553 <value>70</value>
2554 </bsbObject>
2555 <bsbObject type="BSBLabel" version="2">
2556 <objectName/>
2557 <x>240</x>
2558 <y>599</y>
2559 <width>80</width>
2560 <height>26</height>
2561 <uuid>{b5273f63-f970-43cc-a5d9-c1295e5d65d1}</uuid>
2562 <visible>true</visible>
2563 <midichan>0</midichan>
2564 <midicc>-3</midicc>
2565 <description/>
2566 <label>dB-Range</label>
2567 <alignment>left</alignment>
2568 <valignment>top</valignment>
2569 <font>Noto Sans</font>
2570 <fontsize>12</fontsize>
2571 <precision>3</precision>
2572 <color>
2573 <r>0</r>
2574 <g>0</g>
2575 <b>0</b>
2576 </color>
2577 <bgcolor mode="nobackground">
2578 <r>255</r>
2579 <g>255</g>
2580 <b>255</b>
2581 </bgcolor>
2582 <bordermode>false</bordermode>
2583 <borderradius>1</borderradius>
2584 <borderwidth>0</borderwidth>
2585 </bsbObject>
2586 <bsbObject type="BSBLabel" version="2">
2587 <objectName/>
2588 <x>37</x>
2589 <y>601</y>
2590 <width>91</width>
2591 <height>25</height>
2592 <uuid>{4b23238c-0c60-41f1-ab3d-f214b66ed011}</uuid>
2593 <visible>true</visible>
2594 <midichan>0</midichan>
2595 <midicc>-3</midicc>
2596 <description/>
2597 <label>Show as</label>
2598 <alignment>left</alignment>
2599 <valignment>top</valignment>
2600 <font>Noto Sans</font>
2601 <fontsize>12</fontsize>
2602 <precision>3</precision>
2603 <color>
2604 <r>0</r>
2605 <g>0</g>
2606 <b>0</b>
2607 </color>
2608 <bgcolor mode="nobackground">
2609 <r>255</r>
2610 <g>255</g>
2611 <b>255</b>
2612 </bgcolor>
2613 <bordermode>false</bordermode>
2614 <borderradius>1</borderradius>
2615 <borderwidth>0</borderwidth>
2616 </bsbObject>
2617 <bsbObject type="BSBDropdown" version="2">
2618 <objectName>showdb</objectName>
2619 <x>127</x>
2620 <y>600</y>
2621 <width>109</width>
2622 <height>26</height>
2623 <uuid>{a5006aaa-aa2b-412c-bcdb-7c6d640e4a65}</uuid>
2624 <visible>true</visible>
2625 <midichan>0</midichan>
2626 <midicc>-3</midicc>
2627 <description/>
2628 <bsbDropdownItemList>
2629 <bsbDropdownItem>
2630 <name>Amplitudes</name>
2631 <value>0</value>
2632 <stringvalue/>
2633 </bsbDropdownItem>
2634 <bsbDropdownItem>
2635 <name>dB</name>
2636 <value>1</value>
2637 <stringvalue/>
2638 </bsbDropdownItem>
2639 </bsbDropdownItemList>
2640 <selectedIndex>1</selectedIndex>
2641 <randomizable group="0">false</randomizable>
2642 </bsbObject>
2643 </bsbPanel>
2644 <bsbPresets>
2645 </bsbPresets>