Debian Codegraph @

src/Examples/McCurdy Collection/Delays/delayflanger.csd

raw
1 ;Written by Iain McCurdy, 2006
2
3 ;Modified for QuteCsound by René, September 2010, updated Feb 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 table(s) for exp slider
8 ; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files
9
10
11 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
12 <CsoundSynthesizer>
13 <CsOptions>
14 --env:SSDIR+=../../SourceMaterials
15 </CsOptions>
16 <CsInstruments>
17 sr = 44100 ;SAMPLE RATE
18 ksmps = 32 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
19 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
20 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
21
22
23 gitri ftgen 0, 0, 131072, 7, 0, 65536, 1, 65536, 0 ;POSITIVE DOMAIN TRIANGLE WAVE
24 giExp1 ftgen 0, 0, 129, -25, 0, ksmps/sr, 128, 1.0 ;TABLE FOR EXP SLIDER
25 giExp7 ftgen 0, 0, 129, -25, 0, 0.0001, 128, 7.0 ;TABLE FOR EXP SLIDER
26
27
28 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
29 ;gives stereo output regardless your soundfile is mono or stereo
30 Sfil, kspeed, iskip, iloop xin
31 ichn filenchnls Sfil
32 if ichn == 1 then
33 aL diskin2 Sfil, kspeed, iskip, iloop
34 aR = aL
35 else
36 aL, aR diskin2 Sfil, kspeed, iskip, iloop
37 endif
38 xout aL, aR
39 endop
40
41
42 instr 10 ;GUI
43 ktrig metro 10
44 if (ktrig == 1) then
45 gkingain invalue "Live_Input_Gain"
46 kdlt invalue "Delay_Time"
47 gkdlt tablei kdlt, giExp1, 1
48 outvalue "Delay_Time_Value", gkdlt ;init 0.0001
49 gkmix invalue "Mix" ;init 0.5
50 gkfeedamt invalue "Feedback_Amount" ;init 0.9
51 gkamp invalue "Output_Amplitude_Rescaling" ;init 0.4
52 gkFlaDepth invalue "Flanger_Modulation_Depth" ;init 0.005
53 kFlaRate invalue "Flanger_Modulation_Rate"
54 gkFlaRate tablei kFlaRate, giExp7, 1
55 outvalue "Flanger_Modulation_Rate_Value", gkFlaRate ;init 0.05
56 gkinput invalue "Input"
57 gkmode invalue "Mode"
58
59 endif
60 endin
61
62 instr 1 ;PLAYS FILE
63 if gkinput==0 then ;IF FILE INPUT IS SELECTED...
64 Sfile invalue "_Browse1"
65 gasigL, gasigR FilePlay2 Sfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A SOUND FILE (NOTE THE USE OF GLOBAL VARIABLES)
66 else ;OTHERWISE
67 asigL, asigR ins ;TAKE INPUT FROM COMPUTER'S AUDIO INPUT
68 gasigL = asigL * gkingain ;SCALE USING 'Input Gain' SLIDER
69 gasigR = asigR * gkingain ;SCALE USING 'Input Gain' SLIDER
70 endif ;END OF CONDITIONAL BRANCHING
71 endin
72
73 instr 2 ;FLANGER-DELAY INSTRUMENT
74 iporttime = .1 ;PORTAMENTO TIME
75 kporttime linseg 0, .001, iporttime, 1, iporttime ;USE OF AN ENVELOPE VALUE THAT QUICKLY RAMPS UP FROM ZERON TO THE REQUIRED VALUE PREVENTS VARIABLES GLIDING TO THEIR REQUIRED VALUES EACH TIME THE INSTRUMENT IS STARTED
76 kdlt portk gkdlt, kporttime ;PORTAMENTO IS APPLIED TO THE VARIABLE 'gkdlt'. A NEW VARIABLE 'kdlt' IS CREATED.
77 adlt interp kdlt ;A NEW A-RATE VARIABLE 'adlt' IS CREATED BY INTERPOLATING THE K-RATE VARIABLE 'kdlt'
78
79 amod oscili gkFlaDepth, gkFlaRate, gitri ;OSCILLATOR THAT MAKES USE OF THE POSITIVE DOMAIN ONLY TRIANGLE WAVE IN FUNCTION TABLE 1
80
81 adlt sum adlt, amod ;STATIC DELAY TIME AND MODULATING DELAY TIME ARE SUMMED
82 ;REMEMBER THAT THE LENGTH OF THE DELAY BUFFER DEFINED WILL HAVE TO TAKE ACCOUNT OF THE SUMMED MAXIMUM OF THE STATIC DELAY TIME AND MODULATING DELAY TIME
83
84 if gkmode=0 then
85 ;;;LEFT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
86 abufferL delayr 1.2 ;CREATE A DELAY BUFFER OF 5 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE)
87 adelsigL deltap3 adlt ;TAP THE DELAY LINE AT gkdlt SECONDS
88 delayw gasigL + (adelsigL * gkfeedamt) ;WRITE AUDIO SOURCE AND FEEDBACK SIGNAL INTO THE BEGINNING OF THE BUFFER
89
90 ;;;RIGHT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
91 abufferR delayr 1.2 ;CREATE A DELAY BUFFER OF 5 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE)
92 adelsigR deltap3 adlt ;TAP THE DELAY LINE AT gkdlt SECONDS
93 delayw gasigR + (adelsigR * gkfeedamt) ;WRITE AUDIO SOURCE AND FEEDBACK SIGNAL INTO THE BEGINNING OF THE BUFFER
94 elseif gkmode=1 then
95 adelsigL flanger gasigL, adlt, gkfeedamt , 1.2
96 adelsigR flanger gasigR, adlt, gkfeedamt , 1.2
97 endif
98 aL ntrpol gasigL, adelsigL, gkmix ;CREATE DRY/WET MIX
99 aR ntrpol gasigR, adelsigR, gkmix ;CREATE DRY/WET MIX
100
101 outs aL * gkamp, aR * gkamp ;CREATE A MIX BETWEEN THE WET AND THE DRY SIGNALS AT THE OUTPUT
102 clear gasigL, gasigR ;CLEAR THE GLOBAL AUDIO SEND VARIABLES
103 endin
104 </CsInstruments>
105 <CsScore>
106 ;INSTR | START | DURATION
107 i 10 0 -1 ;GUI
108 i 2 0 -1 ;INSTRUMENT 2 PLAYS A HELD NOTE
109
110 f 0 3600 ;'DUMMY' SCORE EVENT KEEPS REALTIME PERFORMANCE GOING FOR 1 HOUR
111 </CsScore>
112 </CsoundSynthesizer>
113 <bsbPanel>
114 <label>Widgets</label>
115 <objectName/>
116 <x>72</x>
117 <y>179</y>
118 <width>882</width>
119 <height>515</height>
120 <visible>true</visible>
121 <uuid/>
122 <bgcolor mode="background">
123 <r>241</r>
124 <g>226</g>
125 <b>185</b>
126 </bgcolor>
127 <bsbObject version="2" type="BSBLabel">
128 <objectName/>
129 <x>2</x>
130 <y>2</y>
131 <width>515</width>
132 <height>470</height>
133 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
134 <visible>true</visible>
135 <midichan>0</midichan>
136 <midicc>0</midicc>
137 <label>Flanger Implementation</label>
138 <alignment>center</alignment>
139 <font>Liberation Sans</font>
140 <fontsize>18</fontsize>
141 <precision>3</precision>
142 <color>
143 <r>0</r>
144 <g>0</g>
145 <b>0</b>
146 </color>
147 <bgcolor mode="background">
148 <r>158</r>
149 <g>220</g>
150 <b>217</b>
151 </bgcolor>
152 <bordermode>border</bordermode>
153 <borderradius>5</borderradius>
154 <borderwidth>2</borderwidth>
155 </bsbObject>
156 <bsbObject version="2" type="BSBButton">
157 <objectName/>
158 <x>5</x>
159 <y>5</y>
160 <width>123</width>
161 <height>33</height>
162 <uuid>{487d5181-d838-4cce-9628-317fefc350cb}</uuid>
163 <visible>true</visible>
164 <midichan>0</midichan>
165 <midicc>0</midicc>
166 <type>event</type>
167 <pressedValue>1.00000000</pressedValue>
168 <stringvalue/>
169 <text> ON / OFF</text>
170 <image>/</image>
171 <eventLine>i 1 0 -1</eventLine>
172 <latch>true</latch>
173 <latched>false</latched>
174 </bsbObject>
175 <bsbObject version="2" type="BSBHSlider">
176 <objectName>Live_Input_Gain</objectName>
177 <x>8</x>
178 <y>47</y>
179 <width>500</width>
180 <height>27</height>
181 <uuid>{de47f47d-bcea-4c1c-ab4b-a323452b1f7e}</uuid>
182 <visible>true</visible>
183 <midichan>0</midichan>
184 <midicc>0</midicc>
185 <minimum>0.00000000</minimum>
186 <maximum>1.00000000</maximum>
187 <value>0.38600000</value>
188 <mode>lin</mode>
189 <mouseControl act="jump">continuous</mouseControl>
190 <resolution>-1.00000000</resolution>
191 <randomizable group="0">false</randomizable>
192 </bsbObject>
193 <bsbObject version="2" type="BSBLabel">
194 <objectName/>
195 <x>8</x>
196 <y>64</y>
197 <width>120</width>
198 <height>30</height>
199 <uuid>{0200a063-5db8-4668-bc2d-2d989a083f6e}</uuid>
200 <visible>true</visible>
201 <midichan>0</midichan>
202 <midicc>0</midicc>
203 <label>Live input Gain</label>
204 <alignment>left</alignment>
205 <font>Arial</font>
206 <fontsize>10</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 version="2" type="BSBDisplay">
223 <objectName>Live_Input_Gain</objectName>
224 <x>448</x>
225 <y>64</y>
226 <width>60</width>
227 <height>30</height>
228 <uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid>
229 <visible>true</visible>
230 <midichan>0</midichan>
231 <midicc>0</midicc>
232 <label>0.386</label>
233 <alignment>right</alignment>
234 <font>Arial</font>
235 <fontsize>9</fontsize>
236 <precision>3</precision>
237 <color>
238 <r>0</r>
239 <g>0</g>
240 <b>0</b>
241 </color>
242 <bgcolor mode="nobackground">
243 <r>255</r>
244 <g>255</g>
245 <b>255</b>
246 </bgcolor>
247 <bordermode>noborder</bordermode>
248 <borderradius>1</borderradius>
249 <borderwidth>1</borderwidth>
250 </bsbObject>
251 <bsbObject version="2" type="BSBLabel">
252 <objectName/>
253 <x>518</x>
254 <y>2</y>
255 <width>349</width>
256 <height>470</height>
257 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
258 <visible>true</visible>
259 <midichan>0</midichan>
260 <midicc>0</midicc>
261 <label>Flanger Implementation</label>
262 <alignment>center</alignment>
263 <font>Liberation Sans</font>
264 <fontsize>18</fontsize>
265 <precision>3</precision>
266 <color>
267 <r>0</r>
268 <g>0</g>
269 <b>0</b>
270 </color>
271 <bgcolor mode="background">
272 <r>158</r>
273 <g>220</g>
274 <b>217</b>
275 </bgcolor>
276 <bordermode>border</bordermode>
277 <borderradius>5</borderradius>
278 <borderwidth>2</borderwidth>
279 </bsbObject>
280 <bsbObject version="2" type="BSBLabel">
281 <objectName/>
282 <x>522</x>
283 <y>21</y>
284 <width>340</width>
285 <height>450</height>
286 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
287 <visible>true</visible>
288 <midichan>0</midichan>
289 <midicc>0</midicc>
290 <label>---------------------------------------------------------------------
291 A flanger is really just a delay effect where the delay tap is slowly modulated using an LFO (Low Frequency Oscillator). Typically the delay times involved in this system are very short so that rather than being able to hear distinct echoes, the comb filtering effect of very short delays is evident. A feedback loop is essential to creating the sound of a flanger. A flanger derives its name from that fact that when originally implemented using reel-to-reel tape recorders the engineer was required to rub their finger against the flange of the reel of tape with varying pressure in order to create the short varying delay time modulations.
292 In this example the user can choose between a sound file as input or the computer's live input. A gain control is provided to control the gain of the live input. Csound alos contains an opcode called 'flanger' dedicated to reproducing this effect. At the bottom of the GUI the user can switch between a flanger created from first principles using deltapr deltap3 and deltapw and one created using this dedicated opcode. It will be heard that the results are very similar.</label>
293 <alignment>left</alignment>
294 <font>Liberation Sans</font>
295 <fontsize>14</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="BSBDisplay">
312 <objectName>Delay_Time_Value</objectName>
313 <x>447</x>
314 <y>107</y>
315 <width>60</width>
316 <height>30</height>
317 <uuid>{732b2008-7445-4893-a260-e68561cf8e71}</uuid>
318 <visible>true</visible>
319 <midichan>0</midichan>
320 <midicc>0</midicc>
321 <label>0.000</label>
322 <alignment>right</alignment>
323 <font>Arial</font>
324 <fontsize>9</fontsize>
325 <precision>3</precision>
326 <color>
327 <r>0</r>
328 <g>0</g>
329 <b>0</b>
330 </color>
331 <bgcolor mode="nobackground">
332 <r>255</r>
333 <g>255</g>
334 <b>255</b>
335 </bgcolor>
336 <bordermode>noborder</bordermode>
337 <borderradius>1</borderradius>
338 <borderwidth>1</borderwidth>
339 </bsbObject>
340 <bsbObject version="2" type="BSBLabel">
341 <objectName/>
342 <x>7</x>
343 <y>107</y>
344 <width>120</width>
345 <height>30</height>
346 <uuid>{b57ba536-8f28-4986-9bf7-8eb84262d8ca}</uuid>
347 <visible>true</visible>
348 <midichan>0</midichan>
349 <midicc>0</midicc>
350 <label>Delay Time (sec)</label>
351 <alignment>left</alignment>
352 <font>Arial</font>
353 <fontsize>10</fontsize>
354 <precision>3</precision>
355 <color>
356 <r>0</r>
357 <g>0</g>
358 <b>0</b>
359 </color>
360 <bgcolor mode="nobackground">
361 <r>255</r>
362 <g>255</g>
363 <b>255</b>
364 </bgcolor>
365 <bordermode>noborder</bordermode>
366 <borderradius>1</borderradius>
367 <borderwidth>1</borderwidth>
368 </bsbObject>
369 <bsbObject version="2" type="BSBHSlider">
370 <objectName>Delay_Time</objectName>
371 <x>7</x>
372 <y>90</y>
373 <width>500</width>
374 <height>27</height>
375 <uuid>{b8fa76b9-3d04-4156-a2f2-a413d3864da3}</uuid>
376 <visible>true</visible>
377 <midichan>0</midichan>
378 <midicc>0</midicc>
379 <minimum>0.00000000</minimum>
380 <maximum>1.00000000</maximum>
381 <value>0.00000000</value>
382 <mode>lin</mode>
383 <mouseControl act="jump">continuous</mouseControl>
384 <resolution>-1.00000000</resolution>
385 <randomizable group="0">false</randomizable>
386 </bsbObject>
387 <bsbObject version="2" type="BSBDropdown">
388 <objectName>Input</objectName>
389 <x>119</x>
390 <y>375</y>
391 <width>120</width>
392 <height>30</height>
393 <uuid>{9b81a1f2-bcb8-4582-925b-9ae56def3865}</uuid>
394 <visible>true</visible>
395 <midichan>0</midichan>
396 <midicc>0</midicc>
397 <bsbDropdownItemList>
398 <bsbDropdownItem>
399 <name>Audio File</name>
400 <value>0</value>
401 <stringvalue/>
402 </bsbDropdownItem>
403 <bsbDropdownItem>
404 <name> Live Input</name>
405 <value>1</value>
406 <stringvalue/>
407 </bsbDropdownItem>
408 </bsbDropdownItemList>
409 <selectedIndex>0</selectedIndex>
410 <randomizable group="0">false</randomizable>
411 </bsbObject>
412 <bsbObject version="2" type="BSBLabel">
413 <objectName/>
414 <x>37</x>
415 <y>375</y>
416 <width>80</width>
417 <height>30</height>
418 <uuid>{62eeb695-9b83-42da-81cd-8000c232d9b9}</uuid>
419 <visible>true</visible>
420 <midichan>0</midichan>
421 <midicc>0</midicc>
422 <label>Input</label>
423 <alignment>right</alignment>
424 <font>Arial</font>
425 <fontsize>10</fontsize>
426 <precision>3</precision>
427 <color>
428 <r>0</r>
429 <g>0</g>
430 <b>0</b>
431 </color>
432 <bgcolor mode="nobackground">
433 <r>255</r>
434 <g>255</g>
435 <b>255</b>
436 </bgcolor>
437 <bordermode>noborder</bordermode>
438 <borderradius>1</borderradius>
439 <borderwidth>1</borderwidth>
440 </bsbObject>
441 <bsbObject version="2" type="BSBHSlider">
442 <objectName>Output_Amplitude_Rescaling</objectName>
443 <x>7</x>
444 <y>219</y>
445 <width>500</width>
446 <height>27</height>
447 <uuid>{b7e7b8ab-140d-45bf-8c52-607bbf726f46}</uuid>
448 <visible>true</visible>
449 <midichan>0</midichan>
450 <midicc>0</midicc>
451 <minimum>0.00000000</minimum>
452 <maximum>1.00000000</maximum>
453 <value>0.79800000</value>
454 <mode>lin</mode>
455 <mouseControl act="jump">continuous</mouseControl>
456 <resolution>-1.00000000</resolution>
457 <randomizable group="0">false</randomizable>
458 </bsbObject>
459 <bsbObject version="2" type="BSBLabel">
460 <objectName/>
461 <x>7</x>
462 <y>236</y>
463 <width>170</width>
464 <height>30</height>
465 <uuid>{92773515-22ba-4f64-b658-78264fc33aba}</uuid>
466 <visible>true</visible>
467 <midichan>0</midichan>
468 <midicc>0</midicc>
469 <label>Output Amplitude Rescaling</label>
470 <alignment>left</alignment>
471 <font>Arial</font>
472 <fontsize>10</fontsize>
473 <precision>3</precision>
474 <color>
475 <r>0</r>
476 <g>0</g>
477 <b>0</b>
478 </color>
479 <bgcolor mode="nobackground">
480 <r>255</r>
481 <g>255</g>
482 <b>255</b>
483 </bgcolor>
484 <bordermode>noborder</bordermode>
485 <borderradius>1</borderradius>
486 <borderwidth>1</borderwidth>
487 </bsbObject>
488 <bsbObject version="2" type="BSBDisplay">
489 <objectName>Output_Amplitude_Rescaling</objectName>
490 <x>447</x>
491 <y>236</y>
492 <width>60</width>
493 <height>30</height>
494 <uuid>{cd171d26-552e-4958-b526-275d452ec385}</uuid>
495 <visible>true</visible>
496 <midichan>0</midichan>
497 <midicc>0</midicc>
498 <label>0.798</label>
499 <alignment>right</alignment>
500 <font>Arial</font>
501 <fontsize>9</fontsize>
502 <precision>3</precision>
503 <color>
504 <r>0</r>
505 <g>0</g>
506 <b>0</b>
507 </color>
508 <bgcolor mode="nobackground">
509 <r>255</r>
510 <g>255</g>
511 <b>255</b>
512 </bgcolor>
513 <bordermode>noborder</bordermode>
514 <borderradius>1</borderradius>
515 <borderwidth>1</borderwidth>
516 </bsbObject>
517 <bsbObject version="2" type="BSBDisplay">
518 <objectName>Mix</objectName>
519 <x>447</x>
520 <y>150</y>
521 <width>60</width>
522 <height>30</height>
523 <uuid>{5cd56315-4bac-452e-92eb-a031b288b36f}</uuid>
524 <visible>true</visible>
525 <midichan>0</midichan>
526 <midicc>0</midicc>
527 <label>0.840</label>
528 <alignment>right</alignment>
529 <font>Arial</font>
530 <fontsize>9</fontsize>
531 <precision>3</precision>
532 <color>
533 <r>0</r>
534 <g>0</g>
535 <b>0</b>
536 </color>
537 <bgcolor mode="nobackground">
538 <r>255</r>
539 <g>255</g>
540 <b>255</b>
541 </bgcolor>
542 <bordermode>noborder</bordermode>
543 <borderradius>1</borderradius>
544 <borderwidth>1</borderwidth>
545 </bsbObject>
546 <bsbObject version="2" type="BSBLabel">
547 <objectName/>
548 <x>7</x>
549 <y>150</y>
550 <width>120</width>
551 <height>30</height>
552 <uuid>{e2cef5dc-8935-405f-98da-e8a167a68d8a}</uuid>
553 <visible>true</visible>
554 <midichan>0</midichan>
555 <midicc>0</midicc>
556 <label>Dry / Wet Mix</label>
557 <alignment>left</alignment>
558 <font>Arial</font>
559 <fontsize>10</fontsize>
560 <precision>3</precision>
561 <color>
562 <r>0</r>
563 <g>0</g>
564 <b>0</b>
565 </color>
566 <bgcolor mode="nobackground">
567 <r>255</r>
568 <g>255</g>
569 <b>255</b>
570 </bgcolor>
571 <bordermode>noborder</bordermode>
572 <borderradius>1</borderradius>
573 <borderwidth>1</borderwidth>
574 </bsbObject>
575 <bsbObject version="2" type="BSBHSlider">
576 <objectName>Mix</objectName>
577 <x>7</x>
578 <y>133</y>
579 <width>500</width>
580 <height>27</height>
581 <uuid>{ac0fd134-af88-448c-8e28-0198f559ba34}</uuid>
582 <visible>true</visible>
583 <midichan>0</midichan>
584 <midicc>0</midicc>
585 <minimum>0.00000000</minimum>
586 <maximum>1.00000000</maximum>
587 <value>0.84000000</value>
588 <mode>lin</mode>
589 <mouseControl act="jump">continuous</mouseControl>
590 <resolution>-1.00000000</resolution>
591 <randomizable group="0">false</randomizable>
592 </bsbObject>
593 <bsbObject version="2" type="BSBDisplay">
594 <objectName>Flanger_Modulation_Depth</objectName>
595 <x>447</x>
596 <y>279</y>
597 <width>60</width>
598 <height>30</height>
599 <uuid>{c14cc927-5ac1-4f6a-8181-6a50801accaa}</uuid>
600 <visible>true</visible>
601 <midichan>0</midichan>
602 <midicc>0</midicc>
603 <label>0.012</label>
604 <alignment>right</alignment>
605 <font>Arial</font>
606 <fontsize>9</fontsize>
607 <precision>3</precision>
608 <color>
609 <r>0</r>
610 <g>0</g>
611 <b>0</b>
612 </color>
613 <bgcolor mode="nobackground">
614 <r>255</r>
615 <g>255</g>
616 <b>255</b>
617 </bgcolor>
618 <bordermode>noborder</bordermode>
619 <borderradius>1</borderradius>
620 <borderwidth>1</borderwidth>
621 </bsbObject>
622 <bsbObject version="2" type="BSBLabel">
623 <objectName/>
624 <x>7</x>
625 <y>279</y>
626 <width>180</width>
627 <height>30</height>
628 <uuid>{f4b96abf-8cf5-4456-a057-6b785e9c4b8d}</uuid>
629 <visible>true</visible>
630 <midichan>0</midichan>
631 <midicc>0</midicc>
632 <label>Flanger Modulation Depth (sec)</label>
633 <alignment>left</alignment>
634 <font>Arial</font>
635 <fontsize>10</fontsize>
636 <precision>3</precision>
637 <color>
638 <r>0</r>
639 <g>0</g>
640 <b>0</b>
641 </color>
642 <bgcolor mode="nobackground">
643 <r>255</r>
644 <g>255</g>
645 <b>255</b>
646 </bgcolor>
647 <bordermode>noborder</bordermode>
648 <borderradius>1</borderradius>
649 <borderwidth>1</borderwidth>
650 </bsbObject>
651 <bsbObject version="2" type="BSBHSlider">
652 <objectName>Flanger_Modulation_Depth</objectName>
653 <x>7</x>
654 <y>262</y>
655 <width>500</width>
656 <height>27</height>
657 <uuid>{432d4976-cb71-4373-943b-6378da54ddb5}</uuid>
658 <visible>true</visible>
659 <midichan>0</midichan>
660 <midicc>0</midicc>
661 <minimum>0.00000000</minimum>
662 <maximum>0.20000000</maximum>
663 <value>0.01200000</value>
664 <mode>lin</mode>
665 <mouseControl act="jump">continuous</mouseControl>
666 <resolution>-1.00000000</resolution>
667 <randomizable group="0">false</randomizable>
668 </bsbObject>
669 <bsbObject version="2" type="BSBHSlider">
670 <objectName>Feedback_Amount</objectName>
671 <x>7</x>
672 <y>176</y>
673 <width>500</width>
674 <height>27</height>
675 <uuid>{3e2b62e8-f887-4073-8258-caac477a80b0}</uuid>
676 <visible>true</visible>
677 <midichan>0</midichan>
678 <midicc>0</midicc>
679 <minimum>-0.99000000</minimum>
680 <maximum>0.99000000</maximum>
681 <value>0.78408000</value>
682 <mode>lin</mode>
683 <mouseControl act="jump">continuous</mouseControl>
684 <resolution>-1.00000000</resolution>
685 <randomizable group="0">false</randomizable>
686 </bsbObject>
687 <bsbObject version="2" type="BSBLabel">
688 <objectName/>
689 <x>7</x>
690 <y>193</y>
691 <width>120</width>
692 <height>30</height>
693 <uuid>{41296e1f-c3d7-4fef-83aa-c850d5b4e198}</uuid>
694 <visible>true</visible>
695 <midichan>0</midichan>
696 <midicc>0</midicc>
697 <label>Feedback Amount</label>
698 <alignment>left</alignment>
699 <font>Arial</font>
700 <fontsize>10</fontsize>
701 <precision>3</precision>
702 <color>
703 <r>0</r>
704 <g>0</g>
705 <b>0</b>
706 </color>
707 <bgcolor mode="nobackground">
708 <r>255</r>
709 <g>255</g>
710 <b>255</b>
711 </bgcolor>
712 <bordermode>noborder</bordermode>
713 <borderradius>1</borderradius>
714 <borderwidth>1</borderwidth>
715 </bsbObject>
716 <bsbObject version="2" type="BSBDisplay">
717 <objectName>Feedback_Amount</objectName>
718 <x>447</x>
719 <y>193</y>
720 <width>60</width>
721 <height>30</height>
722 <uuid>{5fdf1ae1-cf86-495a-b201-685173b6ff11}</uuid>
723 <visible>true</visible>
724 <midichan>0</midichan>
725 <midicc>0</midicc>
726 <label>0.784</label>
727 <alignment>right</alignment>
728 <font>Arial</font>
729 <fontsize>9</fontsize>
730 <precision>3</precision>
731 <color>
732 <r>0</r>
733 <g>0</g>
734 <b>0</b>
735 </color>
736 <bgcolor mode="nobackground">
737 <r>255</r>
738 <g>255</g>
739 <b>255</b>
740 </bgcolor>
741 <bordermode>noborder</bordermode>
742 <borderradius>1</borderradius>
743 <borderwidth>1</borderwidth>
744 </bsbObject>
745 <bsbObject version="2" type="BSBDisplay">
746 <objectName>Flanger_Modulation_Rate_Value</objectName>
747 <x>447</x>
748 <y>322</y>
749 <width>60</width>
750 <height>30</height>
751 <uuid>{a0bed878-0b29-4c88-b71f-5f3d2d4fb83d}</uuid>
752 <visible>true</visible>
753 <midichan>0</midichan>
754 <midicc>0</midicc>
755 <label>0.097</label>
756 <alignment>right</alignment>
757 <font>Arial</font>
758 <fontsize>9</fontsize>
759 <precision>3</precision>
760 <color>
761 <r>0</r>
762 <g>0</g>
763 <b>0</b>
764 </color>
765 <bgcolor mode="nobackground">
766 <r>255</r>
767 <g>255</g>
768 <b>255</b>
769 </bgcolor>
770 <bordermode>noborder</bordermode>
771 <borderradius>1</borderradius>
772 <borderwidth>1</borderwidth>
773 </bsbObject>
774 <bsbObject version="2" type="BSBLabel">
775 <objectName/>
776 <x>7</x>
777 <y>322</y>
778 <width>180</width>
779 <height>30</height>
780 <uuid>{5bd7d99f-d95b-4a22-9761-42252820286b}</uuid>
781 <visible>true</visible>
782 <midichan>0</midichan>
783 <midicc>0</midicc>
784 <label>Flanger Modulation Rate (hz)</label>
785 <alignment>left</alignment>
786 <font>Arial</font>
787 <fontsize>10</fontsize>
788 <precision>3</precision>
789 <color>
790 <r>0</r>
791 <g>0</g>
792 <b>0</b>
793 </color>
794 <bgcolor mode="nobackground">
795 <r>255</r>
796 <g>255</g>
797 <b>255</b>
798 </bgcolor>
799 <bordermode>noborder</bordermode>
800 <borderradius>1</borderradius>
801 <borderwidth>1</borderwidth>
802 </bsbObject>
803 <bsbObject version="2" type="BSBHSlider">
804 <objectName>Flanger_Modulation_Rate</objectName>
805 <x>7</x>
806 <y>305</y>
807 <width>500</width>
808 <height>27</height>
809 <uuid>{25c8b61d-77ce-4cdd-97e2-44086cffb042}</uuid>
810 <visible>true</visible>
811 <midichan>0</midichan>
812 <midicc>0</midicc>
813 <minimum>0.00000000</minimum>
814 <maximum>1.00000000</maximum>
815 <value>0.61600000</value>
816 <mode>lin</mode>
817 <mouseControl act="jump">continuous</mouseControl>
818 <resolution>-1.00000000</resolution>
819 <randomizable group="0">false</randomizable>
820 </bsbObject>
821 <bsbObject version="2" type="BSBLabel">
822 <objectName/>
823 <x>250</x>
824 <y>375</y>
825 <width>80</width>
826 <height>30</height>
827 <uuid>{ad2d2c50-18e7-4e6b-945c-b6b30e9bfd15}</uuid>
828 <visible>true</visible>
829 <midichan>0</midichan>
830 <midicc>0</midicc>
831 <label>Mode</label>
832 <alignment>right</alignment>
833 <font>Arial</font>
834 <fontsize>10</fontsize>
835 <precision>3</precision>
836 <color>
837 <r>0</r>
838 <g>0</g>
839 <b>0</b>
840 </color>
841 <bgcolor mode="nobackground">
842 <r>255</r>
843 <g>255</g>
844 <b>255</b>
845 </bgcolor>
846 <bordermode>noborder</bordermode>
847 <borderradius>1</borderradius>
848 <borderwidth>1</borderwidth>
849 </bsbObject>
850 <bsbObject version="2" type="BSBDropdown">
851 <objectName>Mode</objectName>
852 <x>331</x>
853 <y>375</y>
854 <width>150</width>
855 <height>30</height>
856 <uuid>{db32fd7e-a193-4181-8aef-d9644aa64252}</uuid>
857 <visible>true</visible>
858 <midichan>0</midichan>
859 <midicc>0</midicc>
860 <bsbDropdownItemList>
861 <bsbDropdownItem>
862 <name>First Principles</name>
863 <value>0</value>
864 <stringvalue/>
865 </bsbDropdownItem>
866 <bsbDropdownItem>
867 <name> Flanger Opcode</name>
868 <value>1</value>
869 <stringvalue/>
870 </bsbDropdownItem>
871 </bsbDropdownItemList>
872 <selectedIndex>0</selectedIndex>
873 <randomizable group="0">false</randomizable>
874 </bsbObject>
875 <bsbObject version="2" type="BSBButton">
876 <objectName>_Browse1</objectName>
877 <x>7</x>
878 <y>414</y>
879 <width>170</width>
880 <height>30</height>
881 <uuid>{8e7819e7-bd0a-4771-aff2-69c0d6681cb1}</uuid>
882 <visible>true</visible>
883 <midichan>0</midichan>
884 <midicc>0</midicc>
885 <type>value</type>
886 <pressedValue>1.00000000</pressedValue>
887 <stringvalue>808loop.wav</stringvalue>
888 <text>Browse Audio File</text>
889 <image>/</image>
890 <eventLine/>
891 <latch>false</latch>
892 <latched>false</latched>
893 </bsbObject>
894 <bsbObject version="2" type="BSBLineEdit">
895 <objectName>_Browse1</objectName>
896 <x>178</x>
897 <y>415</y>
898 <width>330</width>
899 <height>28</height>
900 <uuid>{cfa492d9-d223-43c0-a21e-6af2eb9a6a89}</uuid>
901 <visible>true</visible>
902 <midichan>0</midichan>
903 <midicc>0</midicc>
904 <label>808loop.wav</label>
905 <alignment>left</alignment>
906 <font>Arial</font>
907 <fontsize>10</fontsize>
908 <precision>3</precision>
909 <color>
910 <r>0</r>
911 <g>0</g>
912 <b>0</b>
913 </color>
914 <bgcolor mode="nobackground">
915 <r>206</r>
916 <g>206</g>
917 <b>206</b>
918 </bgcolor>
919 <background>nobackground</background>
920 </bsbObject>
921 <bsbObject version="2" type="BSBLabel">
922 <objectName/>
923 <x>178</x>
924 <y>443</y>
925 <width>330</width>
926 <height>30</height>
927 <uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid>
928 <visible>true</visible>
929 <midichan>0</midichan>
930 <midicc>0</midicc>
931 <label>Restart the instrument after changing the audio file.</label>
932 <alignment>left</alignment>
933 <font>Liberation Sans</font>
934 <fontsize>12</fontsize>
935 <precision>3</precision>
936 <color>
937 <r>0</r>
938 <g>0</g>
939 <b>0</b>
940 </color>
941 <bgcolor mode="nobackground">
942 <r>255</r>
943 <g>255</g>
944 <b>255</b>
945 </bgcolor>
946 <bordermode>noborder</bordermode>
947 <borderradius>1</borderradius>
948 <borderwidth>1</borderwidth>
949 </bsbObject>
950 </bsbPanel>
951 <bsbPresets>
952 </bsbPresets>