Debian Codegraph @

src/Examples/McCurdy Collection/LiveAudioIn/follow2EnvelopeFilter.csd

raw
1 ;Written by Iain McCurdy
2
3 ; Modified for QuteCsound by René, January 2011
4 ; Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
5
6 ;Notes on modifications from original csd:
7 ; Add audio file browser and use of FilePlay2 udo, now accept mono or stereo wav files
8
9 ;my flags on Ubuntu: -dm0 -iadc -odac -+rtaudio=jack -b16 -B4096 --expression-opt -+rtmidi=null
10 <CsoundSynthesizer>
11 <CsOptions>
12
13 </CsOptions>
14 <CsInstruments>
15 sr = 44100 ;SAMPLE RATE
16 ksmps = 64 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
17 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
18 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
19
20
21 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
22 ;gives stereo output regardless your soundfile is mono or stereo
23 Sfil, kspeed, iskip, iloop xin
24 ichn filenchnls Sfil
25 if ichn == 1 then
26 aL diskin2 Sfil, kspeed, iskip, iloop
27 aR = aL
28 else
29 aL, aR diskin2 Sfil, kspeed, iskip, iloop
30 endif
31 xout aL, aR
32 endop
33
34
35 instr 10 ;GUI
36 ktrig metro 10
37 if (ktrig == 1) then
38 gkatt invalue "Attack"
39 gkrel invalue "Release"
40 gksensitivity invalue "Sensitivity"
41 gkoffset invalue "Filter_Cutoff"
42 gkres invalue "Filter_Resonance"
43 gkspeed invalue "File_Speed"
44 gkmix invalue "Filter_Mix"
45 gkamp invalue "Output_Gain"
46 gkingain invalue "Input_Gain"
47 gkinput invalue "Input"
48 endif
49 endin
50
51 instr 1
52 Sfile_new strcpy "" ;INIT TO EMPTY STRING
53 Sfile invalue "_Browse"
54 Sfile_old strcpyk Sfile_new
55 Sfile_new strcpyk Sfile
56 kfile strcmpk Sfile_new, Sfile_old
57
58 if kfile != 0 then ;IF A BANG HAD BEEN GENERATED IN THE LINE ABOVE
59 reinit NEW_FILE ;REINITIALIZE FROM LABEL 'NEW_FILE'
60 endif
61
62 if gkinput=0 then ;IF INPUT SWITCH IS SET TO 'LIVE INPUT' THEN...
63 aL, aR ins ;READ THE LIVE AUDIO INPUT TO THE COMPUTER
64 aL = aL * gkingain ;SCALE LIVE INPUT WITH FLTK SLIDER
65 aR = aR * gkingain ;SCALE LIVE INPUT WITH FLTK SLIDER
66 else
67 NEW_FILE:
68 ;OUTPUT OPCODE FILE_PATH | SPEED | INSKIP | LOOPING_0=OFF/1=ON
69 aL, aR FilePlay2 Sfile, gkspeed, 0, 1 ;CREATE AN AUDIO SIGNAL
70 rireturn
71 endif ;END OF CONDITIONAL BRANCHING
72
73 ;LEFT CHANNEL===========================================================================================================================================================
74 afollowL follow2 aL, gkatt, gkrel ;CREATE AN ENVELOPE FOLLOWING SIGNAL FROM THE AUDIO SIGNAL
75 kfollowL downsamp afollowL ;DOWNSAMPLE AMPLITUDE FOLLOWING SIGNAL DOWN TO K-RATE
76 kcfoctL = (kfollowL * gksensitivity) + gkoffset ;RE-SCALE THIS SIGNAL USING THE SENSITIVITY AND OFFSET SETTINGS - OUTPUT WILL BE USED AS A FILTER CUTOFF VALUE IN OCT FORMAT
77 kcfoctL limit kcfoctL, 4, 14 ;LIMIT THE RANGE OF THE CUTOFF FREQUENCY (REMEMBER: OCT FORMAT)
78 afiltL moogladder aL, cpsoct(kcfoctL), gkres ;FILTER THE AUDIO SIGNAL USING THE moogladder RESONANT LOWPASS FILTER
79 amixL ntrpol aL, afiltL, gkmix ;CREATE A DRY/WET MIX BETWEEN THE ORIGINAL SIGNAL AND THE FILTERED SIGNAL
80 ;=======================================================================================================================================================================
81
82 ;RIGHT CHANNEL==========================================================================================================================================================
83 afollowR follow2 aR, gkatt, gkrel ;CREATE AN ENVELOPE FOLLOWING SIGNAL FROM THE AUDIO SIGNAL
84 kfollowR downsamp afollowR ;DOWNSAMPLE AMPLITUDE FOLLOWING SIGNAL DOWN TO K-RATE
85 kcfoctR = (kfollowR * gksensitivity) + gkoffset ;RE-SCALE THIS SIGNAL USING THE SENSITIVITY AND OFFSET SETTINGS - OUTPUT WILL BE USED AS A FILTER CUTOFF VALUE IN OCT FORMAT
86 kcfoctR limit kcfoctR, 4, 14 ;LIMIT THE RANGE OF THE CUTOFF FREQUENCY (REMEMBER: OCT FORMAT)
87 afiltR moogladder aR, cpsoct(kcfoctR), gkres ;FILTER THE AUDIO SIGNAL USING THE moogladder RESONANT LOWPASS FILTER
88 amixR ntrpol aR, afiltR, gkmix ;CREATE A DRY/WET MIX BETWEEN THE ORIGINAL SIGNAL AND THE FILTERED SIGNAL
89 ;=======================================================================================================================================================================
90
91 outs amixL * gkamp, amixR * gkamp ;SEND DRY/WET MIX TO THE SPEAKERS - RESCALE WITH GAIN CONTROL
92 endin
93 </CsInstruments>
94 <CsScore>
95 ;INSTR | START | DURATION
96 i 10 0 3600 ;GUI
97 </CsScore>
98 </CsoundSynthesizer>
99 <bsbPanel>
100 <label>Widgets</label>
101 <objectName/>
102 <x>384</x>
103 <y>335</y>
104 <width>795</width>
105 <height>451</height>
106 <visible>true</visible>
107 <uuid/>
108 <bgcolor mode="background">
109 <r>241</r>
110 <g>226</g>
111 <b>185</b>
112 </bgcolor>
113 <bsbObject version="2" type="BSBLabel">
114 <objectName/>
115 <x>2</x>
116 <y>2</y>
117 <width>514</width>
118 <height>444</height>
119 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
120 <visible>true</visible>
121 <midichan>0</midichan>
122 <midicc>0</midicc>
123 <label>follow2 Envelope Filter</label>
124 <alignment>center</alignment>
125 <font>Liberation Sans</font>
126 <fontsize>18</fontsize>
127 <precision>3</precision>
128 <color>
129 <r>0</r>
130 <g>0</g>
131 <b>0</b>
132 </color>
133 <bgcolor mode="background">
134 <r>158</r>
135 <g>220</g>
136 <b>158</b>
137 </bgcolor>
138 <bordermode>border</bordermode>
139 <borderradius>5</borderradius>
140 <borderwidth>2</borderwidth>
141 </bsbObject>
142 <bsbObject version="2" type="BSBLabel">
143 <objectName/>
144 <x>519</x>
145 <y>2</y>
146 <width>276</width>
147 <height>444</height>
148 <uuid>{cebe7e5c-304d-4db6-8da2-0e27c0616bab}</uuid>
149 <visible>true</visible>
150 <midichan>0</midichan>
151 <midicc>0</midicc>
152 <label>follow2 Envelope Filter</label>
153 <alignment>center</alignment>
154 <font>Liberation Sans</font>
155 <fontsize>18</fontsize>
156 <precision>3</precision>
157 <color>
158 <r>0</r>
159 <g>0</g>
160 <b>0</b>
161 </color>
162 <bgcolor mode="background">
163 <r>158</r>
164 <g>220</g>
165 <b>158</b>
166 </bgcolor>
167 <bordermode>border</bordermode>
168 <borderradius>5</borderradius>
169 <borderwidth>2</borderwidth>
170 </bsbObject>
171 <bsbObject version="2" type="BSBLabel">
172 <objectName/>
173 <x>521</x>
174 <y>35</y>
175 <width>272</width>
176 <height>395</height>
177 <uuid>{c24a85f3-363e-476e-81da-37729ad65bb7}</uuid>
178 <visible>true</visible>
179 <midichan>0</midichan>
180 <midicc>0</midicc>
181 <label>-----------------------------------------------------------------
182 The follow2 opcode outputs an amplitude following signal based on an imput audio signal.
183 The output signal will be unipolar (i.e. only positive values) and the response of the envelope follower to dynamic transients can be tailored using follow2's input arguments for attack time and release time.
184 This example demonstrates a very common use of this control signal in that it is used to derive the cutoff frequency of a lowpass filter.
185 Therefore as the amplitude of the input signal increases the cutoff frequency of the filter also rises.
186 Some additional controls are offered to allow the user to further refine the envelope follower response and some other aspects of the effect.
187 The user can choose between using a stored file or the live input as the source signal for the envelope follower.</label>
188 <alignment>left</alignment>
189 <font>Liberation Sans</font>
190 <fontsize>14</fontsize>
191 <precision>3</precision>
192 <color>
193 <r>0</r>
194 <g>0</g>
195 <b>0</b>
196 </color>
197 <bgcolor mode="nobackground">
198 <r>158</r>
199 <g>220</g>
200 <b>158</b>
201 </bgcolor>
202 <bordermode>noborder</bordermode>
203 <borderradius>1</borderradius>
204 <borderwidth>1</borderwidth>
205 </bsbObject>
206 <bsbObject version="2" type="BSBLabel">
207 <objectName/>
208 <x>8</x>
209 <y>277</y>
210 <width>150</width>
211 <height>30</height>
212 <uuid>{63ab529c-3f14-4886-8215-fd6e8f1a37ce}</uuid>
213 <visible>true</visible>
214 <midichan>0</midichan>
215 <midicc>0</midicc>
216 <label>Filter Cutoff Offset</label>
217 <alignment>left</alignment>
218 <font>Liberation Sans</font>
219 <fontsize>10</fontsize>
220 <precision>3</precision>
221 <color>
222 <r>0</r>
223 <g>0</g>
224 <b>0</b>
225 </color>
226 <bgcolor mode="nobackground">
227 <r>255</r>
228 <g>255</g>
229 <b>255</b>
230 </bgcolor>
231 <bordermode>noborder</bordermode>
232 <borderradius>1</borderradius>
233 <borderwidth>1</borderwidth>
234 </bsbObject>
235 <bsbObject version="2" type="BSBHSlider">
236 <objectName>Filter_Cutoff</objectName>
237 <x>8</x>
238 <y>260</y>
239 <width>500</width>
240 <height>27</height>
241 <uuid>{a7c37920-a18a-446b-8b66-6a1119503da0}</uuid>
242 <visible>true</visible>
243 <midichan>0</midichan>
244 <midicc>0</midicc>
245 <minimum>4.00000000</minimum>
246 <maximum>14.00000000</maximum>
247 <value>11.10000000</value>
248 <mode>lin</mode>
249 <mouseControl act="jump">continuous</mouseControl>
250 <resolution>-1.00000000</resolution>
251 <randomizable group="0">false</randomizable>
252 </bsbObject>
253 <bsbObject version="2" type="BSBDisplay">
254 <objectName>Filter_Cutoff</objectName>
255 <x>448</x>
256 <y>277</y>
257 <width>60</width>
258 <height>30</height>
259 <uuid>{b453c0e4-809f-4074-94fd-506ebb68f3b8}</uuid>
260 <visible>true</visible>
261 <midichan>0</midichan>
262 <midicc>0</midicc>
263 <label>11.100</label>
264 <alignment>right</alignment>
265 <font>Liberation Sans</font>
266 <fontsize>9</fontsize>
267 <precision>3</precision>
268 <color>
269 <r>0</r>
270 <g>0</g>
271 <b>0</b>
272 </color>
273 <bgcolor mode="nobackground">
274 <r>255</r>
275 <g>255</g>
276 <b>255</b>
277 </bgcolor>
278 <bordermode>noborder</bordermode>
279 <borderradius>1</borderradius>
280 <borderwidth>1</borderwidth>
281 </bsbObject>
282 <bsbObject version="2" type="BSBLabel">
283 <objectName/>
284 <x>8</x>
285 <y>313</y>
286 <width>150</width>
287 <height>30</height>
288 <uuid>{760945fc-2052-4408-8344-abdb00ead7b0}</uuid>
289 <visible>true</visible>
290 <midichan>0</midichan>
291 <midicc>0</midicc>
292 <label>Filter Resonance</label>
293 <alignment>left</alignment>
294 <font>Liberation Sans</font>
295 <fontsize>10</fontsize>
296 <precision>3</precision>
297 <color>
298 <r>0</r>
299 <g>0</g>
300 <b>0</b>
301 </color>
302 <bgcolor mode="nobackground">
303 <r>255</r>
304 <g>255</g>
305 <b>255</b>
306 </bgcolor>
307 <bordermode>noborder</bordermode>
308 <borderradius>1</borderradius>
309 <borderwidth>1</borderwidth>
310 </bsbObject>
311 <bsbObject version="2" type="BSBHSlider">
312 <objectName>Filter_Resonance</objectName>
313 <x>8</x>
314 <y>296</y>
315 <width>500</width>
316 <height>27</height>
317 <uuid>{d5b42e3d-c45f-4288-bb9c-16eb365124bc}</uuid>
318 <visible>true</visible>
319 <midichan>0</midichan>
320 <midicc>0</midicc>
321 <minimum>0.00000000</minimum>
322 <maximum>1.00000000</maximum>
323 <value>0.67400000</value>
324 <mode>lin</mode>
325 <mouseControl act="jump">continuous</mouseControl>
326 <resolution>-1.00000000</resolution>
327 <randomizable group="0">false</randomizable>
328 </bsbObject>
329 <bsbObject version="2" type="BSBDisplay">
330 <objectName>Filter_Resonance</objectName>
331 <x>448</x>
332 <y>313</y>
333 <width>60</width>
334 <height>30</height>
335 <uuid>{3837993c-b043-4b23-a36f-83ea6a2f2d2b}</uuid>
336 <visible>true</visible>
337 <midichan>0</midichan>
338 <midicc>0</midicc>
339 <label>0.674</label>
340 <alignment>right</alignment>
341 <font>Liberation Sans</font>
342 <fontsize>9</fontsize>
343 <precision>3</precision>
344 <color>
345 <r>0</r>
346 <g>0</g>
347 <b>0</b>
348 </color>
349 <bgcolor mode="nobackground">
350 <r>255</r>
351 <g>255</g>
352 <b>255</b>
353 </bgcolor>
354 <bordermode>noborder</bordermode>
355 <borderradius>1</borderradius>
356 <borderwidth>1</borderwidth>
357 </bsbObject>
358 <bsbObject version="2" type="BSBLabel">
359 <objectName/>
360 <x>8</x>
361 <y>349</y>
362 <width>150</width>
363 <height>30</height>
364 <uuid>{7e59b44f-2b3b-4941-9e17-c56369f9316a}</uuid>
365 <visible>true</visible>
366 <midichan>0</midichan>
367 <midicc>0</midicc>
368 <label>File Playback Speed</label>
369 <alignment>left</alignment>
370 <font>Liberation Sans</font>
371 <fontsize>10</fontsize>
372 <precision>3</precision>
373 <color>
374 <r>0</r>
375 <g>0</g>
376 <b>0</b>
377 </color>
378 <bgcolor mode="nobackground">
379 <r>255</r>
380 <g>255</g>
381 <b>255</b>
382 </bgcolor>
383 <bordermode>noborder</bordermode>
384 <borderradius>1</borderradius>
385 <borderwidth>1</borderwidth>
386 </bsbObject>
387 <bsbObject version="2" type="BSBHSlider">
388 <objectName>File_Speed</objectName>
389 <x>8</x>
390 <y>332</y>
391 <width>500</width>
392 <height>27</height>
393 <uuid>{84d39e8a-7044-4434-92fd-919cc03f9d01}</uuid>
394 <visible>true</visible>
395 <midichan>0</midichan>
396 <midicc>0</midicc>
397 <minimum>0.12500000</minimum>
398 <maximum>2.00000000</maximum>
399 <value>0.99875000</value>
400 <mode>lin</mode>
401 <mouseControl act="jump">continuous</mouseControl>
402 <resolution>-1.00000000</resolution>
403 <randomizable group="0">false</randomizable>
404 </bsbObject>
405 <bsbObject version="2" type="BSBDisplay">
406 <objectName>File_Speed</objectName>
407 <x>448</x>
408 <y>349</y>
409 <width>60</width>
410 <height>30</height>
411 <uuid>{a4a174c2-d21c-4f3b-a485-d396bc7e9495}</uuid>
412 <visible>true</visible>
413 <midichan>0</midichan>
414 <midicc>0</midicc>
415 <label>0.999</label>
416 <alignment>right</alignment>
417 <font>Liberation Sans</font>
418 <fontsize>9</fontsize>
419 <precision>3</precision>
420 <color>
421 <r>0</r>
422 <g>0</g>
423 <b>0</b>
424 </color>
425 <bgcolor mode="nobackground">
426 <r>255</r>
427 <g>255</g>
428 <b>255</b>
429 </bgcolor>
430 <bordermode>noborder</bordermode>
431 <borderradius>1</borderradius>
432 <borderwidth>1</borderwidth>
433 </bsbObject>
434 <bsbObject version="2" type="BSBButton">
435 <objectName/>
436 <x>6</x>
437 <y>6</y>
438 <width>100</width>
439 <height>30</height>
440 <uuid>{a8382df2-0753-4bc1-808e-285e963e4b7b}</uuid>
441 <visible>true</visible>
442 <midichan>0</midichan>
443 <midicc>0</midicc>
444 <type>event</type>
445 <pressedValue>1.00000000</pressedValue>
446 <stringvalue/>
447 <text> On / Off</text>
448 <image>/</image>
449 <eventLine>i 1 0 -1</eventLine>
450 <latch>true</latch>
451 <latched>false</latched>
452 </bsbObject>
453 <bsbObject version="2" type="BSBLabel">
454 <objectName/>
455 <x>6</x>
456 <y>40</y>
457 <width>506</width>
458 <height>110</height>
459 <uuid>{9c1c687c-f53f-4376-b25d-f216e6129c08}</uuid>
460 <visible>true</visible>
461 <midichan>0</midichan>
462 <midicc>0</midicc>
463 <label>Input</label>
464 <alignment>left</alignment>
465 <font>Liberation Sans</font>
466 <fontsize>14</fontsize>
467 <precision>3</precision>
468 <color>
469 <r>0</r>
470 <g>0</g>
471 <b>0</b>
472 </color>
473 <bgcolor mode="nobackground">
474 <r>255</r>
475 <g>255</g>
476 <b>255</b>
477 </bgcolor>
478 <bordermode>border</bordermode>
479 <borderradius>4</borderradius>
480 <borderwidth>1</borderwidth>
481 </bsbObject>
482 <bsbObject version="2" type="BSBLabel">
483 <objectName/>
484 <x>7</x>
485 <y>85</y>
486 <width>100</width>
487 <height>30</height>
488 <uuid>{abb53681-f4b6-418c-b881-9ed47c033f3c}</uuid>
489 <visible>true</visible>
490 <midichan>0</midichan>
491 <midicc>0</midicc>
492 <label>Live Input Gain</label>
493 <alignment>left</alignment>
494 <font>Liberation Sans</font>
495 <fontsize>10</fontsize>
496 <precision>3</precision>
497 <color>
498 <r>0</r>
499 <g>0</g>
500 <b>0</b>
501 </color>
502 <bgcolor mode="nobackground">
503 <r>255</r>
504 <g>255</g>
505 <b>255</b>
506 </bgcolor>
507 <bordermode>noborder</bordermode>
508 <borderradius>1</borderradius>
509 <borderwidth>1</borderwidth>
510 </bsbObject>
511 <bsbObject version="2" type="BSBHSlider">
512 <objectName>Input_Gain</objectName>
513 <x>7</x>
514 <y>68</y>
515 <width>350</width>
516 <height>27</height>
517 <uuid>{8efe4d81-20fc-42b8-b8fe-e1f0051c8ea1}</uuid>
518 <visible>true</visible>
519 <midichan>0</midichan>
520 <midicc>0</midicc>
521 <minimum>0.00000000</minimum>
522 <maximum>1.00000000</maximum>
523 <value>0.77428571</value>
524 <mode>lin</mode>
525 <mouseControl act="jump">continuous</mouseControl>
526 <resolution>-1.00000000</resolution>
527 <randomizable group="0">false</randomizable>
528 </bsbObject>
529 <bsbObject version="2" type="BSBDisplay">
530 <objectName>Input_Gain</objectName>
531 <x>297</x>
532 <y>85</y>
533 <width>60</width>
534 <height>30</height>
535 <uuid>{eb287858-6115-4ae8-9ecf-3c6296873215}</uuid>
536 <visible>true</visible>
537 <midichan>0</midichan>
538 <midicc>0</midicc>
539 <label>0.774</label>
540 <alignment>right</alignment>
541 <font>Liberation Sans</font>
542 <fontsize>9</fontsize>
543 <precision>3</precision>
544 <color>
545 <r>0</r>
546 <g>0</g>
547 <b>0</b>
548 </color>
549 <bgcolor mode="nobackground">
550 <r>255</r>
551 <g>255</g>
552 <b>255</b>
553 </bgcolor>
554 <bordermode>noborder</bordermode>
555 <borderradius>1</borderradius>
556 <borderwidth>1</borderwidth>
557 </bsbObject>
558 <bsbObject version="2" type="BSBDropdown">
559 <objectName>Input</objectName>
560 <x>386</x>
561 <y>69</y>
562 <width>120</width>
563 <height>30</height>
564 <uuid>{c1af7da4-91c7-49f0-9701-eaba056328f0}</uuid>
565 <visible>true</visible>
566 <midichan>0</midichan>
567 <midicc>0</midicc>
568 <bsbDropdownItemList>
569 <bsbDropdownItem>
570 <name>Live Input</name>
571 <value>0</value>
572 <stringvalue/>
573 </bsbDropdownItem>
574 <bsbDropdownItem>
575 <name> Sound File</name>
576 <value>1</value>
577 <stringvalue/>
578 </bsbDropdownItem>
579 </bsbDropdownItemList>
580 <selectedIndex>0</selectedIndex>
581 <randomizable group="0">false</randomizable>
582 </bsbObject>
583 <bsbObject version="2" type="BSBButton">
584 <objectName>_Browse</objectName>
585 <x>9</x>
586 <y>114</y>
587 <width>170</width>
588 <height>30</height>
589 <uuid>{6fba1bc1-9996-4b96-9193-2f29e6d42e07}</uuid>
590 <visible>true</visible>
591 <midichan>0</midichan>
592 <midicc>0</midicc>
593 <type>value</type>
594 <pressedValue>1.00000000</pressedValue>
595 <stringvalue>808loopMono.wav</stringvalue>
596 <text>Browse Audio File</text>
597 <image>/</image>
598 <eventLine/>
599 <latch>false</latch>
600 <latched>false</latched>
601 </bsbObject>
602 <bsbObject version="2" type="BSBLineEdit">
603 <objectName>_Browse</objectName>
604 <x>181</x>
605 <y>115</y>
606 <width>326</width>
607 <height>28</height>
608 <uuid>{2eaa14cd-5cc8-47b3-b88a-5e778e01082b}</uuid>
609 <visible>true</visible>
610 <midichan>0</midichan>
611 <midicc>0</midicc>
612 <label>808loopMono.wav</label>
613 <alignment>left</alignment>
614 <font>Liberation Sans</font>
615 <fontsize>10</fontsize>
616 <precision>3</precision>
617 <color>
618 <r>0</r>
619 <g>0</g>
620 <b>0</b>
621 </color>
622 <bgcolor mode="nobackground">
623 <r>240</r>
624 <g>235</g>
625 <b>226</b>
626 </bgcolor>
627 <background>nobackground</background>
628 </bsbObject>
629 <bsbObject version="2" type="BSBLabel">
630 <objectName/>
631 <x>8</x>
632 <y>170</y>
633 <width>150</width>
634 <height>30</height>
635 <uuid>{93cc32a5-c161-4212-baeb-c28b120f89a8}</uuid>
636 <visible>true</visible>
637 <midichan>0</midichan>
638 <midicc>0</midicc>
639 <label>Envelope Follow Attack</label>
640 <alignment>left</alignment>
641 <font>Liberation Sans</font>
642 <fontsize>10</fontsize>
643 <precision>3</precision>
644 <color>
645 <r>0</r>
646 <g>0</g>
647 <b>0</b>
648 </color>
649 <bgcolor mode="nobackground">
650 <r>255</r>
651 <g>255</g>
652 <b>255</b>
653 </bgcolor>
654 <bordermode>noborder</bordermode>
655 <borderradius>1</borderradius>
656 <borderwidth>1</borderwidth>
657 </bsbObject>
658 <bsbObject version="2" type="BSBHSlider">
659 <objectName>Attack</objectName>
660 <x>8</x>
661 <y>153</y>
662 <width>500</width>
663 <height>27</height>
664 <uuid>{107836e5-a726-4a83-83b5-c368481d9a48}</uuid>
665 <visible>true</visible>
666 <midichan>0</midichan>
667 <midicc>0</midicc>
668 <minimum>0.00100000</minimum>
669 <maximum>0.50000000</maximum>
670 <value>0.06187800</value>
671 <mode>lin</mode>
672 <mouseControl act="jump">continuous</mouseControl>
673 <resolution>-1.00000000</resolution>
674 <randomizable group="0">false</randomizable>
675 </bsbObject>
676 <bsbObject version="2" type="BSBDisplay">
677 <objectName>Attack</objectName>
678 <x>448</x>
679 <y>170</y>
680 <width>60</width>
681 <height>30</height>
682 <uuid>{71f0e6eb-f79d-4cd7-80f7-a22cc355e64f}</uuid>
683 <visible>true</visible>
684 <midichan>0</midichan>
685 <midicc>0</midicc>
686 <label>0.062</label>
687 <alignment>right</alignment>
688 <font>Liberation Sans</font>
689 <fontsize>9</fontsize>
690 <precision>3</precision>
691 <color>
692 <r>0</r>
693 <g>0</g>
694 <b>0</b>
695 </color>
696 <bgcolor mode="nobackground">
697 <r>255</r>
698 <g>255</g>
699 <b>255</b>
700 </bgcolor>
701 <bordermode>noborder</bordermode>
702 <borderradius>1</borderradius>
703 <borderwidth>1</borderwidth>
704 </bsbObject>
705 <bsbObject version="2" type="BSBLabel">
706 <objectName/>
707 <x>8</x>
708 <y>206</y>
709 <width>150</width>
710 <height>30</height>
711 <uuid>{e193ffd3-920b-40d4-9eaa-bd11dad75bff}</uuid>
712 <visible>true</visible>
713 <midichan>0</midichan>
714 <midicc>0</midicc>
715 <label>Envelope Follow Release</label>
716 <alignment>left</alignment>
717 <font>Liberation Sans</font>
718 <fontsize>10</fontsize>
719 <precision>3</precision>
720 <color>
721 <r>0</r>
722 <g>0</g>
723 <b>0</b>
724 </color>
725 <bgcolor mode="nobackground">
726 <r>255</r>
727 <g>255</g>
728 <b>255</b>
729 </bgcolor>
730 <bordermode>noborder</bordermode>
731 <borderradius>1</borderradius>
732 <borderwidth>1</borderwidth>
733 </bsbObject>
734 <bsbObject version="2" type="BSBHSlider">
735 <objectName>Release</objectName>
736 <x>8</x>
737 <y>189</y>
738 <width>500</width>
739 <height>27</height>
740 <uuid>{e4aa4e7b-5b74-4a61-8bd7-4beea2c0bb93}</uuid>
741 <visible>true</visible>
742 <midichan>0</midichan>
743 <midicc>0</midicc>
744 <minimum>0.00100000</minimum>
745 <maximum>0.50000000</maximum>
746 <value>0.31038000</value>
747 <mode>lin</mode>
748 <mouseControl act="jump">continuous</mouseControl>
749 <resolution>-1.00000000</resolution>
750 <randomizable group="0">false</randomizable>
751 </bsbObject>
752 <bsbObject version="2" type="BSBDisplay">
753 <objectName>Release</objectName>
754 <x>448</x>
755 <y>206</y>
756 <width>60</width>
757 <height>30</height>
758 <uuid>{dc879380-3a9e-4939-b482-a0b4ee46dac5}</uuid>
759 <visible>true</visible>
760 <midichan>0</midichan>
761 <midicc>0</midicc>
762 <label>0.310</label>
763 <alignment>right</alignment>
764 <font>Liberation Sans</font>
765 <fontsize>9</fontsize>
766 <precision>3</precision>
767 <color>
768 <r>0</r>
769 <g>0</g>
770 <b>0</b>
771 </color>
772 <bgcolor mode="nobackground">
773 <r>255</r>
774 <g>255</g>
775 <b>255</b>
776 </bgcolor>
777 <bordermode>noborder</bordermode>
778 <borderradius>1</borderradius>
779 <borderwidth>1</borderwidth>
780 </bsbObject>
781 <bsbObject version="2" type="BSBLabel">
782 <objectName/>
783 <x>8</x>
784 <y>242</y>
785 <width>150</width>
786 <height>30</height>
787 <uuid>{866a933e-0c0d-493a-84af-29f3557f8e4a}</uuid>
788 <visible>true</visible>
789 <midichan>0</midichan>
790 <midicc>0</midicc>
791 <label>Envelope Follow Sensitivity</label>
792 <alignment>left</alignment>
793 <font>Liberation Sans</font>
794 <fontsize>10</fontsize>
795 <precision>3</precision>
796 <color>
797 <r>0</r>
798 <g>0</g>
799 <b>0</b>
800 </color>
801 <bgcolor mode="nobackground">
802 <r>255</r>
803 <g>255</g>
804 <b>255</b>
805 </bgcolor>
806 <bordermode>noborder</bordermode>
807 <borderradius>1</borderradius>
808 <borderwidth>1</borderwidth>
809 </bsbObject>
810 <bsbObject version="2" type="BSBHSlider">
811 <objectName>Sensitivity</objectName>
812 <x>8</x>
813 <y>225</y>
814 <width>500</width>
815 <height>27</height>
816 <uuid>{fbbd0dd3-c206-4214-aa5e-10d42b909252}</uuid>
817 <visible>true</visible>
818 <midichan>0</midichan>
819 <midicc>0</midicc>
820 <minimum>0.00000000</minimum>
821 <maximum>50.00000000</maximum>
822 <value>3.60000000</value>
823 <mode>lin</mode>
824 <mouseControl act="jump">continuous</mouseControl>
825 <resolution>-1.00000000</resolution>
826 <randomizable group="0">false</randomizable>
827 </bsbObject>
828 <bsbObject version="2" type="BSBDisplay">
829 <objectName>Sensitivity</objectName>
830 <x>448</x>
831 <y>242</y>
832 <width>60</width>
833 <height>30</height>
834 <uuid>{31c3cb1b-308f-47cd-9396-c81d85a1c30a}</uuid>
835 <visible>true</visible>
836 <midichan>0</midichan>
837 <midicc>0</midicc>
838 <label>3.600</label>
839 <alignment>right</alignment>
840 <font>Liberation Sans</font>
841 <fontsize>9</fontsize>
842 <precision>3</precision>
843 <color>
844 <r>0</r>
845 <g>0</g>
846 <b>0</b>
847 </color>
848 <bgcolor mode="nobackground">
849 <r>255</r>
850 <g>255</g>
851 <b>255</b>
852 </bgcolor>
853 <bordermode>noborder</bordermode>
854 <borderradius>1</borderradius>
855 <borderwidth>1</borderwidth>
856 </bsbObject>
857 <bsbObject version="2" type="BSBLabel">
858 <objectName/>
859 <x>8</x>
860 <y>385</y>
861 <width>150</width>
862 <height>30</height>
863 <uuid>{79ce92b4-456d-4a0a-aa5d-813238d5011c}</uuid>
864 <visible>true</visible>
865 <midichan>0</midichan>
866 <midicc>0</midicc>
867 <label>Filter Dry / Wet Mix</label>
868 <alignment>left</alignment>
869 <font>Liberation Sans</font>
870 <fontsize>10</fontsize>
871 <precision>3</precision>
872 <color>
873 <r>0</r>
874 <g>0</g>
875 <b>0</b>
876 </color>
877 <bgcolor mode="nobackground">
878 <r>255</r>
879 <g>255</g>
880 <b>255</b>
881 </bgcolor>
882 <bordermode>noborder</bordermode>
883 <borderradius>1</borderradius>
884 <borderwidth>1</borderwidth>
885 </bsbObject>
886 <bsbObject version="2" type="BSBHSlider">
887 <objectName>Filter_Mix</objectName>
888 <x>8</x>
889 <y>368</y>
890 <width>500</width>
891 <height>27</height>
892 <uuid>{012823fb-e024-44a5-9eb4-a410da52002b}</uuid>
893 <visible>true</visible>
894 <midichan>0</midichan>
895 <midicc>0</midicc>
896 <minimum>0.00000000</minimum>
897 <maximum>1.00000000</maximum>
898 <value>0.89400000</value>
899 <mode>lin</mode>
900 <mouseControl act="jump">continuous</mouseControl>
901 <resolution>-1.00000000</resolution>
902 <randomizable group="0">false</randomizable>
903 </bsbObject>
904 <bsbObject version="2" type="BSBDisplay">
905 <objectName>Filter_Mix</objectName>
906 <x>448</x>
907 <y>385</y>
908 <width>60</width>
909 <height>30</height>
910 <uuid>{d1263e0c-e9f9-4f7c-9ca5-77d2bf37a5d8}</uuid>
911 <visible>true</visible>
912 <midichan>0</midichan>
913 <midicc>0</midicc>
914 <label>0.894</label>
915 <alignment>right</alignment>
916 <font>Liberation Sans</font>
917 <fontsize>9</fontsize>
918 <precision>3</precision>
919 <color>
920 <r>0</r>
921 <g>0</g>
922 <b>0</b>
923 </color>
924 <bgcolor mode="nobackground">
925 <r>255</r>
926 <g>255</g>
927 <b>255</b>
928 </bgcolor>
929 <bordermode>noborder</bordermode>
930 <borderradius>1</borderradius>
931 <borderwidth>1</borderwidth>
932 </bsbObject>
933 <bsbObject version="2" type="BSBLabel">
934 <objectName/>
935 <x>8</x>
936 <y>421</y>
937 <width>150</width>
938 <height>30</height>
939 <uuid>{4f19afc5-41f2-4e4f-902a-4a2efcaab9c1}</uuid>
940 <visible>true</visible>
941 <midichan>0</midichan>
942 <midicc>0</midicc>
943 <label>Output Gain</label>
944 <alignment>left</alignment>
945 <font>Liberation Sans</font>
946 <fontsize>10</fontsize>
947 <precision>3</precision>
948 <color>
949 <r>0</r>
950 <g>0</g>
951 <b>0</b>
952 </color>
953 <bgcolor mode="nobackground">
954 <r>255</r>
955 <g>255</g>
956 <b>255</b>
957 </bgcolor>
958 <bordermode>noborder</bordermode>
959 <borderradius>1</borderradius>
960 <borderwidth>1</borderwidth>
961 </bsbObject>
962 <bsbObject version="2" type="BSBHSlider">
963 <objectName>Output_Gain</objectName>
964 <x>8</x>
965 <y>404</y>
966 <width>500</width>
967 <height>27</height>
968 <uuid>{bc4e33c3-ccd3-40ef-a74d-677666d109ff}</uuid>
969 <visible>true</visible>
970 <midichan>0</midichan>
971 <midicc>0</midicc>
972 <minimum>0.00000000</minimum>
973 <maximum>2.00000000</maximum>
974 <value>1.90400000</value>
975 <mode>lin</mode>
976 <mouseControl act="jump">continuous</mouseControl>
977 <resolution>-1.00000000</resolution>
978 <randomizable group="0">false</randomizable>
979 </bsbObject>
980 <bsbObject version="2" type="BSBDisplay">
981 <objectName>Output_Gain</objectName>
982 <x>448</x>
983 <y>421</y>
984 <width>60</width>
985 <height>30</height>
986 <uuid>{b61a9062-7122-4334-8e11-151993d154a5}</uuid>
987 <visible>true</visible>
988 <midichan>0</midichan>
989 <midicc>0</midicc>
990 <label>1.904</label>
991 <alignment>right</alignment>
992 <font>Liberation Sans</font>
993 <fontsize>9</fontsize>
994 <precision>3</precision>
995 <color>
996 <r>0</r>
997 <g>0</g>
998 <b>0</b>
999 </color>
1000 <bgcolor mode="nobackground">
1001 <r>255</r>
1002 <g>255</g>
1003 <b>255</b>
1004 </bgcolor>
1005 <bordermode>noborder</bordermode>
1006 <borderradius>1</borderradius>
1007 <borderwidth>1</borderwidth>
1008 </bsbObject>
1009 </bsbPanel>
1010 <bsbPresets>
1011 </bsbPresets>
1012 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>