Debian Codegraph @

src/Examples/McCurdy Collection/Mouse/MouseChord_File.csd

raw
1 ;Written by Iain McCurdy, 2010
2
3 ; Modified for QuteCsound by René, January 2011.
4 ; Thanks to Andres CABRERA for the mouse channels names.
5
6 ; Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 with "Widgets are an independent window" ON.
7
8
9 /*
10 Mouse Chord
11 -----------
12 This csd was originally written for use by someone who only had the use of a head-mouse for music performance.
13 If the mouse enters one of the coloured boxes the chord indicated by the Roman numeral is played.
14 Continuous dynamic control is possible by moving the mouse within the box: the dynamic is lowest at the edges of each box and highest at the centre of each box.
15 Dynamics are implemented with a changing tone (low-pass filter) as well as changing amplitude.
16 The user can choose between three different sounds using the radio buttons within the GUI.
17 Key and tonality (major/minor) can also be selected from within the GUI.
18 No clicking is required enabling better timing in performance. The GUI window needs to be in focus for this to work.
19 The mouse relative position is given by the channels _MouseRelX and _MouseRelY.
20
21 If the windows need to be resized, for example to accomodate use on a netbook, it is mandatory to manually update the values of boxes dimensions and positions in the csd file.
22
23 Professional head mouse or iris tracking software can be very expensive and requires practice.
24 iNavigate is a free option for Mac OS 10.5 if the user wants to experiment with this approach.
25 */
26
27
28 ;Notes on modifications from original csd:
29 ; No automatic rescale
30 ; Add Browser for audio file, accept mono or stereo wav files
31
32
33 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
34 <CsoundSynthesizer>
35 <CsOptions>
36 --env:SSDIR+=../../SourceMaterials
37 </CsOptions>
38 <CsInstruments>
39 sr = 44100 ;SAMPLE RATE
40 ksmps = 16 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
41 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
42 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
43
44
45 ;DEFINE CHORDS I-VII IN PCH FORMAT FOR MAJOR KEY
46 gichord1 ftgen 0,0,4,-2,8.00,8.04,8.07,9.00
47 gichord2 ftgen 0,0,4,-2,8.02,8.05,8.09,9.02
48 gichord3 ftgen 0,0,4,-2,8.04,8.07,8.11,9.04
49 gichord4 ftgen 0,0,4,-2,8.00,8.05,8.09,9.00
50 gichord5 ftgen 0,0,4,-2,7.11,8.02,8.07,8.11
51 gichord6 ftgen 0,0,4,-2,8.00,8.04,8.09,9.00
52 gichord7 ftgen 0,0,4,-2,8.02,8.05,8.11,9.02
53
54 ;DEFINE CHORDS I-VII IN PCH FORMAT FOR MINOR KEY
55 gichord1m ftgen 0,0,4,-2,8.00,8.03,8.07,9.00
56 gichord2m ftgen 0,0,4,-2,8.02,8.05,8.08,9.02
57 gichord3m ftgen 0,0,4,-2,8.03,8.07,8.11,9.03
58 gichord4m ftgen 0,0,4,-2,8.05,8.08,8.00,9.05
59 gichord5m ftgen 0,0,4,-2,8.07,8.11,8.02,9.07
60 gichord6m ftgen 0,0,4,-2,8.08,8.00,8.03,9.08
61 gichord7m ftgen 0,0,4,-2,8.02,8.05,8.11,9.02
62
63 zakinit 4,10
64 gkRvbSze init 0.85 ;Reverb size
65 gkRvbSnd init 0.2 ;Reverb amount
66
67
68 ;UDOS-(USER DEFINED OPCODES)----------------------------------------------------------------------------------------------------------------------------------------------
69 opcode reverbsr, aa, aakk ;REVERB UDO (USE OF A UDO FOR REVERB IS TO ALLOW THE SETTING OF A K-RATE INDEPENDENT OF THE GLOBAL K-RATE
70 setksmps 1 ;CONTROL RATE WITHIN UDO IS 1
71 ainsigL, ainsigR, kfblvl, kfco xin ;NAME INPUT VARIABLES
72 arvbL, arvbR reverbsc ainsigL, ainsigR, kfblvl, kfco ;USE reverbsc OPCODE
73 xout arvbL, arvbR ;SEND AUDIO TO CALLER INSTRUMENT
74 endop ;END OF UDO
75 ;-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
76
77 instr 1
78 ;Boxes dimensions, square isize x isize
79 isize = 200
80
81 ;Boxes positions
82 ix1 = 50 ;I box
83 iy1 = 105
84
85 ix2 = 300 ;II box
86 iy2 = 105
87
88 ix3 = 550 ;III box
89 iy3 = 105
90
91 ix4 = 800 ;IV box
92 iy4 = 105
93
94 ix5 = 174 ;V box
95 iy5 = 386
96
97 ix6 = 424 ;VI box
98 iy6 = 386
99
100 ix7 = 674 ;VII box
101 iy7 = 386
102
103 krelx invalue "_MouseRelX"
104 krely invalue "_MouseRelY"
105
106 gkoct invalue "Octave"
107 gkkey invalue "Key"
108 gkton invalue "Ton"
109
110
111 ;AUDIO FILE CHANGE / LOAD IN TABLES ********************************************************************************************************
112
113 Sfile_new strcpy "" ;INIT TO EMPTY STRING
114 Sfile invalue "_Browse"
115 Sfile_old strcpyk Sfile_new
116 Sfile_new strcpyk Sfile
117 kfile strcmpk Sfile_new, Sfile_old
118
119 if kfile != 0 then ;IF A BANG HAD BEEN GENERATED IN THE LINE ABOVE
120 reinit NEW_FILE ;REINITIALIZE FROM LABEL 'NEW_FILE'
121 endif
122 NEW_FILE:
123 ichn filenchnls Sfile
124 if ichn == 1 then
125 giFileL ftgentmp 0, 0, 0, 1, Sfile, 0, 0, 1 ;READ MONO AUDIO FILE CHANNEL 1
126 giFileR = giFileL
127 else
128 giFileL ftgentmp 0, 0, 0, 1, Sfile, 0, 0, 1 ;READ STEREO AUDIO FILE CHANNEL 1
129 giFileR ftgentmp 0, 0, 0, 1, Sfile, 0, 0, 2 ;READ STEREO AUDIO FILE CHANNEL 2
130 endif
131 rireturn
132 ;*******************************************************************************************************************************************
133
134 ;DEFINE A MACRO FOR DETECTION OF MOUSE WITHIN EACH BOX
135 #define CHORD_BOX_DETECT(N)
136 #
137 kinside$N init 0
138 if (ix$N <= krelx && krelx <= ix$N+isize && iy$N <= krely && krely <= iy$N+isize) then
139 kinside$N = 1
140
141 kx$N = (krelx - ix$N - isize*0.5)/(isize*0.5) ;origin change and scale to -1 to +1, zero at center of the box
142 ky$N = (krely - iy$N - isize*0.5)/(isize*0.5) ;origin change and scale to -1 to +1, zero at center of the box
143
144 ;MOUSE LOCATION DEFINE A VALUE THAT WILL BE ZERO IF THE MOUSE IS ON THE circle of radius 1, AND RISE EXPONENTIALLY TO A VALUE OF 1 AT THE CENTRE OF THE BOX
145 k$N = 1 - ((((kx$N^2) + (ky$N^2))*0.5)^0.5)
146 else
147 kinside$N = 0
148 k$N = 0 ;zero amplitude
149 endif
150
151 ktrig$N changed kinside$N ;CREATE A TRIGGER (MOMENTARY '1') IF MOUSE ENTERS OR LEAVES THIS BOX
152 if ktrig$N=1 then ;IF MOUSE HAS JUST ENTERED OR LEFT THIS BOX...
153 if kinside$N=1 then ;IF MOUSE HAS JUST ENTERED THIS BOX...
154 event "i", 2, 0, 3600, $N ;PLAY A LONG NOTE INSTRUMENT $N
155 elseif kinside$N=0 then ;OR ELSE IF MOUSE HAS JUST LEFT THIS BOX
156 turnoff2 2, 0, 1 ;TURNOFF INSTRUMENT 2 ALLOWING RELEASE STAGES TO BE COMPLETED
157 endif ;END OF CONDITIONAL BRANCHING
158 endif ;END OF CONDITIONAL BRANCHING
159
160 zkw k$N^3, $N-1 ;WRITE amplitude VALUE TO ZAK VARIABLE
161 #
162
163 ;EXECUTE MACRO FOR EACH BOX...
164 $CHORD_BOX_DETECT(1)
165 $CHORD_BOX_DETECT(2)
166 $CHORD_BOX_DETECT(3)
167 $CHORD_BOX_DETECT(4)
168 $CHORD_BOX_DETECT(5)
169 $CHORD_BOX_DETECT(6)
170 $CHORD_BOX_DETECT(7)
171 endin
172
173 instr 2
174 ;ipch2 table 1, gichord1 + p4 - 1 ;PITCH OF FIRST NOTE OF CHORD
175 ;ipch3 table 2, gichord1 + p4 - 1 ;PITCH OF SECOND NOTE OF CHORD
176 ;ipch4 table 3, gichord1 + p4 - 1 ;PITCH OF THIRD NOTE OF CHORD
177
178 aenv expsegr 0.001,0.2,1,1,0.001 ;AMPLITUDE ENVELOPE
179
180 ;DEFINE MACRO OF CODE TO PRODUCE EACH NOTE OF THE CHORD
181 #define NOTE(N)
182 #
183 if i(gkton)=0 then ;IF TONALITY IS 'MAJOR'...
184 ipch$N table $N-1, gichord1 + p4 - 1 ;DEFINE PITCH (PCH FORMAT) FOR THIS NOTE (MAJOR)
185 else ;OTHERWISE TONALITY MUST BE MINOR...
186 ipch$N table $N-1, gichord1m + p4 - 1 ;DEFINE PITCH (PCH FORMAT) FOR THIS NOTE (MINOR)
187 endif ;END OF CONDITIONAL BRANCHING
188
189 imlt$N = cpspch(ipch$N + (i(gkkey)*0.01) + i(gkoct))/cpsoct(8.00) ;CONVERT PCH TO A RATIO
190 ilen = nsamp(giFileL)/sr ;DERIVE LENGTH OF THE SAMPLE
191 aL$N flooper 0.3, imlt$N, 0, ilen-2, 1, giFileL ;CREATE AUDIO SIGNAL USING FLOOPER2 OPCODE (LEFT CHANNEL)
192 aR$N flooper 0.3, imlt$N, 0, ilen-2, 1, giFileR ;CREATE AUDIO SIGNAL USING FLOOPER2 OPCODE (RIGHT CHANNEL)
193 #
194
195 ;EXECUTE MACRO FOR EACH NOTE
196 $NOTE(1)
197 $NOTE(2)
198 $NOTE(3)
199 $NOTE(4)
200
201 ;SUM (MIX) THE FOUR NOTES
202 aL sum aL1, aL2, aL3, aL4
203 aR sum aR1, aR2, aR3, aR4
204
205 kamp zkr p4 - 1 ;READ AMPLITUDE FROM ZAK VARIABLE
206 kamp port kamp, 0.05 ;APPLY PORTAMENTO (TO PREVENT QUANTISATION / ZIPPER NOISE)
207 aamp interp kamp ;INTERPOLATE TO CREATE AN AUDIO RATE VERSION OF THIS VARIABLE
208
209 kcfoct = (8*kamp)+6 ;DEFINE A FILTER CUTOFF FREQUENCY WHICH IS RELATED TO DISTANCE FROM THE CENTRE OF THE BOX
210
211 aL tone aL, cpsoct(kcfoct) ;APPLY LOW PASS FILTERING (TONE CONTROL)
212 aR tone aR, cpsoct(kcfoct) ;APPLY LOW PASS FILTERING (TONE CONTROL)
213
214 aL = aL * aenv * aamp ;SCALE AUDIO SIGNAL WITH AMPLITIUDE ENVELOPE AND
215 aR = aR * aenv * aamp
216 outs aL, aR
217 zawm aL * gkRvbSnd, 0 ;SEND SOME OF THE AUDIO TO THE REVERB VIA ZAK PATCHING (LEFT CHANNEL)
218 zawm aR * gkRvbSnd, 1 ;SEND SOME OF THE AUDIO TO THE REVERB VIA ZAK PATCHING (RIGHT CHANNEL)
219 endin
220
221 instr 1000 ;REVERB
222 ainL zar 0 ;READ IN AUDIO FROM ZAK CHANNELS
223 ainR zar 1 ;READ IN AUDIO FROM ZAK CHANNELS
224 denorm ainL, ainR ;...DENORMALIZE BOTH CHANNELS OF AUDIO SIGNAL
225
226 arvbL, arvbR reverbsr ainL, ainR, gkRvbSze, 10000 ;CREATE REVERBERATED SIGNAL (USING UDO DEFINED ABOVE)
227 outs arvbL, arvbR ;SEND AUDIO TO OUTPUTS
228 zacl 0,3 ;CLEAR ZAK AUDIO CHANNELS
229 endin
230 </CsInstruments>
231 <CsScore>
232 ;INSTR | START | DURATION
233 i 1 0 3600 ;MOUSE POSITION DETECTION, PLAYS A NOTE FOR 1 HOUR
234 i 1000 0 3600 ;REVERB
235 </CsScore>
236 </CsoundSynthesizer>
237
238 <bsbPanel>
239 <label>Widgets</label>
240 <objectName/>
241 <x>333</x>
242 <y>176</y>
243 <width>1032</width>
244 <height>586</height>
245 <visible>true</visible>
246 <uuid/>
247 <bgcolor mode="background">
248 <r>255</r>
249 <g>255</g>
250 <b>255</b>
251 </bgcolor>
252 <bsbObject version="2" type="BSBLabel">
253 <objectName/>
254 <x>3</x>
255 <y>10</y>
256 <width>189</width>
257 <height>51</height>
258 <uuid>{8696498c-ea5a-4002-80e2-b73942e10bb0}</uuid>
259 <visible>true</visible>
260 <midichan>0</midichan>
261 <midicc>0</midicc>
262 <label>Mouse Chord</label>
263 <alignment>center</alignment>
264 <font>Liberation Sans</font>
265 <fontsize>24</fontsize>
266 <precision>3</precision>
267 <color>
268 <r>0</r>
269 <g>0</g>
270 <b>0</b>
271 </color>
272 <bgcolor mode="nobackground">
273 <r>255</r>
274 <g>255</g>
275 <b>255</b>
276 </bgcolor>
277 <bordermode>noborder</bordermode>
278 <borderradius>1</borderradius>
279 <borderwidth>1</borderwidth>
280 </bsbObject>
281 <bsbObject version="2" type="BSBLabel">
282 <objectName/>
283 <x>50</x>
284 <y>105</y>
285 <width>200</width>
286 <height>200</height>
287 <uuid>{1f07ff1d-0a47-40af-9185-de05106ee1af}</uuid>
288 <visible>true</visible>
289 <midichan>0</midichan>
290 <midicc>0</midicc>
291 <label>I</label>
292 <alignment>center</alignment>
293 <font>FreeSerif</font>
294 <fontsize>70</fontsize>
295 <precision>3</precision>
296 <color>
297 <r>0</r>
298 <g>0</g>
299 <b>0</b>
300 </color>
301 <bgcolor mode="background">
302 <r>100</r>
303 <g>255</g>
304 <b>255</b>
305 </bgcolor>
306 <bordermode>noborder</bordermode>
307 <borderradius>1</borderradius>
308 <borderwidth>1</borderwidth>
309 </bsbObject>
310 <bsbObject version="2" type="BSBDropdown">
311 <objectName>Ton</objectName>
312 <x>201</x>
313 <y>15</y>
314 <width>80</width>
315 <height>30</height>
316 <uuid>{2d0597db-5154-49a3-8347-28766bf30a39}</uuid>
317 <visible>true</visible>
318 <midichan>0</midichan>
319 <midicc>0</midicc>
320 <bsbDropdownItemList>
321 <bsbDropdownItem>
322 <name>C</name>
323 <value>0</value>
324 <stringvalue/>
325 </bsbDropdownItem>
326 <bsbDropdownItem>
327 <name>C#</name>
328 <value>1</value>
329 <stringvalue/>
330 </bsbDropdownItem>
331 <bsbDropdownItem>
332 <name>D</name>
333 <value>2</value>
334 <stringvalue/>
335 </bsbDropdownItem>
336 <bsbDropdownItem>
337 <name>D#</name>
338 <value>3</value>
339 <stringvalue/>
340 </bsbDropdownItem>
341 <bsbDropdownItem>
342 <name>E</name>
343 <value>4</value>
344 <stringvalue/>
345 </bsbDropdownItem>
346 <bsbDropdownItem>
347 <name>F</name>
348 <value>5</value>
349 <stringvalue/>
350 </bsbDropdownItem>
351 <bsbDropdownItem>
352 <name>F#</name>
353 <value>6</value>
354 <stringvalue/>
355 </bsbDropdownItem>
356 <bsbDropdownItem>
357 <name>G</name>
358 <value>7</value>
359 <stringvalue/>
360 </bsbDropdownItem>
361 <bsbDropdownItem>
362 <name>G#</name>
363 <value>8</value>
364 <stringvalue/>
365 </bsbDropdownItem>
366 <bsbDropdownItem>
367 <name>A</name>
368 <value>9</value>
369 <stringvalue/>
370 </bsbDropdownItem>
371 <bsbDropdownItem>
372 <name>A#</name>
373 <value>10</value>
374 <stringvalue/>
375 </bsbDropdownItem>
376 <bsbDropdownItem>
377 <name>B</name>
378 <value>11</value>
379 <stringvalue/>
380 </bsbDropdownItem>
381 </bsbDropdownItemList>
382 <selectedIndex>0</selectedIndex>
383 <randomizable group="0">false</randomizable>
384 </bsbObject>
385 <bsbObject version="2" type="BSBDropdown">
386 <objectName>Key</objectName>
387 <x>290</x>
388 <y>15</y>
389 <width>80</width>
390 <height>30</height>
391 <uuid>{9a9862cb-63a0-4ab9-80f7-b7def897c2eb}</uuid>
392 <visible>true</visible>
393 <midichan>0</midichan>
394 <midicc>0</midicc>
395 <bsbDropdownItemList>
396 <bsbDropdownItem>
397 <name>Major</name>
398 <value>0</value>
399 <stringvalue/>
400 </bsbDropdownItem>
401 <bsbDropdownItem>
402 <name>minor</name>
403 <value>1</value>
404 <stringvalue/>
405 </bsbDropdownItem>
406 </bsbDropdownItemList>
407 <selectedIndex>0</selectedIndex>
408 <randomizable group="0">false</randomizable>
409 </bsbObject>
410 <bsbObject version="2" type="BSBSpinBox">
411 <objectName>Octave</objectName>
412 <x>438</x>
413 <y>15</y>
414 <width>52</width>
415 <height>30</height>
416 <uuid>{055c3420-76d2-4887-8639-8aab364c2a29}</uuid>
417 <visible>true</visible>
418 <midichan>0</midichan>
419 <midicc>0</midicc>
420 <alignment>center</alignment>
421 <font>Liberation Sans</font>
422 <fontsize>16</fontsize>
423 <color>
424 <r>0</r>
425 <g>0</g>
426 <b>0</b>
427 </color>
428 <bgcolor mode="nobackground">
429 <r>255</r>
430 <g>255</g>
431 <b>255</b>
432 </bgcolor>
433 <resolution>1.00000000</resolution>
434 <minimum>-2</minimum>
435 <maximum>2</maximum>
436 <randomizable group="0">false</randomizable>
437 <value>-1</value>
438 </bsbObject>
439 <bsbObject version="2" type="BSBLabel">
440 <objectName/>
441 <x>370</x>
442 <y>19</y>
443 <width>68</width>
444 <height>25</height>
445 <uuid>{7d941c8e-e8aa-4692-8a56-4c39d8d95630}</uuid>
446 <visible>true</visible>
447 <midichan>0</midichan>
448 <midicc>0</midicc>
449 <label>Octave</label>
450 <alignment>right</alignment>
451 <font>Liberation Sans</font>
452 <fontsize>10</fontsize>
453 <precision>3</precision>
454 <color>
455 <r>0</r>
456 <g>0</g>
457 <b>0</b>
458 </color>
459 <bgcolor mode="nobackground">
460 <r>255</r>
461 <g>255</g>
462 <b>255</b>
463 </bgcolor>
464 <bordermode>noborder</bordermode>
465 <borderradius>1</borderradius>
466 <borderwidth>1</borderwidth>
467 </bsbObject>
468 <bsbObject version="2" type="BSBLabel">
469 <objectName/>
470 <x>300</x>
471 <y>105</y>
472 <width>200</width>
473 <height>200</height>
474 <uuid>{34fa8ca4-1381-41a6-9c23-c3af053b7215}</uuid>
475 <visible>true</visible>
476 <midichan>0</midichan>
477 <midicc>0</midicc>
478 <label>II</label>
479 <alignment>center</alignment>
480 <font>FreeSerif</font>
481 <fontsize>70</fontsize>
482 <precision>3</precision>
483 <color>
484 <r>0</r>
485 <g>0</g>
486 <b>0</b>
487 </color>
488 <bgcolor mode="background">
489 <r>255</r>
490 <g>100</g>
491 <b>255</b>
492 </bgcolor>
493 <bordermode>noborder</bordermode>
494 <borderradius>1</borderradius>
495 <borderwidth>1</borderwidth>
496 </bsbObject>
497 <bsbObject version="2" type="BSBLabel">
498 <objectName/>
499 <x>550</x>
500 <y>105</y>
501 <width>200</width>
502 <height>200</height>
503 <uuid>{a6c7cb9e-55bc-4384-8825-4e3b3314411b}</uuid>
504 <visible>true</visible>
505 <midichan>0</midichan>
506 <midicc>0</midicc>
507 <label>III</label>
508 <alignment>center</alignment>
509 <font>FreeSerif</font>
510 <fontsize>70</fontsize>
511 <precision>3</precision>
512 <color>
513 <r>0</r>
514 <g>0</g>
515 <b>0</b>
516 </color>
517 <bgcolor mode="background">
518 <r>255</r>
519 <g>255</g>
520 <b>100</b>
521 </bgcolor>
522 <bordermode>noborder</bordermode>
523 <borderradius>1</borderradius>
524 <borderwidth>1</borderwidth>
525 </bsbObject>
526 <bsbObject version="2" type="BSBLabel">
527 <objectName/>
528 <x>800</x>
529 <y>105</y>
530 <width>200</width>
531 <height>200</height>
532 <uuid>{2a7f1479-1b80-41f4-9ddb-27a4970f9b80}</uuid>
533 <visible>true</visible>
534 <midichan>0</midichan>
535 <midicc>0</midicc>
536 <label>IV</label>
537 <alignment>center</alignment>
538 <font>FreeSerif</font>
539 <fontsize>70</fontsize>
540 <precision>3</precision>
541 <color>
542 <r>0</r>
543 <g>0</g>
544 <b>0</b>
545 </color>
546 <bgcolor mode="background">
547 <r>100</r>
548 <g>100</g>
549 <b>255</b>
550 </bgcolor>
551 <bordermode>noborder</bordermode>
552 <borderradius>1</borderradius>
553 <borderwidth>1</borderwidth>
554 </bsbObject>
555 <bsbObject version="2" type="BSBLabel">
556 <objectName/>
557 <x>174</x>
558 <y>386</y>
559 <width>200</width>
560 <height>200</height>
561 <uuid>{f33eb5f2-beb2-4ece-a6cf-b54e26c14a80}</uuid>
562 <visible>true</visible>
563 <midichan>0</midichan>
564 <midicc>0</midicc>
565 <label>V</label>
566 <alignment>center</alignment>
567 <font>FreeSerif</font>
568 <fontsize>70</fontsize>
569 <precision>3</precision>
570 <color>
571 <r>0</r>
572 <g>0</g>
573 <b>0</b>
574 </color>
575 <bgcolor mode="background">
576 <r>255</r>
577 <g>100</g>
578 <b>100</b>
579 </bgcolor>
580 <bordermode>noborder</bordermode>
581 <borderradius>1</borderradius>
582 <borderwidth>1</borderwidth>
583 </bsbObject>
584 <bsbObject version="2" type="BSBLabel">
585 <objectName/>
586 <x>424</x>
587 <y>386</y>
588 <width>200</width>
589 <height>200</height>
590 <uuid>{906fee86-a6f7-47d0-b181-28bb94de1dd1}</uuid>
591 <visible>true</visible>
592 <midichan>0</midichan>
593 <midicc>0</midicc>
594 <label>VI</label>
595 <alignment>center</alignment>
596 <font>FreeSerif</font>
597 <fontsize>70</fontsize>
598 <precision>3</precision>
599 <color>
600 <r>0</r>
601 <g>0</g>
602 <b>0</b>
603 </color>
604 <bgcolor mode="background">
605 <r>100</r>
606 <g>255</g>
607 <b>100</b>
608 </bgcolor>
609 <bordermode>noborder</bordermode>
610 <borderradius>1</borderradius>
611 <borderwidth>1</borderwidth>
612 </bsbObject>
613 <bsbObject version="2" type="BSBLabel">
614 <objectName/>
615 <x>674</x>
616 <y>386</y>
617 <width>200</width>
618 <height>200</height>
619 <uuid>{6d570073-35b4-46f9-8b74-fb055707e525}</uuid>
620 <visible>true</visible>
621 <midichan>0</midichan>
622 <midicc>0</midicc>
623 <label>VII</label>
624 <alignment>center</alignment>
625 <font>FreeSerif</font>
626 <fontsize>70</fontsize>
627 <precision>3</precision>
628 <color>
629 <r>0</r>
630 <g>0</g>
631 <b>0</b>
632 </color>
633 <bgcolor mode="background">
634 <r>0</r>
635 <g>100</g>
636 <b>255</b>
637 </bgcolor>
638 <bordermode>noborder</bordermode>
639 <borderradius>1</borderradius>
640 <borderwidth>1</borderwidth>
641 </bsbObject>
642 <bsbObject version="2" type="BSBButton">
643 <objectName>_Browse</objectName>
644 <x>530</x>
645 <y>15</y>
646 <width>170</width>
647 <height>30</height>
648 <uuid>{b9431a61-61f7-432b-bf6f-c47ddc7f9050}</uuid>
649 <visible>true</visible>
650 <midichan>0</midichan>
651 <midicc>0</midicc>
652 <type>value</type>
653 <pressedValue>1.00000000</pressedValue>
654 <stringvalue>choir.wav</stringvalue>
655 <text>Browse Audio File</text>
656 <image>/</image>
657 <eventLine/>
658 <latch>false</latch>
659 <latched>false</latched>
660 </bsbObject>
661 <bsbObject version="2" type="BSBLineEdit">
662 <objectName>_Browse</objectName>
663 <x>702</x>
664 <y>16</y>
665 <width>300</width>
666 <height>28</height>
667 <uuid>{68b5f90b-b78e-4581-b434-232db5f4c40f}</uuid>
668 <visible>true</visible>
669 <midichan>0</midichan>
670 <midicc>0</midicc>
671 <label>choir.wav</label>
672 <alignment>left</alignment>
673 <font>Liberation Sans</font>
674 <fontsize>10</fontsize>
675 <precision>3</precision>
676 <color>
677 <r>0</r>
678 <g>0</g>
679 <b>0</b>
680 </color>
681 <bgcolor mode="nobackground">
682 <r>229</r>
683 <g>229</g>
684 <b>229</b>
685 </bgcolor>
686 <background>nobackground</background>
687 </bsbObject>
688 </bsbPanel>
689 <bsbPresets>
690 </bsbPresets>
691 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel>