Debian Codegraph @

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

raw
1 ;PIANO PHASE BY STEVE REICH
2 ;CSOUND IMPLEMENTATION BY IAIN MCCURDY, 2010
3
4 ;Modified for QuteCsound by René, February 2011
5 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
6
7 ;This instrument needs the analysis files PPhase1.pvx and PPhase2.pvx to be in SADIR (Menu Configure/Environment)
8
9
10 ;Notes on modifications from original csd:
11 ; Removed Tempo_2 change -> Tempo_1 update when LinkTempi is activated (values instabilities)
12
13
14 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
15 <CsoundSynthesizer>
16 <CsOptions>
17
18 </CsOptions>
19 <CsInstruments>
20 sr = 44100 ;SAMPLE RATE
21 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
22 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
23
24
25 instr 10 ;GUI
26 ktrig metro 10
27 if (ktrig == 1) then
28 ;SWITCHES
29 gkAutoPhase1 invalue "AutoPhase_1"
30 gkAutoPhase2 invalue "AutoPhase_2"
31 gkLinkTempi invalue "LinkTempi"
32
33 ;SLIDERS
34 gkphs1 invalue "Phase_1"
35 gkphs2 invalue "Phase_2"
36 gkamp1 invalue "Gain_1"
37 gkamp2 invalue "Gain_2"
38 gkbal1 invalue "Balance_1"
39 gkbal2 invalue "Balance_2"
40 gkrate1 invalue "Rate_1"
41 gkrate2 invalue "Rate_2"
42
43 ;COUNTERS
44 gktrans1 invalue "Transpose_1"
45 gktrans2 invalue "Transpose_2"
46 gkfine1 invalue "FineTune_1"
47 gkfine2 invalue "FineTune_2"
48 gktempo1 invalue "Tempo_1"
49 gktempo2 invalue "Tempo_2"
50 endif
51 endin
52
53 instr 1
54 if gkLinkTempi==1 then ;IF 'LINK TEMPI' IS ACTIVE...
55 ktrig1 changed gktempo1 ;IF TEMPO 1 IS CHANGED ktrig1 IS A MOMENTARY '1'
56 if ktrig1 == 1 then
57 outvalue "Tempo_2", gktempo1 ;UPDATE TEMPO 2 WITH THE VALUE OF TEMPO 1 IF TEMPO 1 HAS BEEN CHANGED
58 endif
59 endif
60
61 kporttime linseg 0,.01,.01,1, .01 ;RAMPING UP VALUE THAT WILL BE USED FOR PORTAMENTO TIME
62
63 ilen = 1.636 ;LENGTH OF LOOP
64
65 ;LOOP 1===================================================================================================================================
66 kPBratio1 = gktempo1/120 ;PLAYBACK SPEED RATIO
67 if gkAutoPhase1==0 then ;IF 'AUTO PHASE' IS NOT ACTIVE...
68 kphs1 portk gkphs1/12, kporttime ;PHASE WILL BE SLIDER PHASE VALUE (WITH PORTAMENTO SMOOTHING)
69 elseif gkAutoPhase1==1 then ;IF 'AUTO PHASE' IS ACTIVE...
70 kphs1 phasor gkrate1 ;PHASE WILL BE DERIVE FROM A MOVING PHASE VALUE GENERATOR
71 kupdate1 metro 10 ;RATE OF SLIDER UPDATE (USED FOR VISUAL FEEDBACK ONLY)
72 if kupdate1 == 1 then
73 outvalue "Phase_1", kphs1*12 ;UPDATE ON-SCREEN SLIDER
74 endif
75 endif ;END OF CONDITIONAL BRANCHING
76
77 aptr1 osciliktp kPBratio1/ilen, 1, kphs1 ;CREATE POINTER FOR READING FFT ANALYSIS FILE
78 kptr1 downsamp aptr1 ;DOWN-SAMPLE TO K-RATE
79 fsig1L pvsfread kptr1*ilen, "PPhase1.pvx", 0 ;READ FFT ANALYSIS FILE
80 fsig1L2 pvscale fsig1L, cpsoct(8+(gktrans1/12)+(gkfine1/1200))/cpsoct(8) ;RESCALE PITCH
81 asig1L pvsynth fsig1L2 ;RESYNTHESIZE TO AN AUDIO SIGNAL
82 fsig1R pvsfread kptr1*ilen, "PPhase1.pvx", 1 ;READ FFT ANALYSIS FILE
83 fsig1R2 pvscale fsig1R, cpsoct(8+(gktrans1/12)+(gkfine1/1200))/cpsoct(8) ;RESCALE PITCH
84 asig1R pvsynth fsig1R2 ;RESYNTHESIZE TO AN AUDIO SIGNAL
85 ;=========================================================================================================================================
86
87 ;LOOP 2===================================================================================================================================
88 kPBratio2 = gktempo2/120 ;PLAYBACK SPEED RATIO
89 if gkAutoPhase2==0 then ;IF 'AUTO PHASE' IS NOT ACTIVE...
90 kphs2 portk gkphs2/12, kporttime ;PHASE WILL BE SLIDER PHASE VALUE (WITH PORTAMENTO SMOOTHING)
91 elseif gkAutoPhase2==1 then ;IF 'AUTO PHASE' IS ACTIVE...
92 kphs2 phasor gkrate2 ;PHASE WILL BE DERIVE FROM A MOVING PHASE VALUE GENERATOR
93 kupdate2 metro 10 ;RATE OF SLIDER UPDATE (USED FOR VISUAL FEEDBACK ONLY)
94 if kupdate2 == 1 then
95 outvalue "Phase_2", kphs2*12 ;UPDATE ON-SCREEN SLIDER
96 endif
97 endif ;END OF CONDITIONAL BRANCHING
98
99 aptr2 osciliktp kPBratio2/ilen, 1, kphs2 ;CREATE POINTER FOR READING FFT ANALYSIS FILE
100 kptr2 downsamp aptr2 ;DOWN-SAMPLE TO K-RATE
101 fsig2L pvsfread kptr2*ilen, "PPhase2.pvx", 0 ;READ FFT ANALYSIS FILE
102 fsig2L2 pvscale fsig2L, cpsoct(8+(gktrans2/12)+(gkfine2/1200))/cpsoct(8) ;RESCALE PITCH
103 asig2L pvsynth fsig2L2 ;RESYNTHESIZE TO AN AUDIO SIGNAL
104 fsig2R pvsfread kptr2*ilen, "PPhase2.pvx", 1 ;READ FFT ANALYSIS FILE
105 fsig2R2 pvscale fsig2R, cpsoct(8+(gktrans2/12)+(gkfine2/1200))/cpsoct(8) ;RESCALE PITCH
106 asig2R pvsynth fsig2R2 ;RESYNTHESIZE TO AN AUDIO SIGNAL
107 ;=========================================================================================================================================
108
109 kamp1 lineto gkamp1, 0.05 ;SMOOTH VARIABLE FROM SLIDER
110 kamp2 lineto gkamp2, 0.05 ;SMOOTH VARIABLE FROM SLIDER
111 kbal1 lineto gkbal1, 0.05 ;SMOOTH VARIABLE FROM SLIDER
112 kbal2 lineto gkbal2, 0.05 ;SMOOTH VARIABLE FROM SLIDER
113
114 gamixL sum asig1L*kamp1*(1-kbal1), asig2L*kamp2*(1-kbal2) ;CREATE LEFT CHANNEL MIX
115 gamixR sum asig1R*kamp1*kbal1, asig2L*kamp2*kbal2 ;CREATE RIGHT CHANNEL MIX
116 endin
117
118 instr 2 ;REVERB
119 gkRoomSize = .85
120 gkHFDamp = .5
121 gkmix = .5
122 denorm gamixL, gamixR ;DENORMALIZE BOTH CHANNELS OF AUDIO SIGNAL
123 arvbL, arvbR freeverb gamixL, gamixR, gkRoomSize, gkHFDamp , sr
124 amixL ntrpol gamixL, arvbL, gkmix ;CREATE A DRY/WET MIX BETWEEN THE DRY AND THE REVERBERATED SIGNAL
125 amixR ntrpol gamixR, arvbR, gkmix ;CREATE A DRY/WET MIX BETWEEN THE DRY AND THE REVERBERATED SIGNAL
126 outs amixL, amixR
127 clear gamixL, gamixR
128 endin
129 </CsInstruments>
130 <CsScore>
131 f 1 0 1048576 7 0 1048576 1 ;A SINGLE CYCLE OF A RISING SAWTOOTH
132
133 i 10 0 3600 ;GUI
134 i 2 0 3600 ;REVERB INSTRUMENT PLAYS A NOTE FOR 1 HOUR
135 </CsScore>
136 </CsoundSynthesizer>
137 <bsbPanel>
138 <label>Widgets</label>
139 <objectName/>
140 <x>452</x>
141 <y>305</y>
142 <width>1108</width>
143 <height>629</height>
144 <visible>true</visible>
145 <uuid/>
146 <bgcolor mode="background">
147 <r>241</r>
148 <g>226</g>
149 <b>185</b>
150 </bgcolor>
151 <bsbObject version="2" type="BSBLabel">
152 <objectName/>
153 <x>3</x>
154 <y>1</y>
155 <width>1100</width>
156 <height>626</height>
157 <uuid>{049f4dd4-ff71-4d6d-9157-43c84efad8a4}</uuid>
158 <visible>true</visible>
159 <midichan>0</midichan>
160 <midicc>0</midicc>
161 <label>Piano Phase</label>
162 <alignment>center</alignment>
163 <font>Liberation Sans</font>
164 <fontsize>18</fontsize>
165 <precision>3</precision>
166 <color>
167 <r>255</r>
168 <g>255</g>
169 <b>255</b>
170 </color>
171 <bgcolor mode="background">
172 <r>5</r>
173 <g>27</g>
174 <b>150</b>
175 </bgcolor>
176 <bordermode>border</bordermode>
177 <borderradius>5</borderradius>
178 <borderwidth>2</borderwidth>
179 </bsbObject>
180 <bsbObject version="2" type="BSBLabel">
181 <objectName/>
182 <x>473</x>
183 <y>77</y>
184 <width>200</width>
185 <height>30</height>
186 <uuid>{78a7e9cd-fb57-421c-8e1f-40b60a90dfc0}</uuid>
187 <visible>true</visible>
188 <midichan>0</midichan>
189 <midicc>0</midicc>
190 <label>Phase 1 Offset (semiquavers)</label>
191 <alignment>left</alignment>
192 <font>Liberation Sans</font>
193 <fontsize>10</fontsize>
194 <precision>3</precision>
195 <color>
196 <r>255</r>
197 <g>255</g>
198 <b>255</b>
199 </color>
200 <bgcolor mode="nobackground">
201 <r>255</r>
202 <g>255</g>
203 <b>255</b>
204 </bgcolor>
205 <bordermode>noborder</bordermode>
206 <borderradius>1</borderradius>
207 <borderwidth>1</borderwidth>
208 </bsbObject>
209 <bsbObject version="2" type="BSBHSlider">
210 <objectName>Phase_1</objectName>
211 <x>8</x>
212 <y>50</y>
213 <width>1088</width>
214 <height>27</height>
215 <uuid>{4b5d3fba-55d0-43d1-a94a-457bc9144a31}</uuid>
216 <visible>true</visible>
217 <midichan>0</midichan>
218 <midicc>0</midicc>
219 <minimum>0.00000000</minimum>
220 <maximum>12.00000000</maximum>
221 <value>0.00000000</value>
222 <mode>lin</mode>
223 <mouseControl act="jump">continuous</mouseControl>
224 <resolution>-1.00000000</resolution>
225 <randomizable group="0">false</randomizable>
226 </bsbObject>
227 <bsbObject version="2" type="BSBDisplay">
228 <objectName>Phase_1</objectName>
229 <x>1036</x>
230 <y>77</y>
231 <width>60</width>
232 <height>30</height>
233 <uuid>{58265963-6245-459e-8071-9ed8bba850a4}</uuid>
234 <visible>true</visible>
235 <midichan>0</midichan>
236 <midicc>0</midicc>
237 <label>0.000</label>
238 <alignment>right</alignment>
239 <font>Liberation Sans</font>
240 <fontsize>9</fontsize>
241 <precision>3</precision>
242 <color>
243 <r>255</r>
244 <g>255</g>
245 <b>255</b>
246 </color>
247 <bgcolor mode="nobackground">
248 <r>255</r>
249 <g>255</g>
250 <b>255</b>
251 </bgcolor>
252 <bordermode>noborder</bordermode>
253 <borderradius>1</borderradius>
254 <borderwidth>1</borderwidth>
255 </bsbObject>
256 <bsbObject version="2" type="BSBLabel">
257 <objectName/>
258 <x>8</x>
259 <y>427</y>
260 <width>1090</width>
261 <height>196</height>
262 <uuid>{b8d89d7e-4717-4d91-a985-e6d317480e39}</uuid>
263 <visible>true</visible>
264 <midichan>0</midichan>
265 <midicc>0</midicc>
266 <label>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
267 This example is an implementation of the piece 'Piano Phase' by the composer Steve Reich in which two pianos loop the same 1 bar motif but with one of the pianists occasionionally increasing his own tempo with respect to that of the other pianist so that his pattern 'overtakes' that of the other pianist to create a new phase relationship. This Csound implementation uses FFT resynthesis of an analysis of a recording of the pattern in order to allow the user to freely warp tempo and phase without inducing pitch warping. The two voices feature source recordings of the pattern played on two different pianos in order to prevent artificiality when both pianos are exactly in phase with one another. Firstly the user should explore different phase relationships by dragging the Phase Offset slider of one of the pianos to different locations. Phase offset values are given in semiquavers from 0 - 12 in order to reflect the 12 semiquaver motif from which the piece derives. It will be noticed that when both phase offset values are a whole number apart a rhythmic coherence results. Phase offset for each voice can be automated by activating 'Auto Phase' and setting the 'Rate' slider. A constantly shifting phase relationship between the two voices can also be achieved by slightly offsetting the tempo of one of the voices with respect to the other. The two tempi can also by synchronized (Tempo 1 change -> Tempo 2 update) by activating the 'Link Tempi' button.
268 The relationships between the two voices can be further explored through the individual 'Gain', 'Balance', 'Transpose' and 'Fine Tune' controls for each voice.</label>
269 <alignment>left</alignment>
270 <font>Liberation Sans</font>
271 <fontsize>14</fontsize>
272 <precision>3</precision>
273 <color>
274 <r>255</r>
275 <g>255</g>
276 <b>255</b>
277 </color>
278 <bgcolor mode="nobackground">
279 <r>255</r>
280 <g>255</g>
281 <b>255</b>
282 </bgcolor>
283 <bordermode>noborder</bordermode>
284 <borderradius>1</borderradius>
285 <borderwidth>1</borderwidth>
286 </bsbObject>
287 <bsbObject version="2" type="BSBLabel">
288 <objectName/>
289 <x>473</x>
290 <y>134</y>
291 <width>200</width>
292 <height>30</height>
293 <uuid>{b6dfb592-27a7-42e1-9af4-3b176bae36e7}</uuid>
294 <visible>true</visible>
295 <midichan>0</midichan>
296 <midicc>0</midicc>
297 <label>Phase 2 Offset (semiquavers)</label>
298 <alignment>left</alignment>
299 <font>Liberation Sans</font>
300 <fontsize>10</fontsize>
301 <precision>3</precision>
302 <color>
303 <r>255</r>
304 <g>255</g>
305 <b>255</b>
306 </color>
307 <bgcolor mode="nobackground">
308 <r>255</r>
309 <g>255</g>
310 <b>255</b>
311 </bgcolor>
312 <bordermode>noborder</bordermode>
313 <borderradius>1</borderradius>
314 <borderwidth>1</borderwidth>
315 </bsbObject>
316 <bsbObject version="2" type="BSBHSlider">
317 <objectName>Phase_2</objectName>
318 <x>8</x>
319 <y>107</y>
320 <width>1088</width>
321 <height>27</height>
322 <uuid>{72b19d18-2c57-4e3f-bfd8-4a2c7ed34074}</uuid>
323 <visible>true</visible>
324 <midichan>0</midichan>
325 <midicc>0</midicc>
326 <minimum>0.00000000</minimum>
327 <maximum>12.00000000</maximum>
328 <value>0.00000000</value>
329 <mode>lin</mode>
330 <mouseControl act="jump">continuous</mouseControl>
331 <resolution>-1.00000000</resolution>
332 <randomizable group="0">false</randomizable>
333 </bsbObject>
334 <bsbObject version="2" type="BSBDisplay">
335 <objectName>Phase_2</objectName>
336 <x>1036</x>
337 <y>134</y>
338 <width>60</width>
339 <height>30</height>
340 <uuid>{533fea5d-cade-47f9-8a4e-828776aca488}</uuid>
341 <visible>true</visible>
342 <midichan>0</midichan>
343 <midicc>0</midicc>
344 <label>0.000</label>
345 <alignment>right</alignment>
346 <font>Liberation Sans</font>
347 <fontsize>9</fontsize>
348 <precision>3</precision>
349 <color>
350 <r>255</r>
351 <g>255</g>
352 <b>255</b>
353 </color>
354 <bgcolor mode="nobackground">
355 <r>255</r>
356 <g>255</g>
357 <b>255</b>
358 </bgcolor>
359 <bordermode>noborder</bordermode>
360 <borderradius>1</borderradius>
361 <borderwidth>1</borderwidth>
362 </bsbObject>
363 <bsbObject version="2" type="BSBLabel">
364 <objectName/>
365 <x>8</x>
366 <y>190</y>
367 <width>200</width>
368 <height>30</height>
369 <uuid>{73bae69e-5fa1-49fc-88d3-4975c6e34e87}</uuid>
370 <visible>true</visible>
371 <midichan>0</midichan>
372 <midicc>0</midicc>
373 <label>Piano 1 Gain</label>
374 <alignment>left</alignment>
375 <font>Liberation Sans</font>
376 <fontsize>10</fontsize>
377 <precision>3</precision>
378 <color>
379 <r>255</r>
380 <g>255</g>
381 <b>255</b>
382 </color>
383 <bgcolor mode="nobackground">
384 <r>255</r>
385 <g>255</g>
386 <b>255</b>
387 </bgcolor>
388 <bordermode>noborder</bordermode>
389 <borderradius>1</borderradius>
390 <borderwidth>1</borderwidth>
391 </bsbObject>
392 <bsbObject version="2" type="BSBHSlider">
393 <objectName>Gain_1</objectName>
394 <x>8</x>
395 <y>163</y>
396 <width>540</width>
397 <height>27</height>
398 <uuid>{cb7dced8-50c6-4a15-86f3-e3dda415ffce}</uuid>
399 <visible>true</visible>
400 <midichan>0</midichan>
401 <midicc>0</midicc>
402 <minimum>0.00000000</minimum>
403 <maximum>1.00000000</maximum>
404 <value>1.00000000</value>
405 <mode>lin</mode>
406 <mouseControl act="jump">continuous</mouseControl>
407 <resolution>-1.00000000</resolution>
408 <randomizable group="0">false</randomizable>
409 </bsbObject>
410 <bsbObject version="2" type="BSBDisplay">
411 <objectName>Gain_2</objectName>
412 <x>1036</x>
413 <y>190</y>
414 <width>60</width>
415 <height>30</height>
416 <uuid>{2ddeefc8-0a30-4a26-9029-aec505e4773a}</uuid>
417 <visible>true</visible>
418 <midichan>0</midichan>
419 <midicc>0</midicc>
420 <label>1.000</label>
421 <alignment>right</alignment>
422 <font>Liberation Sans</font>
423 <fontsize>9</fontsize>
424 <precision>3</precision>
425 <color>
426 <r>255</r>
427 <g>255</g>
428 <b>255</b>
429 </color>
430 <bgcolor mode="nobackground">
431 <r>255</r>
432 <g>255</g>
433 <b>255</b>
434 </bgcolor>
435 <bordermode>noborder</bordermode>
436 <borderradius>1</borderradius>
437 <borderwidth>1</borderwidth>
438 </bsbObject>
439 <bsbObject version="2" type="BSBHSlider">
440 <objectName>Gain_2</objectName>
441 <x>556</x>
442 <y>163</y>
443 <width>540</width>
444 <height>27</height>
445 <uuid>{ca3f85ec-e185-47e2-b501-e14c9dfe9e20}</uuid>
446 <visible>true</visible>
447 <midichan>0</midichan>
448 <midicc>0</midicc>
449 <minimum>0.00000000</minimum>
450 <maximum>1.00000000</maximum>
451 <value>1.00000000</value>
452 <mode>lin</mode>
453 <mouseControl act="jump">continuous</mouseControl>
454 <resolution>-1.00000000</resolution>
455 <randomizable group="0">false</randomizable>
456 </bsbObject>
457 <bsbObject version="2" type="BSBDisplay">
458 <objectName>Gain_1</objectName>
459 <x>488</x>
460 <y>190</y>
461 <width>60</width>
462 <height>30</height>
463 <uuid>{2bbbd97f-4a2a-4d33-80fe-efafe2fe3c54}</uuid>
464 <visible>true</visible>
465 <midichan>0</midichan>
466 <midicc>0</midicc>
467 <label>1.000</label>
468 <alignment>right</alignment>
469 <font>Liberation Sans</font>
470 <fontsize>9</fontsize>
471 <precision>3</precision>
472 <color>
473 <r>255</r>
474 <g>255</g>
475 <b>255</b>
476 </color>
477 <bgcolor mode="nobackground">
478 <r>255</r>
479 <g>255</g>
480 <b>255</b>
481 </bgcolor>
482 <bordermode>noborder</bordermode>
483 <borderradius>1</borderradius>
484 <borderwidth>1</borderwidth>
485 </bsbObject>
486 <bsbObject version="2" type="BSBLabel">
487 <objectName/>
488 <x>556</x>
489 <y>190</y>
490 <width>200</width>
491 <height>30</height>
492 <uuid>{39db2a80-9944-4fe1-bfa2-094709881da4}</uuid>
493 <visible>true</visible>
494 <midichan>0</midichan>
495 <midicc>0</midicc>
496 <label>Piano 2 Gain</label>
497 <alignment>left</alignment>
498 <font>Liberation Sans</font>
499 <fontsize>10</fontsize>
500 <precision>3</precision>
501 <color>
502 <r>255</r>
503 <g>255</g>
504 <b>255</b>
505 </color>
506 <bgcolor mode="nobackground">
507 <r>255</r>
508 <g>255</g>
509 <b>255</b>
510 </bgcolor>
511 <bordermode>noborder</bordermode>
512 <borderradius>1</borderradius>
513 <borderwidth>1</borderwidth>
514 </bsbObject>
515 <bsbObject version="2" type="BSBLabel">
516 <objectName/>
517 <x>8</x>
518 <y>246</y>
519 <width>200</width>
520 <height>30</height>
521 <uuid>{37cfc0aa-3db8-41bb-bf6d-978607470f5b}</uuid>
522 <visible>true</visible>
523 <midichan>0</midichan>
524 <midicc>0</midicc>
525 <label>Piano 1 Balance</label>
526 <alignment>left</alignment>
527 <font>Liberation Sans</font>
528 <fontsize>10</fontsize>
529 <precision>3</precision>
530 <color>
531 <r>255</r>
532 <g>255</g>
533 <b>255</b>
534 </color>
535 <bgcolor mode="nobackground">
536 <r>255</r>
537 <g>255</g>
538 <b>255</b>
539 </bgcolor>
540 <bordermode>noborder</bordermode>
541 <borderradius>1</borderradius>
542 <borderwidth>1</borderwidth>
543 </bsbObject>
544 <bsbObject version="2" type="BSBHSlider">
545 <objectName>Balance_1</objectName>
546 <x>8</x>
547 <y>219</y>
548 <width>540</width>
549 <height>27</height>
550 <uuid>{44e6e37c-982c-4080-8cee-cd7e90d6e33f}</uuid>
551 <visible>true</visible>
552 <midichan>0</midichan>
553 <midicc>0</midicc>
554 <minimum>0.00000000</minimum>
555 <maximum>1.00000000</maximum>
556 <value>0.50000000</value>
557 <mode>lin</mode>
558 <mouseControl act="jump">continuous</mouseControl>
559 <resolution>-1.00000000</resolution>
560 <randomizable group="0">false</randomizable>
561 </bsbObject>
562 <bsbObject version="2" type="BSBDisplay">
563 <objectName>Balance_2</objectName>
564 <x>1036</x>
565 <y>246</y>
566 <width>60</width>
567 <height>30</height>
568 <uuid>{dc88ce32-0f03-4615-b59c-1cdc1be37f95}</uuid>
569 <visible>true</visible>
570 <midichan>0</midichan>
571 <midicc>0</midicc>
572 <label>0.500</label>
573 <alignment>right</alignment>
574 <font>Liberation Sans</font>
575 <fontsize>9</fontsize>
576 <precision>3</precision>
577 <color>
578 <r>255</r>
579 <g>255</g>
580 <b>255</b>
581 </color>
582 <bgcolor mode="nobackground">
583 <r>255</r>
584 <g>255</g>
585 <b>255</b>
586 </bgcolor>
587 <bordermode>noborder</bordermode>
588 <borderradius>1</borderradius>
589 <borderwidth>1</borderwidth>
590 </bsbObject>
591 <bsbObject version="2" type="BSBHSlider">
592 <objectName>Balance_2</objectName>
593 <x>556</x>
594 <y>219</y>
595 <width>540</width>
596 <height>27</height>
597 <uuid>{55e8cbc9-fe63-484e-8600-be66da068b1a}</uuid>
598 <visible>true</visible>
599 <midichan>0</midichan>
600 <midicc>0</midicc>
601 <minimum>0.00000000</minimum>
602 <maximum>1.00000000</maximum>
603 <value>0.50000000</value>
604 <mode>lin</mode>
605 <mouseControl act="jump">continuous</mouseControl>
606 <resolution>-1.00000000</resolution>
607 <randomizable group="0">false</randomizable>
608 </bsbObject>
609 <bsbObject version="2" type="BSBDisplay">
610 <objectName>Balance_1</objectName>
611 <x>488</x>
612 <y>246</y>
613 <width>60</width>
614 <height>30</height>
615 <uuid>{e4651afe-d031-48e7-8ba6-f782c5edff09}</uuid>
616 <visible>true</visible>
617 <midichan>0</midichan>
618 <midicc>0</midicc>
619 <label>0.500</label>
620 <alignment>right</alignment>
621 <font>Liberation Sans</font>
622 <fontsize>9</fontsize>
623 <precision>3</precision>
624 <color>
625 <r>255</r>
626 <g>255</g>
627 <b>255</b>
628 </color>
629 <bgcolor mode="nobackground">
630 <r>255</r>
631 <g>255</g>
632 <b>255</b>
633 </bgcolor>
634 <bordermode>noborder</bordermode>
635 <borderradius>1</borderradius>
636 <borderwidth>1</borderwidth>
637 </bsbObject>
638 <bsbObject version="2" type="BSBLabel">
639 <objectName/>
640 <x>556</x>
641 <y>246</y>
642 <width>200</width>
643 <height>30</height>
644 <uuid>{9757024e-e812-45bb-920b-3a318f398c9a}</uuid>
645 <visible>true</visible>
646 <midichan>0</midichan>
647 <midicc>0</midicc>
648 <label>Piano 2 Balance</label>
649 <alignment>left</alignment>
650 <font>Liberation Sans</font>
651 <fontsize>10</fontsize>
652 <precision>3</precision>
653 <color>
654 <r>255</r>
655 <g>255</g>
656 <b>255</b>
657 </color>
658 <bgcolor mode="nobackground">
659 <r>255</r>
660 <g>255</g>
661 <b>255</b>
662 </bgcolor>
663 <bordermode>noborder</bordermode>
664 <borderradius>1</borderradius>
665 <borderwidth>1</borderwidth>
666 </bsbObject>
667 <bsbObject version="2" type="BSBButton">
668 <objectName/>
669 <x>11</x>
670 <y>12</y>
671 <width>100</width>
672 <height>30</height>
673 <uuid>{bd6ab62e-6167-4972-b90f-c379535b493a}</uuid>
674 <visible>true</visible>
675 <midichan>0</midichan>
676 <midicc>0</midicc>
677 <type>event</type>
678 <pressedValue>1.00000000</pressedValue>
679 <stringvalue/>
680 <text> On / Off </text>
681 <image>/</image>
682 <eventLine>i 1 0 -1</eventLine>
683 <latch>true</latch>
684 <latched>false</latched>
685 </bsbObject>
686 <bsbObject version="2" type="BSBButton">
687 <objectName>LinkTempi</objectName>
688 <x>493</x>
689 <y>290</y>
690 <width>122</width>
691 <height>30</height>
692 <uuid>{8afdf365-ad6e-45c6-af14-d24e156091d8}</uuid>
693 <visible>true</visible>
694 <midichan>0</midichan>
695 <midicc>0</midicc>
696 <type>value</type>
697 <pressedValue>1.00000000</pressedValue>
698 <stringvalue/>
699 <text> Link Tempi </text>
700 <image>/</image>
701 <eventLine/>
702 <latch>true</latch>
703 <latched>false</latched>
704 </bsbObject>
705 <bsbObject version="2" type="BSBButton">
706 <objectName>AutoPhase_1</objectName>
707 <x>434</x>
708 <y>360</y>
709 <width>110</width>
710 <height>30</height>
711 <uuid>{25aa1158-5e4d-4f5a-b045-19c122049a1f}</uuid>
712 <visible>true</visible>
713 <midichan>0</midichan>
714 <midicc>0</midicc>
715 <type>value</type>
716 <pressedValue>1.00000000</pressedValue>
717 <stringvalue/>
718 <text> Auto Phase 1</text>
719 <image>/</image>
720 <eventLine/>
721 <latch>true</latch>
722 <latched>false</latched>
723 </bsbObject>
724 <bsbObject version="2" type="BSBButton">
725 <objectName>AutoPhase_2</objectName>
726 <x>560</x>
727 <y>360</y>
728 <width>110</width>
729 <height>30</height>
730 <uuid>{3ee6d5a4-4fc8-45fc-a8a6-ef92516f0b18}</uuid>
731 <visible>true</visible>
732 <midichan>0</midichan>
733 <midicc>0</midicc>
734 <type>value</type>
735 <pressedValue>1.00000000</pressedValue>
736 <stringvalue/>
737 <text> Auto Phase 2</text>
738 <image>/</image>
739 <eventLine/>
740 <latch>true</latch>
741 <latched>false</latched>
742 </bsbObject>
743 <bsbObject version="2" type="BSBSpinBox">
744 <objectName>Tempo_1</objectName>
745 <x>111</x>
746 <y>290</y>
747 <width>60</width>
748 <height>30</height>
749 <uuid>{1580e5a2-d678-4b8d-8655-0678da288164}</uuid>
750 <visible>true</visible>
751 <midichan>0</midichan>
752 <midicc>0</midicc>
753 <alignment>left</alignment>
754 <font>Liberation Sans</font>
755 <fontsize>16</fontsize>
756 <color>
757 <r>0</r>
758 <g>0</g>
759 <b>0</b>
760 </color>
761 <bgcolor mode="nobackground">
762 <r>255</r>
763 <g>255</g>
764 <b>255</b>
765 </bgcolor>
766 <resolution>1.00000000</resolution>
767 <minimum>0</minimum>
768 <maximum>999</maximum>
769 <randomizable group="0">false</randomizable>
770 <value>120</value>
771 </bsbObject>
772 <bsbObject version="2" type="BSBLabel">
773 <objectName/>
774 <x>28</x>
775 <y>293</y>
776 <width>83</width>
777 <height>42</height>
778 <uuid>{784ac20d-28a3-48ad-9932-ddd8de0b0845}</uuid>
779 <visible>true</visible>
780 <midichan>0</midichan>
781 <midicc>0</midicc>
782 <label>Tempo 1</label>
783 <alignment>right</alignment>
784 <font>Liberation Sans</font>
785 <fontsize>10</fontsize>
786 <precision>3</precision>
787 <color>
788 <r>255</r>
789 <g>255</g>
790 <b>255</b>
791 </color>
792 <bgcolor mode="nobackground">
793 <r>255</r>
794 <g>255</g>
795 <b>255</b>
796 </bgcolor>
797 <bordermode>noborder</bordermode>
798 <borderradius>1</borderradius>
799 <borderwidth>1</borderwidth>
800 </bsbObject>
801 <bsbObject version="2" type="BSBSpinBox">
802 <objectName>Transpose_1</objectName>
803 <x>261</x>
804 <y>290</y>
805 <width>60</width>
806 <height>30</height>
807 <uuid>{6748d041-177f-40e1-bce1-6699c02687bb}</uuid>
808 <visible>true</visible>
809 <midichan>0</midichan>
810 <midicc>0</midicc>
811 <alignment>left</alignment>
812 <font>Liberation Sans</font>
813 <fontsize>16</fontsize>
814 <color>
815 <r>0</r>
816 <g>0</g>
817 <b>0</b>
818 </color>
819 <bgcolor mode="nobackground">
820 <r>255</r>
821 <g>255</g>
822 <b>255</b>
823 </bgcolor>
824 <resolution>1.00000000</resolution>
825 <minimum>-24</minimum>
826 <maximum>24</maximum>
827 <randomizable group="0">false</randomizable>
828 <value>0</value>
829 </bsbObject>
830 <bsbObject version="2" type="BSBLabel">
831 <objectName/>
832 <x>176</x>
833 <y>287</y>
834 <width>83</width>
835 <height>42</height>
836 <uuid>{f5e150fb-0af1-461b-bdec-207e7423e162}</uuid>
837 <visible>true</visible>
838 <midichan>0</midichan>
839 <midicc>0</midicc>
840 <label>Transpose 1
841 (Semitones)</label>
842 <alignment>right</alignment>
843 <font>Liberation Sans</font>
844 <fontsize>10</fontsize>
845 <precision>3</precision>
846 <color>
847 <r>255</r>
848 <g>255</g>
849 <b>255</b>
850 </color>
851 <bgcolor mode="nobackground">
852 <r>255</r>
853 <g>255</g>
854 <b>255</b>
855 </bgcolor>
856 <bordermode>noborder</bordermode>
857 <borderradius>1</borderradius>
858 <borderwidth>1</borderwidth>
859 </bsbObject>
860 <bsbObject version="2" type="BSBSpinBox">
861 <objectName>FineTune_1</objectName>
862 <x>411</x>
863 <y>290</y>
864 <width>60</width>
865 <height>30</height>
866 <uuid>{937588b8-5c9e-45ff-a7d9-6367b0a1eb51}</uuid>
867 <visible>true</visible>
868 <midichan>0</midichan>
869 <midicc>0</midicc>
870 <alignment>left</alignment>
871 <font>Liberation Sans</font>
872 <fontsize>16</fontsize>
873 <color>
874 <r>0</r>
875 <g>0</g>
876 <b>0</b>
877 </color>
878 <bgcolor mode="nobackground">
879 <r>255</r>
880 <g>255</g>
881 <b>255</b>
882 </bgcolor>
883 <resolution>1.00000000</resolution>
884 <minimum>-100</minimum>
885 <maximum>100</maximum>
886 <randomizable group="0">false</randomizable>
887 <value>0</value>
888 </bsbObject>
889 <bsbObject version="2" type="BSBLabel">
890 <objectName/>
891 <x>326</x>
892 <y>287</y>
893 <width>83</width>
894 <height>42</height>
895 <uuid>{8b31c3b5-7fea-4a65-882a-63d1e94e5f1b}</uuid>
896 <visible>true</visible>
897 <midichan>0</midichan>
898 <midicc>0</midicc>
899 <label>Fine Tune 1
900 (Cents)</label>
901 <alignment>right</alignment>
902 <font>Liberation Sans</font>
903 <fontsize>10</fontsize>
904 <precision>3</precision>
905 <color>
906 <r>255</r>
907 <g>255</g>
908 <b>255</b>
909 </color>
910 <bgcolor mode="nobackground">
911 <r>255</r>
912 <g>255</g>
913 <b>255</b>
914 </bgcolor>
915 <bordermode>noborder</bordermode>
916 <borderradius>1</borderradius>
917 <borderwidth>1</borderwidth>
918 </bsbObject>
919 <bsbObject version="2" type="BSBSpinBox">
920 <objectName>Tempo_2</objectName>
921 <x>715</x>
922 <y>290</y>
923 <width>60</width>
924 <height>30</height>
925 <uuid>{6515f6cf-83c3-48f9-b68c-331353a59496}</uuid>
926 <visible>true</visible>
927 <midichan>0</midichan>
928 <midicc>0</midicc>
929 <alignment>left</alignment>
930 <font>Liberation Sans</font>
931 <fontsize>16</fontsize>
932 <color>
933 <r>0</r>
934 <g>0</g>
935 <b>0</b>
936 </color>
937 <bgcolor mode="nobackground">
938 <r>255</r>
939 <g>255</g>
940 <b>255</b>
941 </bgcolor>
942 <resolution>1.00000000</resolution>
943 <minimum>0</minimum>
944 <maximum>999</maximum>
945 <randomizable group="0">false</randomizable>
946 <value>120</value>
947 </bsbObject>
948 <bsbObject version="2" type="BSBLabel">
949 <objectName/>
950 <x>632</x>
951 <y>293</y>
952 <width>83</width>
953 <height>42</height>
954 <uuid>{e6f8c02f-ae82-41bc-b491-730b105c0f36}</uuid>
955 <visible>true</visible>
956 <midichan>0</midichan>
957 <midicc>0</midicc>
958 <label>Tempo 2</label>
959 <alignment>right</alignment>
960 <font>Liberation Sans</font>
961 <fontsize>10</fontsize>
962 <precision>3</precision>
963 <color>
964 <r>255</r>
965 <g>255</g>
966 <b>255</b>
967 </color>
968 <bgcolor mode="nobackground">
969 <r>255</r>
970 <g>255</g>
971 <b>255</b>
972 </bgcolor>
973 <bordermode>noborder</bordermode>
974 <borderradius>1</borderradius>
975 <borderwidth>1</borderwidth>
976 </bsbObject>
977 <bsbObject version="2" type="BSBSpinBox">
978 <objectName>Transpose_2</objectName>
979 <x>865</x>
980 <y>290</y>
981 <width>60</width>
982 <height>30</height>
983 <uuid>{9f95e240-9a1a-43f3-aa8e-1616546ffb51}</uuid>
984 <visible>true</visible>
985 <midichan>0</midichan>
986 <midicc>0</midicc>
987 <alignment>left</alignment>
988 <font>Liberation Sans</font>
989 <fontsize>16</fontsize>
990 <color>
991 <r>0</r>
992 <g>0</g>
993 <b>0</b>
994 </color>
995 <bgcolor mode="nobackground">
996 <r>255</r>
997 <g>255</g>
998 <b>255</b>
999 </bgcolor>
1000 <resolution>1.00000000</resolution>
1001 <minimum>-24</minimum>
1002 <maximum>24</maximum>
1003 <randomizable group="0">false</randomizable>
1004 <value>0</value>
1005 </bsbObject>
1006 <bsbObject version="2" type="BSBLabel">
1007 <objectName/>
1008 <x>780</x>
1009 <y>287</y>
1010 <width>83</width>
1011 <height>42</height>
1012 <uuid>{025b97be-a870-41b7-a501-5257128343e5}</uuid>
1013 <visible>true</visible>
1014 <midichan>0</midichan>
1015 <midicc>0</midicc>
1016 <label>Transpose 2
1017 (Semitones)</label>
1018 <alignment>right</alignment>
1019 <font>Liberation Sans</font>
1020 <fontsize>10</fontsize>
1021 <precision>3</precision>
1022 <color>
1023 <r>255</r>
1024 <g>255</g>
1025 <b>255</b>
1026 </color>
1027 <bgcolor mode="nobackground">
1028 <r>255</r>
1029 <g>255</g>
1030 <b>255</b>
1031 </bgcolor>
1032 <bordermode>noborder</bordermode>
1033 <borderradius>1</borderradius>
1034 <borderwidth>1</borderwidth>
1035 </bsbObject>
1036 <bsbObject version="2" type="BSBSpinBox">
1037 <objectName>FineTune_2</objectName>
1038 <x>1015</x>
1039 <y>290</y>
1040 <width>60</width>
1041 <height>30</height>
1042 <uuid>{de832328-3d28-48a5-b279-960f0035a566}</uuid>
1043 <visible>true</visible>
1044 <midichan>0</midichan>
1045 <midicc>0</midicc>
1046 <alignment>left</alignment>
1047 <font>Liberation Sans</font>
1048 <fontsize>16</fontsize>
1049 <color>
1050 <r>0</r>
1051 <g>0</g>
1052 <b>0</b>
1053 </color>
1054 <bgcolor mode="nobackground">
1055 <r>255</r>
1056 <g>255</g>
1057 <b>255</b>
1058 </bgcolor>
1059 <resolution>1.00000000</resolution>
1060 <minimum>-100</minimum>
1061 <maximum>100</maximum>
1062 <randomizable group="0">false</randomizable>
1063 <value>0</value>
1064 </bsbObject>
1065 <bsbObject version="2" type="BSBLabel">
1066 <objectName/>
1067 <x>930</x>
1068 <y>287</y>
1069 <width>83</width>
1070 <height>42</height>
1071 <uuid>{df60caba-b9a9-429b-9e72-0f1b93341149}</uuid>
1072 <visible>true</visible>
1073 <midichan>0</midichan>
1074 <midicc>0</midicc>
1075 <label>Fine Tune 2
1076 (Cents)</label>
1077 <alignment>right</alignment>
1078 <font>Liberation Sans</font>
1079 <fontsize>10</fontsize>
1080 <precision>3</precision>
1081 <color>
1082 <r>255</r>
1083 <g>255</g>
1084 <b>255</b>
1085 </color>
1086 <bgcolor mode="nobackground">
1087 <r>255</r>
1088 <g>255</g>
1089 <b>255</b>
1090 </bgcolor>
1091 <bordermode>noborder</bordermode>
1092 <borderradius>1</borderradius>
1093 <borderwidth>1</borderwidth>
1094 </bsbObject>
1095 <bsbObject version="2" type="BSBLabel">
1096 <objectName/>
1097 <x>8</x>
1098 <y>391</y>
1099 <width>200</width>
1100 <height>30</height>
1101 <uuid>{0c53d072-8517-456d-b66c-237200233bfb}</uuid>
1102 <visible>true</visible>
1103 <midichan>0</midichan>
1104 <midicc>0</midicc>
1105 <label>Rate 1</label>
1106 <alignment>left</alignment>
1107 <font>Liberation Sans</font>
1108 <fontsize>10</fontsize>
1109 <precision>3</precision>
1110 <color>
1111 <r>255</r>
1112 <g>255</g>
1113 <b>255</b>
1114 </color>
1115 <bgcolor mode="nobackground">
1116 <r>255</r>
1117 <g>255</g>
1118 <b>255</b>
1119 </bgcolor>
1120 <bordermode>noborder</bordermode>
1121 <borderradius>1</borderradius>
1122 <borderwidth>1</borderwidth>
1123 </bsbObject>
1124 <bsbObject version="2" type="BSBHSlider">
1125 <objectName>Rate_1</objectName>
1126 <x>8</x>
1127 <y>360</y>
1128 <width>420</width>
1129 <height>27</height>
1130 <uuid>{c8a67a0b-0057-42e0-86fa-23293ba3f967}</uuid>
1131 <visible>true</visible>
1132 <midichan>0</midichan>
1133 <midicc>0</midicc>
1134 <minimum>-1.00000000</minimum>
1135 <maximum>1.00000000</maximum>
1136 <value>-0.01428571</value>
1137 <mode>lin</mode>
1138 <mouseControl act="jump">continuous</mouseControl>
1139 <resolution>-1.00000000</resolution>
1140 <randomizable group="0">false</randomizable>
1141 </bsbObject>
1142 <bsbObject version="2" type="BSBDisplay">
1143 <objectName>Rate_1</objectName>
1144 <x>368</x>
1145 <y>391</y>
1146 <width>60</width>
1147 <height>30</height>
1148 <uuid>{d3ae0d03-960d-48eb-9d93-5d70fa511676}</uuid>
1149 <visible>true</visible>
1150 <midichan>0</midichan>
1151 <midicc>0</midicc>
1152 <label>-0.014</label>
1153 <alignment>right</alignment>
1154 <font>Liberation Sans</font>
1155 <fontsize>9</fontsize>
1156 <precision>3</precision>
1157 <color>
1158 <r>255</r>
1159 <g>255</g>
1160 <b>255</b>
1161 </color>
1162 <bgcolor mode="nobackground">
1163 <r>255</r>
1164 <g>255</g>
1165 <b>255</b>
1166 </bgcolor>
1167 <bordermode>noborder</bordermode>
1168 <borderradius>1</borderradius>
1169 <borderwidth>1</borderwidth>
1170 </bsbObject>
1171 <bsbObject version="2" type="BSBLabel">
1172 <objectName/>
1173 <x>677</x>
1174 <y>388</y>
1175 <width>200</width>
1176 <height>30</height>
1177 <uuid>{489ad298-a2a0-412b-86c2-1714b2dd7d08}</uuid>
1178 <visible>true</visible>
1179 <midichan>0</midichan>
1180 <midicc>0</midicc>
1181 <label>Rate 2</label>
1182 <alignment>left</alignment>
1183 <font>Liberation Sans</font>
1184 <fontsize>10</fontsize>
1185 <precision>3</precision>
1186 <color>
1187 <r>255</r>
1188 <g>255</g>
1189 <b>255</b>
1190 </color>
1191 <bgcolor mode="nobackground">
1192 <r>255</r>
1193 <g>255</g>
1194 <b>255</b>
1195 </bgcolor>
1196 <bordermode>noborder</bordermode>
1197 <borderradius>1</borderradius>
1198 <borderwidth>1</borderwidth>
1199 </bsbObject>
1200 <bsbObject version="2" type="BSBHSlider">
1201 <objectName>Rate_2</objectName>
1202 <x>677</x>
1203 <y>360</y>
1204 <width>420</width>
1205 <height>27</height>
1206 <uuid>{1ed803c5-8c34-417e-8f05-b5fc97e6dffd}</uuid>
1207 <visible>true</visible>
1208 <midichan>0</midichan>
1209 <midicc>0</midicc>
1210 <minimum>-1.00000000</minimum>
1211 <maximum>1.00000000</maximum>
1212 <value>0.02857143</value>
1213 <mode>lin</mode>
1214 <mouseControl act="jump">continuous</mouseControl>
1215 <resolution>-1.00000000</resolution>
1216 <randomizable group="0">false</randomizable>
1217 </bsbObject>
1218 <bsbObject version="2" type="BSBDisplay">
1219 <objectName>Rate_2</objectName>
1220 <x>1037</x>
1221 <y>388</y>
1222 <width>60</width>
1223 <height>30</height>
1224 <uuid>{a9bbe549-b6ad-4bc5-85e2-72aea00e0fb1}</uuid>
1225 <visible>true</visible>
1226 <midichan>0</midichan>
1227 <midicc>0</midicc>
1228 <label>0.029</label>
1229 <alignment>right</alignment>
1230 <font>Liberation Sans</font>
1231 <fontsize>9</fontsize>
1232 <precision>3</precision>
1233 <color>
1234 <r>255</r>
1235 <g>255</g>
1236 <b>255</b>
1237 </color>
1238 <bgcolor mode="nobackground">
1239 <r>255</r>
1240 <g>255</g>
1241 <b>255</b>
1242 </bgcolor>
1243 <bordermode>noborder</bordermode>
1244 <borderradius>1</borderradius>
1245 <borderwidth>1</borderwidth>
1246 </bsbObject>
1247 </bsbPanel>
1248 <bsbPresets>
1249 </bsbPresets>
1250 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>