Debian Codegraph @

src/Examples/McCurdy Collection/PhysicalModels/moog.csd

raw
1 ;Written by Iain McCurdy, 2009
2
3 ;Modified for QuteCsound by René, March 2011
4 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
5 ;This instrument use the files impuls20.aiff and mandpluk.aiff
6
7
8 ;Notes on modifications from original csd:
9 ; Add tables for exp slider
10 ; INIT instrument added
11
12
13 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0
14 <CsoundSynthesizer>
15 <CsOptions>
16
17 </CsOptions>
18 <CsInstruments>
19 sr = 44100 ;SAMPLE RATE
20 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL
21 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
22 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
23
24
25 giwfn1 ftgen 1, 0, 256, 1, "impuls20.aiff", 0, 0, 0 ;WAVEFORM SUGGESTED BY THE CSOUND MANUAL
26 giwfn2 ftgen 2, 0, 256, -7, 1, 128, 1, 0, -1, 128, -1 ;SQUARE WAVE
27 giafn ftgen 0, 0, 8192, 1, "mandpluk.aiff", 0, 0, 0 ;ATTACK WAVEFORM
28 givfn ftgen 0, 0, 256, 10, 1 ;VIBRATO WAVEFORM
29
30 giExp1 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0 ;TABLE FOR EXP SLIDER
31
32
33 instr 10 ;GUI and SYNCHRONIZE MIDI MOD. WHEEL AND GUI 'Vibrato Amplitude' SLIDER
34 ktrig metro 10
35 if (ktrig == 1) then
36 gkamp invalue "Amp"
37 kfreq invalue "Freq"
38 gkfreq tablei kfreq, giExp1, 1
39 outvalue "Freq_Value", gkfreq
40 gkfiltq invalue "FiltReso"
41 kfiltrate invalue "FiltRate"
42 gkfiltrate = kfiltrate * 0.0001
43 gkvibf invalue "VibFreq"
44 gkvamp invalue "VibAmp"
45 gkwfn invalue "Waveform"
46 endif
47
48 kvamp ctrl7 1,1,0,0.1 ;READ MODULATION WHEEL VALUES
49 ktrig changed kvamp ;CHECK TO SEE IF MOD. WHEEL HAS MOVED. OUTPUT A VALUE OF 1 IF IT HAS, OTHERWISE ZERO
50
51 if ktrig == 1 then
52 outvalue "VibAmp", kvamp ;UPDATE GUI SLIDER FOR VIBRATO AMPLITUDE IF ktrig=1
53 endif
54 endin
55
56 instr 1 ;MIDI ACTIVATED INSTRUMENT
57 ioct octmidi ;READ NOTE VALUES FROM MIDI INPUT IN THE 'OCT' FORMAT
58 ;PITCH BEND INFORMATION IS READ
59 iSemitoneBendRange = 2 ;PITCH BEND RANGE IN SEMITONES (WILL BE DEFINED FURTHER LATER)
60 imin = 0 ;EQUILIBRIUM POSITION
61 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
62 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
63 kfreq = cpsoct(ioct+ kbend)
64
65 iwfn = i(gkwfn)+1
66 aenv linsegr 1,3600,1,0.01,0 ;ANTI-CLICK ENVELOPE
67 ares moog gkamp, kfreq, gkfiltq, gkfiltrate, gkvibf, gkvamp, giafn, iwfn, givfn
68 outs ares*aenv, ares*aenv ;SEND AUDIO TO OUTPUTS
69 endin
70
71 instr 2 ;GUI ACTIVATED INSTRUMENT
72 iwfn = i(gkwfn)+1
73 ares moog gkamp, gkfreq, gkfiltq, gkfiltrate, gkvibf, gkvamp, giafn, iwfn, givfn
74 outs ares, ares ;SEND AUDIO TO OUTPUTS
75 endin
76
77 instr 3 ;INIT
78 outvalue "Amp" , 0.03
79 outvalue "Freq" , 0.4
80 outvalue "FiltReso" , 0.85
81 outvalue "FiltRate" , 0.3
82 outvalue "VibFreq" , 5
83 outvalue "VibAmp" , 0
84 outvalue "Waveform" , 0
85 endin
86 </CsInstruments>
87 <CsScore>
88 ;INSTR | START | DURATION
89 i 10 0 3600 ;GUI
90
91 i 3 0 0.1 ;INIT
92 </CsScore>
93 </CsoundSynthesizer>
94 <bsbPanel>
95 <label>Widgets</label>
96 <objectName/>
97 <x>72</x>
98 <y>179</y>
99 <width>400</width>
100 <height>200</height>
101 <visible>true</visible>
102 <uuid/>
103 <bgcolor mode="background">
104 <r>241</r>
105 <g>226</g>
106 <b>185</b>
107 </bgcolor>
108 <bsbObject version="2" type="BSBLabel">
109 <objectName/>
110 <x>2</x>
111 <y>2</y>
112 <width>510</width>
113 <height>370</height>
114 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
115 <visible>true</visible>
116 <midichan>0</midichan>
117 <midicc>0</midicc>
118 <label>moog</label>
119 <alignment>center</alignment>
120 <font>Liberation Sans</font>
121 <fontsize>18</fontsize>
122 <precision>3</precision>
123 <color>
124 <r>0</r>
125 <g>0</g>
126 <b>0</b>
127 </color>
128 <bgcolor mode="background">
129 <r>147</r>
130 <g>154</g>
131 <b>255</b>
132 </bgcolor>
133 <bordermode>border</bordermode>
134 <borderradius>5</borderradius>
135 <borderwidth>2</borderwidth>
136 </bsbObject>
137 <bsbObject version="2" type="BSBLabel">
138 <objectName/>
139 <x>8</x>
140 <y>111</y>
141 <width>220</width>
142 <height>30</height>
143 <uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid>
144 <visible>true</visible>
145 <midichan>0</midichan>
146 <midicc>0</midicc>
147 <label>Amplitude</label>
148 <alignment>left</alignment>
149 <font>Liberation Sans</font>
150 <fontsize>10</fontsize>
151 <precision>3</precision>
152 <color>
153 <r>0</r>
154 <g>0</g>
155 <b>0</b>
156 </color>
157 <bgcolor mode="nobackground">
158 <r>255</r>
159 <g>255</g>
160 <b>255</b>
161 </bgcolor>
162 <bordermode>noborder</bordermode>
163 <borderradius>1</borderradius>
164 <borderwidth>1</borderwidth>
165 </bsbObject>
166 <bsbObject version="2" type="BSBHSlider">
167 <objectName>Amp</objectName>
168 <x>8</x>
169 <y>90</y>
170 <width>500</width>
171 <height>27</height>
172 <uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid>
173 <visible>true</visible>
174 <midichan>0</midichan>
175 <midicc>0</midicc>
176 <minimum>0.00000000</minimum>
177 <maximum>0.10000000</maximum>
178 <value>0.03000000</value>
179 <mode>lin</mode>
180 <mouseControl act="jump">continuous</mouseControl>
181 <resolution>-1.00000000</resolution>
182 <randomizable group="0">false</randomizable>
183 </bsbObject>
184 <bsbObject version="2" type="BSBDisplay">
185 <objectName>Amp</objectName>
186 <x>448</x>
187 <y>111</y>
188 <width>60</width>
189 <height>30</height>
190 <uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid>
191 <visible>true</visible>
192 <midichan>0</midichan>
193 <midicc>0</midicc>
194 <label>0.030</label>
195 <alignment>right</alignment>
196 <font>Liberation Sans</font>
197 <fontsize>9</fontsize>
198 <precision>3</precision>
199 <color>
200 <r>0</r>
201 <g>0</g>
202 <b>0</b>
203 </color>
204 <bgcolor mode="nobackground">
205 <r>255</r>
206 <g>255</g>
207 <b>255</b>
208 </bgcolor>
209 <bordermode>noborder</bordermode>
210 <borderradius>1</borderradius>
211 <borderwidth>1</borderwidth>
212 </bsbObject>
213 <bsbObject version="2" type="BSBLabel">
214 <objectName/>
215 <x>515</x>
216 <y>2</y>
217 <width>280</width>
218 <height>370</height>
219 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
220 <visible>true</visible>
221 <midichan>0</midichan>
222 <midicc>0</midicc>
223 <label>moog</label>
224 <alignment>center</alignment>
225 <font>Liberation Sans</font>
226 <fontsize>18</fontsize>
227 <precision>3</precision>
228 <color>
229 <r>0</r>
230 <g>0</g>
231 <b>0</b>
232 </color>
233 <bgcolor mode="background">
234 <r>147</r>
235 <g>154</g>
236 <b>255</b>
237 </bgcolor>
238 <bordermode>border</bordermode>
239 <borderradius>5</borderradius>
240 <borderwidth>2</borderwidth>
241 </bsbObject>
242 <bsbObject version="2" type="BSBLabel">
243 <objectName/>
244 <x>516</x>
245 <y>25</y>
246 <width>278</width>
247 <height>344</height>
248 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
249 <visible>true</visible>
250 <midichan>0</midichan>
251 <midicc>0</midicc>
252 <label>-------------------------------------------------------------------
253 The 'moog' opcode is a model of a tone created by a Moog synthesizer. Only some of the controls of a Moog are incorporated as input arguments into this opcode. 'Filter Rate' controls the speed of decay of the filter envelope. There is no specific control of the filter cutoff frequency. As well as the suggested waveform 'impuls20.aiff', I have allowed the user to select a square waveform in this example. Besides the main waveform for the sound the user supplies the opcode with a waveform for the attack of the sound and another for the vibrato shape. This example can be triggered either from the GUI button or from a connected MIDI keyboard. If using MIDI, the modulation wheel can be used to control vibrato amplitude and the pitch bend wheel can also be used.</label>
254 <alignment>left</alignment>
255 <font>Liberation Sans</font>
256 <fontsize>14</fontsize>
257 <precision>3</precision>
258 <color>
259 <r>0</r>
260 <g>0</g>
261 <b>0</b>
262 </color>
263 <bgcolor mode="nobackground">
264 <r>255</r>
265 <g>255</g>
266 <b>255</b>
267 </bgcolor>
268 <bordermode>noborder</bordermode>
269 <borderradius>1</borderradius>
270 <borderwidth>1</borderwidth>
271 </bsbObject>
272 <bsbObject version="2" type="BSBButton">
273 <objectName/>
274 <x>8</x>
275 <y>15</y>
276 <width>120</width>
277 <height>30</height>
278 <uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid>
279 <visible>true</visible>
280 <midichan>0</midichan>
281 <midicc>0</midicc>
282 <type>event</type>
283 <pressedValue>1.00000000</pressedValue>
284 <stringvalue/>
285 <text> On / Off (MIDI)</text>
286 <image>/</image>
287 <eventLine>i 2 0 -1</eventLine>
288 <latch>true</latch>
289 <latched>false</latched>
290 </bsbObject>
291 <bsbObject version="2" type="BSBLabel">
292 <objectName/>
293 <x>8</x>
294 <y>157</y>
295 <width>220</width>
296 <height>30</height>
297 <uuid>{1fee3c20-99d2-4c60-baa7-669d23492f06}</uuid>
298 <visible>true</visible>
299 <midichan>0</midichan>
300 <midicc>0</midicc>
301 <label>Frequency</label>
302 <alignment>left</alignment>
303 <font>Liberation Sans</font>
304 <fontsize>10</fontsize>
305 <precision>3</precision>
306 <color>
307 <r>0</r>
308 <g>0</g>
309 <b>0</b>
310 </color>
311 <bgcolor mode="nobackground">
312 <r>255</r>
313 <g>255</g>
314 <b>255</b>
315 </bgcolor>
316 <bordermode>noborder</bordermode>
317 <borderradius>1</borderradius>
318 <borderwidth>1</borderwidth>
319 </bsbObject>
320 <bsbObject version="2" type="BSBHSlider">
321 <objectName>Freq</objectName>
322 <x>8</x>
323 <y>136</y>
324 <width>500</width>
325 <height>27</height>
326 <uuid>{f5ebacc2-9a31-48e3-adb0-3cb090aec444}</uuid>
327 <visible>true</visible>
328 <midichan>0</midichan>
329 <midicc>0</midicc>
330 <minimum>0.00000000</minimum>
331 <maximum>1.00000000</maximum>
332 <value>0.40000001</value>
333 <mode>lin</mode>
334 <mouseControl act="jump">continuous</mouseControl>
335 <resolution>-1.00000000</resolution>
336 <randomizable group="0">false</randomizable>
337 </bsbObject>
338 <bsbObject version="2" type="BSBDisplay">
339 <objectName>Freq_Value</objectName>
340 <x>448</x>
341 <y>157</y>
342 <width>60</width>
343 <height>30</height>
344 <uuid>{221d17eb-f6ee-4286-a97f-e6bc5c0a1749}</uuid>
345 <visible>true</visible>
346 <midichan>0</midichan>
347 <midicc>0</midicc>
348 <label>317.053</label>
349 <alignment>right</alignment>
350 <font>Liberation Sans</font>
351 <fontsize>9</fontsize>
352 <precision>3</precision>
353 <color>
354 <r>0</r>
355 <g>0</g>
356 <b>0</b>
357 </color>
358 <bgcolor mode="nobackground">
359 <r>255</r>
360 <g>255</g>
361 <b>255</b>
362 </bgcolor>
363 <bordermode>noborder</bordermode>
364 <borderradius>1</borderradius>
365 <borderwidth>1</borderwidth>
366 </bsbObject>
367 <bsbObject version="2" type="BSBLabel">
368 <objectName/>
369 <x>8</x>
370 <y>203</y>
371 <width>220</width>
372 <height>30</height>
373 <uuid>{bce7cccd-a303-4a57-af94-fd50cf914991}</uuid>
374 <visible>true</visible>
375 <midichan>0</midichan>
376 <midicc>0</midicc>
377 <label>Filter Resonance</label>
378 <alignment>left</alignment>
379 <font>Liberation Sans</font>
380 <fontsize>10</fontsize>
381 <precision>3</precision>
382 <color>
383 <r>0</r>
384 <g>0</g>
385 <b>0</b>
386 </color>
387 <bgcolor mode="nobackground">
388 <r>255</r>
389 <g>255</g>
390 <b>255</b>
391 </bgcolor>
392 <bordermode>noborder</bordermode>
393 <borderradius>1</borderradius>
394 <borderwidth>1</borderwidth>
395 </bsbObject>
396 <bsbObject version="2" type="BSBHSlider">
397 <objectName>FiltReso</objectName>
398 <x>8</x>
399 <y>182</y>
400 <width>500</width>
401 <height>27</height>
402 <uuid>{aaf82558-9229-4d61-8190-0286f3764e87}</uuid>
403 <visible>true</visible>
404 <midichan>0</midichan>
405 <midicc>0</midicc>
406 <minimum>0.80000000</minimum>
407 <maximum>0.90000000</maximum>
408 <value>0.85000002</value>
409 <mode>lin</mode>
410 <mouseControl act="jump">continuous</mouseControl>
411 <resolution>-1.00000000</resolution>
412 <randomizable group="0">false</randomizable>
413 </bsbObject>
414 <bsbObject version="2" type="BSBDisplay">
415 <objectName>FiltReso</objectName>
416 <x>448</x>
417 <y>203</y>
418 <width>60</width>
419 <height>30</height>
420 <uuid>{1cd1723d-bcd9-44df-9f08-9d8191f03601}</uuid>
421 <visible>true</visible>
422 <midichan>0</midichan>
423 <midicc>0</midicc>
424 <label>0.850</label>
425 <alignment>right</alignment>
426 <font>Liberation Sans</font>
427 <fontsize>9</fontsize>
428 <precision>3</precision>
429 <color>
430 <r>0</r>
431 <g>0</g>
432 <b>0</b>
433 </color>
434 <bgcolor mode="nobackground">
435 <r>255</r>
436 <g>255</g>
437 <b>255</b>
438 </bgcolor>
439 <bordermode>noborder</bordermode>
440 <borderradius>1</borderradius>
441 <borderwidth>1</borderwidth>
442 </bsbObject>
443 <bsbObject version="2" type="BSBLabel">
444 <objectName/>
445 <x>8</x>
446 <y>249</y>
447 <width>220</width>
448 <height>30</height>
449 <uuid>{0f0e06ef-104c-459c-8a8b-3bf531321341}</uuid>
450 <visible>true</visible>
451 <midichan>0</midichan>
452 <midicc>0</midicc>
453 <label>Filter Rate (x 10000)</label>
454 <alignment>left</alignment>
455 <font>Liberation Sans</font>
456 <fontsize>10</fontsize>
457 <precision>3</precision>
458 <color>
459 <r>0</r>
460 <g>0</g>
461 <b>0</b>
462 </color>
463 <bgcolor mode="nobackground">
464 <r>255</r>
465 <g>255</g>
466 <b>255</b>
467 </bgcolor>
468 <bordermode>noborder</bordermode>
469 <borderradius>1</borderradius>
470 <borderwidth>1</borderwidth>
471 </bsbObject>
472 <bsbObject version="2" type="BSBHSlider">
473 <objectName>FiltRate</objectName>
474 <x>8</x>
475 <y>228</y>
476 <width>500</width>
477 <height>27</height>
478 <uuid>{4a2f399c-8a7b-40cf-84ab-839e1d7012f5}</uuid>
479 <visible>true</visible>
480 <midichan>0</midichan>
481 <midicc>0</midicc>
482 <minimum>0.00000000</minimum>
483 <maximum>2.00000000</maximum>
484 <value>0.30000001</value>
485 <mode>lin</mode>
486 <mouseControl act="jump">continuous</mouseControl>
487 <resolution>-1.00000000</resolution>
488 <randomizable group="0">false</randomizable>
489 </bsbObject>
490 <bsbObject version="2" type="BSBDisplay">
491 <objectName>FiltRate</objectName>
492 <x>448</x>
493 <y>249</y>
494 <width>60</width>
495 <height>30</height>
496 <uuid>{62bd5b38-121f-4382-8c01-02c75edf2237}</uuid>
497 <visible>true</visible>
498 <midichan>0</midichan>
499 <midicc>0</midicc>
500 <label>0.300</label>
501 <alignment>right</alignment>
502 <font>Liberation Sans</font>
503 <fontsize>9</fontsize>
504 <precision>3</precision>
505 <color>
506 <r>0</r>
507 <g>0</g>
508 <b>0</b>
509 </color>
510 <bgcolor mode="nobackground">
511 <r>255</r>
512 <g>255</g>
513 <b>255</b>
514 </bgcolor>
515 <bordermode>noborder</bordermode>
516 <borderradius>1</borderradius>
517 <borderwidth>1</borderwidth>
518 </bsbObject>
519 <bsbObject version="2" type="BSBLabel">
520 <objectName/>
521 <x>8</x>
522 <y>295</y>
523 <width>220</width>
524 <height>30</height>
525 <uuid>{3967c371-a6b0-46ca-a51c-5a44bcad618d}</uuid>
526 <visible>true</visible>
527 <midichan>0</midichan>
528 <midicc>0</midicc>
529 <label>Vibrato Frequency (hertz)</label>
530 <alignment>left</alignment>
531 <font>Liberation Sans</font>
532 <fontsize>10</fontsize>
533 <precision>3</precision>
534 <color>
535 <r>0</r>
536 <g>0</g>
537 <b>0</b>
538 </color>
539 <bgcolor mode="nobackground">
540 <r>255</r>
541 <g>255</g>
542 <b>255</b>
543 </bgcolor>
544 <bordermode>noborder</bordermode>
545 <borderradius>1</borderradius>
546 <borderwidth>1</borderwidth>
547 </bsbObject>
548 <bsbObject version="2" type="BSBHSlider">
549 <objectName>VibFreq</objectName>
550 <x>8</x>
551 <y>274</y>
552 <width>500</width>
553 <height>27</height>
554 <uuid>{fa94c4bb-3469-4fbf-9096-f6f7c115eb69}</uuid>
555 <visible>true</visible>
556 <midichan>0</midichan>
557 <midicc>0</midicc>
558 <minimum>0.00000000</minimum>
559 <maximum>16.00000000</maximum>
560 <value>5.00000000</value>
561 <mode>lin</mode>
562 <mouseControl act="jump">continuous</mouseControl>
563 <resolution>-1.00000000</resolution>
564 <randomizable group="0">false</randomizable>
565 </bsbObject>
566 <bsbObject version="2" type="BSBDisplay">
567 <objectName>VibFreq</objectName>
568 <x>448</x>
569 <y>295</y>
570 <width>60</width>
571 <height>30</height>
572 <uuid>{1f01b045-b441-4f44-8dfe-884fb64aba2a}</uuid>
573 <visible>true</visible>
574 <midichan>0</midichan>
575 <midicc>0</midicc>
576 <label>5.000</label>
577 <alignment>right</alignment>
578 <font>Liberation Sans</font>
579 <fontsize>9</fontsize>
580 <precision>3</precision>
581 <color>
582 <r>0</r>
583 <g>0</g>
584 <b>0</b>
585 </color>
586 <bgcolor mode="nobackground">
587 <r>255</r>
588 <g>255</g>
589 <b>255</b>
590 </bgcolor>
591 <bordermode>noborder</bordermode>
592 <borderradius>1</borderradius>
593 <borderwidth>1</borderwidth>
594 </bsbObject>
595 <bsbObject version="2" type="BSBLabel">
596 <objectName/>
597 <x>8</x>
598 <y>341</y>
599 <width>220</width>
600 <height>30</height>
601 <uuid>{6b22e200-1bf3-42af-9de9-89c4a378e999}</uuid>
602 <visible>true</visible>
603 <midichan>0</midichan>
604 <midicc>0</midicc>
605 <label>Vibrato Amplitude</label>
606 <alignment>left</alignment>
607 <font>Liberation Sans</font>
608 <fontsize>10</fontsize>
609 <precision>3</precision>
610 <color>
611 <r>0</r>
612 <g>0</g>
613 <b>0</b>
614 </color>
615 <bgcolor mode="nobackground">
616 <r>255</r>
617 <g>255</g>
618 <b>255</b>
619 </bgcolor>
620 <bordermode>noborder</bordermode>
621 <borderradius>1</borderradius>
622 <borderwidth>1</borderwidth>
623 </bsbObject>
624 <bsbObject version="2" type="BSBHSlider">
625 <objectName>VibAmp</objectName>
626 <x>8</x>
627 <y>320</y>
628 <width>500</width>
629 <height>27</height>
630 <uuid>{6f93a49e-55f6-42d1-81f0-88dc52e071ed}</uuid>
631 <visible>true</visible>
632 <midichan>0</midichan>
633 <midicc>0</midicc>
634 <minimum>0.00000000</minimum>
635 <maximum>0.10000000</maximum>
636 <value>0.00000000</value>
637 <mode>lin</mode>
638 <mouseControl act="jump">continuous</mouseControl>
639 <resolution>-1.00000000</resolution>
640 <randomizable group="0">false</randomizable>
641 </bsbObject>
642 <bsbObject version="2" type="BSBDisplay">
643 <objectName>VibAmp</objectName>
644 <x>448</x>
645 <y>341</y>
646 <width>60</width>
647 <height>30</height>
648 <uuid>{88e65190-6184-44dd-bba2-2ca94caf8b47}</uuid>
649 <visible>true</visible>
650 <midichan>0</midichan>
651 <midicc>0</midicc>
652 <label>0.000</label>
653 <alignment>right</alignment>
654 <font>Liberation Sans</font>
655 <fontsize>9</fontsize>
656 <precision>3</precision>
657 <color>
658 <r>0</r>
659 <g>0</g>
660 <b>0</b>
661 </color>
662 <bgcolor mode="nobackground">
663 <r>255</r>
664 <g>255</g>
665 <b>255</b>
666 </bgcolor>
667 <bordermode>noborder</bordermode>
668 <borderradius>1</borderradius>
669 <borderwidth>1</borderwidth>
670 </bsbObject>
671 <bsbObject version="2" type="BSBDropdown">
672 <objectName>Waveform</objectName>
673 <x>262</x>
674 <y>49</y>
675 <width>120</width>
676 <height>30</height>
677 <uuid>{4d05e71c-4846-4f38-8c31-f1ad8c66261b}</uuid>
678 <visible>true</visible>
679 <midichan>0</midichan>
680 <midicc>0</midicc>
681 <bsbDropdownItemList>
682 <bsbDropdownItem>
683 <name>Sawtooth</name>
684 <value>0</value>
685 <stringvalue/>
686 </bsbDropdownItem>
687 <bsbDropdownItem>
688 <name>Square</name>
689 <value>1</value>
690 <stringvalue/>
691 </bsbDropdownItem>
692 </bsbDropdownItemList>
693 <selectedIndex>0</selectedIndex>
694 <randomizable group="0">false</randomizable>
695 </bsbObject>
696 <bsbObject version="2" type="BSBLabel">
697 <objectName/>
698 <x>162</x>
699 <y>53</y>
700 <width>100</width>
701 <height>30</height>
702 <uuid>{a7659823-fc33-43c8-a408-afd29bfd16c9}</uuid>
703 <visible>true</visible>
704 <midichan>0</midichan>
705 <midicc>0</midicc>
706 <label>WAVEFORM:</label>
707 <alignment>right</alignment>
708 <font>Liberation Sans</font>
709 <fontsize>10</fontsize>
710 <precision>3</precision>
711 <color>
712 <r>0</r>
713 <g>0</g>
714 <b>0</b>
715 </color>
716 <bgcolor mode="nobackground">
717 <r>255</r>
718 <g>255</g>
719 <b>255</b>
720 </bgcolor>
721 <bordermode>noborder</bordermode>
722 <borderradius>1</borderradius>
723 <borderwidth>1</borderwidth>
724 </bsbObject>
725 </bsbPanel>
726 <bsbPresets>
727 </bsbPresets>
728 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>