Debian Codegraph @

src/Examples/CsoundQt/Useful/Audio_Thru_Test.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 </CsOptions>
4 <CsInstruments>
5
6 /*****SIMPLE LIVE INPUT AND OUTPUT TEST (STEREO)*****/
7
8 /*example for CsoundQt
9 written by joachim heintz
10 jan 2009 / jun 2018 */
11
12 sr = 44100
13 ksmps = 64
14 nchnls = 2
15 0dbfs = 1; do not change this
16
17 //UDO for displaying an audio signal in widgets
18 opcode CsQtMeter, 0, SSak ;see https://github.com/csudo/csudo/blob/master/csqt/CsQtMeter.csd
19 S_chan_sig, S_chan_over, aSig, kTrig xin
20 iDbRange = 60 ;shows 60 dB
21 iHoldTim = 1 ;seconds to "hold the red light"
22 kOn init 0
23 kTim init 0
24 kStart init 0
25 kEnd init 0
26 kMax max_k aSig, kTrig, 1
27 if kTrig == 1 then
28 chnset (iDbRange + dbfsamp(kMax)) / iDbRange, S_chan_sig
29 if kOn == 0 && kMax > 1 then
30 kTim = 0
31 kEnd = iHoldTim
32 chnset k(1), S_chan_over
33 kOn = 1
34 endif
35 if kOn == 1 && kTim > kEnd then
36 chnset k(0), S_chan_over
37 kOn = 0
38 endif
39 endif
40 kTim += ksmps/sr
41 endop
42
43
44 //declare software channels
45 ;input from widgets
46 chn_k "OnOff1", 1
47 chn_k "OnOff2", 1
48 chn_k "gain_in1", 1
49 chn_k "gain_in2", 1
50 chn_k "gain_out1", 1
51 chn_k "gain_out2", 1
52
53 ;output to widgets
54 chn_k "ShowOnOff1", 2
55 chn_k "ShowOnOff2", 2
56 chn_k "in1_pre", 2
57 chn_k "in1over_pre", 2
58 chn_k "in2_pre", 2
59 chn_k "in2over_pre", 2
60 chn_k "in1_post", 2
61 chn_k "in1over_post", 2
62 chn_k "in2_post", 2
63 chn_k "in2over_post", 2
64 chn_k "out1_post", 2
65 chn_k "out1over_post", 2
66 chn_k "out2_post", 2
67 chn_k "out2over_post", 2
68
69
70
71 instr Audio_Thru
72
73 ain1, ain2 ins ;stereo input
74 kTrigDisp metro 10; frequency for refreshing the display
75
76 ;On/Off state and envelope; show if mutet
77 kOnOff1 chnget "OnOff1"
78 kOnOff2 chnget "OnOff2"
79 kenv1 port kOnOff1, .001; no clicks when pressing on or off
80 kenv2 port kOnOff2, .001
81 kmute1 = (kOnOff1 == 0 ? 1 : 0)
82 kmute2 = (kOnOff2 == 0 ? 1 : 0)
83 chnset kmute1, "ShowOnOff1"
84 chnset kmute2, "ShowOnOff2"
85
86 ;show pre fader input
87 CsQtMeter "in1_pre", "in1over_pre", ain1, kTrigDisp
88 CsQtMeter "in2_pre", "in2over_pre", ain2, kTrigDisp
89
90 ;input gain
91 kInputGain1 chnget "gain_in1"
92 kInputGain2 chnget "gain_in2"
93 ain1gain = ain1 * ampdbfs(kInputGain1)
94 ain2gain = ain2 * ampdbfs(kInputGain2)
95
96 ;show post fader input
97 CsQtMeter "in1_post", "in1over_post", ain1gain, kTrigDisp
98 CsQtMeter "in2_post", "in2over_post", ain2gain, kTrigDisp
99
100 ;output gain
101 kOutputGain1 chnget "gain_out1"
102 kOutputGain2 chnget "gain_out2"
103 aout1gain = ain1gain * ampdbfs(kOutputGain1) * kenv1
104 aout2gain = ain2gain * ampdbfs(kOutputGain2) * kenv2
105
106 ;show output
107 CsQtMeter "out1_post", "out1over_post", aout1gain, kTrigDisp
108 CsQtMeter "out2_post", "out2over_post", aout2gain, kTrigDisp
109
110 ;signal output
111 out aout1gain, aout2gain
112
113 endin
114
115
116 </CsInstruments>
117 <CsScore>
118 i "Audio_Thru" 0 3600
119 </CsScore>
120 </CsoundSynthesizer>
121 <bsbPanel>
122 <label>Widgets</label>
123 <objectName/>
124 <x>344</x>
125 <y>245</y>
126 <width>582</width>
127 <height>651</height>
128 <visible>true</visible>
129 <uuid/>
130 <bgcolor mode="background">
131 <r>170</r>
132 <g>170</g>
133 <b>127</b>
134 </bgcolor>
135 <bsbObject type="BSBLabel" version="2">
136 <objectName/>
137 <x>253</x>
138 <y>117</y>
139 <width>306</width>
140 <height>77</height>
141 <uuid>{abbb9622-b3f2-4d9c-9b7c-6aaba67c5395}</uuid>
142 <visible>true</visible>
143 <midichan>0</midichan>
144 <midicc>-3</midicc>
145 <label>This example shows how you can display your inputs and outputs and how you can control the level.</label>
146 <alignment>left</alignment>
147 <font>DejaVu Sans</font>
148 <fontsize>14</fontsize>
149 <precision>3</precision>
150 <color>
151 <r>0</r>
152 <g>0</g>
153 <b>0</b>
154 </color>
155 <bgcolor mode="nobackground">
156 <r>255</r>
157 <g>255</g>
158 <b>255</b>
159 </bgcolor>
160 <bordermode>noborder</bordermode>
161 <borderradius>1</borderradius>
162 <borderwidth>1</borderwidth>
163 </bsbObject>
164 <bsbObject type="BSBLabel" version="2">
165 <objectName/>
166 <x>7</x>
167 <y>78</y>
168 <width>227</width>
169 <height>284</height>
170 <uuid>{737b8646-52ac-4cec-a615-b01be9d5d2b6}</uuid>
171 <visible>true</visible>
172 <midichan>0</midichan>
173 <midicc>-3</midicc>
174 <label>Input</label>
175 <alignment>center</alignment>
176 <font>DejaVu Sans</font>
177 <fontsize>22</fontsize>
178 <precision>3</precision>
179 <color>
180 <r>0</r>
181 <g>0</g>
182 <b>0</b>
183 </color>
184 <bgcolor mode="nobackground">
185 <r>255</r>
186 <g>255</g>
187 <b>255</b>
188 </bgcolor>
189 <bordermode>border</bordermode>
190 <borderradius>1</borderradius>
191 <borderwidth>1</borderwidth>
192 </bsbObject>
193 <bsbObject type="BSBLabel" version="2">
194 <objectName/>
195 <x>9</x>
196 <y>16</y>
197 <width>552</width>
198 <height>47</height>
199 <uuid>{a1344146-bffd-4838-8ac0-55b71aa9d1f0}</uuid>
200 <visible>true</visible>
201 <midichan>0</midichan>
202 <midicc>-3</midicc>
203 <label>AUDIO THRU TEST</label>
204 <alignment>center</alignment>
205 <font>DejaVu Sans</font>
206 <fontsize>26</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>noborder</bordermode>
219 <borderradius>1</borderradius>
220 <borderwidth>1</borderwidth>
221 </bsbObject>
222 <bsbObject type="BSBLabel" version="2">
223 <objectName/>
224 <x>251</x>
225 <y>77</y>
226 <width>308</width>
227 <height>33</height>
228 <uuid>{2049480b-bcf4-4276-811c-4e2b6373d978}</uuid>
229 <visible>true</visible>
230 <midichan>0</midichan>
231 <midicc>-3</midicc>
232 <label>(Be careful - feedback is likely!)</label>
233 <alignment>center</alignment>
234 <font>DejaVu Sans</font>
235 <fontsize>18</fontsize>
236 <precision>3</precision>
237 <color>
238 <r>0</r>
239 <g>0</g>
240 <b>0</b>
241 </color>
242 <bgcolor mode="background">
243 <r>255</r>
244 <g>172</g>
245 <b>56</b>
246 </bgcolor>
247 <bordermode>noborder</bordermode>
248 <borderradius>1</borderradius>
249 <borderwidth>1</borderwidth>
250 </bsbObject>
251 <bsbObject type="BSBLabel" version="2">
252 <objectName/>
253 <x>251</x>
254 <y>185</y>
255 <width>308</width>
256 <height>68</height>
257 <uuid>{fa4ee6ae-88ef-4397-be58-61d8c617f6ee}</uuid>
258 <visible>true</visible>
259 <midichan>0</midichan>
260 <midicc>-3</midicc>
261 <label>This example connects the inputs of your audio device to its outputs</label>
262 <alignment>left</alignment>
263 <font>DejaVu Sans</font>
264 <fontsize>14</fontsize>
265 <precision>3</precision>
266 <color>
267 <r>0</r>
268 <g>0</g>
269 <b>0</b>
270 </color>
271 <bgcolor mode="nobackground">
272 <r>255</r>
273 <g>255</g>
274 <b>255</b>
275 </bgcolor>
276 <bordermode>noborder</bordermode>
277 <borderradius>1</borderradius>
278 <borderwidth>1</borderwidth>
279 </bsbObject>
280 <bsbObject type="BSBLabel" version="2">
281 <objectName/>
282 <x>250</x>
283 <y>231</y>
284 <width>307</width>
285 <height>143</height>
286 <uuid>{347c7284-0293-4759-a480-3bb703ae762b}</uuid>
287 <visible>true</visible>
288 <midichan>0</midichan>
289 <midicc>-3</midicc>
290 <label>For Live-Input it's very important to adjust the software (-b) and the hardware (-B) buffer size in conjunction with the number of audio samples per control period (ksmps). For this see the page Optimizing Audio i/O Latency in the Csound Manual.</label>
291 <alignment>left</alignment>
292 <font>DejaVu Sans</font>
293 <fontsize>14</fontsize>
294 <precision>3</precision>
295 <color>
296 <r>0</r>
297 <g>0</g>
298 <b>0</b>
299 </color>
300 <bgcolor mode="nobackground">
301 <r>255</r>
302 <g>255</g>
303 <b>255</b>
304 </bgcolor>
305 <bordermode>noborder</bordermode>
306 <borderradius>1</borderradius>
307 <borderwidth>1</borderwidth>
308 </bsbObject>
309 <bsbObject type="BSBController" version="2">
310 <objectName>in1_pre</objectName>
311 <x>22</x>
312 <y>126</y>
313 <width>120</width>
314 <height>21</height>
315 <uuid>{d856a67b-3e77-4528-9303-cae4d64b252c}</uuid>
316 <visible>true</visible>
317 <midichan>0</midichan>
318 <midicc>0</midicc>
319 <objectName2>in1_pre</objectName2>
320 <xMin>0.00000000</xMin>
321 <xMax>1.00000000</xMax>
322 <yMin>0.00000000</yMin>
323 <yMax>1.00000000</yMax>
324 <xValue>0.00892408</xValue>
325 <yValue>0.00892408</yValue>
326 <type>fill</type>
327 <pointsize>1</pointsize>
328 <fadeSpeed>0.00000000</fadeSpeed>
329 <mouseControl act="press">jump</mouseControl>
330 <color>
331 <r>0</r>
332 <g>234</g>
333 <b>0</b>
334 </color>
335 <randomizable mode="both" group="0">false</randomizable>
336 <bgcolor>
337 <r>0</r>
338 <g>0</g>
339 <b>0</b>
340 </bgcolor>
341 </bsbObject>
342 <bsbObject type="BSBController" version="2">
343 <objectName>in1over_pre</objectName>
344 <x>140</x>
345 <y>126</y>
346 <width>21</width>
347 <height>21</height>
348 <uuid>{480d34a2-d24f-4420-8411-2e8684756547}</uuid>
349 <visible>true</visible>
350 <midichan>0</midichan>
351 <midicc>0</midicc>
352 <objectName2>in1over_pre</objectName2>
353 <xMin>0.00000000</xMin>
354 <xMax>1.00000000</xMax>
355 <yMin>0.00000000</yMin>
356 <yMax>1.00000000</yMax>
357 <xValue>0.00000000</xValue>
358 <yValue>0.00000000</yValue>
359 <type>fill</type>
360 <pointsize>1</pointsize>
361 <fadeSpeed>0.00000000</fadeSpeed>
362 <mouseControl act="press">jump</mouseControl>
363 <color>
364 <r>196</r>
365 <g>14</g>
366 <b>12</b>
367 </color>
368 <randomizable mode="both" group="0">false</randomizable>
369 <bgcolor>
370 <r>0</r>
371 <g>0</g>
372 <b>0</b>
373 </bgcolor>
374 </bsbObject>
375 <bsbObject type="BSBController" version="2">
376 <objectName>in2_pre</objectName>
377 <x>21</x>
378 <y>154</y>
379 <width>121</width>
380 <height>21</height>
381 <uuid>{e91a5eb4-49da-40bc-9b98-625002ac9bf0}</uuid>
382 <visible>true</visible>
383 <midichan>0</midichan>
384 <midicc>0</midicc>
385 <objectName2>in1_pre</objectName2>
386 <xMin>0.00000000</xMin>
387 <xMax>1.00000000</xMax>
388 <yMin>0.00000000</yMin>
389 <yMax>1.00000000</yMax>
390 <xValue>0.06345120</xValue>
391 <yValue>0.00892408</yValue>
392 <type>fill</type>
393 <pointsize>1</pointsize>
394 <fadeSpeed>0.00000000</fadeSpeed>
395 <mouseControl act="press">jump</mouseControl>
396 <color>
397 <r>0</r>
398 <g>234</g>
399 <b>0</b>
400 </color>
401 <randomizable mode="both" group="0">false</randomizable>
402 <bgcolor>
403 <r>0</r>
404 <g>0</g>
405 <b>0</b>
406 </bgcolor>
407 </bsbObject>
408 <bsbObject type="BSBController" version="2">
409 <objectName>in2over_pre</objectName>
410 <x>139</x>
411 <y>154</y>
412 <width>21</width>
413 <height>21</height>
414 <uuid>{72447319-10f0-4533-b0c2-4f32c3336376}</uuid>
415 <visible>true</visible>
416 <midichan>0</midichan>
417 <midicc>0</midicc>
418 <objectName2>in2over_pre</objectName2>
419 <xMin>0.00000000</xMin>
420 <xMax>1.00000000</xMax>
421 <yMin>0.00000000</yMin>
422 <yMax>1.00000000</yMax>
423 <xValue>0.00000000</xValue>
424 <yValue>0.00000000</yValue>
425 <type>fill</type>
426 <pointsize>1</pointsize>
427 <fadeSpeed>0.00000000</fadeSpeed>
428 <mouseControl act="press">jump</mouseControl>
429 <color>
430 <r>196</r>
431 <g>14</g>
432 <b>12</b>
433 </color>
434 <randomizable mode="both" group="0">false</randomizable>
435 <bgcolor>
436 <r>0</r>
437 <g>0</g>
438 <b>0</b>
439 </bgcolor>
440 </bsbObject>
441 <bsbObject type="BSBLabel" version="2">
442 <objectName/>
443 <x>162</x>
444 <y>126</y>
445 <width>58</width>
446 <height>51</height>
447 <uuid>{abdb9c26-42f1-4923-a1e4-b2f437ffbee3}</uuid>
448 <visible>true</visible>
449 <midichan>0</midichan>
450 <midicc>-3</midicc>
451 <label>Pre Fader</label>
452 <alignment>center</alignment>
453 <font>Lucida Grande</font>
454 <fontsize>18</fontsize>
455 <precision>3</precision>
456 <color>
457 <r>0</r>
458 <g>0</g>
459 <b>0</b>
460 </color>
461 <bgcolor mode="nobackground">
462 <r>255</r>
463 <g>255</g>
464 <b>255</b>
465 </bgcolor>
466 <bordermode>noborder</bordermode>
467 <borderradius>1</borderradius>
468 <borderwidth>1</borderwidth>
469 </bsbObject>
470 <bsbObject type="BSBLabel" version="2">
471 <objectName/>
472 <x>159</x>
473 <y>204</y>
474 <width>52</width>
475 <height>68</height>
476 <uuid>{972b3595-83c5-4bf2-a4ee-07094c1c5b3c}</uuid>
477 <visible>true</visible>
478 <midichan>0</midichan>
479 <midicc>-3</midicc>
480 <label>Input Gain (dB)</label>
481 <alignment>center</alignment>
482 <font>Lucida Grande</font>
483 <fontsize>18</fontsize>
484 <precision>3</precision>
485 <color>
486 <r>0</r>
487 <g>0</g>
488 <b>0</b>
489 </color>
490 <bgcolor mode="nobackground">
491 <r>255</r>
492 <g>255</g>
493 <b>255</b>
494 </bgcolor>
495 <bordermode>noborder</bordermode>
496 <borderradius>1</borderradius>
497 <borderwidth>1</borderwidth>
498 </bsbObject>
499 <bsbObject type="BSBController" version="2">
500 <objectName>in1_post</objectName>
501 <x>21</x>
502 <y>284</y>
503 <width>118</width>
504 <height>21</height>
505 <uuid>{88e4e4a3-05b9-4814-aa91-a9344fce2c77}</uuid>
506 <visible>true</visible>
507 <midichan>0</midichan>
508 <midicc>0</midicc>
509 <objectName2>in1_post</objectName2>
510 <xMin>0.00000000</xMin>
511 <xMax>1.00000000</xMax>
512 <yMin>0.00000000</yMin>
513 <yMax>1.00000000</yMax>
514 <xValue>0.01492408</xValue>
515 <yValue>0.01492408</yValue>
516 <type>fill</type>
517 <pointsize>1</pointsize>
518 <fadeSpeed>0.00000000</fadeSpeed>
519 <mouseControl act="press">jump</mouseControl>
520 <color>
521 <r>0</r>
522 <g>234</g>
523 <b>0</b>
524 </color>
525 <randomizable mode="both" group="0">false</randomizable>
526 <bgcolor>
527 <r>0</r>
528 <g>0</g>
529 <b>0</b>
530 </bgcolor>
531 </bsbObject>
532 <bsbObject type="BSBController" version="2">
533 <objectName>in1over_post</objectName>
534 <x>137</x>
535 <y>284</y>
536 <width>21</width>
537 <height>21</height>
538 <uuid>{cd6e2ddb-b99b-4d38-8646-bdfda717e2ba}</uuid>
539 <visible>true</visible>
540 <midichan>0</midichan>
541 <midicc>0</midicc>
542 <objectName2>in1over_post</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 <color>
554 <r>196</r>
555 <g>14</g>
556 <b>12</b>
557 </color>
558 <randomizable mode="both" group="0">false</randomizable>
559 <bgcolor>
560 <r>0</r>
561 <g>0</g>
562 <b>0</b>
563 </bgcolor>
564 </bsbObject>
565 <bsbObject type="BSBController" version="2">
566 <objectName>in2_post</objectName>
567 <x>21</x>
568 <y>315</y>
569 <width>119</width>
570 <height>21</height>
571 <uuid>{da5c3bda-c599-49e5-a8b2-2bbaa2f9e8bd}</uuid>
572 <visible>true</visible>
573 <midichan>0</midichan>
574 <midicc>0</midicc>
575 <objectName2>in2_post</objectName2>
576 <xMin>0.00000000</xMin>
577 <xMax>1.00000000</xMax>
578 <yMin>0.00000000</yMin>
579 <yMax>1.00000000</yMax>
580 <xValue>0.06945120</xValue>
581 <yValue>0.06945120</yValue>
582 <type>fill</type>
583 <pointsize>1</pointsize>
584 <fadeSpeed>0.00000000</fadeSpeed>
585 <mouseControl act="press">jump</mouseControl>
586 <color>
587 <r>0</r>
588 <g>234</g>
589 <b>0</b>
590 </color>
591 <randomizable mode="both" group="0">false</randomizable>
592 <bgcolor>
593 <r>0</r>
594 <g>0</g>
595 <b>0</b>
596 </bgcolor>
597 </bsbObject>
598 <bsbObject type="BSBController" version="2">
599 <objectName>in2over_post</objectName>
600 <x>137</x>
601 <y>315</y>
602 <width>21</width>
603 <height>21</height>
604 <uuid>{0fe34f0f-8931-4615-9e2e-9059bbdf4673}</uuid>
605 <visible>true</visible>
606 <midichan>0</midichan>
607 <midicc>0</midicc>
608 <objectName2>in2over_post</objectName2>
609 <xMin>0.00000000</xMin>
610 <xMax>1.00000000</xMax>
611 <yMin>0.00000000</yMin>
612 <yMax>1.00000000</yMax>
613 <xValue>0.00000000</xValue>
614 <yValue>0.00000000</yValue>
615 <type>fill</type>
616 <pointsize>1</pointsize>
617 <fadeSpeed>0.00000000</fadeSpeed>
618 <mouseControl act="press">jump</mouseControl>
619 <color>
620 <r>196</r>
621 <g>14</g>
622 <b>12</b>
623 </color>
624 <randomizable mode="both" group="0">false</randomizable>
625 <bgcolor>
626 <r>0</r>
627 <g>0</g>
628 <b>0</b>
629 </bgcolor>
630 </bsbObject>
631 <bsbObject type="BSBLabel" version="2">
632 <objectName/>
633 <x>161</x>
634 <y>287</y>
635 <width>58</width>
636 <height>51</height>
637 <uuid>{fe84bf3b-ec33-486c-a374-ef00f7245d66}</uuid>
638 <visible>true</visible>
639 <midichan>0</midichan>
640 <midicc>-3</midicc>
641 <label>Post Fader</label>
642 <alignment>center</alignment>
643 <font>Lucida Grande</font>
644 <fontsize>18</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>1</borderwidth>
659 </bsbObject>
660 <bsbObject type="BSBKnob" version="2">
661 <objectName>gain_in1</objectName>
662 <x>49</x>
663 <y>189</y>
664 <width>45</width>
665 <height>51</height>
666 <uuid>{5adadc7e-f13e-4de8-a5c7-8a116a50c7f2}</uuid>
667 <visible>true</visible>
668 <midichan>0</midichan>
669 <midicc>-3</midicc>
670 <minimum>-18.00000000</minimum>
671 <maximum>18.00000000</maximum>
672 <value>0.36000000</value>
673 <mode>lin</mode>
674 <mouseControl act="jump">continuous</mouseControl>
675 <resolution>0.01000000</resolution>
676 <randomizable group="0">false</randomizable>
677 </bsbObject>
678 <bsbObject type="BSBKnob" version="2">
679 <objectName>gain_in2</objectName>
680 <x>93</x>
681 <y>189</y>
682 <width>45</width>
683 <height>51</height>
684 <uuid>{c22d2969-084a-4ff4-93a5-813aeffbe554}</uuid>
685 <visible>true</visible>
686 <midichan>0</midichan>
687 <midicc>-3</midicc>
688 <minimum>-18.00000000</minimum>
689 <maximum>18.00000000</maximum>
690 <value>0.36000000</value>
691 <mode>lin</mode>
692 <mouseControl act="jump">continuous</mouseControl>
693 <resolution>0.01000000</resolution>
694 <randomizable group="0">false</randomizable>
695 </bsbObject>
696 <bsbObject type="BSBScrollNumber" version="2">
697 <objectName>gain_in1</objectName>
698 <x>49</x>
699 <y>238</y>
700 <width>34</width>
701 <height>28</height>
702 <uuid>{7ba45fbe-8aaf-4748-a2e9-e5fa2b7dcec3}</uuid>
703 <visible>true</visible>
704 <midichan>0</midichan>
705 <midicc>-3</midicc>
706 <alignment>right</alignment>
707 <font>sans</font>
708 <fontsize>16</fontsize>
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 <value>0.36000000</value>
720 <resolution>0.10000000</resolution>
721 <minimum>-12.00000000</minimum>
722 <maximum>12.00000000</maximum>
723 <bordermode>noborder</bordermode>
724 <borderradius>1</borderradius>
725 <borderwidth>1</borderwidth>
726 <randomizable group="0">false</randomizable>
727 <mouseControl act=""/>
728 </bsbObject>
729 <bsbObject type="BSBScrollNumber" version="2">
730 <objectName>gain_in2</objectName>
731 <x>92</x>
732 <y>238</y>
733 <width>36</width>
734 <height>29</height>
735 <uuid>{a466cb5e-1159-41d9-a15c-e459def37542}</uuid>
736 <visible>true</visible>
737 <midichan>0</midichan>
738 <midicc>-3</midicc>
739 <alignment>right</alignment>
740 <font>sans</font>
741 <fontsize>16</fontsize>
742 <color>
743 <r>0</r>
744 <g>0</g>
745 <b>0</b>
746 </color>
747 <bgcolor mode="nobackground">
748 <r>255</r>
749 <g>255</g>
750 <b>255</b>
751 </bgcolor>
752 <value>0.36000000</value>
753 <resolution>0.10000000</resolution>
754 <minimum>-12.00000000</minimum>
755 <maximum>12.00000000</maximum>
756 <bordermode>noborder</bordermode>
757 <borderradius>1</borderradius>
758 <borderwidth>1</borderwidth>
759 <randomizable group="0">false</randomizable>
760 <mouseControl act=""/>
761 </bsbObject>
762 <bsbObject type="BSBLabel" version="2">
763 <objectName/>
764 <x>6</x>
765 <y>365</y>
766 <width>548</width>
767 <height>233</height>
768 <uuid>{79bcdc33-a579-4a2c-a9e3-9df9f46c4f2f}</uuid>
769 <visible>true</visible>
770 <midichan>0</midichan>
771 <midicc>-3</midicc>
772 <label>Output</label>
773 <alignment>center</alignment>
774 <font>DejaVu Sans</font>
775 <fontsize>22</fontsize>
776 <precision>3</precision>
777 <color>
778 <r>0</r>
779 <g>0</g>
780 <b>0</b>
781 </color>
782 <bgcolor mode="nobackground">
783 <r>255</r>
784 <g>255</g>
785 <b>255</b>
786 </bgcolor>
787 <bordermode>border</bordermode>
788 <borderradius>1</borderradius>
789 <borderwidth>1</borderwidth>
790 </bsbObject>
791 <bsbObject type="BSBCheckBox" version="2">
792 <objectName>OnOff1</objectName>
793 <x>54</x>
794 <y>544</y>
795 <width>20</width>
796 <height>20</height>
797 <uuid>{c4e3de5c-f5be-40b7-b799-9aed2be75c3b}</uuid>
798 <visible>true</visible>
799 <midichan>0</midichan>
800 <midicc>-3</midicc>
801 <selected>false</selected>
802 <label/>
803 <pressedValue>1</pressedValue>
804 <randomizable group="0">false</randomizable>
805 </bsbObject>
806 <bsbObject type="BSBLabel" version="2">
807 <objectName/>
808 <x>107</x>
809 <y>552</y>
810 <width>87</width>
811 <height>30</height>
812 <uuid>{38c914f3-bbe7-41ab-8247-81c46b1b727a}</uuid>
813 <visible>true</visible>
814 <midichan>0</midichan>
815 <midicc>-3</midicc>
816 <label>On/Off</label>
817 <alignment>center</alignment>
818 <font>Lucida Grande</font>
819 <fontsize>18</fontsize>
820 <precision>3</precision>
821 <color>
822 <r>0</r>
823 <g>0</g>
824 <b>0</b>
825 </color>
826 <bgcolor mode="nobackground">
827 <r>255</r>
828 <g>255</g>
829 <b>255</b>
830 </bgcolor>
831 <bordermode>noborder</bordermode>
832 <borderradius>1</borderradius>
833 <borderwidth>1</borderwidth>
834 </bsbObject>
835 <bsbObject type="BSBCheckBox" version="2">
836 <objectName>OnOff2</objectName>
837 <x>81</x>
838 <y>544</y>
839 <width>20</width>
840 <height>20</height>
841 <uuid>{81e2d951-91d1-4313-be9f-1e931d7b1727}</uuid>
842 <visible>true</visible>
843 <midichan>0</midichan>
844 <midicc>-3</midicc>
845 <selected>false</selected>
846 <label/>
847 <pressedValue>1</pressedValue>
848 <randomizable group="0">false</randomizable>
849 </bsbObject>
850 <bsbObject type="BSBController" version="2">
851 <objectName>ShowOnOff1</objectName>
852 <x>54</x>
853 <y>569</y>
854 <width>20</width>
855 <height>19</height>
856 <uuid>{10602c65-2ad3-4b07-91ba-41b31e900255}</uuid>
857 <visible>true</visible>
858 <midichan>0</midichan>
859 <midicc>-3</midicc>
860 <objectName2>in1over_pre</objectName2>
861 <xMin>0.00000000</xMin>
862 <xMax>1.00000000</xMax>
863 <yMin>0.00000000</yMin>
864 <yMax>1.00000000</yMax>
865 <xValue>1.00000000</xValue>
866 <yValue>0.00000000</yValue>
867 <type>fill</type>
868 <pointsize>1</pointsize>
869 <fadeSpeed>0.00000000</fadeSpeed>
870 <mouseControl act="press">jump</mouseControl>
871 <color>
872 <r>196</r>
873 <g>14</g>
874 <b>12</b>
875 </color>
876 <randomizable mode="both" group="0">false</randomizable>
877 <bgcolor>
878 <r>0</r>
879 <g>0</g>
880 <b>0</b>
881 </bgcolor>
882 </bsbObject>
883 <bsbObject type="BSBController" version="2">
884 <objectName>ShowOnOff2</objectName>
885 <x>80</x>
886 <y>569</y>
887 <width>20</width>
888 <height>19</height>
889 <uuid>{6569e726-edf6-4498-a025-03fc6a375133}</uuid>
890 <visible>true</visible>
891 <midichan>0</midichan>
892 <midicc>-3</midicc>
893 <objectName2>in1over_pre</objectName2>
894 <xMin>0.00000000</xMin>
895 <xMax>1.00000000</xMax>
896 <yMin>0.00000000</yMin>
897 <yMax>1.00000000</yMax>
898 <xValue>1.00000000</xValue>
899 <yValue>0.00000000</yValue>
900 <type>fill</type>
901 <pointsize>1</pointsize>
902 <fadeSpeed>0.00000000</fadeSpeed>
903 <mouseControl act="press">jump</mouseControl>
904 <color>
905 <r>196</r>
906 <g>14</g>
907 <b>12</b>
908 </color>
909 <randomizable mode="both" group="0">false</randomizable>
910 <bgcolor>
911 <r>0</r>
912 <g>0</g>
913 <b>0</b>
914 </bgcolor>
915 </bsbObject>
916 <bsbObject type="BSBLabel" version="2">
917 <objectName/>
918 <x>111</x>
919 <y>421</y>
920 <width>68</width>
921 <height>69</height>
922 <uuid>{b37103cb-189d-4438-bced-7be05f0823f5}</uuid>
923 <visible>true</visible>
924 <midichan>0</midichan>
925 <midicc>-3</midicc>
926 <label>Output Gain (dB)</label>
927 <alignment>center</alignment>
928 <font>Lucida Grande</font>
929 <fontsize>18</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>1</borderwidth>
944 </bsbObject>
945 <bsbObject type="BSBController" version="2">
946 <objectName>out1_post</objectName>
947 <x>237</x>
948 <y>468</y>
949 <width>252</width>
950 <height>21</height>
951 <uuid>{6bc87aca-c59c-402d-9d69-0f567840a6e5}</uuid>
952 <visible>true</visible>
953 <midichan>0</midichan>
954 <midicc>0</midicc>
955 <objectName2>out1_post</objectName2>
956 <xMin>0.00000000</xMin>
957 <xMax>1.00000000</xMax>
958 <yMin>0.00000000</yMin>
959 <yMax>1.00000000</yMax>
960 <xValue>-inf</xValue>
961 <yValue>-inf</yValue>
962 <type>fill</type>
963 <pointsize>1</pointsize>
964 <fadeSpeed>0.00000000</fadeSpeed>
965 <mouseControl act="press">jump</mouseControl>
966 <color>
967 <r>0</r>
968 <g>234</g>
969 <b>0</b>
970 </color>
971 <randomizable mode="both" group="0">false</randomizable>
972 <bgcolor>
973 <r>0</r>
974 <g>0</g>
975 <b>0</b>
976 </bgcolor>
977 </bsbObject>
978 <bsbObject type="BSBController" version="2">
979 <objectName>out1over_post</objectName>
980 <x>486</x>
981 <y>468</y>
982 <width>21</width>
983 <height>21</height>
984 <uuid>{a8341d8c-9781-45ef-94d5-3fa26267783f}</uuid>
985 <visible>true</visible>
986 <midichan>0</midichan>
987 <midicc>0</midicc>
988 <objectName2>out1over_post</objectName2>
989 <xMin>0.00000000</xMin>
990 <xMax>1.00000000</xMax>
991 <yMin>0.00000000</yMin>
992 <yMax>1.00000000</yMax>
993 <xValue>0.00000000</xValue>
994 <yValue>0.00000000</yValue>
995 <type>fill</type>
996 <pointsize>1</pointsize>
997 <fadeSpeed>0.00000000</fadeSpeed>
998 <mouseControl act="press">jump</mouseControl>
999 <color>
1000 <r>196</r>
1001 <g>14</g>
1002 <b>12</b>
1003 </color>
1004 <randomizable mode="both" group="0">false</randomizable>
1005 <bgcolor>
1006 <r>0</r>
1007 <g>0</g>
1008 <b>0</b>
1009 </bgcolor>
1010 </bsbObject>
1011 <bsbObject type="BSBController" version="2">
1012 <objectName>out2_post</objectName>
1013 <x>237</x>
1014 <y>495</y>
1015 <width>252</width>
1016 <height>21</height>
1017 <uuid>{44c8609e-c93b-4e59-98b5-2ba5820635a6}</uuid>
1018 <visible>true</visible>
1019 <midichan>0</midichan>
1020 <midicc>0</midicc>
1021 <objectName2>out2_post</objectName2>
1022 <xMin>0.00000000</xMin>
1023 <xMax>1.00000000</xMax>
1024 <yMin>0.00000000</yMin>
1025 <yMax>1.00000000</yMax>
1026 <xValue>-inf</xValue>
1027 <yValue>-inf</yValue>
1028 <type>fill</type>
1029 <pointsize>1</pointsize>
1030 <fadeSpeed>0.00000000</fadeSpeed>
1031 <mouseControl act="press">jump</mouseControl>
1032 <color>
1033 <r>0</r>
1034 <g>234</g>
1035 <b>0</b>
1036 </color>
1037 <randomizable mode="both" group="0">false</randomizable>
1038 <bgcolor>
1039 <r>0</r>
1040 <g>0</g>
1041 <b>0</b>
1042 </bgcolor>
1043 </bsbObject>
1044 <bsbObject type="BSBController" version="2">
1045 <objectName>out2over_post</objectName>
1046 <x>486</x>
1047 <y>495</y>
1048 <width>21</width>
1049 <height>21</height>
1050 <uuid>{8ff352c2-0012-4242-a778-b86a396d5881}</uuid>
1051 <visible>true</visible>
1052 <midichan>0</midichan>
1053 <midicc>0</midicc>
1054 <objectName2>out2over_post</objectName2>
1055 <xMin>0.00000000</xMin>
1056 <xMax>1.00000000</xMax>
1057 <yMin>0.00000000</yMin>
1058 <yMax>1.00000000</yMax>
1059 <xValue>0.00000000</xValue>
1060 <yValue>0.00000000</yValue>
1061 <type>fill</type>
1062 <pointsize>1</pointsize>
1063 <fadeSpeed>0.00000000</fadeSpeed>
1064 <mouseControl act="press">jump</mouseControl>
1065 <color>
1066 <r>196</r>
1067 <g>14</g>
1068 <b>12</b>
1069 </color>
1070 <randomizable mode="both" group="0">false</randomizable>
1071 <bgcolor>
1072 <r>0</r>
1073 <g>0</g>
1074 <b>0</b>
1075 </bgcolor>
1076 </bsbObject>
1077 <bsbObject type="BSBVSlider" version="2">
1078 <objectName>gain_out1</objectName>
1079 <x>47</x>
1080 <y>380</y>
1081 <width>24</width>
1082 <height>122</height>
1083 <uuid>{062255ac-dcb1-49bc-9413-4adcbe86f600}</uuid>
1084 <visible>true</visible>
1085 <midichan>0</midichan>
1086 <midicc>-3</midicc>
1087 <minimum>-48.00000000</minimum>
1088 <maximum>12.00000000</maximum>
1089 <value>-4.22950820</value>
1090 <mode>lin</mode>
1091 <mouseControl act="jump">continuous</mouseControl>
1092 <resolution>-1.00000000</resolution>
1093 <randomizable group="0">false</randomizable>
1094 </bsbObject>
1095 <bsbObject type="BSBVSlider" version="2">
1096 <objectName>gain_out2</objectName>
1097 <x>81</x>
1098 <y>380</y>
1099 <width>24</width>
1100 <height>122</height>
1101 <uuid>{0a99dd1a-bd8f-4bba-87c8-9c9943b2f600}</uuid>
1102 <visible>true</visible>
1103 <midichan>0</midichan>
1104 <midicc>-3</midicc>
1105 <minimum>-48.00000000</minimum>
1106 <maximum>12.00000000</maximum>
1107 <value>-5.70491803</value>
1108 <mode>lin</mode>
1109 <mouseControl act="jump">continuous</mouseControl>
1110 <resolution>-1.00000000</resolution>
1111 <randomizable group="0">false</randomizable>
1112 </bsbObject>
1113 <bsbObject type="BSBScrollNumber" version="2">
1114 <objectName>gain_out1</objectName>
1115 <x>40</x>
1116 <y>504</y>
1117 <width>34</width>
1118 <height>28</height>
1119 <uuid>{10bd7d74-72fb-4b70-814e-fd167ebc1cfd}</uuid>
1120 <visible>true</visible>
1121 <midichan>0</midichan>
1122 <midicc>-3</midicc>
1123 <alignment>right</alignment>
1124 <font>sans</font>
1125 <fontsize>16</fontsize>
1126 <color>
1127 <r>0</r>
1128 <g>0</g>
1129 <b>0</b>
1130 </color>
1131 <bgcolor mode="nobackground">
1132 <r>255</r>
1133 <g>255</g>
1134 <b>255</b>
1135 </bgcolor>
1136 <value>-4.22950820</value>
1137 <resolution>0.10000000</resolution>
1138 <minimum>-12.00000000</minimum>
1139 <maximum>12.00000000</maximum>
1140 <bordermode>noborder</bordermode>
1141 <borderradius>1</borderradius>
1142 <borderwidth>1</borderwidth>
1143 <randomizable group="0">false</randomizable>
1144 <mouseControl act=""/>
1145 </bsbObject>
1146 <bsbObject type="BSBScrollNumber" version="2">
1147 <objectName>gain_out2</objectName>
1148 <x>77</x>
1149 <y>503</y>
1150 <width>36</width>
1151 <height>29</height>
1152 <uuid>{44eec99e-f733-4221-9879-43791d00e207}</uuid>
1153 <visible>true</visible>
1154 <midichan>0</midichan>
1155 <midicc>-3</midicc>
1156 <alignment>right</alignment>
1157 <font>sans</font>
1158 <fontsize>16</fontsize>
1159 <color>
1160 <r>0</r>
1161 <g>0</g>
1162 <b>0</b>
1163 </color>
1164 <bgcolor mode="nobackground">
1165 <r>255</r>
1166 <g>255</g>
1167 <b>255</b>
1168 </bgcolor>
1169 <value>-5.70491803</value>
1170 <resolution>0.10000000</resolution>
1171 <minimum>-12.00000000</minimum>
1172 <maximum>12.00000000</maximum>
1173 <bordermode>noborder</bordermode>
1174 <borderradius>1</borderradius>
1175 <borderwidth>1</borderwidth>
1176 <randomizable group="0">false</randomizable>
1177 <mouseControl act=""/>
1178 </bsbObject>
1179 </bsbPanel>
1180 <bsbPresets>
1181 </bsbPresets>