Debian Codegraph @

src/Examples/CsoundQt/Synths/Simple_Subtractive.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 --midi-key-cps=4 --midi-velocity=5
4 </CsOptions>
5 <CsInstruments>
6
7 sr = 44100
8 ksmps = 128
9 nchnls = 2
10 0dbfs = 1
11
12 ; Make sure CsOptions are not ignored in the preferences,
13 ; Otherwise Realtime MIDI input will not work.
14
15 giatttimemax = 2
16 gidectimemax = 2
17 gireltimemax = 4
18
19 instr 1 ;Subtractive synth
20 kosctype invalue "osctype"
21
22 kftype invalue "ftype"
23 kffreq invalue "ffreq"
24 kffreq portk kffreq, 0.02 ;smooth signal
25 kfres invalue "fres"
26 kfres portk kfres, 0.02 ;smooth signal
27 kfatt invalue "fatt"
28 kfdec invalue "fdec"
29 kfsus invalue "fsus"
30 kfrel invalue "frel"
31 kfenvamt invalue "fenvamt"
32
33 kaatt invalue "aatt"
34 kadec invalue "adec"
35 kasus invalue "asus"
36 karel invalue "arel"
37
38 klvl invalue "lvl"
39
40 ifreq = p4 ;in cps
41 iamp = (p5/127) ;MIDI velocity to linear amp
42
43 itype = i(kosctype)
44
45 if (itype == 0) then
46 aosc oscil iamp, ifreq, 1
47 elseif (itype == 1) then
48 aosc oscil iamp, ifreq, 2
49 elseif (itype == 2) then
50 aosc vco2 iamp, ifreq
51 elseif (itype == 3) then
52 aosc vco2 iamp, ifreq, 2, 0.5
53 endif
54
55 kfenv madsr giatttimemax*i(kfatt), gidectimemax*i(kfdec), i(kfsus), gireltimemax*i(kfrel)
56 kfenv = (kfenv*kfenvamt) + 1
57
58 if (kftype == 0) then
59 aosc moogladder aosc, kffreq*kfenv, kfres
60 elseif (kftype == 1) then
61 aosc moogvcf2 aosc, kffreq*kfenv, kfres
62 elseif (kftype == 2) then
63 aosc rezzy aosc, kffreq*kfenv, kfres*100
64 elseif (kftype == 3) then
65 aosc lowresx aosc, kffreq*kfenv, kfres/3
66 endif
67
68 aenv madsr giatttimemax*i(kaatt), gidectimemax*i(kadec), i(kasus), gireltimemax*i(karel)
69
70 outs aosc*aenv*klvl, aosc*aenv*klvl
71 endin
72
73 instr 98 ; Play note
74 koscfreq invalue "oscfreq"
75 event "i", 1, 0, 3, i(koscfreq), 100
76 turnoff
77 endin
78
79 instr 99 ; Always on
80
81 kcont invalue "cont"
82 koscfreq invalue "oscfreq"
83
84 if kcont == 1 then
85 ktrig metro 0.5
86 schedkwhen ktrig, 0.1, 10, 1, 0, 1, koscfreq, 100
87 endif
88 endin
89
90
91 </CsInstruments>
92 <CsScore>
93 f 1 0 1024 7 -1 1024 1 ;Saw wave
94 f 2 0 1024 7 1 512 1 0 -1 512 -1 ;Square wave
95
96 i 99 0 3600
97 </CsScore>
98 </CsoundSynthesizer>
99 <bsbPanel>
100 <label>Widgets</label>
101 <objectName/>
102 <x>502</x>
103 <y>203</y>
104 <width>613</width>
105 <height>433</height>
106 <visible>true</visible>
107 <uuid/>
108 <bgcolor mode="background">
109 <r>125</r>
110 <g>162</g>
111 <b>160</b>
112 </bgcolor>
113 <bsbObject version="2" type="BSBLabel">
114 <objectName/>
115 <x>216</x>
116 <y>44</y>
117 <width>243</width>
118 <height>189</height>
119 <uuid>{b542d9ea-d625-4ba4-8f8c-b250b4c6d3ca}</uuid>
120 <visible>true</visible>
121 <midichan>0</midichan>
122 <midicc>-3</midicc>
123 <description/>
124 <label>Filter</label>
125 <alignment>center</alignment>
126 <valignment>top</valignment>
127 <font>DejaVu Sans</font>
128 <fontsize>10</fontsize>
129 <precision>3</precision>
130 <color>
131 <r>0</r>
132 <g>0</g>
133 <b>0</b>
134 </color>
135 <bgcolor mode="nobackground">
136 <r>255</r>
137 <g>255</g>
138 <b>255</b>
139 </bgcolor>
140 <bordermode>border</bordermode>
141 <borderradius>1</borderradius>
142 <borderwidth>1</borderwidth>
143 </bsbObject>
144 <bsbObject version="2" type="BSBKnob">
145 <objectName>ffreq</objectName>
146 <x>228</x>
147 <y>52</y>
148 <width>56</width>
149 <height>49</height>
150 <uuid>{e077a857-fca6-48f0-ba58-0e8ed2a8eb99}</uuid>
151 <visible>true</visible>
152 <midichan>0</midichan>
153 <midicc>-3</midicc>
154 <description/>
155 <minimum>100.00000000</minimum>
156 <maximum>5000.00000000</maximum>
157 <value>495.95959600</value>
158 <mode>lin</mode>
159 <mouseControl act="">continuous</mouseControl>
160 <resolution>0.01000000</resolution>
161 <randomizable group="0">false</randomizable>
162 <color>
163 <r>245</r>
164 <g>124</g>
165 <b>0</b>
166 </color>
167 <textcolor>#512900</textcolor>
168 <border>0</border>
169 <borderColor>#512900</borderColor>
170 <showvalue>true</showvalue>
171 <flatstyle>true</flatstyle>
172 <integerMode>false</integerMode>
173 </bsbObject>
174 <bsbObject version="2" type="BSBLabel">
175 <objectName/>
176 <x>232</x>
177 <y>95</y>
178 <width>58</width>
179 <height>26</height>
180 <uuid>{fcf41807-f149-4dfe-ac5c-47576b9933a2}</uuid>
181 <visible>true</visible>
182 <midichan>0</midichan>
183 <midicc>-3</midicc>
184 <description/>
185 <label>Cut Freq</label>
186 <alignment>left</alignment>
187 <valignment>top</valignment>
188 <font>DejaVu Sans</font>
189 <fontsize>10</fontsize>
190 <precision>3</precision>
191 <color>
192 <r>0</r>
193 <g>0</g>
194 <b>0</b>
195 </color>
196 <bgcolor mode="nobackground">
197 <r>255</r>
198 <g>255</g>
199 <b>255</b>
200 </bgcolor>
201 <bordermode>noborder</bordermode>
202 <borderradius>1</borderradius>
203 <borderwidth>0</borderwidth>
204 </bsbObject>
205 <bsbObject version="2" type="BSBKnob">
206 <objectName>fres</objectName>
207 <x>230</x>
208 <y>117</y>
209 <width>55</width>
210 <height>48</height>
211 <uuid>{bc1eac8b-d1bd-4aae-939d-6ebd3ad98585}</uuid>
212 <visible>true</visible>
213 <midichan>0</midichan>
214 <midicc>-3</midicc>
215 <description/>
216 <minimum>0.00000000</minimum>
217 <maximum>1.00000000</maximum>
218 <value>0.42424200</value>
219 <mode>lin</mode>
220 <mouseControl act="">continuous</mouseControl>
221 <resolution>0.01000000</resolution>
222 <randomizable group="0">false</randomizable>
223 <color>
224 <r>245</r>
225 <g>124</g>
226 <b>0</b>
227 </color>
228 <textcolor>#512900</textcolor>
229 <border>0</border>
230 <borderColor>#512900</borderColor>
231 <showvalue>true</showvalue>
232 <flatstyle>true</flatstyle>
233 <integerMode>false</integerMode>
234 </bsbObject>
235 <bsbObject version="2" type="BSBLabel">
236 <objectName/>
237 <x>220</x>
238 <y>160</y>
239 <width>77</width>
240 <height>24</height>
241 <uuid>{eda74469-1888-4351-93c2-f8e464611280}</uuid>
242 <visible>true</visible>
243 <midichan>0</midichan>
244 <midicc>-3</midicc>
245 <description/>
246 <label>Resonance</label>
247 <alignment>center</alignment>
248 <valignment>top</valignment>
249 <font>DejaVu Sans</font>
250 <fontsize>10</fontsize>
251 <precision>3</precision>
252 <color>
253 <r>0</r>
254 <g>0</g>
255 <b>0</b>
256 </color>
257 <bgcolor mode="nobackground">
258 <r>255</r>
259 <g>255</g>
260 <b>255</b>
261 </bgcolor>
262 <bordermode>noborder</bordermode>
263 <borderradius>1</borderradius>
264 <borderwidth>0</borderwidth>
265 </bsbObject>
266 <bsbObject version="2" type="BSBDropdown">
267 <objectName>ftype</objectName>
268 <x>339</x>
269 <y>67</y>
270 <width>110</width>
271 <height>30</height>
272 <uuid>{6fbb28f4-5242-4967-ac09-2e2f8a9f296e}</uuid>
273 <visible>true</visible>
274 <midichan>0</midichan>
275 <midicc>0</midicc>
276 <description/>
277 <bsbDropdownItemList>
278 <bsbDropdownItem>
279 <name>moogladder</name>
280 <value>0</value>
281 <stringvalue/>
282 </bsbDropdownItem>
283 <bsbDropdownItem>
284 <name> moogvcf2</name>
285 <value>1</value>
286 <stringvalue/>
287 </bsbDropdownItem>
288 <bsbDropdownItem>
289 <name> rezzy</name>
290 <value>2</value>
291 <stringvalue/>
292 </bsbDropdownItem>
293 <bsbDropdownItem>
294 <name> lowresx</name>
295 <value>3</value>
296 <stringvalue/>
297 </bsbDropdownItem>
298 </bsbDropdownItemList>
299 <selectedIndex>1</selectedIndex>
300 <randomizable group="0">false</randomizable>
301 </bsbObject>
302 <bsbObject version="2" type="BSBLabel">
303 <objectName/>
304 <x>292</x>
305 <y>69</y>
306 <width>53</width>
307 <height>25</height>
308 <uuid>{d640e32c-b354-4946-9dff-620a2e3b23a1}</uuid>
309 <visible>true</visible>
310 <midichan>0</midichan>
311 <midicc>-3</midicc>
312 <description/>
313 <label>Opcode </label>
314 <alignment>left</alignment>
315 <valignment>top</valignment>
316 <font>DejaVu Sans</font>
317 <fontsize>10</fontsize>
318 <precision>3</precision>
319 <color>
320 <r>0</r>
321 <g>0</g>
322 <b>0</b>
323 </color>
324 <bgcolor mode="nobackground">
325 <r>255</r>
326 <g>255</g>
327 <b>255</b>
328 </bgcolor>
329 <bordermode>noborder</bordermode>
330 <borderradius>1</borderradius>
331 <borderwidth>0</borderwidth>
332 </bsbObject>
333 <bsbObject version="2" type="BSBVSlider">
334 <objectName>fatt</objectName>
335 <x>331</x>
336 <y>100</y>
337 <width>20</width>
338 <height>100</height>
339 <uuid>{1547e11c-c289-4a0f-9bbc-f6ee054dae98}</uuid>
340 <visible>true</visible>
341 <midichan>0</midichan>
342 <midicc>-3</midicc>
343 <description/>
344 <minimum>0.00000100</minimum>
345 <maximum>1.00000000</maximum>
346 <value>0.27000100</value>
347 <mode>lin</mode>
348 <mouseControl act="jump">continuous</mouseControl>
349 <resolution>-1.00000000</resolution>
350 <randomizable group="0">false</randomizable>
351 </bsbObject>
352 <bsbObject version="2" type="BSBVSlider">
353 <objectName>fdec</objectName>
354 <x>358</x>
355 <y>100</y>
356 <width>20</width>
357 <height>100</height>
358 <uuid>{f8b9b548-92dc-412a-82ea-e6e678dddfc1}</uuid>
359 <visible>true</visible>
360 <midichan>0</midichan>
361 <midicc>-3</midicc>
362 <description/>
363 <minimum>0.00000100</minimum>
364 <maximum>1.00000000</maximum>
365 <value>0.24000100</value>
366 <mode>lin</mode>
367 <mouseControl act="jump">continuous</mouseControl>
368 <resolution>-1.00000000</resolution>
369 <randomizable group="0">false</randomizable>
370 </bsbObject>
371 <bsbObject version="2" type="BSBVSlider">
372 <objectName>fsus</objectName>
373 <x>383</x>
374 <y>100</y>
375 <width>20</width>
376 <height>100</height>
377 <uuid>{7afe30e7-06f5-4f94-8806-3e36833df753}</uuid>
378 <visible>true</visible>
379 <midichan>0</midichan>
380 <midicc>-3</midicc>
381 <description/>
382 <minimum>0.00000000</minimum>
383 <maximum>1.00000000</maximum>
384 <value>0.28000000</value>
385 <mode>lin</mode>
386 <mouseControl act="jump">continuous</mouseControl>
387 <resolution>-1.00000000</resolution>
388 <randomizable group="0">false</randomizable>
389 </bsbObject>
390 <bsbObject version="2" type="BSBVSlider">
391 <objectName>frel</objectName>
392 <x>410</x>
393 <y>100</y>
394 <width>20</width>
395 <height>100</height>
396 <uuid>{a40e816b-1b4e-4093-b0ff-ba3930ffa741}</uuid>
397 <visible>true</visible>
398 <midichan>0</midichan>
399 <midicc>-3</midicc>
400 <description/>
401 <minimum>0.00000100</minimum>
402 <maximum>1.00000000</maximum>
403 <value>0.02000100</value>
404 <mode>lin</mode>
405 <mouseControl act="jump">continuous</mouseControl>
406 <resolution>-1.00000000</resolution>
407 <randomizable group="0">false</randomizable>
408 </bsbObject>
409 <bsbObject version="2" type="BSBLabel">
410 <objectName/>
411 <x>331</x>
412 <y>200</y>
413 <width>18</width>
414 <height>24</height>
415 <uuid>{18226ee2-5436-49f1-a2d2-a2e7c33c2a9f}</uuid>
416 <visible>true</visible>
417 <midichan>0</midichan>
418 <midicc>-3</midicc>
419 <description/>
420 <label>A</label>
421 <alignment>left</alignment>
422 <valignment>top</valignment>
423 <font>DejaVu Sans</font>
424 <fontsize>10</fontsize>
425 <precision>3</precision>
426 <color>
427 <r>0</r>
428 <g>0</g>
429 <b>0</b>
430 </color>
431 <bgcolor mode="nobackground">
432 <r>255</r>
433 <g>255</g>
434 <b>255</b>
435 </bgcolor>
436 <bordermode>noborder</bordermode>
437 <borderradius>1</borderradius>
438 <borderwidth>0</borderwidth>
439 </bsbObject>
440 <bsbObject version="2" type="BSBLabel">
441 <objectName/>
442 <x>359</x>
443 <y>200</y>
444 <width>18</width>
445 <height>24</height>
446 <uuid>{d49c4838-e7af-43e7-8e86-b4374c49a2d9}</uuid>
447 <visible>true</visible>
448 <midichan>0</midichan>
449 <midicc>-3</midicc>
450 <description/>
451 <label>D</label>
452 <alignment>left</alignment>
453 <valignment>top</valignment>
454 <font>DejaVu Sans</font>
455 <fontsize>10</fontsize>
456 <precision>3</precision>
457 <color>
458 <r>0</r>
459 <g>0</g>
460 <b>0</b>
461 </color>
462 <bgcolor mode="nobackground">
463 <r>255</r>
464 <g>255</g>
465 <b>255</b>
466 </bgcolor>
467 <bordermode>noborder</bordermode>
468 <borderradius>1</borderradius>
469 <borderwidth>0</borderwidth>
470 </bsbObject>
471 <bsbObject version="2" type="BSBLabel">
472 <objectName/>
473 <x>384</x>
474 <y>200</y>
475 <width>18</width>
476 <height>24</height>
477 <uuid>{1522064a-d37e-436e-b2f6-6c9bfdd16df9}</uuid>
478 <visible>true</visible>
479 <midichan>0</midichan>
480 <midicc>-3</midicc>
481 <description/>
482 <label>S</label>
483 <alignment>left</alignment>
484 <valignment>top</valignment>
485 <font>DejaVu Sans</font>
486 <fontsize>10</fontsize>
487 <precision>3</precision>
488 <color>
489 <r>0</r>
490 <g>0</g>
491 <b>0</b>
492 </color>
493 <bgcolor mode="nobackground">
494 <r>255</r>
495 <g>255</g>
496 <b>255</b>
497 </bgcolor>
498 <bordermode>noborder</bordermode>
499 <borderradius>1</borderradius>
500 <borderwidth>0</borderwidth>
501 </bsbObject>
502 <bsbObject version="2" type="BSBLabel">
503 <objectName/>
504 <x>410</x>
505 <y>199</y>
506 <width>18</width>
507 <height>24</height>
508 <uuid>{b485842b-80e7-4e4c-9ccf-e3cf104f187f}</uuid>
509 <visible>true</visible>
510 <midichan>0</midichan>
511 <midicc>-3</midicc>
512 <description/>
513 <label>R</label>
514 <alignment>left</alignment>
515 <valignment>top</valignment>
516 <font>DejaVu Sans</font>
517 <fontsize>10</fontsize>
518 <precision>3</precision>
519 <color>
520 <r>0</r>
521 <g>0</g>
522 <b>0</b>
523 </color>
524 <bgcolor mode="nobackground">
525 <r>255</r>
526 <g>255</g>
527 <b>255</b>
528 </bgcolor>
529 <bordermode>noborder</bordermode>
530 <borderradius>1</borderradius>
531 <borderwidth>0</borderwidth>
532 </bsbObject>
533 <bsbObject version="2" type="BSBLabel">
534 <objectName/>
535 <x>465</x>
536 <y>44</y>
537 <width>124</width>
538 <height>189</height>
539 <uuid>{9e3d556f-e489-435d-bc7c-97a868c27d64}</uuid>
540 <visible>true</visible>
541 <midichan>0</midichan>
542 <midicc>-3</midicc>
543 <description/>
544 <label>Amp Env</label>
545 <alignment>left</alignment>
546 <valignment>top</valignment>
547 <font>DejaVu Sans</font>
548 <fontsize>10</fontsize>
549 <precision>3</precision>
550 <color>
551 <r>0</r>
552 <g>0</g>
553 <b>0</b>
554 </color>
555 <bgcolor mode="nobackground">
556 <r>255</r>
557 <g>255</g>
558 <b>255</b>
559 </bgcolor>
560 <bordermode>border</bordermode>
561 <borderradius>1</borderradius>
562 <borderwidth>1</borderwidth>
563 </bsbObject>
564 <bsbObject version="2" type="BSBLabel">
565 <objectName/>
566 <x>9</x>
567 <y>44</y>
568 <width>200</width>
569 <height>189</height>
570 <uuid>{73adfc9f-4df8-45e4-86c8-6a71a4dadc3b}</uuid>
571 <visible>true</visible>
572 <midichan>0</midichan>
573 <midicc>-3</midicc>
574 <description/>
575 <label>Oscillator</label>
576 <alignment>center</alignment>
577 <valignment>top</valignment>
578 <font>DejaVu Sans</font>
579 <fontsize>10</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>border</bordermode>
592 <borderradius>1</borderradius>
593 <borderwidth>1</borderwidth>
594 </bsbObject>
595 <bsbObject version="2" type="BSBDropdown">
596 <objectName>osctype</objectName>
597 <x>18</x>
598 <y>70</y>
599 <width>154</width>
600 <height>30</height>
601 <uuid>{174520cb-035b-421b-935b-dcf96933287e}</uuid>
602 <visible>true</visible>
603 <midichan>0</midichan>
604 <midicc>0</midicc>
605 <description/>
606 <bsbDropdownItemList>
607 <bsbDropdownItem>
608 <name>Saw</name>
609 <value>0</value>
610 <stringvalue/>
611 </bsbDropdownItem>
612 <bsbDropdownItem>
613 <name>Square</name>
614 <value>1</value>
615 <stringvalue/>
616 </bsbDropdownItem>
617 <bsbDropdownItem>
618 <name>Band-Lim. Saw</name>
619 <value>2</value>
620 <stringvalue/>
621 </bsbDropdownItem>
622 <bsbDropdownItem>
623 <name>Band-lim Square</name>
624 <value>3</value>
625 <stringvalue/>
626 </bsbDropdownItem>
627 </bsbDropdownItemList>
628 <selectedIndex>2</selectedIndex>
629 <randomizable group="0">false</randomizable>
630 </bsbObject>
631 <bsbObject version="2" type="BSBVSlider">
632 <objectName>aatt</objectName>
633 <x>479</x>
634 <y>65</y>
635 <width>20</width>
636 <height>100</height>
637 <uuid>{9c20c1f0-dac8-49c8-a022-14477e73432e}</uuid>
638 <visible>true</visible>
639 <midichan>0</midichan>
640 <midicc>-3</midicc>
641 <description/>
642 <minimum>0.00000100</minimum>
643 <maximum>1.00000000</maximum>
644 <value>0.00000100</value>
645 <mode>lin</mode>
646 <mouseControl act="jump">continuous</mouseControl>
647 <resolution>-1.00000000</resolution>
648 <randomizable group="0">false</randomizable>
649 </bsbObject>
650 <bsbObject version="2" type="BSBVSlider">
651 <objectName>adec</objectName>
652 <x>506</x>
653 <y>65</y>
654 <width>20</width>
655 <height>100</height>
656 <uuid>{3e1a333a-8f89-4086-bfb2-0db2e61e1a89}</uuid>
657 <visible>true</visible>
658 <midichan>0</midichan>
659 <midicc>-3</midicc>
660 <description/>
661 <minimum>0.00000100</minimum>
662 <maximum>1.00000000</maximum>
663 <value>0.00000100</value>
664 <mode>lin</mode>
665 <mouseControl act="jump">continuous</mouseControl>
666 <resolution>-1.00000000</resolution>
667 <randomizable group="0">false</randomizable>
668 </bsbObject>
669 <bsbObject version="2" type="BSBVSlider">
670 <objectName>asus</objectName>
671 <x>531</x>
672 <y>65</y>
673 <width>20</width>
674 <height>100</height>
675 <uuid>{02d697b0-77e4-4d0c-add5-30e36794ece0}</uuid>
676 <visible>true</visible>
677 <midichan>0</midichan>
678 <midicc>-3</midicc>
679 <description/>
680 <minimum>0.00000000</minimum>
681 <maximum>1.00000000</maximum>
682 <value>0.52000000</value>
683 <mode>lin</mode>
684 <mouseControl act="jump">continuous</mouseControl>
685 <resolution>-1.00000000</resolution>
686 <randomizable group="0">false</randomizable>
687 </bsbObject>
688 <bsbObject version="2" type="BSBVSlider">
689 <objectName>arel</objectName>
690 <x>558</x>
691 <y>65</y>
692 <width>20</width>
693 <height>100</height>
694 <uuid>{2e9cf2ae-7997-4391-9363-0ea7ba3fe217}</uuid>
695 <visible>true</visible>
696 <midichan>0</midichan>
697 <midicc>-3</midicc>
698 <description/>
699 <minimum>0.00000100</minimum>
700 <maximum>1.00000000</maximum>
701 <value>0.10000100</value>
702 <mode>lin</mode>
703 <mouseControl act="jump">continuous</mouseControl>
704 <resolution>-1.00000000</resolution>
705 <randomizable group="0">false</randomizable>
706 </bsbObject>
707 <bsbObject version="2" type="BSBLabel">
708 <objectName/>
709 <x>480</x>
710 <y>164</y>
711 <width>18</width>
712 <height>24</height>
713 <uuid>{ed8bc21e-980d-438e-a004-8797008451b4}</uuid>
714 <visible>true</visible>
715 <midichan>0</midichan>
716 <midicc>-3</midicc>
717 <description/>
718 <label>A</label>
719 <alignment>left</alignment>
720 <valignment>top</valignment>
721 <font>DejaVu Sans</font>
722 <fontsize>10</fontsize>
723 <precision>3</precision>
724 <color>
725 <r>0</r>
726 <g>0</g>
727 <b>0</b>
728 </color>
729 <bgcolor mode="nobackground">
730 <r>255</r>
731 <g>255</g>
732 <b>255</b>
733 </bgcolor>
734 <bordermode>noborder</bordermode>
735 <borderradius>1</borderradius>
736 <borderwidth>0</borderwidth>
737 </bsbObject>
738 <bsbObject version="2" type="BSBLabel">
739 <objectName/>
740 <x>508</x>
741 <y>164</y>
742 <width>18</width>
743 <height>24</height>
744 <uuid>{9db192c7-a3b1-452d-ab86-7bc39b5a097e}</uuid>
745 <visible>true</visible>
746 <midichan>0</midichan>
747 <midicc>-3</midicc>
748 <description/>
749 <label>D</label>
750 <alignment>left</alignment>
751 <valignment>top</valignment>
752 <font>DejaVu Sans</font>
753 <fontsize>10</fontsize>
754 <precision>3</precision>
755 <color>
756 <r>0</r>
757 <g>0</g>
758 <b>0</b>
759 </color>
760 <bgcolor mode="nobackground">
761 <r>255</r>
762 <g>255</g>
763 <b>255</b>
764 </bgcolor>
765 <bordermode>noborder</bordermode>
766 <borderradius>1</borderradius>
767 <borderwidth>0</borderwidth>
768 </bsbObject>
769 <bsbObject version="2" type="BSBLabel">
770 <objectName/>
771 <x>533</x>
772 <y>164</y>
773 <width>18</width>
774 <height>24</height>
775 <uuid>{6e841111-90a7-44e2-94df-541c3d28aed5}</uuid>
776 <visible>true</visible>
777 <midichan>0</midichan>
778 <midicc>-3</midicc>
779 <description/>
780 <label>S</label>
781 <alignment>left</alignment>
782 <valignment>top</valignment>
783 <font>DejaVu Sans</font>
784 <fontsize>10</fontsize>
785 <precision>3</precision>
786 <color>
787 <r>0</r>
788 <g>0</g>
789 <b>0</b>
790 </color>
791 <bgcolor mode="nobackground">
792 <r>255</r>
793 <g>255</g>
794 <b>255</b>
795 </bgcolor>
796 <bordermode>noborder</bordermode>
797 <borderradius>1</borderradius>
798 <borderwidth>0</borderwidth>
799 </bsbObject>
800 <bsbObject version="2" type="BSBLabel">
801 <objectName/>
802 <x>559</x>
803 <y>163</y>
804 <width>18</width>
805 <height>24</height>
806 <uuid>{90de043d-9e1a-484e-86c1-2cf0d364f1d8}</uuid>
807 <visible>true</visible>
808 <midichan>0</midichan>
809 <midicc>-3</midicc>
810 <description/>
811 <label>R</label>
812 <alignment>left</alignment>
813 <valignment>top</valignment>
814 <font>DejaVu Sans</font>
815 <fontsize>10</fontsize>
816 <precision>3</precision>
817 <color>
818 <r>0</r>
819 <g>0</g>
820 <b>0</b>
821 </color>
822 <bgcolor mode="nobackground">
823 <r>255</r>
824 <g>255</g>
825 <b>255</b>
826 </bgcolor>
827 <bordermode>noborder</bordermode>
828 <borderradius>1</borderradius>
829 <borderwidth>0</borderwidth>
830 </bsbObject>
831 <bsbObject version="2" type="BSBLabel">
832 <objectName/>
833 <x>7</x>
834 <y>7</y>
835 <width>583</width>
836 <height>29</height>
837 <uuid>{5e72b2e3-b9d2-462e-ba03-7d05e8ca2d8b}</uuid>
838 <visible>true</visible>
839 <midichan>0</midichan>
840 <midicc>-3</midicc>
841 <description/>
842 <label>Simple subtractive synth</label>
843 <alignment>center</alignment>
844 <valignment>top</valignment>
845 <font>DejaVu Sans</font>
846 <fontsize>14</fontsize>
847 <precision>3</precision>
848 <color>
849 <r>0</r>
850 <g>0</g>
851 <b>0</b>
852 </color>
853 <bgcolor mode="background">
854 <r>192</r>
855 <g>231</g>
856 <b>255</b>
857 </bgcolor>
858 <bordermode>noborder</bordermode>
859 <borderradius>1</borderradius>
860 <borderwidth>0</borderwidth>
861 </bsbObject>
862 <bsbObject version="2" type="BSBButton">
863 <objectName/>
864 <x>19</x>
865 <y>124</y>
866 <width>93</width>
867 <height>28</height>
868 <uuid>{c54488fe-3549-4ff1-b78d-04f3503fb0ac}</uuid>
869 <visible>true</visible>
870 <midichan>0</midichan>
871 <midicc>-3</midicc>
872 <description/>
873 <type>event</type>
874 <pressedValue>1.00000000</pressedValue>
875 <stringvalue/>
876 <text>Note</text>
877 <image>/</image>
878 <eventLine>i98 0 3</eventLine>
879 <latch>false</latch>
880 <momentaryMidiButton>false</momentaryMidiButton>
881 <latched>false</latched>
882 <fontsize>10</fontsize>
883 </bsbObject>
884 <bsbObject version="2" type="BSBKnob">
885 <objectName>oscfreq</objectName>
886 <x>111</x>
887 <y>110</y>
888 <width>83</width>
889 <height>50</height>
890 <uuid>{310cd814-0603-4752-be69-051bb802ff29}</uuid>
891 <visible>true</visible>
892 <midichan>0</midichan>
893 <midicc>-3</midicc>
894 <description/>
895 <minimum>110.00000000</minimum>
896 <maximum>880.00000000</maximum>
897 <value>366.66666700</value>
898 <mode>lin</mode>
899 <mouseControl act="">continuous</mouseControl>
900 <resolution>0.01000000</resolution>
901 <randomizable group="0">false</randomizable>
902 <color>
903 <r>245</r>
904 <g>124</g>
905 <b>0</b>
906 </color>
907 <textcolor>#512900</textcolor>
908 <border>0</border>
909 <borderColor>#512900</borderColor>
910 <showvalue>true</showvalue>
911 <flatstyle>true</flatstyle>
912 <integerMode>false</integerMode>
913 </bsbObject>
914 <bsbObject version="2" type="BSBLabel">
915 <objectName/>
916 <x>160</x>
917 <y>165</y>
918 <width>36</width>
919 <height>22</height>
920 <uuid>{41877dd4-4755-4d3f-8496-df8ae5a5377d}</uuid>
921 <visible>true</visible>
922 <midichan>0</midichan>
923 <midicc>-3</midicc>
924 <description/>
925 <label>Hz</label>
926 <alignment>left</alignment>
927 <valignment>top</valignment>
928 <font>DejaVu Sans</font>
929 <fontsize>10</fontsize>
930 <precision>3</precision>
931 <color>
932 <r>0</r>
933 <g>0</g>
934 <b>0</b>
935 </color>
936 <bgcolor mode="nobackground">
937 <r>255</r>
938 <g>255</g>
939 <b>255</b>
940 </bgcolor>
941 <bordermode>noborder</bordermode>
942 <borderradius>1</borderradius>
943 <borderwidth>0</borderwidth>
944 </bsbObject>
945 <bsbObject version="2" type="BSBKnob">
946 <objectName>lvl</objectName>
947 <x>529</x>
948 <y>183</y>
949 <width>56</width>
950 <height>50</height>
951 <uuid>{bafb9667-fb81-4451-9ea9-12b70119e65a}</uuid>
952 <visible>true</visible>
953 <midichan>0</midichan>
954 <midicc>-3</midicc>
955 <description/>
956 <minimum>0.00000000</minimum>
957 <maximum>1.00000000</maximum>
958 <value>0.57575800</value>
959 <mode>lin</mode>
960 <mouseControl act="">continuous</mouseControl>
961 <resolution>0.01000000</resolution>
962 <randomizable group="0">false</randomizable>
963 <color>
964 <r>245</r>
965 <g>124</g>
966 <b>0</b>
967 </color>
968 <textcolor>#512900</textcolor>
969 <border>0</border>
970 <borderColor>#512900</borderColor>
971 <showvalue>true</showvalue>
972 <flatstyle>true</flatstyle>
973 <integerMode>false</integerMode>
974 </bsbObject>
975 <bsbObject version="2" type="BSBLabel">
976 <objectName/>
977 <x>485</x>
978 <y>198</y>
979 <width>45</width>
980 <height>26</height>
981 <uuid>{aa166cf5-67fa-49f5-aaee-33408c17c8b8}</uuid>
982 <visible>true</visible>
983 <midichan>0</midichan>
984 <midicc>-3</midicc>
985 <description/>
986 <label>Level</label>
987 <alignment>left</alignment>
988 <valignment>top</valignment>
989 <font>DejaVu Sans</font>
990 <fontsize>10</fontsize>
991 <precision>3</precision>
992 <color>
993 <r>0</r>
994 <g>0</g>
995 <b>0</b>
996 </color>
997 <bgcolor mode="nobackground">
998 <r>255</r>
999 <g>255</g>
1000 <b>255</b>
1001 </bgcolor>
1002 <bordermode>noborder</bordermode>
1003 <borderradius>1</borderradius>
1004 <borderwidth>0</borderwidth>
1005 </bsbObject>
1006 <bsbObject version="2" type="BSBScrollNumber">
1007 <objectName>oscfreq</objectName>
1008 <x>112</x>
1009 <y>165</y>
1010 <width>49</width>
1011 <height>23</height>
1012 <uuid>{6dd018b2-ea3a-4d42-870d-50132353231e}</uuid>
1013 <visible>true</visible>
1014 <midichan>0</midichan>
1015 <midicc>-3</midicc>
1016 <description/>
1017 <alignment>right</alignment>
1018 <font>DejaVu Sans</font>
1019 <fontsize>10</fontsize>
1020 <color>
1021 <r>0</r>
1022 <g>0</g>
1023 <b>0</b>
1024 </color>
1025 <bgcolor mode="nobackground">
1026 <r>255</r>
1027 <g>255</g>
1028 <b>255</b>
1029 </bgcolor>
1030 <value>374.40000000</value>
1031 <resolution>0.10000000</resolution>
1032 <minimum>-999999999999.00000000</minimum>
1033 <maximum>99999999999999.00000000</maximum>
1034 <bordermode>noborder</bordermode>
1035 <borderradius>1</borderradius>
1036 <borderwidth>0</borderwidth>
1037 <randomizable group="0">false</randomizable>
1038 <mouseControl act=""/>
1039 </bsbObject>
1040 <bsbObject version="2" type="BSBScope">
1041 <objectName/>
1042 <x>9</x>
1043 <y>241</y>
1044 <width>580</width>
1045 <height>148</height>
1046 <uuid>{731d1212-45ea-43d2-9703-84c12261bdd9}</uuid>
1047 <visible>true</visible>
1048 <midichan>0</midichan>
1049 <midicc>-3</midicc>
1050 <description/>
1051 <value>1.00000000</value>
1052 <type>scope</type>
1053 <zoomx>2.00000000</zoomx>
1054 <zoomy>1.00000000</zoomy>
1055 <dispx>1.00000000</dispx>
1056 <dispy>1.00000000</dispy>
1057 <mode>0.00000000</mode>
1058 <triggermode>NoTrigger</triggermode>
1059 </bsbObject>
1060 <bsbObject version="2" type="BSBKnob">
1061 <objectName>fenvamt</objectName>
1062 <x>286</x>
1063 <y>188</y>
1064 <width>47</width>
1065 <height>38</height>
1066 <uuid>{c0ba12ff-f822-4db9-b0cd-23cfd062a63e}</uuid>
1067 <visible>true</visible>
1068 <midichan>0</midichan>
1069 <midicc>-3</midicc>
1070 <description/>
1071 <minimum>0.00000000</minimum>
1072 <maximum>4.00000000</maximum>
1073 <value>4.00000000</value>
1074 <mode>lin</mode>
1075 <mouseControl act="">continuous</mouseControl>
1076 <resolution>0.01000000</resolution>
1077 <randomizable group="0">false</randomizable>
1078 <color>
1079 <r>245</r>
1080 <g>124</g>
1081 <b>0</b>
1082 </color>
1083 <textcolor>#512900</textcolor>
1084 <border>0</border>
1085 <borderColor>#512900</borderColor>
1086 <showvalue>true</showvalue>
1087 <flatstyle>true</flatstyle>
1088 <integerMode>false</integerMode>
1089 </bsbObject>
1090 <bsbObject version="2" type="BSBLabel">
1091 <objectName/>
1092 <x>219</x>
1093 <y>196</y>
1094 <width>77</width>
1095 <height>24</height>
1096 <uuid>{1755a6b9-28ba-49b2-b7ef-6529543f27f1}</uuid>
1097 <visible>true</visible>
1098 <midichan>0</midichan>
1099 <midicc>-3</midicc>
1100 <description/>
1101 <label>Env Amount</label>
1102 <alignment>center</alignment>
1103 <valignment>top</valignment>
1104 <font>DejaVu Sans</font>
1105 <fontsize>10</fontsize>
1106 <precision>3</precision>
1107 <color>
1108 <r>0</r>
1109 <g>0</g>
1110 <b>0</b>
1111 </color>
1112 <bgcolor mode="nobackground">
1113 <r>255</r>
1114 <g>255</g>
1115 <b>255</b>
1116 </bgcolor>
1117 <bordermode>noborder</bordermode>
1118 <borderradius>1</borderradius>
1119 <borderwidth>0</borderwidth>
1120 </bsbObject>
1121 <bsbObject version="2" type="BSBCheckBox">
1122 <objectName>cont</objectName>
1123 <x>23</x>
1124 <y>192</y>
1125 <width>20</width>
1126 <height>20</height>
1127 <uuid>{832c39a1-c6e6-4455-bbd7-5e2df1a01f51}</uuid>
1128 <visible>true</visible>
1129 <midichan>0</midichan>
1130 <midicc>-3</midicc>
1131 <description/>
1132 <selected>true</selected>
1133 <label/>
1134 <pressedValue>1</pressedValue>
1135 <randomizable group="0">false</randomizable>
1136 </bsbObject>
1137 <bsbObject version="2" type="BSBLabel">
1138 <objectName/>
1139 <x>37</x>
1140 <y>192</y>
1141 <width>114</width>
1142 <height>25</height>
1143 <uuid>{59143ad4-f7e2-4a17-9d87-3e522b91b13e}</uuid>
1144 <visible>true</visible>
1145 <midichan>0</midichan>
1146 <midicc>-3</midicc>
1147 <description/>
1148 <label>Continuous notes</label>
1149 <alignment>left</alignment>
1150 <valignment>top</valignment>
1151 <font>DejaVu Sans</font>
1152 <fontsize>10</fontsize>
1153 <precision>3</precision>
1154 <color>
1155 <r>0</r>
1156 <g>0</g>
1157 <b>0</b>
1158 </color>
1159 <bgcolor mode="nobackground">
1160 <r>255</r>
1161 <g>255</g>
1162 <b>255</b>
1163 </bgcolor>
1164 <bordermode>noborder</bordermode>
1165 <borderradius>1</borderradius>
1166 <borderwidth>0</borderwidth>
1167 </bsbObject>
1168 </bsbPanel>
1169 <bsbPresets>
1170 </bsbPresets>