Debian Codegraph @

src/Examples/McCurdy Collection/Miscellaneous/ShuffleTableContents.csd

raw
1 ;Written by Iain McCurdy, 2010
2
3 ;Modified for QuteCsound by René, February 2011
4 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
5
6 ;Notes on modifications from original csd:
7
8
9 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
10 <CsoundSynthesizer>
11 <CsOptions>
12
13 </CsOptions>
14 <CsInstruments>
15 sr = 44100 ;SAMPLE RATE
16 ksmps = 16 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
17 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
18 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
19
20
21 giTable ftgen 0,0,-12,-2, 8.00, 8.01, 8.02, 8.03, 8.04, 8.05, 8.06, 8.07, 8.08, 8.09, 8.10, 8.11 ;CHROMATIC SCALE - 12 ITEMS - NEGATIVE TABLE SIZE PERMITS THE USE OF NON-ZERO TABLE SIZE
22 gisine ftgen 0, 0, 4096, 10, 1 ;A SINE WAVE
23
24
25 instr 1 ;SHUFFLE TABLE CONTENTS
26 iNumItems = ftlen(giTable) ;DERIVE THE NUMBER OF ITEMS IN THE FUNCTION TABLE
27 iIndices ftgen 0,0,-12,-2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ;TABLE OF INDEX VALUES (+1) - SHOULD CORRESPOND TO THE NUMBER OF ITEMS IN THE ORIGINAL TABLE
28 iIndicesBuffer ftgen 0,0,-12,-2, 0 ;BUFFER TABLE FOR JUMBLED UP INDICES
29 iTableBuffer ftgen 0,0,-12,-2, 0 ;BUFFER TABLE INITIALLY CONSISTING OF ZEROES
30 kcount init 1 ;INITIALISE COUNTER
31
32 begin: ;LABEL
33 kfn random 0,iNumItems ;RANDOM TABLE ITEM INDEX
34 kfn = int(kfn) ;CONVERT TO INTEGER (THIS STEP IS NOT ACTUALLY REQUIRED)
35 krandval table kfn, iIndices ;READ THE VALUE AT THE RANDOMLY CHOSEN INDEX LOCATION
36 ;CHECK IF RANDOMLY CHOSEN ITEM HAS ALREADY BEEN CHOSEN AND INSERTED INTO NEW TABLE
37 kcheckcount = 1 ;COUNTER USED THROUGHOUT CHECKING PROCESS
38
39 checkbegin: ;LABEL - START OF CHECKING PROCESS
40 kcheckval table kcheckcount-1, iIndicesBuffer ;READ VALUE FROM TABLE ACCORDING TO CURRENT checkcount CYCLE
41 if (kcheckval=krandval) kgoto begin ;IF VALUE ALREADY EXISTS, REDO THE RANDOMIZATION PROCESS
42 kcheckcount = kcheckcount + 1 ;INCREMENT CHECK COUNTER
43 if (kcheckcount<kcount) kgoto checkbegin ;UNTIL ALL VALUES HAVE BEEN TESTED REPEAT CHECK FOR NEXT VALUE
44 tablew krandval, kcount-1, iIndicesBuffer ;ONCE VALUE HAS BEEN VERIFIED WRITE TO TABLE
45 kcount = kcount + 1 ;INCREMENT MAIN COUNTER
46 if (kcount <= iNumItems) goto begin ;UNTIL TABLE IS FILLED REPEAT CYCLE
47
48 ;CREATE NEW TABLE IN THE BUFFER TABLE ACCORDING TO NEW ARRANGEMENT OF INDICES
49 kcount = 1 ;SET COUNTER TO '1'
50
51 begin2: ;BEGINNING OF LOOP LABEL
52 kndx table kcount-1, iIndicesBuffer ;READ INDEX VALUE FROM TABLE OF INDICES BUFFER
53 kval table kndx-1, giTable ;READ ITEM VALUE AT CURRENT INDEX LOCATION
54 tablew kval, kcount-1, iTableBuffer ;WRITE READ ITEM INTO TABLE BUFFER
55 kcount = kcount + 1 ;INCREMENT COUNTER
56 if (kcount <= iNumItems) goto begin2 ;UNTIL TABLE IS COMPLETELY WRITTEN REPEAT CYCLE
57
58 tablecopy giTable, iTableBuffer ;REPLACE ORIGINAL TABLE WITH BUFFER (SHUFFLED) TABLE
59 event "i", 2, 0, 0.1 ;PRINT TABLE VALUES
60 turnoff ;WHEN DONE, TURN OFF THIS INSTRUMENT
61 endin
62
63 instr 2 ;PRINT TABLE VALUES TO COMMAND LINE AND BOXES
64 iNumItems = ftlen(giTable) ;DERIVE THE NUMBER OF ITEMS IN THE FUNCTION TABLE
65 prints "\\n" ;NEWLINE
66 icount init 1 ;INITIALIZE COUNTER
67
68 BEGIN: ;LABEL
69 ival table icount-1, giTable ;READ VALUE FROM TABLE
70 print ival ;PRINT READ VALUE
71 icount = icount + 1 ;INCREMENT COUNTER
72 if icount<=iNumItems goto BEGIN ;CHECK IF WE ARE AT THE LAST VALUE OF TABLE, IF NOT, REPEAT PRINT TASK
73
74 ;GUI UPDATE
75 ;CREATE A MACRO TO REDUCE CODE REPETITION
76 #define FLPRINT(N)
77 #
78 ipch$N table $N-1, giTable ;READ PITCH VALUES FROM TABLE
79 outvalue "Item$N", ipch$N ;WRITE PITCH VALUES TO TEXT BOXES
80 #
81 ;EXECUTE MACRO MULTIPLE TIMES
82 $FLPRINT(1)
83 $FLPRINT(2)
84 $FLPRINT(3)
85 $FLPRINT(4)
86 $FLPRINT(5)
87 $FLPRINT(6)
88 $FLPRINT(7)
89 $FLPRINT(8)
90 $FLPRINT(9)
91 $FLPRINT(10)
92 $FLPRINT(11)
93 $FLPRINT(12)
94
95 turnoff ;TURN THIS INSTRUMENT OFF
96 endin
97
98 instr 3 ;TRIGGER NOTES IN SOUND GENERATING INSTRUMENT
99 iNumItems = ftlen(giTable) ;DERIVE THE NUMBER OF ITEMS IN THE FUNCTION TABLE
100 icount init 1
101 igap init 0.2
102 iwhen init 0
103
104 PLAYBEGIN:
105 ipch table icount-1, giTable ;READ PITCH (pch FORMAT) FROM TABLE ACCORDING TO WHERE WE ARE IN THE SEQUENCE
106 event_i "i",4, iwhen, 0.6, ipch ;CREATE A NOTE EVENT TO BE PLAYED BY INSTR 3
107 iwhen = iwhen + igap ;CREATE THE TIME THE NEXT NOTE WILL BE PLAYED
108 igap = igap * 1.05 ;GAP BETWEEN NOTES INCREASES AS WE PROGRESS RESULT IN A RALLENTANDO (SLOWING DOWN) AS THE SEQUENCE IS PLAYED
109 icount = icount + 1
110 if icount<=iNumItems goto PLAYBEGIN ;CHECK IF WE ARE AT THE LAST VALUE OF TABLE, IF NOT, REPEAT PRINT TASK
111
112 turnoff ;TURN THIS INSTRUMENT OFF
113 endin
114
115 instr 4 ;SOUND GENERATING INSTRUMENT
116 aenv line 0.2, p3, 0 ;CREATE AN AMPLITUDE ENVELOPE
117 a1 oscili aenv, cpspch(p4), gisine ;GENERATE AN AUDIO SIGNAL (PITCH RECEIVED FROM INSTR 2 VIA p4)
118 outs a1, a1 ;SEND AUDIO TO OUTPUTS
119 endin
120
121 instr 5 ;PERFORM RETROGRADE
122 iTableBuffer ftgen 0,0,-12,-2, 0 ;BUFFER TABLE INITIALLY CONSISTING OF ZEROES
123 iNumItems = ftlen(giTable) ;DERIVE THE NUMBER OF ITEMS IN THE FUNCTION TABLE
124 iTableBuffer ftgen 0,0,-iNumItems,-2, 0 ;BUFFER TABLE INITIALLY CONSISTING OF ZEROES
125 kcount init 1 ;INITIALISE COUNTER
126
127 begin: ;LABEL
128 kval table iNumItems - kcount, giTable
129 tablew kval, kcount-1, iTableBuffer
130 kcount = kcount + 1 ;INCREMENT MAIN COUNTER
131 if (kcount <= iNumItems) goto begin ;UNTIL TABLE IS FILLED REPEAT CYCLE
132
133 tablecopy giTable, iTableBuffer ;REPLACE ORIGINAL TABLE WITH BUFFER (SHUFFLED) TABLE
134 event "i", 2, 0, 0.1 ;PRINT TABLE VALUES
135 turnoff ;WHEN DONE, TURN OFF THIS INSTRUMENT
136 endin
137 </CsInstruments>
138 <CsScore>
139 i 2 0 0.001
140 f 0 3600
141 </CsScore>
142 </CsoundSynthesizer>
143 <bsbPanel>
144 <label>Widgets</label>
145 <objectName/>
146 <x>707</x>
147 <y>277</y>
148 <width>834</width>
149 <height>389</height>
150 <visible>true</visible>
151 <uuid/>
152 <bgcolor mode="background">
153 <r>241</r>
154 <g>226</g>
155 <b>185</b>
156 </bgcolor>
157 <bsbObject version="2" type="BSBLabel">
158 <objectName/>
159 <x>2</x>
160 <y>2</y>
161 <width>830</width>
162 <height>387</height>
163 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
164 <visible>true</visible>
165 <midichan>0</midichan>
166 <midicc>0</midicc>
167 <label>Shuffle Table Contents</label>
168 <alignment>center</alignment>
169 <font>Liberation Sans</font>
170 <fontsize>18</fontsize>
171 <precision>3</precision>
172 <color>
173 <r>255</r>
174 <g>255</g>
175 <b>255</b>
176 </color>
177 <bgcolor mode="background">
178 <r>5</r>
179 <g>27</g>
180 <b>150</b>
181 </bgcolor>
182 <bordermode>border</bordermode>
183 <borderradius>5</borderradius>
184 <borderwidth>2</borderwidth>
185 </bsbObject>
186 <bsbObject version="2" type="BSBButton">
187 <objectName/>
188 <x>221</x>
189 <y>42</y>
190 <width>120</width>
191 <height>30</height>
192 <uuid>{55273d97-d39a-441c-8da6-87ea139493b6}</uuid>
193 <visible>true</visible>
194 <midichan>0</midichan>
195 <midicc>0</midicc>
196 <type>event</type>
197 <pressedValue>1.00000000</pressedValue>
198 <stringvalue/>
199 <text>Shuffle</text>
200 <image>/</image>
201 <eventLine>i 1 0 0.1</eventLine>
202 <latch>false</latch>
203 <latched>false</latched>
204 </bsbObject>
205 <bsbObject version="2" type="BSBLabel">
206 <objectName/>
207 <x>1</x>
208 <y>82</y>
209 <width>69</width>
210 <height>30</height>
211 <uuid>{5cde19f3-b356-4945-9c8b-43dd67c604dd}</uuid>
212 <visible>true</visible>
213 <midichan>0</midichan>
214 <midicc>0</midicc>
215 <label>Items:</label>
216 <alignment>right</alignment>
217 <font>Liberation Sans</font>
218 <fontsize>10</fontsize>
219 <precision>3</precision>
220 <color>
221 <r>255</r>
222 <g>255</g>
223 <b>255</b>
224 </color>
225 <bgcolor mode="nobackground">
226 <r>255</r>
227 <g>255</g>
228 <b>255</b>
229 </bgcolor>
230 <bordermode>noborder</bordermode>
231 <borderradius>1</borderradius>
232 <borderwidth>1</borderwidth>
233 </bsbObject>
234 <bsbObject version="2" type="BSBDisplay">
235 <objectName>Item1</objectName>
236 <x>70</x>
237 <y>82</y>
238 <width>60</width>
239 <height>30</height>
240 <uuid>{073ad371-9227-46fa-a005-ac10a210db79}</uuid>
241 <visible>true</visible>
242 <midichan>0</midichan>
243 <midicc>0</midicc>
244 <label>8.010</label>
245 <alignment>center</alignment>
246 <font>Liberation Sans</font>
247 <fontsize>12</fontsize>
248 <precision>3</precision>
249 <color>
250 <r>255</r>
251 <g>255</g>
252 <b>255</b>
253 </color>
254 <bgcolor mode="nobackground">
255 <r>255</r>
256 <g>255</g>
257 <b>255</b>
258 </bgcolor>
259 <bordermode>border</bordermode>
260 <borderradius>1</borderradius>
261 <borderwidth>1</borderwidth>
262 </bsbObject>
263 <bsbObject version="2" type="BSBLabel">
264 <objectName/>
265 <x>7</x>
266 <y>141</y>
267 <width>822</width>
268 <height>245</height>
269 <uuid>{e41f02b8-6ad4-46dc-805c-0b2eeafbd476}</uuid>
270 <visible>true</visible>
271 <midichan>0</midichan>
272 <midicc>0</midicc>
273 <label>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
274 This example shuffles the contents of a function table in a fashion similar to shuffling a deck of cards. The table's contents in this example are the notes of a chromatic scale in pch format. Each time the 'Shuffle' button is clicked the order of these twelve items is changed. The new table is printed to the terminal and to the display boxes and can be played as a note row by clicking 'Play'. Table shuffling is achieved by generating a random number to be used as a table index. The value at this table index is read. Values are written into a buffer table but before this is done a checking procedure is executed that checks whether this value has already been chosen (this ensures that each item occurs in the new table only once). Once a value has been accepted and written into the buffer table. The process is repeated to find the next value for the buffer table. To carry out the entire process a number of k-rate loops are employed with counter varibles being used to check when the various iterative procedures are complete. To allow the use of items of the same value in the table the process is actually carried out on a table of indices (1, 2, 3...) so that the checking procedure described above can still be carried out. A buffer table of the new arrangement of items is created from this table of jumbled indices and finally written over the original table. As an additional feature the user can perform a retrograde on the table's contents which reverses their order.</label>
275 <alignment>left</alignment>
276 <font>Liberation Sans</font>
277 <fontsize>14</fontsize>
278 <precision>3</precision>
279 <color>
280 <r>255</r>
281 <g>255</g>
282 <b>255</b>
283 </color>
284 <bgcolor mode="nobackground">
285 <r>255</r>
286 <g>255</g>
287 <b>255</b>
288 </bgcolor>
289 <bordermode>noborder</bordermode>
290 <borderradius>1</borderradius>
291 <borderwidth>1</borderwidth>
292 </bsbObject>
293 <bsbObject version="2" type="BSBDisplay">
294 <objectName>Item2</objectName>
295 <x>130</x>
296 <y>82</y>
297 <width>60</width>
298 <height>30</height>
299 <uuid>{1c7548d5-44d5-4f66-899b-e6cdbee7808a}</uuid>
300 <visible>true</visible>
301 <midichan>0</midichan>
302 <midicc>0</midicc>
303 <label>8.040</label>
304 <alignment>center</alignment>
305 <font>Liberation Sans</font>
306 <fontsize>12</fontsize>
307 <precision>3</precision>
308 <color>
309 <r>255</r>
310 <g>255</g>
311 <b>255</b>
312 </color>
313 <bgcolor mode="nobackground">
314 <r>255</r>
315 <g>255</g>
316 <b>255</b>
317 </bgcolor>
318 <bordermode>border</bordermode>
319 <borderradius>1</borderradius>
320 <borderwidth>1</borderwidth>
321 </bsbObject>
322 <bsbObject version="2" type="BSBDisplay">
323 <objectName>Item3</objectName>
324 <x>190</x>
325 <y>82</y>
326 <width>60</width>
327 <height>30</height>
328 <uuid>{0091d7b0-d91e-4d1f-9729-a96612841508}</uuid>
329 <visible>true</visible>
330 <midichan>0</midichan>
331 <midicc>0</midicc>
332 <label>8.020</label>
333 <alignment>center</alignment>
334 <font>Liberation Sans</font>
335 <fontsize>12</fontsize>
336 <precision>3</precision>
337 <color>
338 <r>255</r>
339 <g>255</g>
340 <b>255</b>
341 </color>
342 <bgcolor mode="nobackground">
343 <r>255</r>
344 <g>255</g>
345 <b>255</b>
346 </bgcolor>
347 <bordermode>border</bordermode>
348 <borderradius>1</borderradius>
349 <borderwidth>1</borderwidth>
350 </bsbObject>
351 <bsbObject version="2" type="BSBDisplay">
352 <objectName>Item4</objectName>
353 <x>250</x>
354 <y>82</y>
355 <width>60</width>
356 <height>30</height>
357 <uuid>{538ce482-2100-4467-81d6-475e81c614a6}</uuid>
358 <visible>true</visible>
359 <midichan>0</midichan>
360 <midicc>0</midicc>
361 <label>8.100</label>
362 <alignment>center</alignment>
363 <font>Liberation Sans</font>
364 <fontsize>12</fontsize>
365 <precision>3</precision>
366 <color>
367 <r>255</r>
368 <g>255</g>
369 <b>255</b>
370 </color>
371 <bgcolor mode="nobackground">
372 <r>255</r>
373 <g>255</g>
374 <b>255</b>
375 </bgcolor>
376 <bordermode>border</bordermode>
377 <borderradius>1</borderradius>
378 <borderwidth>1</borderwidth>
379 </bsbObject>
380 <bsbObject version="2" type="BSBDisplay">
381 <objectName>Item5</objectName>
382 <x>310</x>
383 <y>82</y>
384 <width>60</width>
385 <height>30</height>
386 <uuid>{850e956b-d5e3-4551-b9f2-6a49c59996e1}</uuid>
387 <visible>true</visible>
388 <midichan>0</midichan>
389 <midicc>0</midicc>
390 <label>8.070</label>
391 <alignment>center</alignment>
392 <font>Liberation Sans</font>
393 <fontsize>12</fontsize>
394 <precision>3</precision>
395 <color>
396 <r>255</r>
397 <g>255</g>
398 <b>255</b>
399 </color>
400 <bgcolor mode="nobackground">
401 <r>255</r>
402 <g>255</g>
403 <b>255</b>
404 </bgcolor>
405 <bordermode>border</bordermode>
406 <borderradius>1</borderradius>
407 <borderwidth>1</borderwidth>
408 </bsbObject>
409 <bsbObject version="2" type="BSBDisplay">
410 <objectName>Item6</objectName>
411 <x>370</x>
412 <y>82</y>
413 <width>60</width>
414 <height>30</height>
415 <uuid>{9095fb4d-a1f0-4c04-afd1-918857f5a163}</uuid>
416 <visible>true</visible>
417 <midichan>0</midichan>
418 <midicc>0</midicc>
419 <label>8.090</label>
420 <alignment>center</alignment>
421 <font>Liberation Sans</font>
422 <fontsize>12</fontsize>
423 <precision>3</precision>
424 <color>
425 <r>255</r>
426 <g>255</g>
427 <b>255</b>
428 </color>
429 <bgcolor mode="nobackground">
430 <r>255</r>
431 <g>255</g>
432 <b>255</b>
433 </bgcolor>
434 <bordermode>border</bordermode>
435 <borderradius>1</borderradius>
436 <borderwidth>1</borderwidth>
437 </bsbObject>
438 <bsbObject version="2" type="BSBDisplay">
439 <objectName>Item7</objectName>
440 <x>430</x>
441 <y>82</y>
442 <width>60</width>
443 <height>30</height>
444 <uuid>{7dc921c9-4410-4063-95ce-524870d15c01}</uuid>
445 <visible>true</visible>
446 <midichan>0</midichan>
447 <midicc>0</midicc>
448 <label>8.110</label>
449 <alignment>center</alignment>
450 <font>Liberation Sans</font>
451 <fontsize>12</fontsize>
452 <precision>3</precision>
453 <color>
454 <r>255</r>
455 <g>255</g>
456 <b>255</b>
457 </color>
458 <bgcolor mode="nobackground">
459 <r>255</r>
460 <g>255</g>
461 <b>255</b>
462 </bgcolor>
463 <bordermode>border</bordermode>
464 <borderradius>1</borderradius>
465 <borderwidth>1</borderwidth>
466 </bsbObject>
467 <bsbObject version="2" type="BSBDisplay">
468 <objectName>Item8</objectName>
469 <x>490</x>
470 <y>82</y>
471 <width>60</width>
472 <height>30</height>
473 <uuid>{e0252740-6bed-46a0-9c35-5b01091bbcbb}</uuid>
474 <visible>true</visible>
475 <midichan>0</midichan>
476 <midicc>0</midicc>
477 <label>8.050</label>
478 <alignment>center</alignment>
479 <font>Liberation Sans</font>
480 <fontsize>12</fontsize>
481 <precision>3</precision>
482 <color>
483 <r>255</r>
484 <g>255</g>
485 <b>255</b>
486 </color>
487 <bgcolor mode="nobackground">
488 <r>255</r>
489 <g>255</g>
490 <b>255</b>
491 </bgcolor>
492 <bordermode>border</bordermode>
493 <borderradius>1</borderradius>
494 <borderwidth>1</borderwidth>
495 </bsbObject>
496 <bsbObject version="2" type="BSBDisplay">
497 <objectName>Item9</objectName>
498 <x>549</x>
499 <y>82</y>
500 <width>60</width>
501 <height>30</height>
502 <uuid>{d73e14d2-c9ee-4edd-b45f-ff77dbcbd33f}</uuid>
503 <visible>true</visible>
504 <midichan>0</midichan>
505 <midicc>0</midicc>
506 <label>8.000</label>
507 <alignment>center</alignment>
508 <font>Liberation Sans</font>
509 <fontsize>12</fontsize>
510 <precision>3</precision>
511 <color>
512 <r>255</r>
513 <g>255</g>
514 <b>255</b>
515 </color>
516 <bgcolor mode="nobackground">
517 <r>255</r>
518 <g>255</g>
519 <b>255</b>
520 </bgcolor>
521 <bordermode>border</bordermode>
522 <borderradius>1</borderradius>
523 <borderwidth>1</borderwidth>
524 </bsbObject>
525 <bsbObject version="2" type="BSBDisplay">
526 <objectName>Item10</objectName>
527 <x>609</x>
528 <y>82</y>
529 <width>60</width>
530 <height>30</height>
531 <uuid>{8eaf0662-173e-44ec-8e9e-fabc5fcec6e6}</uuid>
532 <visible>true</visible>
533 <midichan>0</midichan>
534 <midicc>0</midicc>
535 <label>8.080</label>
536 <alignment>center</alignment>
537 <font>Liberation Sans</font>
538 <fontsize>12</fontsize>
539 <precision>3</precision>
540 <color>
541 <r>255</r>
542 <g>255</g>
543 <b>255</b>
544 </color>
545 <bgcolor mode="nobackground">
546 <r>255</r>
547 <g>255</g>
548 <b>255</b>
549 </bgcolor>
550 <bordermode>border</bordermode>
551 <borderradius>1</borderradius>
552 <borderwidth>1</borderwidth>
553 </bsbObject>
554 <bsbObject version="2" type="BSBDisplay">
555 <objectName>Item11</objectName>
556 <x>669</x>
557 <y>82</y>
558 <width>60</width>
559 <height>30</height>
560 <uuid>{bdea0e8f-05c5-410b-9c44-cf2cce219735}</uuid>
561 <visible>true</visible>
562 <midichan>0</midichan>
563 <midicc>0</midicc>
564 <label>8.030</label>
565 <alignment>center</alignment>
566 <font>Liberation Sans</font>
567 <fontsize>12</fontsize>
568 <precision>3</precision>
569 <color>
570 <r>255</r>
571 <g>255</g>
572 <b>255</b>
573 </color>
574 <bgcolor mode="nobackground">
575 <r>255</r>
576 <g>255</g>
577 <b>255</b>
578 </bgcolor>
579 <bordermode>border</bordermode>
580 <borderradius>1</borderradius>
581 <borderwidth>1</borderwidth>
582 </bsbObject>
583 <bsbObject version="2" type="BSBDisplay">
584 <objectName>Item12</objectName>
585 <x>729</x>
586 <y>82</y>
587 <width>60</width>
588 <height>30</height>
589 <uuid>{a89842bb-482c-4739-8fa9-067021b6555d}</uuid>
590 <visible>true</visible>
591 <midichan>0</midichan>
592 <midicc>0</midicc>
593 <label>8.060</label>
594 <alignment>center</alignment>
595 <font>Liberation Sans</font>
596 <fontsize>12</fontsize>
597 <precision>3</precision>
598 <color>
599 <r>255</r>
600 <g>255</g>
601 <b>255</b>
602 </color>
603 <bgcolor mode="nobackground">
604 <r>255</r>
605 <g>255</g>
606 <b>255</b>
607 </bgcolor>
608 <bordermode>border</bordermode>
609 <borderradius>1</borderradius>
610 <borderwidth>1</borderwidth>
611 </bsbObject>
612 <bsbObject version="2" type="BSBButton">
613 <objectName/>
614 <x>344</x>
615 <y>42</y>
616 <width>120</width>
617 <height>30</height>
618 <uuid>{1e59b306-95dc-4794-971f-317b107c22bb}</uuid>
619 <visible>true</visible>
620 <midichan>0</midichan>
621 <midicc>0</midicc>
622 <type>event</type>
623 <pressedValue>1.00000000</pressedValue>
624 <stringvalue/>
625 <text>Retrograde</text>
626 <image>/</image>
627 <eventLine>i 5 0 0.1</eventLine>
628 <latch>false</latch>
629 <latched>false</latched>
630 </bsbObject>
631 <bsbObject version="2" type="BSBButton">
632 <objectName/>
633 <x>467</x>
634 <y>42</y>
635 <width>120</width>
636 <height>30</height>
637 <uuid>{7a957253-a2ff-4e19-a6f5-f58e166dfcd7}</uuid>
638 <visible>true</visible>
639 <midichan>0</midichan>
640 <midicc>0</midicc>
641 <type>event</type>
642 <pressedValue>1.00000000</pressedValue>
643 <stringvalue/>
644 <text>Play</text>
645 <image>/</image>
646 <eventLine>i 3 0 0.1</eventLine>
647 <latch>false</latch>
648 <latched>false</latched>
649 </bsbObject>
650 <bsbObject version="2" type="BSBLabel">
651 <objectName/>
652 <x>70</x>
653 <y>112</y>
654 <width>60</width>
655 <height>30</height>
656 <uuid>{3c66970d-2b76-4403-8782-b86055c3fa53}</uuid>
657 <visible>true</visible>
658 <midichan>0</midichan>
659 <midicc>0</midicc>
660 <label>1</label>
661 <alignment>center</alignment>
662 <font>Liberation Sans</font>
663 <fontsize>12</fontsize>
664 <precision>3</precision>
665 <color>
666 <r>255</r>
667 <g>255</g>
668 <b>255</b>
669 </color>
670 <bgcolor mode="nobackground">
671 <r>255</r>
672 <g>255</g>
673 <b>255</b>
674 </bgcolor>
675 <bordermode>noborder</bordermode>
676 <borderradius>1</borderradius>
677 <borderwidth>1</borderwidth>
678 </bsbObject>
679 <bsbObject version="2" type="BSBLabel">
680 <objectName/>
681 <x>130</x>
682 <y>112</y>
683 <width>60</width>
684 <height>30</height>
685 <uuid>{27242e29-5816-4789-b845-8fc1be9dac45}</uuid>
686 <visible>true</visible>
687 <midichan>0</midichan>
688 <midicc>0</midicc>
689 <label>2</label>
690 <alignment>center</alignment>
691 <font>Liberation Sans</font>
692 <fontsize>12</fontsize>
693 <precision>3</precision>
694 <color>
695 <r>255</r>
696 <g>255</g>
697 <b>255</b>
698 </color>
699 <bgcolor mode="nobackground">
700 <r>255</r>
701 <g>255</g>
702 <b>255</b>
703 </bgcolor>
704 <bordermode>noborder</bordermode>
705 <borderradius>1</borderradius>
706 <borderwidth>1</borderwidth>
707 </bsbObject>
708 <bsbObject version="2" type="BSBLabel">
709 <objectName/>
710 <x>190</x>
711 <y>112</y>
712 <width>60</width>
713 <height>30</height>
714 <uuid>{1412f652-df14-4c1a-97ed-ab9c5cb7f574}</uuid>
715 <visible>true</visible>
716 <midichan>0</midichan>
717 <midicc>0</midicc>
718 <label>3</label>
719 <alignment>center</alignment>
720 <font>Liberation Sans</font>
721 <fontsize>12</fontsize>
722 <precision>3</precision>
723 <color>
724 <r>255</r>
725 <g>255</g>
726 <b>255</b>
727 </color>
728 <bgcolor mode="nobackground">
729 <r>255</r>
730 <g>255</g>
731 <b>255</b>
732 </bgcolor>
733 <bordermode>noborder</bordermode>
734 <borderradius>1</borderradius>
735 <borderwidth>1</borderwidth>
736 </bsbObject>
737 <bsbObject version="2" type="BSBLabel">
738 <objectName/>
739 <x>250</x>
740 <y>112</y>
741 <width>60</width>
742 <height>30</height>
743 <uuid>{9812161d-faed-4110-89da-0af03d8846e2}</uuid>
744 <visible>true</visible>
745 <midichan>0</midichan>
746 <midicc>0</midicc>
747 <label>4
748 </label>
749 <alignment>center</alignment>
750 <font>Liberation Sans</font>
751 <fontsize>12</fontsize>
752 <precision>3</precision>
753 <color>
754 <r>255</r>
755 <g>255</g>
756 <b>255</b>
757 </color>
758 <bgcolor mode="nobackground">
759 <r>255</r>
760 <g>255</g>
761 <b>255</b>
762 </bgcolor>
763 <bordermode>noborder</bordermode>
764 <borderradius>1</borderradius>
765 <borderwidth>1</borderwidth>
766 </bsbObject>
767 <bsbObject version="2" type="BSBLabel">
768 <objectName/>
769 <x>310</x>
770 <y>112</y>
771 <width>60</width>
772 <height>30</height>
773 <uuid>{43f3b1df-f1de-41df-b371-7bf52ca4daa9}</uuid>
774 <visible>true</visible>
775 <midichan>0</midichan>
776 <midicc>0</midicc>
777 <label>5</label>
778 <alignment>center</alignment>
779 <font>Liberation Sans</font>
780 <fontsize>12</fontsize>
781 <precision>3</precision>
782 <color>
783 <r>255</r>
784 <g>255</g>
785 <b>255</b>
786 </color>
787 <bgcolor mode="nobackground">
788 <r>255</r>
789 <g>255</g>
790 <b>255</b>
791 </bgcolor>
792 <bordermode>noborder</bordermode>
793 <borderradius>1</borderradius>
794 <borderwidth>1</borderwidth>
795 </bsbObject>
796 <bsbObject version="2" type="BSBLabel">
797 <objectName/>
798 <x>370</x>
799 <y>112</y>
800 <width>60</width>
801 <height>30</height>
802 <uuid>{248cebae-09e5-4597-ba15-c0a2b7860884}</uuid>
803 <visible>true</visible>
804 <midichan>0</midichan>
805 <midicc>0</midicc>
806 <label>6</label>
807 <alignment>center</alignment>
808 <font>Liberation Sans</font>
809 <fontsize>12</fontsize>
810 <precision>3</precision>
811 <color>
812 <r>255</r>
813 <g>255</g>
814 <b>255</b>
815 </color>
816 <bgcolor mode="nobackground">
817 <r>255</r>
818 <g>255</g>
819 <b>255</b>
820 </bgcolor>
821 <bordermode>noborder</bordermode>
822 <borderradius>1</borderradius>
823 <borderwidth>1</borderwidth>
824 </bsbObject>
825 <bsbObject version="2" type="BSBLabel">
826 <objectName/>
827 <x>430</x>
828 <y>112</y>
829 <width>60</width>
830 <height>30</height>
831 <uuid>{4295e75d-84bd-4fb0-8328-be292aaf11c5}</uuid>
832 <visible>true</visible>
833 <midichan>0</midichan>
834 <midicc>0</midicc>
835 <label>7</label>
836 <alignment>center</alignment>
837 <font>Liberation Sans</font>
838 <fontsize>12</fontsize>
839 <precision>3</precision>
840 <color>
841 <r>255</r>
842 <g>255</g>
843 <b>255</b>
844 </color>
845 <bgcolor mode="nobackground">
846 <r>255</r>
847 <g>255</g>
848 <b>255</b>
849 </bgcolor>
850 <bordermode>noborder</bordermode>
851 <borderradius>1</borderradius>
852 <borderwidth>1</borderwidth>
853 </bsbObject>
854 <bsbObject version="2" type="BSBLabel">
855 <objectName/>
856 <x>490</x>
857 <y>112</y>
858 <width>60</width>
859 <height>30</height>
860 <uuid>{22f9ca83-afe5-4f81-b314-1ef894a8625d}</uuid>
861 <visible>true</visible>
862 <midichan>0</midichan>
863 <midicc>0</midicc>
864 <label>8</label>
865 <alignment>center</alignment>
866 <font>Liberation Sans</font>
867 <fontsize>12</fontsize>
868 <precision>3</precision>
869 <color>
870 <r>255</r>
871 <g>255</g>
872 <b>255</b>
873 </color>
874 <bgcolor mode="nobackground">
875 <r>255</r>
876 <g>255</g>
877 <b>255</b>
878 </bgcolor>
879 <bordermode>noborder</bordermode>
880 <borderradius>1</borderradius>
881 <borderwidth>1</borderwidth>
882 </bsbObject>
883 <bsbObject version="2" type="BSBLabel">
884 <objectName/>
885 <x>549</x>
886 <y>112</y>
887 <width>60</width>
888 <height>30</height>
889 <uuid>{4666b475-bc99-405a-af39-dbb7c1f93259}</uuid>
890 <visible>true</visible>
891 <midichan>0</midichan>
892 <midicc>0</midicc>
893 <label>9</label>
894 <alignment>center</alignment>
895 <font>Liberation Sans</font>
896 <fontsize>12</fontsize>
897 <precision>3</precision>
898 <color>
899 <r>255</r>
900 <g>255</g>
901 <b>255</b>
902 </color>
903 <bgcolor mode="nobackground">
904 <r>255</r>
905 <g>255</g>
906 <b>255</b>
907 </bgcolor>
908 <bordermode>noborder</bordermode>
909 <borderradius>1</borderradius>
910 <borderwidth>1</borderwidth>
911 </bsbObject>
912 <bsbObject version="2" type="BSBLabel">
913 <objectName/>
914 <x>608</x>
915 <y>112</y>
916 <width>60</width>
917 <height>30</height>
918 <uuid>{a9cdd246-ffd5-4966-9cfd-a3ce3d1de5e0}</uuid>
919 <visible>true</visible>
920 <midichan>0</midichan>
921 <midicc>0</midicc>
922 <label>10</label>
923 <alignment>center</alignment>
924 <font>Liberation Sans</font>
925 <fontsize>12</fontsize>
926 <precision>3</precision>
927 <color>
928 <r>255</r>
929 <g>255</g>
930 <b>255</b>
931 </color>
932 <bgcolor mode="nobackground">
933 <r>255</r>
934 <g>255</g>
935 <b>255</b>
936 </bgcolor>
937 <bordermode>noborder</bordermode>
938 <borderradius>1</borderradius>
939 <borderwidth>1</borderwidth>
940 </bsbObject>
941 <bsbObject version="2" type="BSBLabel">
942 <objectName/>
943 <x>669</x>
944 <y>112</y>
945 <width>60</width>
946 <height>30</height>
947 <uuid>{c5e342cd-b658-4e1c-9fc1-59de569db6b8}</uuid>
948 <visible>true</visible>
949 <midichan>0</midichan>
950 <midicc>0</midicc>
951 <label>11</label>
952 <alignment>center</alignment>
953 <font>Liberation Sans</font>
954 <fontsize>12</fontsize>
955 <precision>3</precision>
956 <color>
957 <r>255</r>
958 <g>255</g>
959 <b>255</b>
960 </color>
961 <bgcolor mode="nobackground">
962 <r>255</r>
963 <g>255</g>
964 <b>255</b>
965 </bgcolor>
966 <bordermode>noborder</bordermode>
967 <borderradius>1</borderradius>
968 <borderwidth>1</borderwidth>
969 </bsbObject>
970 <bsbObject version="2" type="BSBLabel">
971 <objectName/>
972 <x>729</x>
973 <y>112</y>
974 <width>60</width>
975 <height>30</height>
976 <uuid>{0fae269e-209e-4dbd-9dee-c0c419fc0f41}</uuid>
977 <visible>true</visible>
978 <midichan>0</midichan>
979 <midicc>0</midicc>
980 <label>12</label>
981 <alignment>center</alignment>
982 <font>Liberation Sans</font>
983 <fontsize>12</fontsize>
984 <precision>3</precision>
985 <color>
986 <r>255</r>
987 <g>255</g>
988 <b>255</b>
989 </color>
990 <bgcolor mode="nobackground">
991 <r>255</r>
992 <g>255</g>
993 <b>255</b>
994 </bgcolor>
995 <bordermode>noborder</bordermode>
996 <borderradius>1</borderradius>
997 <borderwidth>1</borderwidth>
998 </bsbObject>
999 </bsbPanel>
1000 <bsbPresets>
1001 </bsbPresets>
1002 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>