Debian Codegraph @

src/Examples/McCurdy Collection/Reverbs/GatedReverb.csd

raw
1 ;Written by Iain McCurdy, 2010
2
3
4 ;Modified for QuteCsound by René, April 2011
5 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
6
7 ;Notes on modifications from original csd:
8 ; Add table(s) for exp slider
9 ; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files
10 ; Add init instrument
11
12
13 ;Reverb structure:
14
15 ;
16 ; +------+ +----------+ +----------+
17 ; +---|REVERB|---|COMPRESSOR|---|(input) |
18 ; INPUT->+ +------+ +----------+ |NOISE GATE|--->OUTPUT
19 ; | | |
20 ; +----------------------------->(trigger) |
21 ; +----------+
22
23
24 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
25 <CsoundSynthesizer>
26 <CsOptions>
27 --env:SSDIR+=../../SourceMaterials
28 </CsOptions>
29 <CsInstruments>
30 sr = 44100 ;SAMPLE RATE
31 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
32 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
33 ;NOTE: compress OPCODE EXPECTS AMPLITUDE VALUES IN THE RANGE -32768 TO 32767 SO DON'T USE 0dbfs=1
34
35
36 giExp1 ftgen 0, 0, 129, -25, 0, 0.001, 128, 0.5 ;TABLE FOR EXP SLIDER
37
38
39 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
40 ;gives stereo output regardless your soundfile is mono or stereo
41 Sfil, kspeed, iskip, iloop xin
42 ichn filenchnls Sfil
43 if ichn == 1 then
44 aL diskin2 Sfil, kspeed, iskip, iloop
45 aR = aL
46 else
47 aL, aR diskin2 Sfil, kspeed, iskip, iloop
48 endif
49 xout aL, aR
50 endop
51
52
53 instr 10 ;GUI
54 ktrig metro 10
55 if (ktrig == 1) then
56 gkingain invalue "LiveGain"
57 gkRoomSize invalue "RoomSize"
58 gkHFDamp invalue "HFDamping"
59 gkmix invalue "Mix"
60 gkgatethresh invalue "GateThreshold"
61 kgaterelease invalue "GateRelease"
62 gkgaterelease tablei kgaterelease, giExp1, 1
63 outvalue "GateRelease_Value", gkgaterelease
64 gkamp invalue "Amplitude"
65 gkinput invalue "Input"
66 endif
67 endin
68
69 instr 1 ;PLAYS FILE AND OUTPUTS GLOBAL VARIABLES
70 if gkinput==0 then ;IF FILE INPUT IS SELECTED...
71 Sfile invalue "_Browse1"
72 gasigL, gasigR FilePlay2 Sfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A SOUND FILE (NOTE THE USE OF GLOBAL VARIABLES)
73 else ;OTHERWISE
74 asigL, asigR ins ;TAKE INPUT FROM COMPUTER'S AUDIO INPUT
75 gasigL = asigL * gkingain ;SCALE USING 'Input Gain' SLIDER
76 gasigR = asigR * gkingain ;SCALE USING 'Input Gain' SLIDER
77 endif ;END OF CONDITIONAL BRANCHING
78 endin
79
80 instr 2 ;REVERB - ALWAYS ON
81 ;REVERB
82 denorm gasigL, gasigR ;DENORMALIZE BOTH CHANNELS OF AUDIO SIGNAL
83 arvbL, arvbR freeverb gasigL, gasigR, gkRoomSize, gkHFDamp
84 rireturn ;RETURN TO PERFORMANCE TIME PASSES
85
86 ;COMPRESSOR aasig, acsig, kthresh, kloknee, khiknee, kratio, katt, krel, ilook
87 acompL compress arvbL, arvbL, 0, 40, 60, 10, 0.1, 0.5, 0.02 ;COMPRESS REVERB SIGNAL
88 acompR compress arvbR, arvbR, 0, 40, 60, 10, 0.1, 0.5, 0.02 ;COMPRESS REVERB SIGNAL
89 acompL = acompL * 8 ;COMPENSATE FOR GAIN LOSS AS A RESULT OF COMPRESSION
90 acompR = acompR * 8 ;COMPENSATE FOR GAIN LOSS AS A RESULT OF COMPRESSION
91
92 ;NOISE GATE
93 aMix sum gasigL*0.5, gasigR*0.5 ;CREATE A MIX OF BOTH CHANNELS OF THE INPUT SIGNAL
94 acomp compress aMix, aMix, 0, 40, 60, 100, 0.01, 0.1, 0.02 ;COMPRESS DRY SIGNAL
95 acomp = acomp * 20 ;GAIN COMPENSATION
96 krms rms acomp ;SCAN THE RMS *ROOT MEAN SQUARE) VALUE OF THE AUDIO
97 kdb = dbamp(krms) ;CONVERT RMS TO A DECIBEL VALUE
98 kgate = (kdb>gkgatethresh?1:0) ;DEFINE GATE AS 'OPEN' (1) OR 'CLOSED' (2) ACCORDING TO DECIBEL LEVEL IN REFERENECE TO GATE THRESHOLD DEFINE BY ON SCREEN SLIDER
99 agate interp kgate ;CONVERT GATE SIGNAL TO A-RATE WITH INTERPOLATION
100 agate follow2 agate,0.001,gkgaterelease ;SMOOTH GATE OPENING AND CLOSING USING follow2. NOTE THAT WE CAN DEFINE SEPARATE OPEN AND CLOSE TIMES
101 agatedL = acompL * agate ;APPLY GATE DYNAMIC CONTROL TO REVERB SOUND (LEFT CHANNEL)
102 agatedR = acompR * agate ;APPLY GATE DYNAMIC CONTROL TO REVERB SOUND (RIGHT CHANNEL)
103
104 ;WET/DRY MIXER
105 amixL ntrpol gasigL, agatedL, gkmix ;CREATE A DRY/WET MIX BETWEEN THE DRY AND THE REVERBERATED SIGNAL
106 amixR ntrpol gasigR, agatedR, gkmix ;CREATE A DRY/WET MIX BETWEEN THE DRY AND THE REVERBERATED SIGNAL
107 outs amixL*gkamp, amixR*gkamp ;SEND AUDIO TO OUTPUTS. SCALE AMPLITUDE WITH AMPLITUDE SLIDER
108 clear gasigL, gasigR ;CLEAR GLOBAL AUDIO VARIABLES
109 endin
110
111 instr 11 ;INIT
112 outvalue "RoomSize" , .9
113 outvalue "HFDamping" , .2
114 outvalue "Mix" , 0.75
115 outvalue "GateThreshold", 50.0
116 outvalue "GateRelease" , 0.0
117 outvalue "Amplitude" , 0.8
118 endin
119 </CsInstruments>
120 <CsScore>
121 ;INSTR | START | DURATION
122 i 10 0.0 3600 ;GUI
123 i 2 0.0 3600 ;REVERB INSTRUMENT PLAYS FOR 1 HOUR (AND KEEPS PERFORMANCE GOING)
124 i 11 0.0 0.1 ;INIT
125 </CsScore>
126 </CsoundSynthesizer>
127 <bsbPanel>
128 <label>Widgets</label>
129 <objectName/>
130 <x>540</x>
131 <y>251</y>
132 <width>825</width>
133 <height>434</height>
134 <visible>true</visible>
135 <uuid/>
136 <bgcolor mode="background">
137 <r>241</r>
138 <g>226</g>
139 <b>185</b>
140 </bgcolor>
141 <bsbObject version="2" type="BSBLabel">
142 <objectName/>
143 <x>2</x>
144 <y>2</y>
145 <width>512</width>
146 <height>428</height>
147 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
148 <visible>true</visible>
149 <midichan>0</midichan>
150 <midicc>0</midicc>
151 <label>Gated Reverb</label>
152 <alignment>center</alignment>
153 <font>Liberation Sans</font>
154 <fontsize>18</fontsize>
155 <precision>3</precision>
156 <color>
157 <r>0</r>
158 <g>0</g>
159 <b>0</b>
160 </color>
161 <bgcolor mode="background">
162 <r>158</r>
163 <g>220</g>
164 <b>217</b>
165 </bgcolor>
166 <bordermode>border</bordermode>
167 <borderradius>5</borderradius>
168 <borderwidth>2</borderwidth>
169 </bsbObject>
170 <bsbObject version="2" type="BSBButton">
171 <objectName/>
172 <x>8</x>
173 <y>10</y>
174 <width>100</width>
175 <height>30</height>
176 <uuid>{487d5181-d838-4cce-9628-317fefc350cb}</uuid>
177 <visible>true</visible>
178 <midichan>0</midichan>
179 <midicc>0</midicc>
180 <type>event</type>
181 <pressedValue>1.00000000</pressedValue>
182 <stringvalue/>
183 <text> ON / OFF</text>
184 <image>/</image>
185 <eventLine>i 1 0 -1</eventLine>
186 <latch>true</latch>
187 <latched>false</latched>
188 </bsbObject>
189 <bsbObject version="2" type="BSBLabel">
190 <objectName/>
191 <x>8</x>
192 <y>72</y>
193 <width>120</width>
194 <height>30</height>
195 <uuid>{0200a063-5db8-4668-bc2d-2d989a083f6e}</uuid>
196 <visible>true</visible>
197 <midichan>0</midichan>
198 <midicc>0</midicc>
199 <label>Live input Gain</label>
200 <alignment>left</alignment>
201 <font>Liberation Sans</font>
202 <fontsize>10</fontsize>
203 <precision>3</precision>
204 <color>
205 <r>0</r>
206 <g>0</g>
207 <b>0</b>
208 </color>
209 <bgcolor mode="nobackground">
210 <r>255</r>
211 <g>255</g>
212 <b>255</b>
213 </bgcolor>
214 <bordermode>noborder</bordermode>
215 <borderradius>1</borderradius>
216 <borderwidth>1</borderwidth>
217 </bsbObject>
218 <bsbObject version="2" type="BSBDisplay">
219 <objectName>LiveGain</objectName>
220 <x>448</x>
221 <y>72</y>
222 <width>60</width>
223 <height>30</height>
224 <uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid>
225 <visible>true</visible>
226 <midichan>0</midichan>
227 <midicc>0</midicc>
228 <label>0.044</label>
229 <alignment>right</alignment>
230 <font>Liberation Sans</font>
231 <fontsize>9</fontsize>
232 <precision>3</precision>
233 <color>
234 <r>0</r>
235 <g>0</g>
236 <b>0</b>
237 </color>
238 <bgcolor mode="nobackground">
239 <r>255</r>
240 <g>255</g>
241 <b>255</b>
242 </bgcolor>
243 <bordermode>noborder</bordermode>
244 <borderradius>1</borderradius>
245 <borderwidth>1</borderwidth>
246 </bsbObject>
247 <bsbObject version="2" type="BSBLabel">
248 <objectName/>
249 <x>516</x>
250 <y>2</y>
251 <width>300</width>
252 <height>428</height>
253 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
254 <visible>true</visible>
255 <midichan>0</midichan>
256 <midicc>0</midicc>
257 <label>Gated Reverb</label>
258 <alignment>center</alignment>
259 <font>Liberation Sans</font>
260 <fontsize>18</fontsize>
261 <precision>3</precision>
262 <color>
263 <r>0</r>
264 <g>0</g>
265 <b>0</b>
266 </color>
267 <bgcolor mode="background">
268 <r>158</r>
269 <g>220</g>
270 <b>217</b>
271 </bgcolor>
272 <bordermode>border</bordermode>
273 <borderradius>5</borderradius>
274 <borderwidth>2</borderwidth>
275 </bsbObject>
276 <bsbObject version="2" type="BSBLabel">
277 <objectName/>
278 <x>519</x>
279 <y>22</y>
280 <width>295</width>
281 <height>351</height>
282 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
283 <visible>true</visible>
284 <midichan>0</midichan>
285 <midicc>0</midicc>
286 <label>-----------------------------------------------------------------------
287 A gated reverb is created by passing the audio signal into a reverb effect then into a compressor and then into a noise gate. The unprocessed input signal is used as the trigger input for the noise gate.
288 Optionally the input signal could be passed through a separate compressor before being passed into the trigger input of the noise gate. The gate threshold for the noise gate is effectively the control of the duration of the gate reverb effect. Room size will, in this context, control the quality of the reverb effect.
289 Gated reverbs were a popular effect on snare drums in 1980s pop music.</label>
290 <alignment>left</alignment>
291 <font>Liberation Sans</font>
292 <fontsize>14</fontsize>
293 <precision>3</precision>
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 <bordermode>noborder</bordermode>
305 <borderradius>1</borderradius>
306 <borderwidth>1</borderwidth>
307 </bsbObject>
308 <bsbObject version="2" type="BSBDropdown">
309 <objectName>Input</objectName>
310 <x>180</x>
311 <y>327</y>
312 <width>120</width>
313 <height>30</height>
314 <uuid>{9b81a1f2-bcb8-4582-925b-9ae56def3865}</uuid>
315 <visible>true</visible>
316 <midichan>0</midichan>
317 <midicc>0</midicc>
318 <bsbDropdownItemList>
319 <bsbDropdownItem>
320 <name>Audio File</name>
321 <value>0</value>
322 <stringvalue/>
323 </bsbDropdownItem>
324 <bsbDropdownItem>
325 <name> Live Input</name>
326 <value>1</value>
327 <stringvalue/>
328 </bsbDropdownItem>
329 </bsbDropdownItemList>
330 <selectedIndex>0</selectedIndex>
331 <randomizable group="0">false</randomizable>
332 </bsbObject>
333 <bsbObject version="2" type="BSBLabel">
334 <objectName/>
335 <x>98</x>
336 <y>327</y>
337 <width>80</width>
338 <height>30</height>
339 <uuid>{62eeb695-9b83-42da-81cd-8000c232d9b9}</uuid>
340 <visible>true</visible>
341 <midichan>0</midichan>
342 <midicc>0</midicc>
343 <label>Input</label>
344 <alignment>right</alignment>
345 <font>Arial</font>
346 <fontsize>10</fontsize>
347 <precision>3</precision>
348 <color>
349 <r>0</r>
350 <g>0</g>
351 <b>0</b>
352 </color>
353 <bgcolor mode="nobackground">
354 <r>255</r>
355 <g>255</g>
356 <b>255</b>
357 </bgcolor>
358 <bordermode>noborder</bordermode>
359 <borderradius>1</borderradius>
360 <borderwidth>1</borderwidth>
361 </bsbObject>
362 <bsbObject version="2" type="BSBButton">
363 <objectName>_Browse1</objectName>
364 <x>8</x>
365 <y>364</y>
366 <width>170</width>
367 <height>30</height>
368 <uuid>{9b992da1-8c0f-449e-af03-7913cc05efed}</uuid>
369 <visible>true</visible>
370 <midichan>0</midichan>
371 <midicc>0</midicc>
372 <type>value</type>
373 <pressedValue>1.00000000</pressedValue>
374 <stringvalue>808loop.wav</stringvalue>
375 <text>Browse Audio File</text>
376 <image>/</image>
377 <eventLine/>
378 <latch>false</latch>
379 <latched>false</latched>
380 </bsbObject>
381 <bsbObject version="2" type="BSBLineEdit">
382 <objectName>_Browse1</objectName>
383 <x>180</x>
384 <y>365</y>
385 <width>330</width>
386 <height>28</height>
387 <uuid>{15a8ec14-710f-43e6-be9e-f5dc8c8786cb}</uuid>
388 <visible>true</visible>
389 <midichan>0</midichan>
390 <midicc>0</midicc>
391 <label>808loop.wav</label>
392 <alignment>left</alignment>
393 <font>Arial</font>
394 <fontsize>10</fontsize>
395 <precision>3</precision>
396 <color>
397 <r>0</r>
398 <g>0</g>
399 <b>0</b>
400 </color>
401 <bgcolor mode="nobackground">
402 <r>229</r>
403 <g>229</g>
404 <b>229</b>
405 </bgcolor>
406 <background>nobackground</background>
407 </bsbObject>
408 <bsbObject version="2" type="BSBLabel">
409 <objectName/>
410 <x>180</x>
411 <y>394</y>
412 <width>330</width>
413 <height>34</height>
414 <uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid>
415 <visible>true</visible>
416 <midichan>0</midichan>
417 <midicc>0</midicc>
418 <label>Restart the instrument after changing the audio file.</label>
419 <alignment>left</alignment>
420 <font>Liberation Sans</font>
421 <fontsize>12</fontsize>
422 <precision>3</precision>
423 <color>
424 <r>0</r>
425 <g>0</g>
426 <b>0</b>
427 </color>
428 <bgcolor mode="nobackground">
429 <r>255</r>
430 <g>255</g>
431 <b>255</b>
432 </bgcolor>
433 <bordermode>noborder</bordermode>
434 <borderradius>1</borderradius>
435 <borderwidth>1</borderwidth>
436 </bsbObject>
437 <bsbObject version="2" type="BSBHSlider">
438 <objectName>LiveGain</objectName>
439 <x>8</x>
440 <y>56</y>
441 <width>500</width>
442 <height>27</height>
443 <uuid>{2a8dc6e2-12f4-443d-af9b-59e4373cc24b}</uuid>
444 <visible>true</visible>
445 <midichan>0</midichan>
446 <midicc>0</midicc>
447 <minimum>0.00000000</minimum>
448 <maximum>1.00000000</maximum>
449 <value>0.04400000</value>
450 <mode>lin</mode>
451 <mouseControl act="jump">continuous</mouseControl>
452 <resolution>-1.00000000</resolution>
453 <randomizable group="0">false</randomizable>
454 </bsbObject>
455 <bsbObject version="2" type="BSBLabel">
456 <objectName/>
457 <x>8</x>
458 <y>110</y>
459 <width>120</width>
460 <height>30</height>
461 <uuid>{4fa545c6-e2f1-4387-8c9f-4a9dd388bb42}</uuid>
462 <visible>true</visible>
463 <midichan>0</midichan>
464 <midicc>0</midicc>
465 <label>Room Size</label>
466 <alignment>left</alignment>
467 <font>Liberation Sans</font>
468 <fontsize>10</fontsize>
469 <precision>3</precision>
470 <color>
471 <r>0</r>
472 <g>0</g>
473 <b>0</b>
474 </color>
475 <bgcolor mode="nobackground">
476 <r>255</r>
477 <g>255</g>
478 <b>255</b>
479 </bgcolor>
480 <bordermode>noborder</bordermode>
481 <borderradius>1</borderradius>
482 <borderwidth>1</borderwidth>
483 </bsbObject>
484 <bsbObject version="2" type="BSBDisplay">
485 <objectName>RoomSize</objectName>
486 <x>448</x>
487 <y>110</y>
488 <width>60</width>
489 <height>30</height>
490 <uuid>{b0ad1916-b43e-44c2-be40-bca29f5cb1f4}</uuid>
491 <visible>true</visible>
492 <midichan>0</midichan>
493 <midicc>0</midicc>
494 <label>0.900</label>
495 <alignment>right</alignment>
496 <font>Liberation Sans</font>
497 <fontsize>9</fontsize>
498 <precision>3</precision>
499 <color>
500 <r>0</r>
501 <g>0</g>
502 <b>0</b>
503 </color>
504 <bgcolor mode="nobackground">
505 <r>255</r>
506 <g>255</g>
507 <b>255</b>
508 </bgcolor>
509 <bordermode>noborder</bordermode>
510 <borderradius>1</borderradius>
511 <borderwidth>1</borderwidth>
512 </bsbObject>
513 <bsbObject version="2" type="BSBHSlider">
514 <objectName>RoomSize</objectName>
515 <x>8</x>
516 <y>94</y>
517 <width>500</width>
518 <height>27</height>
519 <uuid>{9069e547-5638-4568-896f-980087c61de0}</uuid>
520 <visible>true</visible>
521 <midichan>0</midichan>
522 <midicc>0</midicc>
523 <minimum>0.00000000</minimum>
524 <maximum>1.00000000</maximum>
525 <value>0.89999998</value>
526 <mode>lin</mode>
527 <mouseControl act="jump">continuous</mouseControl>
528 <resolution>-1.00000000</resolution>
529 <randomizable group="0">false</randomizable>
530 </bsbObject>
531 <bsbObject version="2" type="BSBLabel">
532 <objectName/>
533 <x>8</x>
534 <y>149</y>
535 <width>180</width>
536 <height>30</height>
537 <uuid>{ada34c8d-83fe-4eae-b207-ac7e38c5251f}</uuid>
538 <visible>true</visible>
539 <midichan>0</midichan>
540 <midicc>0</midicc>
541 <label>High Frequency Damping</label>
542 <alignment>left</alignment>
543 <font>Liberation Sans</font>
544 <fontsize>10</fontsize>
545 <precision>3</precision>
546 <color>
547 <r>0</r>
548 <g>0</g>
549 <b>0</b>
550 </color>
551 <bgcolor mode="nobackground">
552 <r>255</r>
553 <g>255</g>
554 <b>255</b>
555 </bgcolor>
556 <bordermode>noborder</bordermode>
557 <borderradius>1</borderradius>
558 <borderwidth>1</borderwidth>
559 </bsbObject>
560 <bsbObject version="2" type="BSBDisplay">
561 <objectName>HFDamping</objectName>
562 <x>448</x>
563 <y>149</y>
564 <width>60</width>
565 <height>30</height>
566 <uuid>{c333f6de-006b-45d6-bfec-c6a0205b39e8}</uuid>
567 <visible>true</visible>
568 <midichan>0</midichan>
569 <midicc>0</midicc>
570 <label>0.200</label>
571 <alignment>right</alignment>
572 <font>Liberation Sans</font>
573 <fontsize>9</fontsize>
574 <precision>3</precision>
575 <color>
576 <r>0</r>
577 <g>0</g>
578 <b>0</b>
579 </color>
580 <bgcolor mode="nobackground">
581 <r>255</r>
582 <g>255</g>
583 <b>255</b>
584 </bgcolor>
585 <bordermode>noborder</bordermode>
586 <borderradius>1</borderradius>
587 <borderwidth>1</borderwidth>
588 </bsbObject>
589 <bsbObject version="2" type="BSBHSlider">
590 <objectName>HFDamping</objectName>
591 <x>8</x>
592 <y>133</y>
593 <width>500</width>
594 <height>27</height>
595 <uuid>{07f985ef-961c-4c4a-b40b-ac266b8e938d}</uuid>
596 <visible>true</visible>
597 <midichan>0</midichan>
598 <midicc>0</midicc>
599 <minimum>0.00000000</minimum>
600 <maximum>1.00000000</maximum>
601 <value>0.20000000</value>
602 <mode>lin</mode>
603 <mouseControl act="jump">continuous</mouseControl>
604 <resolution>-1.00000000</resolution>
605 <randomizable group="0">false</randomizable>
606 </bsbObject>
607 <bsbObject version="2" type="BSBLabel">
608 <objectName/>
609 <x>8</x>
610 <y>187</y>
611 <width>172</width>
612 <height>33</height>
613 <uuid>{aea49d35-076f-4f53-973f-218c07658afd}</uuid>
614 <visible>true</visible>
615 <midichan>0</midichan>
616 <midicc>0</midicc>
617 <label>Dry / Wet Mix</label>
618 <alignment>left</alignment>
619 <font>Liberation Sans</font>
620 <fontsize>10</fontsize>
621 <precision>3</precision>
622 <color>
623 <r>0</r>
624 <g>0</g>
625 <b>0</b>
626 </color>
627 <bgcolor mode="nobackground">
628 <r>255</r>
629 <g>255</g>
630 <b>255</b>
631 </bgcolor>
632 <bordermode>noborder</bordermode>
633 <borderradius>1</borderradius>
634 <borderwidth>1</borderwidth>
635 </bsbObject>
636 <bsbObject version="2" type="BSBDisplay">
637 <objectName>Mix</objectName>
638 <x>448</x>
639 <y>187</y>
640 <width>60</width>
641 <height>30</height>
642 <uuid>{e618dde4-1681-4841-ad6b-2f09a0dc7e42}</uuid>
643 <visible>true</visible>
644 <midichan>0</midichan>
645 <midicc>0</midicc>
646 <label>0.750</label>
647 <alignment>right</alignment>
648 <font>Liberation Sans</font>
649 <fontsize>9</fontsize>
650 <precision>3</precision>
651 <color>
652 <r>0</r>
653 <g>0</g>
654 <b>0</b>
655 </color>
656 <bgcolor mode="nobackground">
657 <r>255</r>
658 <g>255</g>
659 <b>255</b>
660 </bgcolor>
661 <bordermode>noborder</bordermode>
662 <borderradius>1</borderradius>
663 <borderwidth>1</borderwidth>
664 </bsbObject>
665 <bsbObject version="2" type="BSBHSlider">
666 <objectName>Mix</objectName>
667 <x>8</x>
668 <y>172</y>
669 <width>500</width>
670 <height>27</height>
671 <uuid>{d92cf2f2-852e-4c61-ba7a-5211a302ad02}</uuid>
672 <visible>true</visible>
673 <midichan>0</midichan>
674 <midicc>0</midicc>
675 <minimum>0.00000000</minimum>
676 <maximum>1.00000000</maximum>
677 <value>0.75000000</value>
678 <mode>lin</mode>
679 <mouseControl act="jump">continuous</mouseControl>
680 <resolution>-1.00000000</resolution>
681 <randomizable group="0">false</randomizable>
682 </bsbObject>
683 <bsbObject version="2" type="BSBLabel">
684 <objectName/>
685 <x>8</x>
686 <y>227</y>
687 <width>120</width>
688 <height>30</height>
689 <uuid>{db09dfb0-b519-458f-99fe-59324243edc1}</uuid>
690 <visible>true</visible>
691 <midichan>0</midichan>
692 <midicc>0</midicc>
693 <label>Gate Threshold</label>
694 <alignment>left</alignment>
695 <font>Liberation Sans</font>
696 <fontsize>10</fontsize>
697 <precision>3</precision>
698 <color>
699 <r>0</r>
700 <g>0</g>
701 <b>0</b>
702 </color>
703 <bgcolor mode="nobackground">
704 <r>255</r>
705 <g>255</g>
706 <b>255</b>
707 </bgcolor>
708 <bordermode>noborder</bordermode>
709 <borderradius>1</borderradius>
710 <borderwidth>1</borderwidth>
711 </bsbObject>
712 <bsbObject version="2" type="BSBDisplay">
713 <objectName>GateThreshold</objectName>
714 <x>448</x>
715 <y>227</y>
716 <width>60</width>
717 <height>30</height>
718 <uuid>{2b28bf5e-336c-4e6c-8a7c-34eae134b040}</uuid>
719 <visible>true</visible>
720 <midichan>0</midichan>
721 <midicc>0</midicc>
722 <label>50.000</label>
723 <alignment>right</alignment>
724 <font>Liberation Sans</font>
725 <fontsize>9</fontsize>
726 <precision>3</precision>
727 <color>
728 <r>0</r>
729 <g>0</g>
730 <b>0</b>
731 </color>
732 <bgcolor mode="nobackground">
733 <r>255</r>
734 <g>255</g>
735 <b>255</b>
736 </bgcolor>
737 <bordermode>noborder</bordermode>
738 <borderradius>1</borderradius>
739 <borderwidth>1</borderwidth>
740 </bsbObject>
741 <bsbObject version="2" type="BSBHSlider">
742 <objectName>GateThreshold</objectName>
743 <x>8</x>
744 <y>211</y>
745 <width>500</width>
746 <height>27</height>
747 <uuid>{a1c63364-3da5-4583-a0b1-8a1188931171}</uuid>
748 <visible>true</visible>
749 <midichan>0</midichan>
750 <midicc>0</midicc>
751 <minimum>0.00000000</minimum>
752 <maximum>90.00000000</maximum>
753 <value>50.00000000</value>
754 <mode>lin</mode>
755 <mouseControl act="jump">continuous</mouseControl>
756 <resolution>-1.00000000</resolution>
757 <randomizable group="0">false</randomizable>
758 </bsbObject>
759 <bsbObject version="2" type="BSBLabel">
760 <objectName/>
761 <x>8</x>
762 <y>265</y>
763 <width>120</width>
764 <height>30</height>
765 <uuid>{28ad9c25-5e91-472c-8e3f-090b96105420}</uuid>
766 <visible>true</visible>
767 <midichan>0</midichan>
768 <midicc>0</midicc>
769 <label>Gate Release Time</label>
770 <alignment>left</alignment>
771 <font>Liberation Sans</font>
772 <fontsize>10</fontsize>
773 <precision>3</precision>
774 <color>
775 <r>0</r>
776 <g>0</g>
777 <b>0</b>
778 </color>
779 <bgcolor mode="nobackground">
780 <r>255</r>
781 <g>255</g>
782 <b>255</b>
783 </bgcolor>
784 <bordermode>noborder</bordermode>
785 <borderradius>1</borderradius>
786 <borderwidth>1</borderwidth>
787 </bsbObject>
788 <bsbObject version="2" type="BSBDisplay">
789 <objectName>GateRelease_Value</objectName>
790 <x>448</x>
791 <y>265</y>
792 <width>60</width>
793 <height>30</height>
794 <uuid>{65ad6bc7-10bc-4baa-8ac6-9f352685a577}</uuid>
795 <visible>true</visible>
796 <midichan>0</midichan>
797 <midicc>0</midicc>
798 <label>0.001</label>
799 <alignment>right</alignment>
800 <font>Liberation Sans</font>
801 <fontsize>9</fontsize>
802 <precision>3</precision>
803 <color>
804 <r>0</r>
805 <g>0</g>
806 <b>0</b>
807 </color>
808 <bgcolor mode="nobackground">
809 <r>255</r>
810 <g>255</g>
811 <b>255</b>
812 </bgcolor>
813 <bordermode>noborder</bordermode>
814 <borderradius>1</borderradius>
815 <borderwidth>1</borderwidth>
816 </bsbObject>
817 <bsbObject version="2" type="BSBHSlider">
818 <objectName>GateRelease</objectName>
819 <x>8</x>
820 <y>249</y>
821 <width>500</width>
822 <height>27</height>
823 <uuid>{3a96fa2f-e275-4759-89f3-e0eb15aa7e7c}</uuid>
824 <visible>true</visible>
825 <midichan>0</midichan>
826 <midicc>0</midicc>
827 <minimum>0.00000000</minimum>
828 <maximum>1.00000000</maximum>
829 <value>0.00000000</value>
830 <mode>lin</mode>
831 <mouseControl act="jump">continuous</mouseControl>
832 <resolution>-1.00000000</resolution>
833 <randomizable group="0">false</randomizable>
834 </bsbObject>
835 <bsbObject version="2" type="BSBLabel">
836 <objectName/>
837 <x>8</x>
838 <y>304</y>
839 <width>180</width>
840 <height>30</height>
841 <uuid>{454ead02-51c7-4a74-bf5c-f28401400310}</uuid>
842 <visible>true</visible>
843 <midichan>0</midichan>
844 <midicc>0</midicc>
845 <label>Amplitude</label>
846 <alignment>left</alignment>
847 <font>Liberation Sans</font>
848 <fontsize>10</fontsize>
849 <precision>3</precision>
850 <color>
851 <r>0</r>
852 <g>0</g>
853 <b>0</b>
854 </color>
855 <bgcolor mode="nobackground">
856 <r>255</r>
857 <g>255</g>
858 <b>255</b>
859 </bgcolor>
860 <bordermode>noborder</bordermode>
861 <borderradius>1</borderradius>
862 <borderwidth>1</borderwidth>
863 </bsbObject>
864 <bsbObject version="2" type="BSBDisplay">
865 <objectName>Amplitude</objectName>
866 <x>448</x>
867 <y>304</y>
868 <width>60</width>
869 <height>30</height>
870 <uuid>{df7beba6-e480-415c-a2b4-6cd3471bb2ef}</uuid>
871 <visible>true</visible>
872 <midichan>0</midichan>
873 <midicc>0</midicc>
874 <label>0.800</label>
875 <alignment>right</alignment>
876 <font>Liberation Sans</font>
877 <fontsize>9</fontsize>
878 <precision>3</precision>
879 <color>
880 <r>0</r>
881 <g>0</g>
882 <b>0</b>
883 </color>
884 <bgcolor mode="nobackground">
885 <r>255</r>
886 <g>255</g>
887 <b>255</b>
888 </bgcolor>
889 <bordermode>noborder</bordermode>
890 <borderradius>1</borderradius>
891 <borderwidth>1</borderwidth>
892 </bsbObject>
893 <bsbObject version="2" type="BSBHSlider">
894 <objectName>Amplitude</objectName>
895 <x>8</x>
896 <y>288</y>
897 <width>500</width>
898 <height>27</height>
899 <uuid>{9ef9133e-202d-4452-a798-2b2604e8b434}</uuid>
900 <visible>true</visible>
901 <midichan>0</midichan>
902 <midicc>0</midicc>
903 <minimum>0.00000000</minimum>
904 <maximum>1.00000000</maximum>
905 <value>0.80000001</value>
906 <mode>lin</mode>
907 <mouseControl act="jump">continuous</mouseControl>
908 <resolution>-1.00000000</resolution>
909 <randomizable group="0">false</randomizable>
910 </bsbObject>
911 </bsbPanel>
912 <bsbPresets>
913 </bsbPresets>