Debian Codegraph @

src/Examples/McCurdy Collection/Modulation/foscil_foscili.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 ; Add table(s) for exp slider
9 ; Instrument 1 is activated by MIDI and by the GUI
10
11
12 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5
13 <CsoundSynthesizer>
14 <CsOptions>
15
16 </CsOptions>
17 <CsInstruments>
18 sr = 44100 ;SAMPLE RATE
19 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
20 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
21 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
22
23
24 gisine ftgen 0, 0, 64, 10, 1 ;SINE WAVE FUNCTION TABLE (SIZE:64 FOR NON-INTERPOLATING OPCODES)
25 gisinei ftgen 0, 0, 65, 10, 1 ;SINE WAVE FUNCTION TABLE (SIZE:65 FOR INTERPOLATING OPCODES)
26 giExp20000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0 ;TABLES FOR EXP SLIDER
27
28
29 instr 10 ;GUI
30 ktrig metro 10
31 if (ktrig == 1) then
32 kcps invalue "Base_Frequency"
33 gkcps tablei kcps, giExp20000, 1
34 outvalue "Base_Frequency_Value", gkcps
35 gkamp invalue "Amplitude"
36 gkndx invalue "Index"
37 gkcar invalue "Carrier_Frequency"
38 gkmod invalue "Modulator_Frequency"
39 gkopcode invalue "Opcode"
40 endif
41 endin
42
43 instr 1 ;FOSCIL/FOSCILI INSTRUMENT
44 if p4!=0 then ;MIDI
45 ioct = p4 ;READ OCT VALUE FROM MIDI INPUT
46 iamp = p5 ;READ midi-velocity-amp FROM MIDI INPUT
47 kamp = iamp * gkamp ;SET AMPLITUDE TO RECEIVED p5 RECEIVED FROM INSTR 1 (I.E. MIDI VELOCITY) MULTIPLIED BY SLIDER gkamp.
48 kndx = iamp * gkndx ;SET INDEX TO SLIDER gkndx MULTIPLIED BY AMPLITUDE VALUES RECEIVED FROM CALLING INSTRUMENT
49 ;PITCH BEND===========================================================================================================================================================
50 iSemitoneBendRange = 4 ;PITCH BEND RANGE IN SEMITONES
51 imin = 0 ;EQUILIBRIUM POSITION
52 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
53 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
54 kcps = cpsoct(ioct + kbend) ;SET FUNDEMENTAL FROM MIDI
55 ;=====================================================================================================================================================================
56 else ;GUI
57 kamp = gkamp ;SET kamp TO SLIDER VALUE gkamp
58 kcps = gkcps ;SET FUNDEMENTAL TO SLIDER gkcps
59 kndx = gkndx ;SET INDEX TO SLIDER gkndx
60 endif
61
62 iporttime = .05 ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
63 kporttime linseg 0,.001,iporttime,1,iporttime ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
64
65 aAntiClick linsegr 0,0.001,1,0.01,0 ;ANTI CLICK ENVELOPE
66
67 kndx portk kndx, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kndx'
68 kcps portk kcps, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kcps'
69 kamp portk kamp, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kamp'
70 aAntiClick linsegr 0,0.001,1,0.01,0 ;ANTI CLICK ENVELOPE
71
72 ;SELECT THE APPRORIATE FM OPCODE ACCORDING TO THE SETTING OF THE 'TYPE' TICK BOX SELECTER
73 if gkopcode==0 then
74 ;FOSCIL
75 ares foscil kamp, kcps, gkcar, gkmod, kndx, gisine ;FM SYNTHESIS USING FOSCIL
76 elseif gkopcode==1 then
77 ;FOSCILI
78 ares foscili kamp, kcps, gkcar, gkmod, kndx, gisinei ;FM SYNTHESIS USING FOSCILI
79 elseif gkopcode==2 then
80 ;;FIRST PRINCIPLES
81 ;FM SYNTHESIS FROM FIRST PRINCIPLES
82 kpeakdeviation = kcps * kndx ;CALCULATE THE PEAK DEVIATION OF THE MODULATOR FROM THE VALUES GIVEN FOR BASE FREQUENCY AND THE INDEX OF MODULATION
83 ;OUTPUT OPCODE AMPLITUDE | FREQUENCY | FUNCTION_TABLE
84 amod oscili kpeakdeviation, kcps * gkmod, gisinei ;DEFINE THE MODULATOR WAVEFORM
85 ares oscili kamp, (kcps * gkcar) + amod, gisinei ;DEFINE THE CARRIER WAVEFORM (NOTE HOW ITS FREQUENCY IS MODULATED (THROUGH ADDITION) BY THE AUDIO OUTPUT OF THE MODULATOR WAVEFORM)
86 endif ;END OF CONDITIONAL BRANCHING
87 outs ares * aAntiClick, ares * aAntiClick ;SEND AUDIO TO OUTPUTS
88 endin
89
90 instr 2 ;INIT
91 outvalue "_SetPresetIndex", 0
92 endin
93 </CsInstruments>
94 <CsScore>
95 ;INSTR | START | DURATION
96 i 10 0 3600 ;GUI
97
98 i 2 0.1 0 ;INIT
99 </CsScore>
100 </CsoundSynthesizer>
101
102 <bsbPanel>
103 <label>Widgets</label>
104 <objectName/>
105 <x>371</x>
106 <y>271</y>
107 <width>875</width>
108 <height>328</height>
109 <visible>true</visible>
110 <uuid/>
111 <bgcolor mode="background">
112 <r>241</r>
113 <g>226</g>
114 <b>185</b>
115 </bgcolor>
116 <bsbObject version="2" type="BSBLabel">
117 <objectName/>
118 <x>2</x>
119 <y>2</y>
120 <width>512</width>
121 <height>320</height>
122 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
123 <visible>true</visible>
124 <midichan>0</midichan>
125 <midicc>0</midicc>
126 <label/>
127 <alignment>center</alignment>
128 <font>DejaVu Sans</font>
129 <fontsize>18</fontsize>
130 <precision>3</precision>
131 <color>
132 <r>255</r>
133 <g>255</g>
134 <b>255</b>
135 </color>
136 <bgcolor mode="background">
137 <r>5</r>
138 <g>27</g>
139 <b>150</b>
140 </bgcolor>
141 <bordermode>border</bordermode>
142 <borderradius>5</borderradius>
143 <borderwidth>2</borderwidth>
144 </bsbObject>
145 <bsbObject version="2" type="BSBLabel">
146 <objectName/>
147 <x>514</x>
148 <y>2</y>
149 <width>355</width>
150 <height>320</height>
151 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
152 <visible>true</visible>
153 <midichan>0</midichan>
154 <midicc>0</midicc>
155 <label/>
156 <alignment>center</alignment>
157 <font>DejaVu Sans</font>
158 <fontsize>18</fontsize>
159 <precision>3</precision>
160 <color>
161 <r>255</r>
162 <g>255</g>
163 <b>255</b>
164 </color>
165 <bgcolor mode="background">
166 <r>5</r>
167 <g>27</g>
168 <b>150</b>
169 </bgcolor>
170 <bordermode>border</bordermode>
171 <borderradius>5</borderradius>
172 <borderwidth>2</borderwidth>
173 </bsbObject>
174 <bsbObject version="2" type="BSBLabel">
175 <objectName/>
176 <x>519</x>
177 <y>35</y>
178 <width>347</width>
179 <height>281</height>
180 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
181 <visible>true</visible>
182 <midichan>0</midichan>
183 <midicc>0</midicc>
184 <label>-----------------------------------------------------------------------------------
185 The opcodes foscil and foscili implement the classic Chowning modulator-oscillator pairing used in basic FM synthesis. The difference between foscil and foscili is that foscil reads from the function table without interpolation whereas foscili reads from the function table with linear interpolation. Therefore foscili can perform satisfactorily with a small function table whereas foscil will really need a larger function table to preovide similarly high quality results. foscil demands more RAM, foscili demands more CPU. In general foscili will provide smoother results. In this example the table used is rather small (64 points) so as to clearly highlight the difference. It is not difficult to implement this FM algorithm from first principles using individual oscillators and the third option from the list of tick boxes chooses this bit of code.</label>
186 <alignment>left</alignment>
187 <font>Liberation Sans</font>
188 <fontsize>14</fontsize>
189 <precision>3</precision>
190 <color>
191 <r>255</r>
192 <g>255</g>
193 <b>255</b>
194 </color>
195 <bgcolor mode="nobackground">
196 <r>255</r>
197 <g>255</g>
198 <b>255</b>
199 </bgcolor>
200 <bordermode>noborder</bordermode>
201 <borderradius>1</borderradius>
202 <borderwidth>1</borderwidth>
203 </bsbObject>
204 <bsbObject version="2" type="BSBButton">
205 <objectName/>
206 <x>8</x>
207 <y>6</y>
208 <width>124</width>
209 <height>30</height>
210 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
211 <visible>true</visible>
212 <midichan>0</midichan>
213 <midicc>0</midicc>
214 <type>event</type>
215 <pressedValue>1.00000000</pressedValue>
216 <stringvalue/>
217 <text> ON / OFF (MIDI)</text>
218 <image>/</image>
219 <eventLine>i 1 0 -1</eventLine>
220 <latch>true</latch>
221 <latched>false</latched>
222 </bsbObject>
223 <bsbObject version="2" type="BSBLabel">
224 <objectName/>
225 <x>27</x>
226 <y>219</y>
227 <width>247</width>
228 <height>83</height>
229 <uuid>{53a95371-23f7-4d54-a6c6-63bbabdb388d}</uuid>
230 <visible>true</visible>
231 <midichan>0</midichan>
232 <midicc>0</midicc>
233 <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>border</bordermode>
249 <borderradius>1</borderradius>
250 <borderwidth>1</borderwidth>
251 </bsbObject>
252 <bsbObject version="2" type="BSBLabel">
253 <objectName/>
254 <x>134</x>
255 <y>221</y>
256 <width>32</width>
257 <height>46</height>
258 <uuid>{81ded06c-d53f-4a6d-a597-5f1b68b18042}</uuid>
259 <visible>true</visible>
260 <midichan>0</midichan>
261 <midicc>0</midicc>
262 <label>:</label>
263 <alignment>center</alignment>
264 <font>DejaVu Sans</font>
265 <fontsize>27</fontsize>
266 <precision>3</precision>
267 <color>
268 <r>255</r>
269 <g>255</g>
270 <b>255</b>
271 </color>
272 <bgcolor mode="nobackground">
273 <r>255</r>
274 <g>255</g>
275 <b>255</b>
276 </bgcolor>
277 <bordermode>noborder</bordermode>
278 <borderradius>1</borderradius>
279 <borderwidth>1</borderwidth>
280 </bsbObject>
281 <bsbObject version="2" type="BSBSpinBox">
282 <objectName>Carrier_Frequency</objectName>
283 <x>50</x>
284 <y>231</y>
285 <width>80</width>
286 <height>28</height>
287 <uuid>{6f8fc775-201d-40f9-931b-687c9b3ef417}</uuid>
288 <visible>true</visible>
289 <midichan>0</midichan>
290 <midicc>0</midicc>
291 <alignment>left</alignment>
292 <font>Liberation Sans</font>
293 <fontsize>14</fontsize>
294 <color>
295 <r>0</r>
296 <g>0</g>
297 <b>0</b>
298 </color>
299 <bgcolor mode="nobackground">
300 <r>255</r>
301 <g>255</g>
302 <b>255</b>
303 </bgcolor>
304 <resolution>0.00010000</resolution>
305 <minimum>0.125</minimum>
306 <maximum>8</maximum>
307 <randomizable group="0">false</randomizable>
308 <value>0.125</value>
309 </bsbObject>
310 <bsbObject version="2" type="BSBSpinBox">
311 <objectName>Modulator_Frequency</objectName>
312 <x>172</x>
313 <y>231</y>
314 <width>80</width>
315 <height>28</height>
316 <uuid>{fd4b783c-f008-4a1c-b2e6-50340aad9093}</uuid>
317 <visible>true</visible>
318 <midichan>0</midichan>
319 <midicc>0</midicc>
320 <alignment>left</alignment>
321 <font>Liberation Sans</font>
322 <fontsize>14</fontsize>
323 <color>
324 <r>0</r>
325 <g>0</g>
326 <b>0</b>
327 </color>
328 <bgcolor mode="nobackground">
329 <r>255</r>
330 <g>255</g>
331 <b>255</b>
332 </bgcolor>
333 <resolution>0.00010000</resolution>
334 <minimum>0.125</minimum>
335 <maximum>8</maximum>
336 <randomizable group="0">false</randomizable>
337 <value>0.125</value>
338 </bsbObject>
339 <bsbObject version="2" type="BSBLabel">
340 <objectName/>
341 <x>8</x>
342 <y>86</y>
343 <width>180</width>
344 <height>30</height>
345 <uuid>{541ace1b-b1de-4c04-8d84-1de90288dded}</uuid>
346 <visible>true</visible>
347 <midichan>0</midichan>
348 <midicc>0</midicc>
349 <label>Amplitude</label>
350 <alignment>left</alignment>
351 <font>Liberation Sans</font>
352 <fontsize>10</fontsize>
353 <precision>3</precision>
354 <color>
355 <r>255</r>
356 <g>255</g>
357 <b>255</b>
358 </color>
359 <bgcolor mode="nobackground">
360 <r>255</r>
361 <g>255</g>
362 <b>255</b>
363 </bgcolor>
364 <bordermode>noborder</bordermode>
365 <borderradius>1</borderradius>
366 <borderwidth>1</borderwidth>
367 </bsbObject>
368 <bsbObject version="2" type="BSBHSlider">
369 <objectName>Amplitude</objectName>
370 <x>8</x>
371 <y>63</y>
372 <width>500</width>
373 <height>27</height>
374 <uuid>{eac88081-deaa-45c0-b896-32a3ffedc74a}</uuid>
375 <visible>true</visible>
376 <midichan>0</midichan>
377 <midicc>0</midicc>
378 <minimum>0.00000000</minimum>
379 <maximum>1.00000000</maximum>
380 <value>0.20000000</value>
381 <mode>lin</mode>
382 <mouseControl act="jump">continuous</mouseControl>
383 <resolution>-1.00000000</resolution>
384 <randomizable group="0">false</randomizable>
385 </bsbObject>
386 <bsbObject version="2" type="BSBDisplay">
387 <objectName>Amplitude</objectName>
388 <x>448</x>
389 <y>86</y>
390 <width>60</width>
391 <height>30</height>
392 <uuid>{3be43919-ad18-4aef-b554-03c4b4d991c3}</uuid>
393 <visible>true</visible>
394 <midichan>0</midichan>
395 <midicc>0</midicc>
396 <label>0.200</label>
397 <alignment>right</alignment>
398 <font>Liberation Sans</font>
399 <fontsize>9</fontsize>
400 <precision>3</precision>
401 <color>
402 <r>255</r>
403 <g>255</g>
404 <b>255</b>
405 </color>
406 <bgcolor mode="nobackground">
407 <r>255</r>
408 <g>255</g>
409 <b>255</b>
410 </bgcolor>
411 <bordermode>noborder</bordermode>
412 <borderradius>1</borderradius>
413 <borderwidth>1</borderwidth>
414 </bsbObject>
415 <bsbObject version="2" type="BSBLabel">
416 <objectName/>
417 <x>8</x>
418 <y>129</y>
419 <width>180</width>
420 <height>30</height>
421 <uuid>{0c691576-66a5-4aa6-a82c-48f930da9708}</uuid>
422 <visible>true</visible>
423 <midichan>0</midichan>
424 <midicc>0</midicc>
425 <label>Base Frequency</label>
426 <alignment>left</alignment>
427 <font>Liberation Sans</font>
428 <fontsize>10</fontsize>
429 <precision>3</precision>
430 <color>
431 <r>255</r>
432 <g>255</g>
433 <b>255</b>
434 </color>
435 <bgcolor mode="nobackground">
436 <r>255</r>
437 <g>255</g>
438 <b>255</b>
439 </bgcolor>
440 <bordermode>noborder</bordermode>
441 <borderradius>1</borderradius>
442 <borderwidth>1</borderwidth>
443 </bsbObject>
444 <bsbObject version="2" type="BSBHSlider">
445 <objectName>Base_Frequency</objectName>
446 <x>8</x>
447 <y>106</y>
448 <width>500</width>
449 <height>27</height>
450 <uuid>{9cf53cef-488f-4075-b87f-dc2c3e6a21e6}</uuid>
451 <visible>true</visible>
452 <midichan>0</midichan>
453 <midicc>0</midicc>
454 <minimum>0.00000000</minimum>
455 <maximum>1.00000000</maximum>
456 <value>0.33199999</value>
457 <mode>lin</mode>
458 <mouseControl act="jump">continuous</mouseControl>
459 <resolution>-1.00000000</resolution>
460 <randomizable group="0">false</randomizable>
461 </bsbObject>
462 <bsbObject version="2" type="BSBDisplay">
463 <objectName>Index</objectName>
464 <x>448</x>
465 <y>171</y>
466 <width>60</width>
467 <height>30</height>
468 <uuid>{c03c8ac7-b287-4328-8e07-bbf81f16291a}</uuid>
469 <visible>true</visible>
470 <midichan>0</midichan>
471 <midicc>0</midicc>
472 <label>5.000</label>
473 <alignment>right</alignment>
474 <font>Liberation Sans</font>
475 <fontsize>9</fontsize>
476 <precision>3</precision>
477 <color>
478 <r>255</r>
479 <g>255</g>
480 <b>255</b>
481 </color>
482 <bgcolor mode="nobackground">
483 <r>255</r>
484 <g>255</g>
485 <b>255</b>
486 </bgcolor>
487 <bordermode>noborder</bordermode>
488 <borderradius>1</borderradius>
489 <borderwidth>1</borderwidth>
490 </bsbObject>
491 <bsbObject version="2" type="BSBHSlider">
492 <objectName>Index</objectName>
493 <x>8</x>
494 <y>148</y>
495 <width>500</width>
496 <height>27</height>
497 <uuid>{9e41022a-6d97-415e-82ef-dafd223f6de8}</uuid>
498 <visible>true</visible>
499 <midichan>0</midichan>
500 <midicc>0</midicc>
501 <minimum>0.00000000</minimum>
502 <maximum>20.00000000</maximum>
503 <value>5.00000000</value>
504 <mode>lin</mode>
505 <mouseControl act="jump">continuous</mouseControl>
506 <resolution>-1.00000000</resolution>
507 <randomizable group="0">false</randomizable>
508 </bsbObject>
509 <bsbObject version="2" type="BSBLabel">
510 <objectName/>
511 <x>8</x>
512 <y>171</y>
513 <width>180</width>
514 <height>30</height>
515 <uuid>{dd30e1bc-c2a4-4d61-8df6-fafe394c7687}</uuid>
516 <visible>true</visible>
517 <midichan>0</midichan>
518 <midicc>0</midicc>
519 <label>Index</label>
520 <alignment>left</alignment>
521 <font>Liberation Sans</font>
522 <fontsize>10</fontsize>
523 <precision>3</precision>
524 <color>
525 <r>255</r>
526 <g>255</g>
527 <b>255</b>
528 </color>
529 <bgcolor mode="nobackground">
530 <r>255</r>
531 <g>255</g>
532 <b>255</b>
533 </bgcolor>
534 <bordermode>noborder</bordermode>
535 <borderradius>1</borderradius>
536 <borderwidth>1</borderwidth>
537 </bsbObject>
538 <bsbObject version="2" type="BSBLabel">
539 <objectName/>
540 <x>172</x>
541 <y>259</y>
542 <width>70</width>
543 <height>50</height>
544 <uuid>{a41c9bd7-bf11-4aeb-99d0-39e0949d0da0}</uuid>
545 <visible>true</visible>
546 <midichan>0</midichan>
547 <midicc>0</midicc>
548 <label>Modulator
549 Frequency</label>
550 <alignment>center</alignment>
551 <font>Liberation Sans</font>
552 <fontsize>10</fontsize>
553 <precision>3</precision>
554 <color>
555 <r>255</r>
556 <g>255</g>
557 <b>255</b>
558 </color>
559 <bgcolor mode="nobackground">
560 <r>255</r>
561 <g>255</g>
562 <b>255</b>
563 </bgcolor>
564 <bordermode>noborder</bordermode>
565 <borderradius>1</borderradius>
566 <borderwidth>1</borderwidth>
567 </bsbObject>
568 <bsbObject version="2" type="BSBLabel">
569 <objectName/>
570 <x>155</x>
571 <y>5</y>
572 <width>305</width>
573 <height>35</height>
574 <uuid>{c35c6c13-7799-4395-9775-f3006b3eafcb}</uuid>
575 <visible>true</visible>
576 <midichan>0</midichan>
577 <midicc>0</midicc>
578 <label>foscil / foscili </label>
579 <alignment>center</alignment>
580 <font>Liberation Sans</font>
581 <fontsize>18</fontsize>
582 <precision>3</precision>
583 <color>
584 <r>255</r>
585 <g>255</g>
586 <b>255</b>
587 </color>
588 <bgcolor mode="nobackground">
589 <r>255</r>
590 <g>255</g>
591 <b>255</b>
592 </bgcolor>
593 <bordermode>noborder</bordermode>
594 <borderradius>1</borderradius>
595 <borderwidth>1</borderwidth>
596 </bsbObject>
597 <bsbObject version="2" type="BSBLabel">
598 <objectName/>
599 <x>565</x>
600 <y>4</y>
601 <width>250</width>
602 <height>35</height>
603 <uuid>{28873f9f-f41a-4961-9ae9-c3948ecc50f0}</uuid>
604 <visible>true</visible>
605 <midichan>0</midichan>
606 <midicc>0</midicc>
607 <label>foscil / foscili </label>
608 <alignment>center</alignment>
609 <font>Liberation Sans</font>
610 <fontsize>18</fontsize>
611 <precision>3</precision>
612 <color>
613 <r>255</r>
614 <g>255</g>
615 <b>255</b>
616 </color>
617 <bgcolor mode="nobackground">
618 <r>255</r>
619 <g>255</g>
620 <b>255</b>
621 </bgcolor>
622 <bordermode>noborder</bordermode>
623 <borderradius>1</borderradius>
624 <borderwidth>1</borderwidth>
625 </bsbObject>
626 <bsbObject version="2" type="BSBDisplay">
627 <objectName>Base_Frequency_Value</objectName>
628 <x>448</x>
629 <y>126</y>
630 <width>60</width>
631 <height>30</height>
632 <uuid>{eb489cb5-93a5-43ca-bd05-14ec2a67e140}</uuid>
633 <visible>true</visible>
634 <midichan>0</midichan>
635 <midicc>0</midicc>
636 <label>198.239</label>
637 <alignment>right</alignment>
638 <font>Liberation Sans</font>
639 <fontsize>9</fontsize>
640 <precision>3</precision>
641 <color>
642 <r>255</r>
643 <g>255</g>
644 <b>255</b>
645 </color>
646 <bgcolor mode="nobackground">
647 <r>255</r>
648 <g>255</g>
649 <b>255</b>
650 </bgcolor>
651 <bordermode>noborder</bordermode>
652 <borderradius>1</borderradius>
653 <borderwidth>1</borderwidth>
654 </bsbObject>
655 <bsbObject version="2" type="BSBLabel">
656 <objectName/>
657 <x>50</x>
658 <y>258</y>
659 <width>70</width>
660 <height>50</height>
661 <uuid>{c02f397c-1af1-422c-a07d-84c5641723f0}</uuid>
662 <visible>true</visible>
663 <midichan>0</midichan>
664 <midicc>0</midicc>
665 <label>Carrier
666 Frequency</label>
667 <alignment>center</alignment>
668 <font>Liberation Sans</font>
669 <fontsize>10</fontsize>
670 <precision>3</precision>
671 <color>
672 <r>255</r>
673 <g>255</g>
674 <b>255</b>
675 </color>
676 <bgcolor mode="nobackground">
677 <r>255</r>
678 <g>255</g>
679 <b>255</b>
680 </bgcolor>
681 <bordermode>noborder</bordermode>
682 <borderradius>1</borderradius>
683 <borderwidth>1</borderwidth>
684 </bsbObject>
685 <bsbObject version="2" type="BSBDropdown">
686 <objectName>Opcode</objectName>
687 <x>317</x>
688 <y>252</y>
689 <width>140</width>
690 <height>28</height>
691 <uuid>{e921e050-a3c1-4442-9228-fd26e7451987}</uuid>
692 <visible>true</visible>
693 <midichan>0</midichan>
694 <midicc>0</midicc>
695 <bsbDropdownItemList>
696 <bsbDropdownItem>
697 <name>foscil</name>
698 <value>0</value>
699 <stringvalue/>
700 </bsbDropdownItem>
701 <bsbDropdownItem>
702 <name>foscili</name>
703 <value>1</value>
704 <stringvalue/>
705 </bsbDropdownItem>
706 <bsbDropdownItem>
707 <name>first principles</name>
708 <value>2</value>
709 <stringvalue/>
710 </bsbDropdownItem>
711 </bsbDropdownItemList>
712 <selectedIndex>2</selectedIndex>
713 <randomizable group="0">false</randomizable>
714 </bsbObject>
715 <bsbObject version="2" type="BSBLabel">
716 <objectName/>
717 <x>317</x>
718 <y>232</y>
719 <width>118</width>
720 <height>33</height>
721 <uuid>{c8c81ce3-c2d2-4e0d-8767-3fb12ed3242c}</uuid>
722 <visible>true</visible>
723 <midichan>0</midichan>
724 <midicc>0</midicc>
725 <label>OPCODE</label>
726 <alignment>left</alignment>
727 <font>Liberation Sans</font>
728 <fontsize>10</fontsize>
729 <precision>3</precision>
730 <color>
731 <r>255</r>
732 <g>255</g>
733 <b>255</b>
734 </color>
735 <bgcolor mode="nobackground">
736 <r>255</r>
737 <g>255</g>
738 <b>255</b>
739 </bgcolor>
740 <bordermode>noborder</bordermode>
741 <borderradius>1</borderradius>
742 <borderwidth>1</borderwidth>
743 </bsbObject>
744 </bsbPanel>
745 <bsbPresets>
746 <preset name="Init" number="0" >
747 <value id="{24979132-c53f-4414-ac6b-6b4f503ecfe8}" mode="1" >0.00000000</value>
748 <value id="{24979132-c53f-4414-ac6b-6b4f503ecfe8}" mode="4" >0</value>
749 <value id="{6f8fc775-201d-40f9-931b-687c9b3ef417}" mode="1" >1.00000000</value>
750 <value id="{fd4b783c-f008-4a1c-b2e6-50340aad9093}" mode="1" >1.00000000</value>
751 <value id="{eac88081-deaa-45c0-b896-32a3ffedc74a}" mode="1" >0.20000000</value>
752 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="1" >0.20000000</value>
753 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="4" >0.200</value>
754 <value id="{9cf53cef-488f-4075-b87f-dc2c3e6a21e6}" mode="1" >0.33199999</value>
755 <value id="{c03c8ac7-b287-4328-8e07-bbf81f16291a}" mode="1" >5.00000000</value>
756 <value id="{c03c8ac7-b287-4328-8e07-bbf81f16291a}" mode="4" >5.000</value>
757 <value id="{9e41022a-6d97-415e-82ef-dafd223f6de8}" mode="1" >5.00000000</value>
758 <value id="{eb489cb5-93a5-43ca-bd05-14ec2a67e140}" mode="1" >198.23854065</value>
759 <value id="{eb489cb5-93a5-43ca-bd05-14ec2a67e140}" mode="4" >198.239</value>
760 <value id="{e921e050-a3c1-4442-9228-fd26e7451987}" mode="1" >2.00000000</value>
761 </preset>
762 </bsbPresets>
763 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>