Debian Codegraph @

src/Examples/CsoundQt/Synths/Simple_FM_Synth.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 instr 1 ; Simple two operator FM synth
16
17 ifreq = p4 ; From p4 in the score or cps from MIDI note
18
19 kmodfactor invalue "modfactor"
20 kmodindex invalue "modindex"
21 ; Mod envelope
22 kmodatt invalue "modatt"
23 kmoddec invalue "moddec"
24 kmodsus invalue "modsus"
25 kmodrel invalue "modrel"
26 amodenv madsr i(kmodatt), i(kmoddec), i(kmodsus), i(kmodrel)
27
28 kmodfreq = kmodfactor*ifreq
29 ; Index = Am * fc/fm
30 kmodamp = kmodindex*kmodfactor*ifreq
31 ; Modulator 2
32 amod poscil amodenv*kmodamp, kmodfreq, 1
33
34 ;Carrier amp envelope
35 kaatt invalue "aatt"
36 kadec invalue "adec"
37 kasus invalue "asus"
38 karel invalue "arel"
39 aenv madsr i(kaatt), i(kadec), i(kasus), i(karel)
40
41 ; Carrier
42 aout poscil aenv, ifreq+amod, 1
43
44 ; Output
45 klevel invalue "level"
46 outvalue "index", kmodindex
47
48 outs aout*klevel, aout*klevel
49 endin
50
51 instr 98 ; Trigger instrument from button
52 kfreq invalue "freq"
53 event "i", 1, 0, p3, kfreq
54 turnoff
55 endin
56
57 instr 99 ;Always on instrument
58 ; This instrument updates the modulator's frequencies
59 ; which depend on the base frequency and the freq.
60 ; factors.
61 kfreq invalue "freq"
62 kmodfactor invalue "modfactor"
63 outvalue "mod1freq", kfreq*kmodfactor
64
65 ; Display spectrum
66 aoutl, aoutr monitor
67 dispfft aoutl, 1/18, 4096
68
69 ;Turn on or off according to checkbox
70
71 kon invalue "on"
72 ktrig changed kon
73
74 if ktrig == 1 then
75 if kon == 1 then
76 event "i", 1, 0, -1, kfreq
77 elseif kon == 0 then
78 turnoff2 1, 0, 1
79 endif
80 endif
81
82 endin
83
84 instr setup
85 outvalue "graph1", "@find fft aoutl"
86 turnoff
87 endin
88
89 </CsInstruments>
90 <CsScore>
91 f 1 0 4096 10 1
92 i 99 0 3600
93 i "setup" 0.5 0
94 e
95 </CsScore>
96 </CsoundSynthesizer>
97
98
99
100 <bsbPanel>
101 <label>Widgets</label>
102 <objectName/>
103 <x>0</x>
104 <y>0</y>
105 <width>707</width>
106 <height>667</height>
107 <visible>true</visible>
108 <uuid/>
109 <bgcolor mode="background">
110 <r>150</r>
111 <g>162</g>
112 <b>137</b>
113 </bgcolor>
114 <bsbObject version="2" type="BSBLabel">
115 <objectName/>
116 <x>303</x>
117 <y>57</y>
118 <width>124</width>
119 <height>189</height>
120 <uuid>{d24a6567-245e-4b96-a96c-265154ea2763}</uuid>
121 <visible>true</visible>
122 <midichan>0</midichan>
123 <midicc>-3</midicc>
124 <description/>
125 <label>Carrier Amp Env</label>
126 <alignment>left</alignment>
127 <valignment>top</valignment>
128 <font>DejaVu Sans</font>
129 <fontsize>10</fontsize>
130 <precision>3</precision>
131 <color>
132 <r>0</r>
133 <g>0</g>
134 <b>0</b>
135 </color>
136 <bgcolor mode="nobackground">
137 <r>255</r>
138 <g>255</g>
139 <b>255</b>
140 </bgcolor>
141 <bordermode>border</bordermode>
142 <borderradius>1</borderradius>
143 <borderwidth>1</borderwidth>
144 </bsbObject>
145 <bsbObject version="2" type="BSBVSlider">
146 <objectName>aatt</objectName>
147 <x>317</x>
148 <y>78</y>
149 <width>20</width>
150 <height>100</height>
151 <uuid>{52285914-cd8e-4320-83ed-740bb6e00cc5}</uuid>
152 <visible>true</visible>
153 <midichan>0</midichan>
154 <midicc>-3</midicc>
155 <description/>
156 <minimum>0.00000100</minimum>
157 <maximum>1.00000000</maximum>
158 <value>0.05000100</value>
159 <mode>lin</mode>
160 <mouseControl act="jump">continuous</mouseControl>
161 <resolution>-1.00000000</resolution>
162 <randomizable group="0">false</randomizable>
163 </bsbObject>
164 <bsbObject version="2" type="BSBVSlider">
165 <objectName>adec</objectName>
166 <x>344</x>
167 <y>78</y>
168 <width>20</width>
169 <height>100</height>
170 <uuid>{ae9a1fd4-3a2d-455e-8cf9-0bee3b33cf35}</uuid>
171 <visible>true</visible>
172 <midichan>0</midichan>
173 <midicc>-3</midicc>
174 <description/>
175 <minimum>0.00000100</minimum>
176 <maximum>1.00000000</maximum>
177 <value>0.11000100</value>
178 <mode>lin</mode>
179 <mouseControl act="jump">continuous</mouseControl>
180 <resolution>-1.00000000</resolution>
181 <randomizable group="0">false</randomizable>
182 </bsbObject>
183 <bsbObject version="2" type="BSBVSlider">
184 <objectName>asus</objectName>
185 <x>369</x>
186 <y>78</y>
187 <width>20</width>
188 <height>100</height>
189 <uuid>{3f6778f4-f803-452b-8ad0-0c9d5c4cbd5d}</uuid>
190 <visible>true</visible>
191 <midichan>0</midichan>
192 <midicc>-3</midicc>
193 <description/>
194 <minimum>0.00000000</minimum>
195 <maximum>1.00000000</maximum>
196 <value>0.68000000</value>
197 <mode>lin</mode>
198 <mouseControl act="jump">continuous</mouseControl>
199 <resolution>-1.00000000</resolution>
200 <randomizable group="0">false</randomizable>
201 </bsbObject>
202 <bsbObject version="2" type="BSBVSlider">
203 <objectName>arel</objectName>
204 <x>396</x>
205 <y>78</y>
206 <width>20</width>
207 <height>100</height>
208 <uuid>{ca4f7523-9201-4206-b2b6-a072148c3a2c}</uuid>
209 <visible>true</visible>
210 <midichan>0</midichan>
211 <midicc>-3</midicc>
212 <description/>
213 <minimum>0.00000100</minimum>
214 <maximum>1.00000000</maximum>
215 <value>0.46000100</value>
216 <mode>lin</mode>
217 <mouseControl act="jump">continuous</mouseControl>
218 <resolution>-1.00000000</resolution>
219 <randomizable group="0">false</randomizable>
220 </bsbObject>
221 <bsbObject version="2" type="BSBLabel">
222 <objectName/>
223 <x>319</x>
224 <y>177</y>
225 <width>18</width>
226 <height>24</height>
227 <uuid>{bcf32e26-2bf7-4ad4-8a7b-69ef032ace4a}</uuid>
228 <visible>true</visible>
229 <midichan>0</midichan>
230 <midicc>-3</midicc>
231 <description/>
232 <label>A</label>
233 <alignment>left</alignment>
234 <valignment>top</valignment>
235 <font>DejaVu Sans</font>
236 <fontsize>10</fontsize>
237 <precision>3</precision>
238 <color>
239 <r>0</r>
240 <g>0</g>
241 <b>0</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>0</borderwidth>
251 </bsbObject>
252 <bsbObject version="2" type="BSBLabel">
253 <objectName/>
254 <x>347</x>
255 <y>177</y>
256 <width>18</width>
257 <height>24</height>
258 <uuid>{d5344ca1-d562-4dd8-a4fe-8dd5733a623e}</uuid>
259 <visible>true</visible>
260 <midichan>0</midichan>
261 <midicc>-3</midicc>
262 <description/>
263 <label>D</label>
264 <alignment>left</alignment>
265 <valignment>top</valignment>
266 <font>DejaVu Sans</font>
267 <fontsize>10</fontsize>
268 <precision>3</precision>
269 <color>
270 <r>0</r>
271 <g>0</g>
272 <b>0</b>
273 </color>
274 <bgcolor mode="nobackground">
275 <r>255</r>
276 <g>255</g>
277 <b>255</b>
278 </bgcolor>
279 <bordermode>noborder</bordermode>
280 <borderradius>1</borderradius>
281 <borderwidth>0</borderwidth>
282 </bsbObject>
283 <bsbObject version="2" type="BSBLabel">
284 <objectName/>
285 <x>372</x>
286 <y>177</y>
287 <width>18</width>
288 <height>24</height>
289 <uuid>{73d35ddb-baba-41e2-bf82-d6b91c90cf99}</uuid>
290 <visible>true</visible>
291 <midichan>0</midichan>
292 <midicc>-3</midicc>
293 <description/>
294 <label>S</label>
295 <alignment>left</alignment>
296 <valignment>top</valignment>
297 <font>DejaVu Sans</font>
298 <fontsize>10</fontsize>
299 <precision>3</precision>
300 <color>
301 <r>0</r>
302 <g>0</g>
303 <b>0</b>
304 </color>
305 <bgcolor mode="nobackground">
306 <r>255</r>
307 <g>255</g>
308 <b>255</b>
309 </bgcolor>
310 <bordermode>noborder</bordermode>
311 <borderradius>1</borderradius>
312 <borderwidth>0</borderwidth>
313 </bsbObject>
314 <bsbObject version="2" type="BSBLabel">
315 <objectName/>
316 <x>397</x>
317 <y>176</y>
318 <width>18</width>
319 <height>24</height>
320 <uuid>{a656444c-2c8f-4ec7-ba9d-28908c0c930b}</uuid>
321 <visible>true</visible>
322 <midichan>0</midichan>
323 <midicc>-3</midicc>
324 <description/>
325 <label>R</label>
326 <alignment>left</alignment>
327 <valignment>top</valignment>
328 <font>DejaVu Sans</font>
329 <fontsize>10</fontsize>
330 <precision>3</precision>
331 <color>
332 <r>0</r>
333 <g>0</g>
334 <b>0</b>
335 </color>
336 <bgcolor mode="nobackground">
337 <r>255</r>
338 <g>255</g>
339 <b>255</b>
340 </bgcolor>
341 <bordermode>noborder</bordermode>
342 <borderradius>1</borderradius>
343 <borderwidth>0</borderwidth>
344 </bsbObject>
345 <bsbObject version="2" type="BSBKnob">
346 <objectName>level</objectName>
347 <x>367</x>
348 <y>196</y>
349 <width>56</width>
350 <height>50</height>
351 <uuid>{72278ecf-6354-4450-ac8e-0dd2e1ae75a8}</uuid>
352 <visible>true</visible>
353 <midichan>0</midichan>
354 <midicc>-3</midicc>
355 <description/>
356 <minimum>0.00000000</minimum>
357 <maximum>1.00000000</maximum>
358 <value>0.21212100</value>
359 <mode>lin</mode>
360 <mouseControl act="">continuous</mouseControl>
361 <resolution>0.01000000</resolution>
362 <randomizable group="0">false</randomizable>
363 <color>
364 <r>245</r>
365 <g>124</g>
366 <b>0</b>
367 </color>
368 <textcolor>#512900</textcolor>
369 <border>0</border>
370 <borderColor>#512900</borderColor>
371 <showvalue>true</showvalue>
372 <flatstyle>true</flatstyle>
373 <integerMode>false</integerMode>
374 </bsbObject>
375 <bsbObject version="2" type="BSBLabel">
376 <objectName/>
377 <x>323</x>
378 <y>211</y>
379 <width>45</width>
380 <height>26</height>
381 <uuid>{28be316d-00c7-4ce9-aa38-795d5e410491}</uuid>
382 <visible>true</visible>
383 <midichan>0</midichan>
384 <midicc>-3</midicc>
385 <description/>
386 <label>Level</label>
387 <alignment>left</alignment>
388 <valignment>top</valignment>
389 <font>DejaVu Sans</font>
390 <fontsize>10</fontsize>
391 <precision>3</precision>
392 <color>
393 <r>0</r>
394 <g>0</g>
395 <b>0</b>
396 </color>
397 <bgcolor mode="nobackground">
398 <r>255</r>
399 <g>255</g>
400 <b>255</b>
401 </bgcolor>
402 <bordermode>noborder</bordermode>
403 <borderradius>1</borderradius>
404 <borderwidth>0</borderwidth>
405 </bsbObject>
406 <bsbObject version="2" type="BSBButton">
407 <objectName/>
408 <x>326</x>
409 <y>255</y>
410 <width>93</width>
411 <height>28</height>
412 <uuid>{8fd7940b-e8ae-4dcc-ad46-a1122c8304dc}</uuid>
413 <visible>true</visible>
414 <midichan>0</midichan>
415 <midicc>-3</midicc>
416 <description/>
417 <type>event</type>
418 <pressedValue>1.00000000</pressedValue>
419 <stringvalue/>
420 <text>Note</text>
421 <image>/</image>
422 <eventLine>i98 0 3</eventLine>
423 <latch>false</latch>
424 <momentaryMidiButton>false</momentaryMidiButton>
425 <latched>false</latched>
426 <fontsize>10</fontsize>
427 </bsbObject>
428 <bsbObject version="2" type="BSBKnob">
429 <objectName>freq</objectName>
430 <x>326</x>
431 <y>288</y>
432 <width>48</width>
433 <height>49</height>
434 <uuid>{b570746e-7bce-4da8-8d2c-484962ef3051}</uuid>
435 <visible>true</visible>
436 <midichan>0</midichan>
437 <midicc>-3</midicc>
438 <description/>
439 <minimum>110.00000000</minimum>
440 <maximum>880.00000000</maximum>
441 <value>312.22222200</value>
442 <mode>lin</mode>
443 <mouseControl act="">continuous</mouseControl>
444 <resolution>0.01000000</resolution>
445 <randomizable group="0">false</randomizable>
446 <color>
447 <r>245</r>
448 <g>124</g>
449 <b>0</b>
450 </color>
451 <textcolor>#512900</textcolor>
452 <border>0</border>
453 <borderColor>#512900</borderColor>
454 <showvalue>true</showvalue>
455 <flatstyle>true</flatstyle>
456 <integerMode>false</integerMode>
457 </bsbObject>
458 <bsbObject version="2" type="BSBLabel">
459 <objectName/>
460 <x>360</x>
461 <y>336</y>
462 <width>35</width>
463 <height>25</height>
464 <uuid>{440ae8a0-c22e-4bc6-90b6-b38735055e8a}</uuid>
465 <visible>true</visible>
466 <midichan>0</midichan>
467 <midicc>-3</midicc>
468 <description/>
469 <label>Hz</label>
470 <alignment>left</alignment>
471 <valignment>top</valignment>
472 <font>DejaVu Sans</font>
473 <fontsize>10</fontsize>
474 <precision>3</precision>
475 <color>
476 <r>0</r>
477 <g>0</g>
478 <b>0</b>
479 </color>
480 <bgcolor mode="nobackground">
481 <r>255</r>
482 <g>255</g>
483 <b>255</b>
484 </bgcolor>
485 <bordermode>noborder</bordermode>
486 <borderradius>1</borderradius>
487 <borderwidth>0</borderwidth>
488 </bsbObject>
489 <bsbObject version="2" type="BSBScrollNumber">
490 <objectName>freq</objectName>
491 <x>313</x>
492 <y>341</y>
493 <width>49</width>
494 <height>23</height>
495 <uuid>{b7c10b60-531a-4d72-9e4b-5481a69f0863}</uuid>
496 <visible>true</visible>
497 <midichan>0</midichan>
498 <midicc>-3</midicc>
499 <description/>
500 <alignment>right</alignment>
501 <font>Helvetica</font>
502 <fontsize>10</fontsize>
503 <color>
504 <r>0</r>
505 <g>0</g>
506 <b>0</b>
507 </color>
508 <bgcolor mode="nobackground">
509 <r>255</r>
510 <g>255</g>
511 <b>255</b>
512 </bgcolor>
513 <value>312.20000000</value>
514 <resolution>0.10000000</resolution>
515 <minimum>-999999999999.00000000</minimum>
516 <maximum>99999999999999.00000000</maximum>
517 <bordermode>noborder</bordermode>
518 <borderradius>1</borderradius>
519 <borderwidth>0</borderwidth>
520 <randomizable group="0">false</randomizable>
521 <mouseControl act=""/>
522 </bsbObject>
523 <bsbObject version="2" type="BSBLabel">
524 <objectName/>
525 <x>7</x>
526 <y>3</y>
527 <width>421</width>
528 <height>46</height>
529 <uuid>{7d867dcb-f254-41e1-9688-ac4493acaffa}</uuid>
530 <visible>true</visible>
531 <midichan>0</midichan>
532 <midicc>-3</midicc>
533 <description/>
534 <label>Simple FM Synth</label>
535 <alignment>center</alignment>
536 <valignment>center</valignment>
537 <font>Bitstream Vera Sans</font>
538 <fontsize>22</fontsize>
539 <precision>3</precision>
540 <color>
541 <r>255</r>
542 <g>255</g>
543 <b>255</b>
544 </color>
545 <bgcolor mode="background">
546 <r>85</r>
547 <g>85</g>
548 <b>0</b>
549 </bgcolor>
550 <bordermode>false</bordermode>
551 <borderradius>1</borderradius>
552 <borderwidth>0</borderwidth>
553 </bsbObject>
554 <bsbObject version="2" type="BSBLabel">
555 <objectName/>
556 <x>7</x>
557 <y>57</y>
558 <width>291</width>
559 <height>189</height>
560 <uuid>{997d3d17-6315-467b-87e9-f90019528715}</uuid>
561 <visible>true</visible>
562 <midichan>0</midichan>
563 <midicc>-3</midicc>
564 <description/>
565 <label>Modulator</label>
566 <alignment>left</alignment>
567 <valignment>top</valignment>
568 <font>DejaVu Sans</font>
569 <fontsize>10</fontsize>
570 <precision>3</precision>
571 <color>
572 <r>0</r>
573 <g>0</g>
574 <b>0</b>
575 </color>
576 <bgcolor mode="nobackground">
577 <r>255</r>
578 <g>255</g>
579 <b>255</b>
580 </bgcolor>
581 <bordermode>border</bordermode>
582 <borderradius>1</borderradius>
583 <borderwidth>1</borderwidth>
584 </bsbObject>
585 <bsbObject version="2" type="BSBVSlider">
586 <objectName>modatt</objectName>
587 <x>18</x>
588 <y>91</y>
589 <width>20</width>
590 <height>100</height>
591 <uuid>{92b90402-b30e-4fe4-89cf-1d190c50ac1f}</uuid>
592 <visible>true</visible>
593 <midichan>0</midichan>
594 <midicc>-3</midicc>
595 <description/>
596 <minimum>0.00000100</minimum>
597 <maximum>1.00000000</maximum>
598 <value>0.22000100</value>
599 <mode>lin</mode>
600 <mouseControl act="jump">continuous</mouseControl>
601 <resolution>-1.00000000</resolution>
602 <randomizable group="0">false</randomizable>
603 </bsbObject>
604 <bsbObject version="2" type="BSBVSlider">
605 <objectName>moddec</objectName>
606 <x>45</x>
607 <y>91</y>
608 <width>20</width>
609 <height>100</height>
610 <uuid>{154d0574-233c-4e7e-99d0-40f38e808105}</uuid>
611 <visible>true</visible>
612 <midichan>0</midichan>
613 <midicc>-3</midicc>
614 <description/>
615 <minimum>0.00000100</minimum>
616 <maximum>1.00000000</maximum>
617 <value>0.60000000</value>
618 <mode>lin</mode>
619 <mouseControl act="jump">continuous</mouseControl>
620 <resolution>-1.00000000</resolution>
621 <randomizable group="0">false</randomizable>
622 </bsbObject>
623 <bsbObject version="2" type="BSBVSlider">
624 <objectName>modsus</objectName>
625 <x>70</x>
626 <y>91</y>
627 <width>20</width>
628 <height>100</height>
629 <uuid>{43b9c7cb-bb3e-4ac4-bf07-f36f2f672969}</uuid>
630 <visible>true</visible>
631 <midichan>0</midichan>
632 <midicc>-3</midicc>
633 <description/>
634 <minimum>0.00000000</minimum>
635 <maximum>1.00000000</maximum>
636 <value>0.62000000</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="BSBVSlider">
643 <objectName>modrel</objectName>
644 <x>97</x>
645 <y>91</y>
646 <width>20</width>
647 <height>100</height>
648 <uuid>{bf98c730-c083-47f3-81b9-1f6c760589ab}</uuid>
649 <visible>true</visible>
650 <midichan>0</midichan>
651 <midicc>-3</midicc>
652 <description/>
653 <minimum>0.00000100</minimum>
654 <maximum>1.00000000</maximum>
655 <value>0.46000054</value>
656 <mode>lin</mode>
657 <mouseControl act="jump">continuous</mouseControl>
658 <resolution>-1.00000000</resolution>
659 <randomizable group="0">false</randomizable>
660 </bsbObject>
661 <bsbObject version="2" type="BSBLabel">
662 <objectName/>
663 <x>20</x>
664 <y>191</y>
665 <width>18</width>
666 <height>24</height>
667 <uuid>{226aa66a-4728-443b-943b-11fd61f3d619}</uuid>
668 <visible>true</visible>
669 <midichan>0</midichan>
670 <midicc>-3</midicc>
671 <description/>
672 <label>A</label>
673 <alignment>left</alignment>
674 <valignment>top</valignment>
675 <font>DejaVu Sans</font>
676 <fontsize>10</fontsize>
677 <precision>3</precision>
678 <color>
679 <r>0</r>
680 <g>0</g>
681 <b>0</b>
682 </color>
683 <bgcolor mode="nobackground">
684 <r>255</r>
685 <g>255</g>
686 <b>255</b>
687 </bgcolor>
688 <bordermode>noborder</bordermode>
689 <borderradius>1</borderradius>
690 <borderwidth>0</borderwidth>
691 </bsbObject>
692 <bsbObject version="2" type="BSBLabel">
693 <objectName/>
694 <x>48</x>
695 <y>191</y>
696 <width>18</width>
697 <height>24</height>
698 <uuid>{0705b2ef-d2e0-4e2f-9849-12a2e972b3a7}</uuid>
699 <visible>true</visible>
700 <midichan>0</midichan>
701 <midicc>-3</midicc>
702 <description/>
703 <label>D</label>
704 <alignment>left</alignment>
705 <valignment>top</valignment>
706 <font>DejaVu Sans</font>
707 <fontsize>10</fontsize>
708 <precision>3</precision>
709 <color>
710 <r>0</r>
711 <g>0</g>
712 <b>0</b>
713 </color>
714 <bgcolor mode="nobackground">
715 <r>255</r>
716 <g>255</g>
717 <b>255</b>
718 </bgcolor>
719 <bordermode>noborder</bordermode>
720 <borderradius>1</borderradius>
721 <borderwidth>0</borderwidth>
722 </bsbObject>
723 <bsbObject version="2" type="BSBLabel">
724 <objectName/>
725 <x>73</x>
726 <y>191</y>
727 <width>18</width>
728 <height>24</height>
729 <uuid>{dac7bfb6-8958-4e09-9e92-a120e30d88f0}</uuid>
730 <visible>true</visible>
731 <midichan>0</midichan>
732 <midicc>-3</midicc>
733 <description/>
734 <label>S</label>
735 <alignment>left</alignment>
736 <valignment>top</valignment>
737 <font>DejaVu Sans</font>
738 <fontsize>10</fontsize>
739 <precision>3</precision>
740 <color>
741 <r>0</r>
742 <g>0</g>
743 <b>0</b>
744 </color>
745 <bgcolor mode="nobackground">
746 <r>255</r>
747 <g>255</g>
748 <b>255</b>
749 </bgcolor>
750 <bordermode>noborder</bordermode>
751 <borderradius>1</borderradius>
752 <borderwidth>0</borderwidth>
753 </bsbObject>
754 <bsbObject version="2" type="BSBLabel">
755 <objectName/>
756 <x>98</x>
757 <y>190</y>
758 <width>18</width>
759 <height>24</height>
760 <uuid>{75f53fde-54c5-44de-a089-5b1a603e64ff}</uuid>
761 <visible>true</visible>
762 <midichan>0</midichan>
763 <midicc>-3</midicc>
764 <description/>
765 <label>R</label>
766 <alignment>left</alignment>
767 <valignment>top</valignment>
768 <font>DejaVu Sans</font>
769 <fontsize>10</fontsize>
770 <precision>3</precision>
771 <color>
772 <r>0</r>
773 <g>0</g>
774 <b>0</b>
775 </color>
776 <bgcolor mode="nobackground">
777 <r>255</r>
778 <g>255</g>
779 <b>255</b>
780 </bgcolor>
781 <bordermode>noborder</bordermode>
782 <borderradius>1</borderradius>
783 <borderwidth>0</borderwidth>
784 </bsbObject>
785 <bsbObject version="2" type="BSBSpinBox">
786 <objectName>modfactor</objectName>
787 <x>209</x>
788 <y>71</y>
789 <width>78</width>
790 <height>25</height>
791 <uuid>{02d4392c-1838-481c-b42d-3fc69183fff6}</uuid>
792 <visible>true</visible>
793 <midichan>0</midichan>
794 <midicc>0</midicc>
795 <description/>
796 <alignment>left</alignment>
797 <font>Noto Sans</font>
798 <fontsize>14</fontsize>
799 <color>
800 <r>0</r>
801 <g>0</g>
802 <b>0</b>
803 </color>
804 <bgcolor mode="background">
805 <r>201</r>
806 <g>221</g>
807 <b>240</b>
808 </bgcolor>
809 <resolution>0.01000000</resolution>
810 <minimum>-1e+12</minimum>
811 <maximum>1e+12</maximum>
812 <randomizable group="0">false</randomizable>
813 <value>3.14</value>
814 </bsbObject>
815 <bsbObject version="2" type="BSBLabel">
816 <objectName/>
817 <x>127</x>
818 <y>72</y>
819 <width>82</width>
820 <height>24</height>
821 <uuid>{85f65a4a-d052-4eb3-bb50-5e8c38687862}</uuid>
822 <visible>true</visible>
823 <midichan>0</midichan>
824 <midicc>-3</midicc>
825 <description/>
826 <label>Freq factor</label>
827 <alignment>left</alignment>
828 <valignment>top</valignment>
829 <font>Bitstream Vera Sans</font>
830 <fontsize>10</fontsize>
831 <precision>3</precision>
832 <color>
833 <r>0</r>
834 <g>0</g>
835 <b>0</b>
836 </color>
837 <bgcolor mode="nobackground">
838 <r>255</r>
839 <g>255</g>
840 <b>255</b>
841 </bgcolor>
842 <bordermode>noborder</bordermode>
843 <borderradius>1</borderradius>
844 <borderwidth>0</borderwidth>
845 </bsbObject>
846 <bsbObject version="2" type="BSBLabel">
847 <objectName/>
848 <x>127</x>
849 <y>101</y>
850 <width>82</width>
851 <height>25</height>
852 <uuid>{3fde78a2-f109-4353-a6cf-7cb11b6785d4}</uuid>
853 <visible>true</visible>
854 <midichan>0</midichan>
855 <midicc>-3</midicc>
856 <description/>
857 <label>Frequency</label>
858 <alignment>left</alignment>
859 <valignment>top</valignment>
860 <font>Bitstream Vera Sans</font>
861 <fontsize>10</fontsize>
862 <precision>3</precision>
863 <color>
864 <r>0</r>
865 <g>0</g>
866 <b>0</b>
867 </color>
868 <bgcolor mode="nobackground">
869 <r>255</r>
870 <g>255</g>
871 <b>255</b>
872 </bgcolor>
873 <bordermode>noborder</bordermode>
874 <borderradius>1</borderradius>
875 <borderwidth>0</borderwidth>
876 </bsbObject>
877 <bsbObject version="2" type="BSBDisplay">
878 <objectName>mod1freq</objectName>
879 <x>207</x>
880 <y>101</y>
881 <width>81</width>
882 <height>26</height>
883 <uuid>{96ac1dfc-84fa-4ea8-a8c2-c9a0cf1cae9a}</uuid>
884 <visible>true</visible>
885 <midichan>0</midichan>
886 <midicc>-3</midicc>
887 <description/>
888 <label>980.378</label>
889 <alignment>left</alignment>
890 <valignment>top</valignment>
891 <font>Bitstream Vera Sans</font>
892 <fontsize>10</fontsize>
893 <precision>3</precision>
894 <color>
895 <r>0</r>
896 <g>0</g>
897 <b>0</b>
898 </color>
899 <bgcolor mode="nobackground">
900 <r>255</r>
901 <g>255</g>
902 <b>255</b>
903 </bgcolor>
904 <bordermode>noborder</bordermode>
905 <borderradius>1</borderradius>
906 <borderwidth>0</borderwidth>
907 </bsbObject>
908 <bsbObject version="2" type="BSBKnob">
909 <objectName>modindex</objectName>
910 <x>136</x>
911 <y>151</y>
912 <width>52</width>
913 <height>51</height>
914 <uuid>{fec82d6b-f6d2-4998-b80a-aa8767afe151}</uuid>
915 <visible>true</visible>
916 <midichan>0</midichan>
917 <midicc>-3</midicc>
918 <description/>
919 <minimum>0.00000000</minimum>
920 <maximum>5.00000000</maximum>
921 <value>1.88500000</value>
922 <mode>lin</mode>
923 <mouseControl act="">continuous</mouseControl>
924 <resolution>0.01000000</resolution>
925 <randomizable group="0">false</randomizable>
926 <color>
927 <r>245</r>
928 <g>124</g>
929 <b>0</b>
930 </color>
931 <textcolor>#512900</textcolor>
932 <border>0</border>
933 <borderColor>#512900</borderColor>
934 <showvalue>true</showvalue>
935 <flatstyle>true</flatstyle>
936 <integerMode>false</integerMode>
937 </bsbObject>
938 <bsbObject version="2" type="BSBLabel">
939 <objectName/>
940 <x>124</x>
941 <y>201</y>
942 <width>80</width>
943 <height>25</height>
944 <uuid>{5abc7fa0-6696-4ce5-a5ba-a57ab880c052}</uuid>
945 <visible>true</visible>
946 <midichan>0</midichan>
947 <midicc>-3</midicc>
948 <description/>
949 <label>Index</label>
950 <alignment>center</alignment>
951 <valignment>top</valignment>
952 <font>Bitstream Vera Sans</font>
953 <fontsize>10</fontsize>
954 <precision>3</precision>
955 <color>
956 <r>0</r>
957 <g>0</g>
958 <b>0</b>
959 </color>
960 <bgcolor mode="nobackground">
961 <r>255</r>
962 <g>255</g>
963 <b>255</b>
964 </bgcolor>
965 <bordermode>noborder</bordermode>
966 <borderradius>1</borderradius>
967 <borderwidth>0</borderwidth>
968 </bsbObject>
969 <bsbObject version="2" type="BSBScope">
970 <objectName/>
971 <x>6</x>
972 <y>254</y>
973 <width>312</width>
974 <height>107</height>
975 <uuid>{ac1cafe0-a2b2-40e3-9eb7-ba9181805e25}</uuid>
976 <visible>true</visible>
977 <midichan>0</midichan>
978 <midicc>-3</midicc>
979 <description/>
980 <value>1.00000000</value>
981 <type>scope</type>
982 <zoomx>8.00000000</zoomx>
983 <zoomy>1.00000000</zoomy>
984 <dispx>1.00000000</dispx>
985 <dispy>1.00000000</dispy>
986 <mode>0.00000000</mode>
987 <triggermode>NoTrigger</triggermode>
988 </bsbObject>
989 <bsbObject version="2" type="BSBGraph">
990 <objectName>graph1</objectName>
991 <x>7</x>
992 <y>367</y>
993 <width>700</width>
994 <height>300</height>
995 <uuid>{0e18b8a6-dd3a-493d-8a28-89046c1e1d66}</uuid>
996 <visible>true</visible>
997 <midichan>0</midichan>
998 <midicc>-3</midicc>
999 <description/>
1000 <value>1</value>
1001 <objectName2/>
1002 <zoomx>2.00000000</zoomx>
1003 <zoomy>1.00000000</zoomy>
1004 <dispx>1.00000000</dispx>
1005 <dispy>1.00000000</dispy>
1006 <modex>lin</modex>
1007 <modey>lin</modey>
1008 <showSelector>false</showSelector>
1009 <showGrid>true</showGrid>
1010 <showTableInfo>false</showTableInfo>
1011 <showScrollbars>false</showScrollbars>
1012 <enableTables>false</enableTables>
1013 <enableDisplays>true</enableDisplays>
1014 <all>true</all>
1015 </bsbObject>
1016 <bsbObject version="2" type="BSBDisplay">
1017 <objectName>index</objectName>
1018 <x>187</x>
1019 <y>162</y>
1020 <width>80</width>
1021 <height>25</height>
1022 <uuid>{44744181-1d69-4efd-b3f4-10bf29cbb42c}</uuid>
1023 <visible>true</visible>
1024 <midichan>0</midichan>
1025 <midicc>-3</midicc>
1026 <description/>
1027 <label>1.885</label>
1028 <alignment>left</alignment>
1029 <valignment>top</valignment>
1030 <font>DejaVu Sans</font>
1031 <fontsize>10</fontsize>
1032 <precision>3</precision>
1033 <color>
1034 <r>0</r>
1035 <g>0</g>
1036 <b>0</b>
1037 </color>
1038 <bgcolor mode="nobackground">
1039 <r>255</r>
1040 <g>255</g>
1041 <b>255</b>
1042 </bgcolor>
1043 <bordermode>noborder</bordermode>
1044 <borderradius>1</borderradius>
1045 <borderwidth>0</borderwidth>
1046 </bsbObject>
1047 <bsbObject version="2" type="BSBCheckBox">
1048 <objectName>on</objectName>
1049 <x>378</x>
1050 <y>292</y>
1051 <width>20</width>
1052 <height>20</height>
1053 <uuid>{2bd0732f-6957-498c-8422-3ef8e269f5fe}</uuid>
1054 <visible>true</visible>
1055 <midichan>0</midichan>
1056 <midicc>-3</midicc>
1057 <description/>
1058 <selected>false</selected>
1059 <label/>
1060 <pressedValue>1</pressedValue>
1061 <randomizable group="0">false</randomizable>
1062 </bsbObject>
1063 <bsbObject version="2" type="BSBLabel">
1064 <objectName/>
1065 <x>394</x>
1066 <y>291</y>
1067 <width>28</width>
1068 <height>24</height>
1069 <uuid>{c76f669d-1d21-4fb7-bab3-304ad6fb12ef}</uuid>
1070 <visible>true</visible>
1071 <midichan>0</midichan>
1072 <midicc>-3</midicc>
1073 <description/>
1074 <label>On</label>
1075 <alignment>left</alignment>
1076 <valignment>top</valignment>
1077 <font>DejaVu Sans</font>
1078 <fontsize>10</fontsize>
1079 <precision>3</precision>
1080 <color>
1081 <r>0</r>
1082 <g>0</g>
1083 <b>0</b>
1084 </color>
1085 <bgcolor mode="nobackground">
1086 <r>255</r>
1087 <g>255</g>
1088 <b>255</b>
1089 </bgcolor>
1090 <bordermode>noborder</bordermode>
1091 <borderradius>1</borderradius>
1092 <borderwidth>0</borderwidth>
1093 </bsbObject>
1094 </bsbPanel>
1095 <bsbPresets>
1096 </bsbPresets>
1097 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="945" y="397" width="596" height="322" visible="false" loopStart="0" loopEnd="0">
1098 i 1 0 1 440
1099
1100
1101
1102
1103
1104
1105
1106 </EventPanel>