Debian Codegraph @

src/Examples/CsoundQt/Live Collection/Live_RM_AM.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -odac
4 </CsOptions>
5 <CsInstruments>
6
7 /*
8
9 LIVE RING MODULATION / AMPLITUDE MODULATION
10
11 */
12
13 ;example for CsoundQt
14 ;written by joachim heintz
15 ;may 2011
16 ;please send bug reports and suggestions
17 ;to jh at joachimheintz.de
18
19 sr = 44100
20 ksmps = 32
21 nchnls = 2
22 0dbfs = 1
23
24 gisine ftgen 0, 0, 1024, 10, 1
25
26 opcode ShowLED_a, 0, Sakkk
27 ;shows an audiosignal in an outvalue channel, in dB or raw amplitudes
28 ;Soutchan: string as name of the outvalue channel
29 ;asig: audio signal to be shown
30 ;kdispfreq: refresh frequency of the display (Hz)
31 ;kdb: 1 = show as db, 0 = show as raw amplitudes (both in the range 0-1)
32 ;kdbrange: if idb=1: which dB range is shown
33 Soutchan, asig, ktrig, kdb, kdbrange xin
34 kdispval max_k asig, ktrig, 1
35 if kdb != 0 then
36 kdb = dbfsamp(kdispval)
37 kval = (kdbrange + kdb) / kdbrange
38 else
39 kval = kdispval
40 endif
41 if ktrig == 1 then
42 outvalue Soutchan, kval
43 endif
44 endop
45
46 opcode ShowOver_a, 0, Sakk
47 ;shows if asig has been larger than 1 and stays khold seconds
48 ;Soutchan: string as name of the outvalue channel
49 ;kdispfreq: refresh frequency of the display (Hz)
50 Soutchan, asig, ktrig, khold xin
51 kon init 0
52 ktim times
53 kstart init 0
54 kend init 0
55 khold = (khold < .01 ? .01 : khold); avoiding too short hold times
56 kmax max_k asig, ktrig, 1
57 if kon == 0 && kmax > 1 && ktrig == 1 then
58 kstart = ktim
59 kend = kstart + khold
60 outvalue Soutchan, kmax
61 kon = 1
62 endif
63 if kon == 1 && ktim > kend && ktrig == 1 then
64 outvalue Soutchan, 0
65 kon = 0
66 endif
67 endop
68
69
70 instr 1; master instrument
71 ;;get live input
72 kinchnl invalue "inchnl"
73 aLiveInPre inch kinchnl
74 kingaindb invalue "ingaindb"
75 kLiveInGain = ampdb(kingaindb)
76 aLiveInPost = aLiveInPre * kLiveInGain
77
78 ;;show live input
79 gkTrigDisp metro 10
80 gkshowdb invalue "showdb"
81 gkdbrange invalue "dbrange"
82 ShowLED_a "LiveInPre", aLiveInPre, gkTrigDisp, gkshowdb, gkdbrange
83 ShowOver_a "LiveInPreOver", aLiveInPre, gkTrigDisp, 2
84 ShowLED_a "LiveInPost", aLiveInPost, gkTrigDisp, gkshowdb, gkdbrange
85 ShowOver_a "LiveInPostOver", aLiveInPost, gkTrigDisp, 2
86
87 ;;ring modulation
88 kmodfreq invalue "modfreq"
89 asine poscil 1, kmodfreq, gisine
90 amod = aLiveInPost * asine
91
92 ;;mix
93 kmix invalue "mix"
94 koutgaindb invalue "outgaindb"
95 aout = (amod * (1-kmix) + aLiveInPost * kmix) * ampdb(koutgaindb)
96 outch 1, aout, 2, aout
97
98 ;;show output
99 ShowLED_a "out", aout, gkTrigDisp, gkshowdb, gkdbrange
100 ShowOver_a "outover", aout, gkTrigDisp, 2
101 endin
102
103
104 </CsInstruments>
105 <CsScore>
106 i 1 0 36000
107 e
108 </CsScore>
109 </CsoundSynthesizer>
110
111
112
113
114 <bsbPanel>
115 <label>Widgets</label>
116 <objectName/>
117 <x>126</x>
118 <y>228</y>
119 <width>899</width>
120 <height>473</height>
121 <visible>true</visible>
122 <uuid/>
123 <bgcolor mode="background">
124 <r>220</r>
125 <g>214</g>
126 <b>207</b>
127 </bgcolor>
128 <bsbObject version="2" type="BSBLabel">
129 <objectName/>
130 <x>9</x>
131 <y>9</y>
132 <width>886</width>
133 <height>44</height>
134 <uuid>{2a56f609-3f3a-49a2-8ef2-04e1041ed49f}</uuid>
135 <visible>true</visible>
136 <midichan>0</midichan>
137 <midicc>0</midicc>
138 <description/>
139 <label>LIVE RING MODULATION / AMPLITUDE MODULATION</label>
140 <alignment>center</alignment>
141 <valignment>top</valignment>
142 <font>DejaVu Sans</font>
143 <fontsize>26</fontsize>
144 <precision>3</precision>
145 <color>
146 <r>0</r>
147 <g>0</g>
148 <b>0</b>
149 </color>
150 <bgcolor mode="nobackground">
151 <r>255</r>
152 <g>255</g>
153 <b>255</b>
154 </bgcolor>
155 <bordermode>noborder</bordermode>
156 <borderradius>1</borderradius>
157 <borderwidth>0</borderwidth>
158 </bsbObject>
159 <bsbObject version="2" type="BSBLabel">
160 <objectName/>
161 <x>9</x>
162 <y>58</y>
163 <width>886</width>
164 <height>66</height>
165 <uuid>{49b99e1e-2b4b-4aef-b413-95171c64b350}</uuid>
166 <visible>true</visible>
167 <midichan>0</midichan>
168 <midicc>0</midicc>
169 <description/>
170 <label>Note that the latency depends on the ksmps value in the orchestra header, the software (csound flag -b) and the hardware (-B) buffer size. See, for instance http://en.flossmanuals.net/csound/ch013_d-live-audio/ for further explanations.
171 </label>
172 <alignment>left</alignment>
173 <valignment>top</valignment>
174 <font>DejaVu Sans</font>
175 <fontsize>14</fontsize>
176 <precision>3</precision>
177 <color>
178 <r>0</r>
179 <g>0</g>
180 <b>0</b>
181 </color>
182 <bgcolor mode="nobackground">
183 <r>255</r>
184 <g>255</g>
185 <b>255</b>
186 </bgcolor>
187 <bordermode>noborder</bordermode>
188 <borderradius>1</borderradius>
189 <borderwidth>0</borderwidth>
190 </bsbObject>
191 <bsbObject version="2" type="BSBLabel">
192 <objectName/>
193 <x>11</x>
194 <y>132</y>
195 <width>484</width>
196 <height>148</height>
197 <uuid>{e39c91d6-a0bd-4681-8dbc-e384493e578c}</uuid>
198 <visible>true</visible>
199 <midichan>0</midichan>
200 <midicc>-3</midicc>
201 <description/>
202 <label> INPUT</label>
203 <alignment>left</alignment>
204 <valignment>top</valignment>
205 <font>Lucida Grande</font>
206 <fontsize>18</fontsize>
207 <precision>3</precision>
208 <color>
209 <r>0</r>
210 <g>0</g>
211 <b>0</b>
212 </color>
213 <bgcolor mode="nobackground">
214 <r>255</r>
215 <g>255</g>
216 <b>255</b>
217 </bgcolor>
218 <bordermode>border</bordermode>
219 <borderradius>1</borderradius>
220 <borderwidth>1</borderwidth>
221 </bsbObject>
222 <bsbObject version="2" type="BSBController">
223 <objectName>LiveInPre</objectName>
224 <x>116</x>
225 <y>164</y>
226 <width>336</width>
227 <height>22</height>
228 <uuid>{7286a833-c0b0-4f55-8ecc-837453106e15}</uuid>
229 <visible>true</visible>
230 <midichan>0</midichan>
231 <midicc>0</midicc>
232 <description/>
233 <objectName2>out1_post</objectName2>
234 <xMin>0.00000000</xMin>
235 <xMax>1.00000000</xMax>
236 <yMin>0.00000000</yMin>
237 <yMax>1.00000000</yMax>
238 <xValue>0.11509842</xValue>
239 <yValue>0.73076900</yValue>
240 <type>fill</type>
241 <pointsize>1</pointsize>
242 <fadeSpeed>0.00000000</fadeSpeed>
243 <mouseControl act="press">jump</mouseControl>
244 <bordermode>noborder</bordermode>
245 <borderColor>#00ff00</borderColor>
246 <color>
247 <r>0</r>
248 <g>234</g>
249 <b>0</b>
250 </color>
251 <randomizable group="0" mode="both">false</randomizable>
252 <bgcolor>
253 <r>22</r>
254 <g>22</g>
255 <b>22</b>
256 </bgcolor>
257 <bgcolormode>true</bgcolormode>
258 </bsbObject>
259 <bsbObject version="2" type="BSBController">
260 <objectName>LiveInPreOver</objectName>
261 <x>450</x>
262 <y>164</y>
263 <width>27</width>
264 <height>22</height>
265 <uuid>{42e31476-6cb3-42b4-a1fd-8f48e76892ac}</uuid>
266 <visible>true</visible>
267 <midichan>0</midichan>
268 <midicc>0</midicc>
269 <description/>
270 <objectName2>outLover</objectName2>
271 <xMin>0.00000000</xMin>
272 <xMax>1.00000000</xMax>
273 <yMin>0.00000000</yMin>
274 <yMax>1.00000000</yMax>
275 <xValue>0.00000000</xValue>
276 <yValue>0.00000000</yValue>
277 <type>fill</type>
278 <pointsize>1</pointsize>
279 <fadeSpeed>0.00000000</fadeSpeed>
280 <mouseControl act="press">jump</mouseControl>
281 <bordermode>noborder</bordermode>
282 <borderColor>#00ff00</borderColor>
283 <color>
284 <r>196</r>
285 <g>14</g>
286 <b>12</b>
287 </color>
288 <randomizable group="0" mode="both">false</randomizable>
289 <bgcolor>
290 <r>22</r>
291 <g>22</g>
292 <b>22</b>
293 </bgcolor>
294 <bgcolormode>true</bgcolormode>
295 </bsbObject>
296 <bsbObject version="2" type="BSBController">
297 <objectName>LiveInPost</objectName>
298 <x>116</x>
299 <y>240</y>
300 <width>336</width>
301 <height>22</height>
302 <uuid>{77fcb44e-b9a2-423d-9764-52f01754d96d}</uuid>
303 <visible>true</visible>
304 <midichan>0</midichan>
305 <midicc>0</midicc>
306 <description/>
307 <objectName2>out2_post</objectName2>
308 <xMin>0.00000000</xMin>
309 <xMax>1.00000000</xMax>
310 <yMin>0.00000000</yMin>
311 <yMax>1.00000000</yMax>
312 <xValue>0.09663681</xValue>
313 <yValue>0.59090900</yValue>
314 <type>fill</type>
315 <pointsize>1</pointsize>
316 <fadeSpeed>0.00000000</fadeSpeed>
317 <mouseControl act="press">jump</mouseControl>
318 <bordermode>noborder</bordermode>
319 <borderColor>#00ff00</borderColor>
320 <color>
321 <r>0</r>
322 <g>234</g>
323 <b>0</b>
324 </color>
325 <randomizable group="0" mode="both">false</randomizable>
326 <bgcolor>
327 <r>22</r>
328 <g>22</g>
329 <b>22</b>
330 </bgcolor>
331 <bgcolormode>true</bgcolormode>
332 </bsbObject>
333 <bsbObject version="2" type="BSBController">
334 <objectName>LiveInPostOver</objectName>
335 <x>450</x>
336 <y>240</y>
337 <width>27</width>
338 <height>22</height>
339 <uuid>{3e4c2001-fd4f-4b10-bd75-1766b5d1bbde}</uuid>
340 <visible>true</visible>
341 <midichan>0</midichan>
342 <midicc>0</midicc>
343 <description/>
344 <objectName2>outRover</objectName2>
345 <xMin>0.00000000</xMin>
346 <xMax>1.00000000</xMax>
347 <yMin>0.00000000</yMin>
348 <yMax>1.00000000</yMax>
349 <xValue>0.00000000</xValue>
350 <yValue>0.00000000</yValue>
351 <type>fill</type>
352 <pointsize>1</pointsize>
353 <fadeSpeed>0.00000000</fadeSpeed>
354 <mouseControl act="press">jump</mouseControl>
355 <bordermode>noborder</bordermode>
356 <borderColor>#00ff00</borderColor>
357 <color>
358 <r>196</r>
359 <g>14</g>
360 <b>12</b>
361 </color>
362 <randomizable group="0" mode="both">false</randomizable>
363 <bgcolor>
364 <r>22</r>
365 <g>22</g>
366 <b>22</b>
367 </bgcolor>
368 <bgcolormode>true</bgcolormode>
369 </bsbObject>
370 <bsbObject version="2" type="BSBLabel">
371 <objectName/>
372 <x>21</x>
373 <y>164</y>
374 <width>93</width>
375 <height>28</height>
376 <uuid>{9dd7688d-d7d4-4863-bbe8-44c1e622f2bd}</uuid>
377 <visible>true</visible>
378 <midichan>0</midichan>
379 <midicc>-3</midicc>
380 <description/>
381 <label>Live in Pre</label>
382 <alignment>left</alignment>
383 <valignment>top</valignment>
384 <font>Lucida Grande</font>
385 <fontsize>14</fontsize>
386 <precision>3</precision>
387 <color>
388 <r>0</r>
389 <g>0</g>
390 <b>0</b>
391 </color>
392 <bgcolor mode="nobackground">
393 <r>255</r>
394 <g>255</g>
395 <b>255</b>
396 </bgcolor>
397 <bordermode>noborder</bordermode>
398 <borderradius>1</borderradius>
399 <borderwidth>0</borderwidth>
400 </bsbObject>
401 <bsbObject version="2" type="BSBLabel">
402 <objectName/>
403 <x>19</x>
404 <y>240</y>
405 <width>97</width>
406 <height>29</height>
407 <uuid>{a6c9d0da-7821-4528-b193-9ee9af3d441f}</uuid>
408 <visible>true</visible>
409 <midichan>0</midichan>
410 <midicc>-3</midicc>
411 <description/>
412 <label>Live in Post</label>
413 <alignment>left</alignment>
414 <valignment>top</valignment>
415 <font>Lucida Grande</font>
416 <fontsize>14</fontsize>
417 <precision>3</precision>
418 <color>
419 <r>0</r>
420 <g>0</g>
421 <b>0</b>
422 </color>
423 <bgcolor mode="nobackground">
424 <r>255</r>
425 <g>255</g>
426 <b>255</b>
427 </bgcolor>
428 <bordermode>noborder</bordermode>
429 <borderradius>1</borderradius>
430 <borderwidth>0</borderwidth>
431 </bsbObject>
432 <bsbObject version="2" type="BSBLabel">
433 <objectName/>
434 <x>20</x>
435 <y>202</y>
436 <width>93</width>
437 <height>31</height>
438 <uuid>{bdebe2b5-07c1-4f1f-b7cb-d2f29a26a5f8}</uuid>
439 <visible>true</visible>
440 <midichan>0</midichan>
441 <midicc>-3</midicc>
442 <description/>
443 <label>Input Gain</label>
444 <alignment>left</alignment>
445 <valignment>top</valignment>
446 <font>Lucida Grande</font>
447 <fontsize>14</fontsize>
448 <precision>3</precision>
449 <color>
450 <r>0</r>
451 <g>0</g>
452 <b>0</b>
453 </color>
454 <bgcolor mode="nobackground">
455 <r>255</r>
456 <g>255</g>
457 <b>255</b>
458 </bgcolor>
459 <bordermode>noborder</bordermode>
460 <borderradius>1</borderradius>
461 <borderwidth>0</borderwidth>
462 </bsbObject>
463 <bsbObject version="2" type="BSBLabel">
464 <objectName/>
465 <x>518</x>
466 <y>131</y>
467 <width>380</width>
468 <height>215</height>
469 <uuid>{e748e0c8-197c-4d4d-b893-9501e50ae02b}</uuid>
470 <visible>true</visible>
471 <midichan>0</midichan>
472 <midicc>-3</midicc>
473 <description/>
474 <label> OUTPUT</label>
475 <alignment>left</alignment>
476 <valignment>top</valignment>
477 <font>Lucida Grande</font>
478 <fontsize>18</fontsize>
479 <precision>3</precision>
480 <color>
481 <r>0</r>
482 <g>0</g>
483 <b>0</b>
484 </color>
485 <bgcolor mode="nobackground">
486 <r>255</r>
487 <g>255</g>
488 <b>255</b>
489 </bgcolor>
490 <bordermode>border</bordermode>
491 <borderradius>1</borderradius>
492 <borderwidth>1</borderwidth>
493 </bsbObject>
494 <bsbObject version="2" type="BSBController">
495 <objectName>out</objectName>
496 <x>528</x>
497 <y>197</y>
498 <width>338</width>
499 <height>24</height>
500 <uuid>{133bd5e9-655f-4ba7-895d-45c9c8e54eb3}</uuid>
501 <visible>true</visible>
502 <midichan>0</midichan>
503 <midicc>-3</midicc>
504 <description/>
505 <objectName2>out</objectName2>
506 <xMin>0.00000000</xMin>
507 <xMax>1.00000000</xMax>
508 <yMin>0.00000000</yMin>
509 <yMax>1.00000000</yMax>
510 <xValue>0.06951294</xValue>
511 <yValue>0.06951294</yValue>
512 <type>fill</type>
513 <pointsize>1</pointsize>
514 <fadeSpeed>0.00000000</fadeSpeed>
515 <mouseControl act="press">jump</mouseControl>
516 <bordermode>noborder</bordermode>
517 <borderColor>#00FF00</borderColor>
518 <color>
519 <r>0</r>
520 <g>234</g>
521 <b>0</b>
522 </color>
523 <randomizable group="0" mode="both">false</randomizable>
524 <bgcolor>
525 <r>0</r>
526 <g>0</g>
527 <b>0</b>
528 </bgcolor>
529 <bgcolormode>true</bgcolormode>
530 </bsbObject>
531 <bsbObject version="2" type="BSBController">
532 <objectName>outover</objectName>
533 <x>863</x>
534 <y>197</y>
535 <width>26</width>
536 <height>24</height>
537 <uuid>{dc5f0c73-a680-4e93-9855-6706fbd5180d}</uuid>
538 <visible>true</visible>
539 <midichan>0</midichan>
540 <midicc>-3</midicc>
541 <description/>
542 <objectName2>outRover</objectName2>
543 <xMin>0.00000000</xMin>
544 <xMax>1.00000000</xMax>
545 <yMin>0.00000000</yMin>
546 <yMax>1.00000000</yMax>
547 <xValue>0.00000000</xValue>
548 <yValue>0.00000000</yValue>
549 <type>fill</type>
550 <pointsize>1</pointsize>
551 <fadeSpeed>0.00000000</fadeSpeed>
552 <mouseControl act="press">jump</mouseControl>
553 <bordermode>noborder</bordermode>
554 <borderColor>#00FF00</borderColor>
555 <color>
556 <r>196</r>
557 <g>14</g>
558 <b>12</b>
559 </color>
560 <randomizable group="0" mode="both">false</randomizable>
561 <bgcolor>
562 <r>0</r>
563 <g>0</g>
564 <b>0</b>
565 </bgcolor>
566 <bgcolormode>true</bgcolormode>
567 </bsbObject>
568 <bsbObject version="2" type="BSBSpinBox">
569 <objectName>dbrange</objectName>
570 <x>416</x>
571 <y>292</y>
572 <width>79</width>
573 <height>27</height>
574 <uuid>{81528aba-64e8-4dc7-b127-daa1434195a2}</uuid>
575 <visible>true</visible>
576 <midichan>0</midichan>
577 <midicc>0</midicc>
578 <description/>
579 <alignment>left</alignment>
580 <font>Noto Sans</font>
581 <fontsize>14</fontsize>
582 <color>
583 <r>0</r>
584 <g>0</g>
585 <b>0</b>
586 </color>
587 <bgcolor mode="background">
588 <r>255</r>
589 <g>255</g>
590 <b>255</b>
591 </bgcolor>
592 <resolution>0.10000000</resolution>
593 <minimum>1</minimum>
594 <maximum>1e+12</maximum>
595 <randomizable group="0">false</randomizable>
596 <value>0</value>
597 </bsbObject>
598 <bsbObject version="2" type="BSBLabel">
599 <objectName/>
600 <x>329</x>
601 <y>291</y>
602 <width>90</width>
603 <height>29</height>
604 <uuid>{cc0e0187-e5c9-4b44-b8c0-28d00d45cb89}</uuid>
605 <visible>true</visible>
606 <midichan>0</midichan>
607 <midicc>0</midicc>
608 <description/>
609 <label>dB-Range</label>
610 <alignment>right</alignment>
611 <valignment>top</valignment>
612 <font>Nimbus Sans L</font>
613 <fontsize>14</fontsize>
614 <precision>3</precision>
615 <color>
616 <r>0</r>
617 <g>0</g>
618 <b>0</b>
619 </color>
620 <bgcolor mode="nobackground">
621 <r>255</r>
622 <g>255</g>
623 <b>255</b>
624 </bgcolor>
625 <bordermode>noborder</bordermode>
626 <borderradius>1</borderradius>
627 <borderwidth>0</borderwidth>
628 </bsbObject>
629 <bsbObject version="2" type="BSBLabel">
630 <objectName/>
631 <x>140</x>
632 <y>292</y>
633 <width>110</width>
634 <height>27</height>
635 <uuid>{df57c2f7-4a74-460f-9f7f-b3efb8106306}</uuid>
636 <visible>true</visible>
637 <midichan>0</midichan>
638 <midicc>0</midicc>
639 <description/>
640 <label>Show LED's as</label>
641 <alignment>right</alignment>
642 <valignment>top</valignment>
643 <font>Nimbus Sans L</font>
644 <fontsize>14</fontsize>
645 <precision>3</precision>
646 <color>
647 <r>0</r>
648 <g>0</g>
649 <b>0</b>
650 </color>
651 <bgcolor mode="nobackground">
652 <r>255</r>
653 <g>255</g>
654 <b>255</b>
655 </bgcolor>
656 <bordermode>noborder</bordermode>
657 <borderradius>1</borderradius>
658 <borderwidth>0</borderwidth>
659 </bsbObject>
660 <bsbObject version="2" type="BSBDropdown">
661 <objectName>showdb</objectName>
662 <x>249</x>
663 <y>292</y>
664 <width>80</width>
665 <height>28</height>
666 <uuid>{d09ab184-f4b1-4340-8730-e73b870bcf9a}</uuid>
667 <visible>true</visible>
668 <midichan>0</midichan>
669 <midicc>0</midicc>
670 <description/>
671 <bsbDropdownItemList>
672 <bsbDropdownItem>
673 <name>raw amps</name>
674 <value>0</value>
675 <stringvalue/>
676 </bsbDropdownItem>
677 <bsbDropdownItem>
678 <name>dB</name>
679 <value>1</value>
680 <stringvalue/>
681 </bsbDropdownItem>
682 </bsbDropdownItemList>
683 <selectedIndex>1</selectedIndex>
684 <randomizable group="0">false</randomizable>
685 </bsbObject>
686 <bsbObject version="2" type="BSBScope">
687 <objectName/>
688 <x>525</x>
689 <y>228</y>
690 <width>368</width>
691 <height>105</height>
692 <uuid>{c385ef49-3efa-4ec3-806a-ff883343cb9c}</uuid>
693 <visible>true</visible>
694 <midichan>0</midichan>
695 <midicc>0</midicc>
696 <description/>
697 <value>-255.00000000</value>
698 <type>scope</type>
699 <zoomx>2.00000000</zoomx>
700 <zoomy>1.00000000</zoomy>
701 <dispx>1.00000000</dispx>
702 <dispy>1.00000000</dispy>
703 <mode>0.00000000</mode>
704 <triggermode>NoTrigger</triggermode>
705 </bsbObject>
706 <bsbObject version="2" type="BSBLabel">
707 <objectName/>
708 <x>6</x>
709 <y>355</y>
710 <width>893</width>
711 <height>118</height>
712 <uuid>{f470cb16-0510-44e6-b6e0-c532a68e3409}</uuid>
713 <visible>true</visible>
714 <midichan>0</midichan>
715 <midicc>0</midicc>
716 <description/>
717 <label>RING-/ AMPLITUDE MODULATION</label>
718 <alignment>left</alignment>
719 <valignment>top</valignment>
720 <font>DejaVu Sans</font>
721 <fontsize>18</fontsize>
722 <precision>3</precision>
723 <color>
724 <r>0</r>
725 <g>0</g>
726 <b>0</b>
727 </color>
728 <bgcolor mode="nobackground">
729 <r>255</r>
730 <g>255</g>
731 <b>255</b>
732 </bgcolor>
733 <bordermode>border</bordermode>
734 <borderradius>1</borderradius>
735 <borderwidth>1</borderwidth>
736 </bsbObject>
737 <bsbObject version="2" type="BSBLabel">
738 <objectName/>
739 <x>529</x>
740 <y>164</y>
741 <width>95</width>
742 <height>27</height>
743 <uuid>{dcc76929-4dec-4912-b228-fcab4a27e75f}</uuid>
744 <visible>true</visible>
745 <midichan>0</midichan>
746 <midicc>-3</midicc>
747 <description/>
748 <label>Output Gain</label>
749 <alignment>left</alignment>
750 <valignment>top</valignment>
751 <font>Lucida Grande</font>
752 <fontsize>14</fontsize>
753 <precision>3</precision>
754 <color>
755 <r>0</r>
756 <g>0</g>
757 <b>0</b>
758 </color>
759 <bgcolor mode="nobackground">
760 <r>255</r>
761 <g>255</g>
762 <b>255</b>
763 </bgcolor>
764 <bordermode>noborder</bordermode>
765 <borderradius>1</borderradius>
766 <borderwidth>0</borderwidth>
767 </bsbObject>
768 <bsbObject version="2" type="BSBHSlider">
769 <objectName>modfreq</objectName>
770 <x>12</x>
771 <y>393</y>
772 <width>569</width>
773 <height>30</height>
774 <uuid>{7d5be814-ed5a-4fae-9218-23741e0c7182}</uuid>
775 <visible>true</visible>
776 <midichan>0</midichan>
777 <midicc>0</midicc>
778 <description/>
779 <minimum>0.00000000</minimum>
780 <maximum>10000.00000000</maximum>
781 <value>316.34446397</value>
782 <mode>lin</mode>
783 <mouseControl act="jump">continuous</mouseControl>
784 <resolution>-1.00000000</resolution>
785 <randomizable group="0">false</randomizable>
786 </bsbObject>
787 <bsbObject version="2" type="BSBLabel">
788 <objectName/>
789 <x>719</x>
790 <y>394</y>
791 <width>173</width>
792 <height>29</height>
793 <uuid>{dfd615a7-269f-432b-a1f2-8f8214cb6142}</uuid>
794 <visible>true</visible>
795 <midichan>0</midichan>
796 <midicc>0</midicc>
797 <description/>
798 <label>Modulation Frequency</label>
799 <alignment>left</alignment>
800 <valignment>top</valignment>
801 <font>DejaVu Sans</font>
802 <fontsize>14</fontsize>
803 <precision>3</precision>
804 <color>
805 <r>0</r>
806 <g>0</g>
807 <b>0</b>
808 </color>
809 <bgcolor mode="nobackground">
810 <r>255</r>
811 <g>255</g>
812 <b>255</b>
813 </bgcolor>
814 <bordermode>noborder</bordermode>
815 <borderradius>1</borderradius>
816 <borderwidth>0</borderwidth>
817 </bsbObject>
818 <bsbObject version="2" type="BSBSpinBox">
819 <objectName>modfreq</objectName>
820 <x>583</x>
821 <y>392</y>
822 <width>132</width>
823 <height>31</height>
824 <uuid>{4c0bb428-1aaa-48c8-acaf-a292a51a01aa}</uuid>
825 <visible>true</visible>
826 <midichan>0</midichan>
827 <midicc>0</midicc>
828 <description/>
829 <alignment>right</alignment>
830 <font>Liberation Sans</font>
831 <fontsize>14</fontsize>
832 <color>
833 <r>0</r>
834 <g>0</g>
835 <b>0</b>
836 </color>
837 <bgcolor mode="background">
838 <r>255</r>
839 <g>255</g>
840 <b>255</b>
841 </bgcolor>
842 <resolution>0.00100000</resolution>
843 <minimum>0</minimum>
844 <maximum>1e+12</maximum>
845 <randomizable group="0">false</randomizable>
846 <value>0</value>
847 </bsbObject>
848 <bsbObject version="2" type="BSBLabel">
849 <objectName/>
850 <x>547</x>
851 <y>433</y>
852 <width>346</width>
853 <height>28</height>
854 <uuid>{0d90798d-f4cd-4370-baf7-d117997cae4e}</uuid>
855 <visible>true</visible>
856 <midichan>0</midichan>
857 <midicc>0</midicc>
858 <description/>
859 <label>RM/AM Mix (0 = pure RM, 1 = unmodified Input)</label>
860 <alignment>left</alignment>
861 <valignment>top</valignment>
862 <font>DejaVu Sans</font>
863 <fontsize>14</fontsize>
864 <precision>3</precision>
865 <color>
866 <r>0</r>
867 <g>0</g>
868 <b>0</b>
869 </color>
870 <bgcolor mode="nobackground">
871 <r>255</r>
872 <g>255</g>
873 <b>255</b>
874 </bgcolor>
875 <bordermode>noborder</bordermode>
876 <borderradius>1</borderradius>
877 <borderwidth>0</borderwidth>
878 </bsbObject>
879 <bsbObject version="2" type="BSBHSlider">
880 <objectName>mix</objectName>
881 <x>12</x>
882 <y>430</y>
883 <width>465</width>
884 <height>32</height>
885 <uuid>{f94c1dd8-f4bc-4012-bf82-2409efa23912}</uuid>
886 <visible>true</visible>
887 <midichan>0</midichan>
888 <midicc>0</midicc>
889 <description/>
890 <minimum>0.00000000</minimum>
891 <maximum>1.00000000</maximum>
892 <value>0.07311828</value>
893 <mode>lin</mode>
894 <mouseControl act="jump">continuous</mouseControl>
895 <resolution>-1.00000000</resolution>
896 <randomizable group="0">false</randomizable>
897 </bsbObject>
898 <bsbObject version="2" type="BSBDisplay">
899 <objectName>mix</objectName>
900 <x>480</x>
901 <y>433</y>
902 <width>61</width>
903 <height>27</height>
904 <uuid>{6b1b6eb4-701f-4303-9293-714436c3cf04}</uuid>
905 <visible>true</visible>
906 <midichan>0</midichan>
907 <midicc>0</midicc>
908 <description/>
909 <label>0.073</label>
910 <alignment>right</alignment>
911 <valignment>top</valignment>
912 <font>DejaVu Sans</font>
913 <fontsize>14</fontsize>
914 <precision>3</precision>
915 <color>
916 <r>0</r>
917 <g>0</g>
918 <b>0</b>
919 </color>
920 <bgcolor mode="nobackground">
921 <r>255</r>
922 <g>255</g>
923 <b>255</b>
924 </bgcolor>
925 <bordermode>noborder</bordermode>
926 <borderradius>1</borderradius>
927 <borderwidth>0</borderwidth>
928 </bsbObject>
929 <bsbObject version="2" type="BSBSpinBox">
930 <objectName>inchnl</objectName>
931 <x>100</x>
932 <y>293</y>
933 <width>47</width>
934 <height>27</height>
935 <uuid>{2fce6993-35f8-4dd7-bedd-f809c0803989}</uuid>
936 <visible>true</visible>
937 <midichan>0</midichan>
938 <midicc>0</midicc>
939 <description/>
940 <alignment>right</alignment>
941 <font>DejaVu Sans</font>
942 <fontsize>14</fontsize>
943 <color>
944 <r>0</r>
945 <g>0</g>
946 <b>0</b>
947 </color>
948 <bgcolor mode="background">
949 <r>255</r>
950 <g>255</g>
951 <b>255</b>
952 </bgcolor>
953 <resolution>1.00000000</resolution>
954 <minimum>1</minimum>
955 <maximum>1e+12</maximum>
956 <randomizable group="0">false</randomizable>
957 <value>1</value>
958 </bsbObject>
959 <bsbObject version="2" type="BSBLabel">
960 <objectName/>
961 <x>0</x>
962 <y>292</y>
963 <width>102</width>
964 <height>29</height>
965 <uuid>{df02308f-b978-4275-817e-1ad38c5b30d5}</uuid>
966 <visible>true</visible>
967 <midichan>0</midichan>
968 <midicc>0</midicc>
969 <description/>
970 <label>Input Channel</label>
971 <alignment>right</alignment>
972 <valignment>top</valignment>
973 <font>Nimbus Sans L</font>
974 <fontsize>14</fontsize>
975 <precision>3</precision>
976 <color>
977 <r>0</r>
978 <g>0</g>
979 <b>0</b>
980 </color>
981 <bgcolor mode="nobackground">
982 <r>255</r>
983 <g>255</g>
984 <b>255</b>
985 </bgcolor>
986 <bordermode>noborder</bordermode>
987 <borderradius>1</borderradius>
988 <borderwidth>0</borderwidth>
989 </bsbObject>
990 <bsbObject version="2" type="BSBHSlider">
991 <objectName>ingaindb</objectName>
992 <x>118</x>
993 <y>204</y>
994 <width>260</width>
995 <height>26</height>
996 <uuid>{64de8264-0345-4faf-b16c-4af284a95268}</uuid>
997 <visible>true</visible>
998 <midichan>0</midichan>
999 <midicc>0</midicc>
1000 <description/>
1001 <minimum>-12.00000000</minimum>
1002 <maximum>12.00000000</maximum>
1003 <value>-0.92307692</value>
1004 <mode>lin</mode>
1005 <mouseControl act="jump">continuous</mouseControl>
1006 <resolution>-1.00000000</resolution>
1007 <randomizable group="0">false</randomizable>
1008 </bsbObject>
1009 <bsbObject version="2" type="BSBLabel">
1010 <objectName/>
1011 <x>456</x>
1012 <y>203</y>
1013 <width>30</width>
1014 <height>31</height>
1015 <uuid>{eecbf48f-983f-4ce5-bdcc-e6b1ae657b20}</uuid>
1016 <visible>true</visible>
1017 <midichan>0</midichan>
1018 <midicc>0</midicc>
1019 <description/>
1020 <label>dB</label>
1021 <alignment>right</alignment>
1022 <valignment>top</valignment>
1023 <font>DejaVu Sans</font>
1024 <fontsize>14</fontsize>
1025 <precision>3</precision>
1026 <color>
1027 <r>0</r>
1028 <g>0</g>
1029 <b>0</b>
1030 </color>
1031 <bgcolor mode="nobackground">
1032 <r>255</r>
1033 <g>255</g>
1034 <b>255</b>
1035 </bgcolor>
1036 <bordermode>noborder</bordermode>
1037 <borderradius>1</borderradius>
1038 <borderwidth>0</borderwidth>
1039 </bsbObject>
1040 <bsbObject version="2" type="BSBSpinBox">
1041 <objectName>ingaindb</objectName>
1042 <x>378</x>
1043 <y>205</y>
1044 <width>76</width>
1045 <height>27</height>
1046 <uuid>{a44b45c8-8c22-4c53-9442-75339608f708}</uuid>
1047 <visible>true</visible>
1048 <midichan>0</midichan>
1049 <midicc>0</midicc>
1050 <description/>
1051 <alignment>left</alignment>
1052 <font>Liberation Sans</font>
1053 <fontsize>14</fontsize>
1054 <color>
1055 <r>0</r>
1056 <g>0</g>
1057 <b>0</b>
1058 </color>
1059 <bgcolor mode="background">
1060 <r>255</r>
1061 <g>255</g>
1062 <b>255</b>
1063 </bgcolor>
1064 <resolution>0.00100000</resolution>
1065 <minimum>-1e+12</minimum>
1066 <maximum>1e+12</maximum>
1067 <randomizable group="0">false</randomizable>
1068 <value>0</value>
1069 </bsbObject>
1070 <bsbObject version="2" type="BSBHSlider">
1071 <objectName>outgaindb</objectName>
1072 <x>625</x>
1073 <y>165</y>
1074 <width>155</width>
1075 <height>24</height>
1076 <uuid>{2735c656-a8f6-429d-acc3-2fe0db7e078a}</uuid>
1077 <visible>true</visible>
1078 <midichan>0</midichan>
1079 <midicc>0</midicc>
1080 <description/>
1081 <minimum>-12.00000000</minimum>
1082 <maximum>12.00000000</maximum>
1083 <value>-0.85161290</value>
1084 <mode>lin</mode>
1085 <mouseControl act="jump">continuous</mouseControl>
1086 <resolution>-1.00000000</resolution>
1087 <randomizable group="0">false</randomizable>
1088 </bsbObject>
1089 <bsbObject version="2" type="BSBLabel">
1090 <objectName/>
1091 <x>861</x>
1092 <y>163</y>
1093 <width>30</width>
1094 <height>31</height>
1095 <uuid>{a5947f34-1e11-490f-bd5d-c543d6e4494e}</uuid>
1096 <visible>true</visible>
1097 <midichan>0</midichan>
1098 <midicc>0</midicc>
1099 <description/>
1100 <label>dB</label>
1101 <alignment>right</alignment>
1102 <valignment>top</valignment>
1103 <font>DejaVu Sans</font>
1104 <fontsize>14</fontsize>
1105 <precision>3</precision>
1106 <color>
1107 <r>0</r>
1108 <g>0</g>
1109 <b>0</b>
1110 </color>
1111 <bgcolor mode="nobackground">
1112 <r>255</r>
1113 <g>255</g>
1114 <b>255</b>
1115 </bgcolor>
1116 <bordermode>noborder</bordermode>
1117 <borderradius>1</borderradius>
1118 <borderwidth>0</borderwidth>
1119 </bsbObject>
1120 <bsbObject version="2" type="BSBSpinBox">
1121 <objectName>outgaindb</objectName>
1122 <x>781</x>
1123 <y>164</y>
1124 <width>76</width>
1125 <height>27</height>
1126 <uuid>{52bb78bb-8e63-44a1-a86a-5def867d5311}</uuid>
1127 <visible>true</visible>
1128 <midichan>0</midichan>
1129 <midicc>0</midicc>
1130 <description/>
1131 <alignment>left</alignment>
1132 <font>Liberation Sans</font>
1133 <fontsize>14</fontsize>
1134 <color>
1135 <r>0</r>
1136 <g>0</g>
1137 <b>0</b>
1138 </color>
1139 <bgcolor mode="background">
1140 <r>255</r>
1141 <g>255</g>
1142 <b>255</b>
1143 </bgcolor>
1144 <resolution>0.00100000</resolution>
1145 <minimum>-1e+12</minimum>
1146 <maximum>1e+12</maximum>
1147 <randomizable group="0">false</randomizable>
1148 <value>0</value>
1149 </bsbObject>
1150 </bsbPanel>
1151 <bsbPresets>
1152 </bsbPresets>
1153 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="360" y="248" width="612" height="322" visible="false" loopStart="0" loopEnd="0"> </EventPanel>