Debian Codegraph @

src/Examples/McCurdy Collection/Modulation/TX81Z.csd

raw
1 ;Written by Iain McCurdy, 2009
2
3
4 ; Modified for QuteCsound by René, November 2010
5 ; Tested on Ubuntu 10.04 with csound-double cvs August 2010 and QuteCsound svn rev 733
6
7 ;Notes on modifications from original csd:
8 ;Use midi cc embeded in QuteCsound
9
10 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5
11 <CsoundSynthesizer>
12 <CsOptions>
13
14 </CsOptions>
15 <CsInstruments>
16 sr = 44100 ;SAMPLE RATE
17 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
18 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
19 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
20
21
22 gisine ftgen 0, 0, 1024, 10, 1
23 gitwopeaks ftgen 0, 0, 1024, 1, "twopeaks.aiff", 0, 0, 0
24 gifwavblnk ftgen 0, 0, 1024, 1, "fwavblnk.aiff", 0, 0, 0
25
26
27 instr 10 ;GUI
28 ktrig metro 10
29 if (ktrig == 1) then
30 gkamp invalue "Amplitude"
31 gkc1 invalue "Control_1"
32 gkc2 invalue "Control_2"
33 gkvdepth invalue "Vibrato_Depth"
34 gkvrate invalue "Vibrato_Rate"
35
36 gkpreset invalue "Preset"
37 endif
38 endin
39
40 instr 1 ;TX81Z INSTRUMENT
41 ioct = p4
42 ;PITCH BEND INFORMATION IS READ
43 iSemitoneBendRange = 2 ;PITCH BEND RANGE IN SEMITONES (WILL BE DEFINED FURTHER LATER) - SUGGESTION - THIS COULD BE CONTROLLED BY A COUNTER
44 imin = 0 ;EQUILIBRIUM POSITION
45 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
46 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
47 kfreq = cpsoct(ioct+ kbend)
48 iporttime = 0.1 ;PORTAMENTO TIME
49 kporttime linseg 0, 0.001, iporttime, 1, iporttime ;PORTAMENTO TIME RISES UP QUICKLY TO DESIRED VALUE
50 kc1 portk gkc1, kporttime ;PORTAMENTO IS APPLIED TO CONTROL VARIABLES
51 kc2 portk gkc2, kporttime ;PORTAMENTO IS APPLIED TO CONTROL VARIABLES
52 ikvel = p5 ;KEY VELOCITY IS READ
53 kamp portk gkamp * ikvel, kporttime ;AMPLITUDE IS DERIVED FROM ON-SCREEN AMPLITUDE CONTROL AND KEY VELOCITY / PORTAMENTO IS APPLIED
54
55 ;SELECT THE APPRORIATE FM OPCODE ACCORDING TO THE SETTING OF THE 'TYPE' MENU BOX SELECTER
56 if gkpreset==0 then
57 ;HAMMOND B3 ORGAN
58 ;OUTPUT OPCODE AMPLITUDE | FREQUENCY | CONTROL_1 | CONTROL_2 | VIBRATO_DEPTH | VIBRATO_RATE | F.TABLE_1 | F.TABLE_2 | F.TABLE_3 | F.TABLE_4 | VIBRATO_F.TABLE
59 ares fmb3 kamp, kfreq, kc1, kc2, gkvdepth, gkvrate, gisine, gisine, gisine, gisine, gisine
60
61 elseif gkpreset==1 then
62 ;TUBULAR BELL
63 ;OUTPUT OPCODE AMPLITUDE | FREQUENCY | CONTROL_1 | CONTROL_2 | VIBRATO_DEPTH | VIBRATO_RATE | F.TABLE_1 | F.TABLE_2 | F.TABLE_3 | F.TABLE_4 | VIBRATO_F.TABLE
64 ares fmbell kamp, kfreq, kc1, kc2, gkvdepth, gkvrate, gisine, gisine, gisine, gisine, gisine
65
66 elseif gkpreset==2 then
67 ;HEAVY METAL
68 ;OUTPUT OPCODE AMPLITUDE | FREQUENCY | CONTROL_1 | CONTROL_2 | VIBRATO_DEPTH | VIBRATO_RATE | F.TABLE_1 | F.TABLE_2 | F.TABLE_3 | F.TABLE_4 | VIBRATO_F.TABLE
69 ares fmmetal kamp, kfreq, kc1, kc2, gkvdepth, gkvrate, gisine, gitwopeaks, gitwopeaks, gisine, gisine
70
71 elseif gkpreset==3 then
72 ;PERCUSSIVE FLUTE
73 ;OUTPUT OPCODE AMPLITUDE | FREQUENCY | CONTROL_1 | CONTROL_2 | VIBRATO_DEPTH | VIBRATO_RATE | F.TABLE_1 | F.TABLE_2 | F.TABLE_3 | F.TABLE_4 | VIBRATO_F.TABLE
74 ares fmpercfl kamp, kfreq, kc1, kc2, gkvdepth, gkvrate, gisine, gisine, gisine, gisine, gisine
75
76 elseif gkpreset==4 then
77 ;RHODES ELECTRIC PIANO
78 ;OUTPUT OPCODE AMPLITUDE | FREQUENCY | CONTROL_1 | CONTROL_2 | VIBRATO_DEPTH | VIBRATO_RATE | F.TABLE_1 | F.TABLE_2 | F.TABLE_3 | F.TABLE_4 | VIBRATO_F.TABLE
79 ares fmrhode kamp, kfreq, kc1, kc2, gkvdepth, gkvrate, gisine, gisine, gisine, gifwavblnk, gisine
80
81 elseif gkpreset==5 then
82 ;VOICE
83 ;OUTPUT OPCODE AMPLITUDE | FREQUENCY | CONTROL_1 | CONTROL_2 | VIBRATO_DEPTH | VIBRATO_RATE | F.TABLE_1 | F.TABLE_2 | F.TABLE_3 | F.TABLE_4 | VIBRATO_F.TABLE
84 ares fmvoice kamp, kfreq, kc1, kc2, gkvdepth, gkvrate, gisine, gisine, gisine, gisine, gisine
85
86 elseif gkpreset==6 then
87 ;WURLITZER ELECTRIC PIANO
88 ;OUTPUT OPCODE AMPLITUDE | FREQUENCY | CONTROL_1 | CONTROL_2 | VIBRATO_DEPTH | VIBRATO_RATE | F.TABLE_1 | F.TABLE_2 | F.TABLE_3 | F.TABLE_4 | VIBRATO_F.TABLE
89 ares fmwurlie kamp, kfreq, kc1, kc2, gkvdepth, gkvrate, gisine, gisine, gisine, gifwavblnk, gisine
90
91 endif
92
93 aenv linsegr 0, 0.0001, 1, 3600, 1, 0.1, 0 ;A SIMPLE MIDI RESPONSIVE ENVELOPE TO PREVENT CLICKS AT THE START AND END OF NOTES
94 outs ares * aenv, ares * aenv ;SEND AUDIO TO OUTPUTS - MULTIPLY BY AMPLITUDE ENVELOPE
95 endin
96
97 instr 2 ;INIT
98 outvalue "_SetPresetIndex", 0
99 endin
100 </CsInstruments>
101 <CsScore>
102 ;INSTR | START | DURATION
103 i 10 0 3600 ;GUI
104
105 i 2 0.1 0 ;INIT
106 </CsScore>
107 </CsoundSynthesizer><bsbPanel>
108 <label>Widgets</label>
109 <objectName/>
110 <x>401</x>
111 <y>223</y>
112 <width>1127</width>
113 <height>454</height>
114 <visible>true</visible>
115 <uuid/>
116 <bgcolor mode="background">
117 <r>241</r>
118 <g>226</g>
119 <b>185</b>
120 </bgcolor>
121 <bsbObject version="2" type="BSBLabel">
122 <objectName/>
123 <x>2</x>
124 <y>2</y>
125 <width>512</width>
126 <height>450</height>
127 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
128 <visible>true</visible>
129 <midichan>0</midichan>
130 <midicc>0</midicc>
131 <label>Yamaha TX817 Models</label>
132 <alignment>center</alignment>
133 <font>Liberation Sans</font>
134 <fontsize>18</fontsize>
135 <precision>3</precision>
136 <color>
137 <r>255</r>
138 <g>255</g>
139 <b>255</b>
140 </color>
141 <bgcolor mode="background">
142 <r>5</r>
143 <g>27</g>
144 <b>150</b>
145 </bgcolor>
146 <bordermode>border</bordermode>
147 <borderradius>5</borderradius>
148 <borderwidth>2</borderwidth>
149 </bsbObject>
150 <bsbObject version="2" type="BSBLabel">
151 <objectName/>
152 <x>514</x>
153 <y>2</y>
154 <width>610</width>
155 <height>450</height>
156 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
157 <visible>true</visible>
158 <midichan>0</midichan>
159 <midicc>0</midicc>
160 <label>Yamaha TX817 Models</label>
161 <alignment>center</alignment>
162 <font>Liberation Sans</font>
163 <fontsize>18</fontsize>
164 <precision>3</precision>
165 <color>
166 <r>255</r>
167 <g>255</g>
168 <b>255</b>
169 </color>
170 <bgcolor mode="background">
171 <r>5</r>
172 <g>27</g>
173 <b>150</b>
174 </bgcolor>
175 <bordermode>border</bordermode>
176 <borderradius>5</borderradius>
177 <borderwidth>2</borderwidth>
178 </bsbObject>
179 <bsbObject version="2" type="BSBLabel">
180 <objectName/>
181 <x>521</x>
182 <y>21</y>
183 <width>599</width>
184 <height>424</height>
185 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
186 <visible>true</visible>
187 <midichan>0</midichan>
188 <midicc>0</midicc>
189 <label>----------------------------------------------------------------------------------------------------------------------------------------
190 A set of opcodes that implement presets from the FM synthesis module, the Yamaha TX81Z, have been written by John ffitch for Csound, based on work by Perry Cook. The seven different opcodes can be selected using the Type menu in the GUI. All seven opcodes share the same set of input arguments, the only difference between them in terms of setting them up is that some of them use waveforms besides sine waves for some of their operators (oscillators). The TX81Z implements four-operator FM algorithms and in theory there is no reason why these algorithms could not be implemented from first principles using individual oscillators.
191 The Functions of Controls 1 and 2 are as follows:
192 +-----------------------------------+-----+------------------------+------------------------------------------------+
193 |.......... OPCODE ..........|ALG|.. CONTROL 1 ..|............... CONTROL 2 ..............|
194 +-----------------------------------+-----+------------------------+------------------------------------------------+
195 | Hammond B3 Organ......|. 4 .| Total Mod. Index | Crossfade of the two modulators |
196 | Tubular Bell..................|. 5 .| Mod. Index 1.......| Crossfade of two outputs...........|
197 | Heavy Metal.................|. 4 .| Total Mod. Index | Crossfade of the two modulators |
198 | Percussive Flute...........|. 4 .| Total Mod. Index | Crossfade of the two modulators |
199 | Rhodes Elec Piano........|. 5 .| Mod. Index 1......| Crossfade of two outputs...........|
200 | Voice............................|. ? .| Vowel................| Tilt............................................|
201 | Wurlitzer Elec Piano......|. 5 .| Mod. Index 1......| Crossfade of two outputs............|
202 +-----------------------------------+----+-------------------------+-------------------------------------------------+
203
204 This example is MIDI-ified, responding to MIDI notes, key velocity, pitch bend and additional continuous controller assignments which double the funtions of the on-screen sliders. Enveloping of the sound is contained within the opcode.</label>
205 <alignment>left</alignment>
206 <font>Liberation Sans</font>
207 <fontsize>14</fontsize>
208 <precision>3</precision>
209 <color>
210 <r>255</r>
211 <g>255</g>
212 <b>255</b>
213 </color>
214 <bgcolor mode="nobackground">
215 <r>255</r>
216 <g>255</g>
217 <b>255</b>
218 </bgcolor>
219 <bordermode>noborder</bordermode>
220 <borderradius>1</borderradius>
221 <borderwidth>1</borderwidth>
222 </bsbObject>
223 <bsbObject version="2" type="BSBLabel">
224 <objectName/>
225 <x>8</x>
226 <y>94</y>
227 <width>180</width>
228 <height>30</height>
229 <uuid>{541ace1b-b1de-4c04-8d84-1de90288dded}</uuid>
230 <visible>true</visible>
231 <midichan>0</midichan>
232 <midicc>0</midicc>
233 <label>Amplitude (CC#7)</label>
234 <alignment>left</alignment>
235 <font>Liberation Sans</font>
236 <fontsize>10</fontsize>
237 <precision>3</precision>
238 <color>
239 <r>255</r>
240 <g>255</g>
241 <b>255</b>
242 </color>
243 <bgcolor mode="nobackground">
244 <r>255</r>
245 <g>255</g>
246 <b>255</b>
247 </bgcolor>
248 <bordermode>noborder</bordermode>
249 <borderradius>1</borderradius>
250 <borderwidth>1</borderwidth>
251 </bsbObject>
252 <bsbObject version="2" type="BSBHSlider">
253 <objectName>Amplitude</objectName>
254 <x>8</x>
255 <y>71</y>
256 <width>500</width>
257 <height>27</height>
258 <uuid>{eac88081-deaa-45c0-b896-32a3ffedc74a}</uuid>
259 <visible>true</visible>
260 <midichan>1</midichan>
261 <midicc>7</midicc>
262 <minimum>0.00000000</minimum>
263 <maximum>1.00000000</maximum>
264 <value>0.20000000</value>
265 <mode>lin</mode>
266 <mouseControl act="jump">continuous</mouseControl>
267 <resolution>-1.00000000</resolution>
268 <randomizable group="0">false</randomizable>
269 </bsbObject>
270 <bsbObject version="2" type="BSBDisplay">
271 <objectName>Amplitude</objectName>
272 <x>448</x>
273 <y>94</y>
274 <width>60</width>
275 <height>30</height>
276 <uuid>{3be43919-ad18-4aef-b554-03c4b4d991c3}</uuid>
277 <visible>true</visible>
278 <midichan>0</midichan>
279 <midicc>0</midicc>
280 <label>0.308</label>
281 <alignment>right</alignment>
282 <font>Liberation Sans</font>
283 <fontsize>9</fontsize>
284 <precision>3</precision>
285 <color>
286 <r>255</r>
287 <g>255</g>
288 <b>255</b>
289 </color>
290 <bgcolor mode="nobackground">
291 <r>255</r>
292 <g>255</g>
293 <b>255</b>
294 </bgcolor>
295 <bordermode>noborder</bordermode>
296 <borderradius>1</borderradius>
297 <borderwidth>1</borderwidth>
298 </bsbObject>
299 <bsbObject version="2" type="BSBDisplay">
300 <objectName>Control_1</objectName>
301 <x>448</x>
302 <y>137</y>
303 <width>60</width>
304 <height>30</height>
305 <uuid>{11dfc416-5a1d-40f4-bbaa-6b1b2e2bb7c2}</uuid>
306 <visible>true</visible>
307 <midichan>0</midichan>
308 <midicc>0</midicc>
309 <label>1.188</label>
310 <alignment>right</alignment>
311 <font>Liberation Sans</font>
312 <fontsize>9</fontsize>
313 <precision>3</precision>
314 <color>
315 <r>255</r>
316 <g>255</g>
317 <b>255</b>
318 </color>
319 <bgcolor mode="nobackground">
320 <r>255</r>
321 <g>255</g>
322 <b>255</b>
323 </bgcolor>
324 <bordermode>noborder</bordermode>
325 <borderradius>1</borderradius>
326 <borderwidth>1</borderwidth>
327 </bsbObject>
328 <bsbObject version="2" type="BSBHSlider">
329 <objectName>Control_1</objectName>
330 <x>8</x>
331 <y>114</y>
332 <width>500</width>
333 <height>27</height>
334 <uuid>{5e37a418-576c-419e-817f-2002fc5b805b}</uuid>
335 <visible>true</visible>
336 <midichan>1</midichan>
337 <midicc>3</midicc>
338 <minimum>0.00000000</minimum>
339 <maximum>99.00000000</maximum>
340 <value>0.66938776</value>
341 <mode>lin</mode>
342 <mouseControl act="jump">continuous</mouseControl>
343 <resolution>-1.00000000</resolution>
344 <randomizable group="0">false</randomizable>
345 </bsbObject>
346 <bsbObject version="2" type="BSBLabel">
347 <objectName/>
348 <x>8</x>
349 <y>137</y>
350 <width>180</width>
351 <height>30</height>
352 <uuid>{afc5d077-588e-4d40-92cf-761ea81eb1da}</uuid>
353 <visible>true</visible>
354 <midichan>0</midichan>
355 <midicc>0</midicc>
356 <label>Control 1 (CC#3)</label>
357 <alignment>left</alignment>
358 <font>Liberation Sans</font>
359 <fontsize>10</fontsize>
360 <precision>3</precision>
361 <color>
362 <r>255</r>
363 <g>255</g>
364 <b>255</b>
365 </color>
366 <bgcolor mode="nobackground">
367 <r>255</r>
368 <g>255</g>
369 <b>255</b>
370 </bgcolor>
371 <bordermode>noborder</bordermode>
372 <borderradius>1</borderradius>
373 <borderwidth>1</borderwidth>
374 </bsbObject>
375 <bsbObject version="2" type="BSBLabel">
376 <objectName/>
377 <x>8</x>
378 <y>266</y>
379 <width>180</width>
380 <height>30</height>
381 <uuid>{7e72caae-d5e3-48e8-9285-1cbd12c5347c}</uuid>
382 <visible>true</visible>
383 <midichan>0</midichan>
384 <midicc>0</midicc>
385 <label>Vibrato Rate (CC#2)</label>
386 <alignment>left</alignment>
387 <font>Liberation Sans</font>
388 <fontsize>10</fontsize>
389 <precision>3</precision>
390 <color>
391 <r>255</r>
392 <g>255</g>
393 <b>255</b>
394 </color>
395 <bgcolor mode="nobackground">
396 <r>255</r>
397 <g>255</g>
398 <b>255</b>
399 </bgcolor>
400 <bordermode>noborder</bordermode>
401 <borderradius>1</borderradius>
402 <borderwidth>1</borderwidth>
403 </bsbObject>
404 <bsbObject version="2" type="BSBHSlider">
405 <objectName>Vibrato_Rate</objectName>
406 <x>8</x>
407 <y>243</y>
408 <width>500</width>
409 <height>27</height>
410 <uuid>{254004da-2c79-4209-bf6e-0f8cdd5fafcc}</uuid>
411 <visible>true</visible>
412 <midichan>1</midichan>
413 <midicc>2</midicc>
414 <minimum>0.00000000</minimum>
415 <maximum>10.00000000</maximum>
416 <value>0.60816324</value>
417 <mode>lin</mode>
418 <mouseControl act="jump">continuous</mouseControl>
419 <resolution>-1.00000000</resolution>
420 <randomizable group="0">false</randomizable>
421 </bsbObject>
422 <bsbObject version="2" type="BSBDisplay">
423 <objectName>Vibrato_Rate</objectName>
424 <x>448</x>
425 <y>266</y>
426 <width>60</width>
427 <height>30</height>
428 <uuid>{f6bcb14a-ad2e-4303-9aab-c49730db24d0}</uuid>
429 <visible>true</visible>
430 <midichan>0</midichan>
431 <midicc>0</midicc>
432 <label>5.300</label>
433 <alignment>right</alignment>
434 <font>Liberation Sans</font>
435 <fontsize>9</fontsize>
436 <precision>3</precision>
437 <color>
438 <r>255</r>
439 <g>255</g>
440 <b>255</b>
441 </color>
442 <bgcolor mode="nobackground">
443 <r>255</r>
444 <g>255</g>
445 <b>255</b>
446 </bgcolor>
447 <bordermode>noborder</bordermode>
448 <borderradius>1</borderradius>
449 <borderwidth>1</borderwidth>
450 </bsbObject>
451 <bsbObject version="2" type="BSBDropdown">
452 <objectName>Preset</objectName>
453 <x>182</x>
454 <y>328</y>
455 <width>200</width>
456 <height>28</height>
457 <uuid>{1fceb5fa-f31b-4507-9d73-2100cf426aec}</uuid>
458 <visible>true</visible>
459 <midichan>0</midichan>
460 <midicc>0</midicc>
461 <bsbDropdownItemList>
462 <bsbDropdownItem>
463 <name>B3</name>
464 <value>0</value>
465 <stringvalue/>
466 </bsbDropdownItem>
467 <bsbDropdownItem>
468 <name>Bell</name>
469 <value>1</value>
470 <stringvalue/>
471 </bsbDropdownItem>
472 <bsbDropdownItem>
473 <name>Heavy Metal</name>
474 <value>2</value>
475 <stringvalue/>
476 </bsbDropdownItem>
477 <bsbDropdownItem>
478 <name>Percussive Flute</name>
479 <value>3</value>
480 <stringvalue/>
481 </bsbDropdownItem>
482 <bsbDropdownItem>
483 <name>Rhodes Electric Piano</name>
484 <value>4</value>
485 <stringvalue/>
486 </bsbDropdownItem>
487 <bsbDropdownItem>
488 <name>Voice</name>
489 <value>5</value>
490 <stringvalue/>
491 </bsbDropdownItem>
492 <bsbDropdownItem>
493 <name>Wurlitzer Electric Piano</name>
494 <value>6</value>
495 <stringvalue/>
496 </bsbDropdownItem>
497 </bsbDropdownItemList>
498 <selectedIndex>0</selectedIndex>
499 <randomizable group="0">false</randomizable>
500 </bsbObject>
501 <bsbObject version="2" type="BSBLabel">
502 <objectName/>
503 <x>8</x>
504 <y>223</y>
505 <width>180</width>
506 <height>30</height>
507 <uuid>{ffb0a5ee-ba0c-4308-b51d-892e1d37bd87}</uuid>
508 <visible>true</visible>
509 <midichan>0</midichan>
510 <midicc>0</midicc>
511 <label>Vibrato Depth (CC#1)</label>
512 <alignment>left</alignment>
513 <font>Liberation Sans</font>
514 <fontsize>10</fontsize>
515 <precision>3</precision>
516 <color>
517 <r>255</r>
518 <g>255</g>
519 <b>255</b>
520 </color>
521 <bgcolor mode="nobackground">
522 <r>255</r>
523 <g>255</g>
524 <b>255</b>
525 </bgcolor>
526 <bordermode>noborder</bordermode>
527 <borderradius>1</borderradius>
528 <borderwidth>1</borderwidth>
529 </bsbObject>
530 <bsbObject version="2" type="BSBHSlider">
531 <objectName>Vibrato_Depth</objectName>
532 <x>8</x>
533 <y>200</y>
534 <width>500</width>
535 <height>27</height>
536 <uuid>{64abd1d0-ef34-49d8-bbc4-0b1103c02d8b}</uuid>
537 <visible>true</visible>
538 <midichan>1</midichan>
539 <midicc>1</midicc>
540 <minimum>0.00010000</minimum>
541 <maximum>1.00000000</maximum>
542 <value>0.60000002</value>
543 <mode>lin</mode>
544 <mouseControl act="jump">continuous</mouseControl>
545 <resolution>-1.00000000</resolution>
546 <randomizable group="0">false</randomizable>
547 </bsbObject>
548 <bsbObject version="2" type="BSBDisplay">
549 <objectName>Vibrato_Depth</objectName>
550 <x>448</x>
551 <y>223</y>
552 <width>60</width>
553 <height>30</height>
554 <uuid>{da0544f6-bf20-4d77-bc1e-92be4a463d95}</uuid>
555 <visible>true</visible>
556 <midichan>0</midichan>
557 <midicc>0</midicc>
558 <label>0.200</label>
559 <alignment>right</alignment>
560 <font>Liberation Sans</font>
561 <fontsize>9</fontsize>
562 <precision>3</precision>
563 <color>
564 <r>255</r>
565 <g>255</g>
566 <b>255</b>
567 </color>
568 <bgcolor mode="nobackground">
569 <r>255</r>
570 <g>255</g>
571 <b>255</b>
572 </bgcolor>
573 <bordermode>noborder</bordermode>
574 <borderradius>1</borderradius>
575 <borderwidth>1</borderwidth>
576 </bsbObject>
577 <bsbObject version="2" type="BSBDisplay">
578 <objectName>Control_2</objectName>
579 <x>448</x>
580 <y>180</y>
581 <width>60</width>
582 <height>30</height>
583 <uuid>{b7304e5e-85f4-43ab-85b3-76ff2664d3e4}</uuid>
584 <visible>true</visible>
585 <midichan>0</midichan>
586 <midicc>0</midicc>
587 <label>1.386</label>
588 <alignment>right</alignment>
589 <font>Liberation Sans</font>
590 <fontsize>9</fontsize>
591 <precision>3</precision>
592 <color>
593 <r>255</r>
594 <g>255</g>
595 <b>255</b>
596 </color>
597 <bgcolor mode="nobackground">
598 <r>255</r>
599 <g>255</g>
600 <b>255</b>
601 </bgcolor>
602 <bordermode>noborder</bordermode>
603 <borderradius>1</borderradius>
604 <borderwidth>1</borderwidth>
605 </bsbObject>
606 <bsbObject version="2" type="BSBHSlider">
607 <objectName>Control_2</objectName>
608 <x>8</x>
609 <y>157</y>
610 <width>500</width>
611 <height>27</height>
612 <uuid>{2f8b24c3-b597-4e5d-a3fc-0e388dc5cab4}</uuid>
613 <visible>true</visible>
614 <midichan>1</midichan>
615 <midicc>4</midicc>
616 <minimum>0.00000000</minimum>
617 <maximum>99.00000000</maximum>
618 <value>0.80612242</value>
619 <mode>lin</mode>
620 <mouseControl act="jump">continuous</mouseControl>
621 <resolution>-1.00000000</resolution>
622 <randomizable group="0">false</randomizable>
623 </bsbObject>
624 <bsbObject version="2" type="BSBLabel">
625 <objectName/>
626 <x>8</x>
627 <y>180</y>
628 <width>180</width>
629 <height>30</height>
630 <uuid>{523f1aa4-a5ac-4b2a-a389-8b68340ce13b}</uuid>
631 <visible>true</visible>
632 <midichan>0</midichan>
633 <midicc>0</midicc>
634 <label>Control 2 (CC#4)</label>
635 <alignment>left</alignment>
636 <font>Liberation Sans</font>
637 <fontsize>10</fontsize>
638 <precision>3</precision>
639 <color>
640 <r>255</r>
641 <g>255</g>
642 <b>255</b>
643 </color>
644 <bgcolor mode="nobackground">
645 <r>255</r>
646 <g>255</g>
647 <b>255</b>
648 </bgcolor>
649 <bordermode>noborder</bordermode>
650 <borderradius>1</borderradius>
651 <borderwidth>1</borderwidth>
652 </bsbObject>
653 <bsbObject version="2" type="BSBLabel">
654 <objectName/>
655 <x>117</x>
656 <y>328</y>
657 <width>58</width>
658 <height>28</height>
659 <uuid>{b9d4f7dc-3bbc-4ec1-925e-4c78662d8b5a}</uuid>
660 <visible>true</visible>
661 <midichan>0</midichan>
662 <midicc>0</midicc>
663 <label>Type</label>
664 <alignment>right</alignment>
665 <font>Liberation Sans</font>
666 <fontsize>14</fontsize>
667 <precision>3</precision>
668 <color>
669 <r>255</r>
670 <g>255</g>
671 <b>255</b>
672 </color>
673 <bgcolor mode="nobackground">
674 <r>255</r>
675 <g>255</g>
676 <b>255</b>
677 </bgcolor>
678 <bordermode>noborder</bordermode>
679 <borderradius>1</borderradius>
680 <borderwidth>1</borderwidth>
681 </bsbObject>
682 </bsbPanel>
683 <bsbPresets>
684 <preset name="Init" number="0" >
685 <value id="{eac88081-deaa-45c0-b896-32a3ffedc74a}" mode="1" >0.50000000</value>
686 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="1" >0.50000000</value>
687 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="4" >0.500</value>
688 <value id="{11dfc416-5a1d-40f4-bbaa-6b1b2e2bb7c2}" mode="1" >1.18799996</value>
689 <value id="{11dfc416-5a1d-40f4-bbaa-6b1b2e2bb7c2}" mode="4" >1.188</value>
690 <value id="{5e37a418-576c-419e-817f-2002fc5b805b}" mode="1" >1.18799996</value>
691 <value id="{254004da-2c79-4209-bf6e-0f8cdd5fafcc}" mode="1" >5.30000019</value>
692 <value id="{f6bcb14a-ad2e-4303-9aab-c49730db24d0}" mode="1" >5.30000019</value>
693 <value id="{f6bcb14a-ad2e-4303-9aab-c49730db24d0}" mode="4" >5.300</value>
694 <value id="{1fceb5fa-f31b-4507-9d73-2100cf426aec}" mode="1" >0.00000000</value>
695 <value id="{64abd1d0-ef34-49d8-bbc4-0b1103c02d8b}" mode="1" >0.20008001</value>
696 <value id="{da0544f6-bf20-4d77-bc1e-92be4a463d95}" mode="1" >0.20008001</value>
697 <value id="{da0544f6-bf20-4d77-bc1e-92be4a463d95}" mode="4" >0.200</value>
698 <value id="{b7304e5e-85f4-43ab-85b3-76ff2664d3e4}" mode="1" >1.38600004</value>
699 <value id="{b7304e5e-85f4-43ab-85b3-76ff2664d3e4}" mode="4" >1.386</value>
700 <value id="{2f8b24c3-b597-4e5d-a3fc-0e388dc5cab4}" mode="1" >1.38600004</value>
701 </preset>
702 </bsbPresets>
703 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>