Debian Codegraph @

src/Examples/McCurdy Collection/Filters/hilbert.csd

raw
1 ;Written by Iain McCurdy, 2009.
2 ;Parts of this example are based on the two examples given in the Csound Manual originally written by Sean Costello.
3
4 ;Modified for QuteCsound by René, October 2010, updated Feb 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
11
12 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
13 <CsoundSynthesizer>
14 <CsOptions>
15 --env:SSDIR+=../../SourceMaterials
16 </CsOptions>
17 <CsInstruments>
18 sr = 44100 ;SAMPLE RATE
19 ksmps = 1 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE (BECAUSE OF THE USE OF A FEEDBACK LOOP kr MUST EQUAL sr)
20 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
21
22
23 gisine ftgen 1, 0, 131072, 10, 1
24 giExp10000 ftgen 0, 0, 129, -25, 0, 1.0, 128, 10000.0 ;TABLE FOR EXP SLIDER
25
26
27 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
28 ;gives stereo output regardless your soundfile is mono or stereo
29 Sfil, kspeed, iskip, iloop xin
30 ichn filenchnls Sfil
31 if ichn == 1 then
32 aL diskin2 Sfil, kspeed, iskip, iloop
33 aR = aL
34 else
35 aL, aR diskin2 Sfil, kspeed, iskip, iloop
36 endif
37 xout aL, aR
38 endop
39
40
41 instr 1 ;GUI
42
43 Sfile_new strcpy "" ;INIT TO EMPTY STRING
44
45 ktrig metro 10
46 if (ktrig == 1) then
47 gkfshift invalue "Frequency_Shift"
48 gkfshiftmlt invalue "Frequency_Shift_Multiplier"
49 gkingain invalue "Input_Gain"
50 kVCOfrq invalue "Saw_Freq"
51 gkVCOfrq tablei kVCOfrq, giExp10000, 1
52 outvalue "Saw_Freq_Value", gkVCOfrq
53 gkUpShiftGain invalue "Up-Shift_Gain"
54 gkDownShiftGain invalue "Down-Shift_Gain"
55 gkFB_Gain invalue "Feedback_Gain"
56 gkdwmix invalue "Dry_Wet_Mix"
57 gkoutgain invalue "Output_Gain"
58
59 kfshift = gkfshift * gkfshiftmlt ;FREQUENCY VALUE IS DERIVED FROM PRODUCT OF 'Frequency Shift' AND 'Frequency Shift Multiplier' SLIDER
60 ktrig1 changed kfshift
61 if ktrig1 ==1 then
62 outvalue "Frequency_Shift_Value", kfshift ;VALUE DISPLAY BOX IS UPDATED WHENEVER kshift CHANGES
63 endif
64
65 gksoundfile invalue "Input"
66
67 gSfile invalue "_Browse"
68 Sfile_old strcpyk Sfile_new
69 Sfile_new strcpyk gSfile
70 gkfile strcmpk Sfile_new, Sfile_old
71 endif
72 endin
73
74 instr 2 ;HILBERT FILTERING INSTRUMENT
75 amix init 0 ;INITIALISE amix SIGNAL (NEEDED FOR FEEDBACK SIGNAL ON INITIAL PASS)
76
77 kfshift = gkfshift * gkfshiftmlt ;FREQUENCY VALUE IS DERIVED FROM PRODUCT OF 'Frequency Shift' AND 'Frequency Shift Multiplier' SLIDER
78
79 kporttime linseg 0, 0.001, 0.05, 1, 0.05 ;PORTAMENTO FUNCTION RISES FROM ZERO
80 kVCOfrq portk gkVCOfrq, kporttime ;PORTAMENTO APPLIED TO VARIABLE
81 kfshift portk kfshift, kporttime ;PORTAMENTO APPLIED TO VARIABLE
82
83 ;SOURCE SOUND IS SELECTED
84 if gksoundfile==0 then ;IF BUTTON-BANK VALUE IS 0...
85 ain inch 1 ;ain IS LIVE INPUT
86 ain = ain * gkingain ;LIVE INPUT MULTIPLIED BY INPUT GAIN SLIDER VALUE
87 elseif gksoundfile==1 then ;IF BUTTON-BANK VALUE IS 1...
88 kNew_file changed gkfile ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
89 if kNew_file==1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
90 reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
91 endif
92 NEW_FILE:
93 ;OUTPUTS OPCODE FILE | SPEED | INSKIP | LOOPING (0=OFF 1=ON)
94 ain, asigR FilePlay2 gSfile, 1, 0, 1 ;ain IS SAMPLE FILE
95 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
96 else
97 ain vco 10000, kVCOfrq, 1, 0.5, gisine ;ain IS SAW WAVEFORM SAMPLE
98 endif ;END OF CONDITIONAL BRANCHING
99
100 ain = ain + (amix * gkFB_Gain) ;ADD FEEDBACK SIGNAL TO INPUT (AMOUNT OF FEEDBACK CONTROLLED BY 'Feedback Gain' SLIDER)
101 areal, aimag hilbert ain ;HILBERT OPCODE OUTPUTS TWO PHASE SHIFTED SIGNALS, EACH 90 OUT OF PHASE WITH EACH OTHER
102
103 ;QUADRATURE OSCILLATORS. I.E. 90 OUT OF PHASE WITH RESPECT TO EACH OTHER
104 ;OUTUTS OPCODE AMPLITUDE | FREQ. | FUNCTION_TABLE | INITIAL_PHASE (OPTIONAL;DEFAULTS TO ZERO)
105 asin oscili 1, kfshift, gisine, 0
106 acos oscili 1, kfshift, gisine, .25
107 ;RING MODULATE EACH SIGNAL USING THE QUADRATURE OSCILLATORS AS MODULATORS
108 amod1 = areal * acos
109 amod2 = aimag * asin
110 ;UPSHIFTING OUTPUT
111 aupshift = (amod1 - amod2)
112 ;DOWNSHIFTING OUTPUT
113 adownshift = (amod1 + amod2)
114 ;CREATE A MIX OF THE UPSHIFTING OUTPUT SIGNAL AND THE DOWNSHIFTING OUTPUT SIGNAL. MIX IS CONTROLLED BY FLTK SLIDERS 'Up-Shift Gain' AND 'Down-Shift Gain'
115 amix sum aupshift * gkUpShiftGain, adownshift * gkDownShiftGain
116 ;CREATE A DRY/WET MIX
117 amix ntrpol ain, amix, gkdwmix ;DRY/WET MIX IS CREATED
118 outs amix * gkoutgain, amix * gkoutgain ;SEND AUDIO TO OUTPUT AND SCALE USING THE FLTK SLIDER DERIVED VARIABLE gKoutgain
119 endin
120 </CsInstruments>
121 <CsScore>
122 ;INSTR | START | DURATION
123 i 1 0 3600 ;GUI
124 </CsScore>
125 </CsoundSynthesizer>
126
127 <bsbPanel>
128 <label>Widgets</label>
129 <objectName/>
130 <x>73</x>
131 <y>206</y>
132 <width>1105</width>
133 <height>552</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>513</width>
146 <height>550</height>
147 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
148 <visible>true</visible>
149 <midichan>0</midichan>
150 <midicc>0</midicc>
151 <label>hilbert</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>106</r>
163 <g>117</g>
164 <b>150</b>
165 </bgcolor>
166 <bordermode>border</bordermode>
167 <borderradius>5</borderradius>
168 <borderwidth>2</borderwidth>
169 </bsbObject>
170 <bsbObject version="2" type="BSBLabel">
171 <objectName/>
172 <x>517</x>
173 <y>2</y>
174 <width>588</width>
175 <height>550</height>
176 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
177 <visible>true</visible>
178 <midichan>0</midichan>
179 <midicc>0</midicc>
180 <label>hilbert</label>
181 <alignment>center</alignment>
182 <font>Liberation Sans</font>
183 <fontsize>18</fontsize>
184 <precision>3</precision>
185 <color>
186 <r>0</r>
187 <g>0</g>
188 <b>0</b>
189 </color>
190 <bgcolor mode="background">
191 <r>106</r>
192 <g>117</g>
193 <b>150</b>
194 </bgcolor>
195 <bordermode>border</bordermode>
196 <borderradius>5</borderradius>
197 <borderwidth>2</borderwidth>
198 </bsbObject>
199 <bsbObject version="2" type="BSBLabel">
200 <objectName/>
201 <x>519</x>
202 <y>21</y>
203 <width>583</width>
204 <height>528</height>
205 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
206 <visible>true</visible>
207 <midichan>0</midichan>
208 <midicc>0</midicc>
209 <label>------------------------------------------------------------------------------------------------------------------------------------------------
210 hilbert is an infinite impulse response (IIR) filter that outputs two signals that are in quadrature (i.e. are 90 out of phase with each other). Listened to on their own, these output signals will sound almost unchanged from the original but with further manipulation a variety of effects are possible. Internally the hilbert filter consists of two parallel 6th order allpass filters that induce a phase lag that increases with frequency but the phase difference between the two outputs for any given input frequency is always 90. Hilbert's output can be used to create a frequency shifting effect. A frequency shifter adds a specified number of cycles-per-second to every frequency of an input signal (as opposed to a pitch shifter which *multiplies* every frequency of an input signal by a specified amount). To complete the frequency shifting procedure the two signals are ring-modulated. The modulating waveforms used should also be in quadrature (90 out of phase with each other). The two resulting signals are either summed or one is subtracted from the other. If the signals are summed the resulting side-bands will be above the original frequency, if one has been subtracted from the other the resulting side-bands will be below the original frequency. In this example the gain of these two signals can be independently controlled using the 'Up-Shift Gain' and 'Down-Shift Gain' sliders. If equal gain is applied to both signals the result is the same as a ring-modulation effect. Frequency shift values can be negative. Applying negative values produces the effect of creating side-bands in the opposite direction of the frequency shift. This interface includes a slider which multiplies the frequency shift value by a value within the range 0 to -1. This can be useful for fine-tuning small frequency shift values and switching its polarity. A 'barber-pole' endlessly rising (or falling) phaser effect can be created by mixing the input signal with the output signal (use the 'Dry/Wet Mix' control) with small frequency shift amounts (typically less that 10 Hz). Fine control of the rate of the phaser effect can be executed using the 'Frequency Shift Multiplier' control. The effect can be intensified using the 'Feedback Gain' control which controls how much of the output signal is fed back into the input. Care should be taken when using the feature as dynamic resonances can be created which can overload and damage speakers (and ears!). When using feedback only one of the frequency shifters outputs should be used (controlled using Up/Down Shift Gain controls) and 'Dry/Wet Mix' should be kept at around 0.5. As the frequency shift value flips into the negative domain the phaser sweeps change direction from upwards to downwards. To explore the sonic possibilities of the frequency shifter a variety of source sound inputs are available in this example including the computer's live input.</label>
211 <alignment>left</alignment>
212 <font>Arial</font>
213 <fontsize>14</fontsize>
214 <precision>3</precision>
215 <color>
216 <r>0</r>
217 <g>0</g>
218 <b>0</b>
219 </color>
220 <bgcolor mode="nobackground">
221 <r>255</r>
222 <g>255</g>
223 <b>255</b>
224 </bgcolor>
225 <bordermode>noborder</bordermode>
226 <borderradius>1</borderradius>
227 <borderwidth>1</borderwidth>
228 </bsbObject>
229 <bsbObject version="2" type="BSBButton">
230 <objectName/>
231 <x>8</x>
232 <y>6</y>
233 <width>100</width>
234 <height>30</height>
235 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
236 <visible>true</visible>
237 <midichan>0</midichan>
238 <midicc>0</midicc>
239 <type>event</type>
240 <pressedValue>1.00000000</pressedValue>
241 <stringvalue/>
242 <text> ON / OFF</text>
243 <image>/</image>
244 <eventLine>i 2 0 -1</eventLine>
245 <latch>true</latch>
246 <latched>false</latched>
247 </bsbObject>
248 <bsbObject version="2" type="BSBDisplay">
249 <objectName>Frequency_Shift_Value</objectName>
250 <x>448</x>
251 <y>63</y>
252 <width>60</width>
253 <height>30</height>
254 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
255 <visible>true</visible>
256 <midichan>0</midichan>
257 <midicc>0</midicc>
258 <label>147.200</label>
259 <alignment>right</alignment>
260 <font>Arial</font>
261 <fontsize>9</fontsize>
262 <precision>3</precision>
263 <color>
264 <r>0</r>
265 <g>0</g>
266 <b>0</b>
267 </color>
268 <bgcolor mode="nobackground">
269 <r>255</r>
270 <g>255</g>
271 <b>255</b>
272 </bgcolor>
273 <bordermode>noborder</bordermode>
274 <borderradius>1</borderradius>
275 <borderwidth>1</borderwidth>
276 </bsbObject>
277 <bsbObject version="2" type="BSBHSlider">
278 <objectName>Frequency_Shift</objectName>
279 <x>8</x>
280 <y>46</y>
281 <width>500</width>
282 <height>27</height>
283 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
284 <visible>true</visible>
285 <midichan>0</midichan>
286 <midicc>0</midicc>
287 <minimum>-2000.00000000</minimum>
288 <maximum>2000.00000000</maximum>
289 <value>400.00000000</value>
290 <mode>lin</mode>
291 <mouseControl act="jump">continuous</mouseControl>
292 <resolution>-1.00000000</resolution>
293 <randomizable group="0">false</randomizable>
294 </bsbObject>
295 <bsbObject version="2" type="BSBLabel">
296 <objectName/>
297 <x>8</x>
298 <y>63</y>
299 <width>160</width>
300 <height>30</height>
301 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
302 <visible>true</visible>
303 <midichan>0</midichan>
304 <midicc>0</midicc>
305 <label>Frequency Shift</label>
306 <alignment>left</alignment>
307 <font>Arial</font>
308 <fontsize>10</fontsize>
309 <precision>3</precision>
310 <color>
311 <r>0</r>
312 <g>0</g>
313 <b>0</b>
314 </color>
315 <bgcolor mode="nobackground">
316 <r>255</r>
317 <g>255</g>
318 <b>255</b>
319 </bgcolor>
320 <bordermode>noborder</bordermode>
321 <borderradius>1</borderradius>
322 <borderwidth>1</borderwidth>
323 </bsbObject>
324 <bsbObject version="2" type="BSBLabel">
325 <objectName/>
326 <x>8</x>
327 <y>101</y>
328 <width>160</width>
329 <height>30</height>
330 <uuid>{f9f4369b-a39e-45aa-ba99-7457a534535f}</uuid>
331 <visible>true</visible>
332 <midichan>0</midichan>
333 <midicc>0</midicc>
334 <label>Frequency Shift Multiplier</label>
335 <alignment>left</alignment>
336 <font>Arial</font>
337 <fontsize>10</fontsize>
338 <precision>3</precision>
339 <color>
340 <r>0</r>
341 <g>0</g>
342 <b>0</b>
343 </color>
344 <bgcolor mode="nobackground">
345 <r>255</r>
346 <g>255</g>
347 <b>255</b>
348 </bgcolor>
349 <bordermode>noborder</bordermode>
350 <borderradius>1</borderradius>
351 <borderwidth>1</borderwidth>
352 </bsbObject>
353 <bsbObject version="2" type="BSBHSlider">
354 <objectName>Frequency_Shift_Multiplier</objectName>
355 <x>8</x>
356 <y>84</y>
357 <width>500</width>
358 <height>27</height>
359 <uuid>{42fe25e5-e98f-4f00-872c-f791822a1b3e}</uuid>
360 <visible>true</visible>
361 <midichan>0</midichan>
362 <midicc>0</midicc>
363 <minimum>-1.00000000</minimum>
364 <maximum>1.00000000</maximum>
365 <value>0.36800000</value>
366 <mode>lin</mode>
367 <mouseControl act="jump">continuous</mouseControl>
368 <resolution>-1.00000000</resolution>
369 <randomizable group="0">false</randomizable>
370 </bsbObject>
371 <bsbObject version="2" type="BSBDisplay">
372 <objectName>Frequency_Shift_Multiplier</objectName>
373 <x>448</x>
374 <y>101</y>
375 <width>60</width>
376 <height>30</height>
377 <uuid>{a8f35453-f236-447d-88d9-1a0b135383b6}</uuid>
378 <visible>true</visible>
379 <midichan>0</midichan>
380 <midicc>0</midicc>
381 <label>0.368</label>
382 <alignment>right</alignment>
383 <font>Arial</font>
384 <fontsize>9</fontsize>
385 <precision>3</precision>
386 <color>
387 <r>0</r>
388 <g>0</g>
389 <b>0</b>
390 </color>
391 <bgcolor mode="nobackground">
392 <r>255</r>
393 <g>255</g>
394 <b>255</b>
395 </bgcolor>
396 <bordermode>noborder</bordermode>
397 <borderradius>1</borderradius>
398 <borderwidth>1</borderwidth>
399 </bsbObject>
400 <bsbObject version="2" type="BSBLabel">
401 <objectName/>
402 <x>6</x>
403 <y>130</y>
404 <width>505</width>
405 <height>185</height>
406 <uuid>{667d0f57-0b13-414b-bd42-32d4b46f95e5}</uuid>
407 <visible>true</visible>
408 <midichan>0</midichan>
409 <midicc>0</midicc>
410 <label>Source</label>
411 <alignment>left</alignment>
412 <font>Arial Black</font>
413 <fontsize>14</fontsize>
414 <precision>3</precision>
415 <color>
416 <r>0</r>
417 <g>0</g>
418 <b>0</b>
419 </color>
420 <bgcolor mode="nobackground">
421 <r>255</r>
422 <g>255</g>
423 <b>255</b>
424 </bgcolor>
425 <bordermode>border</bordermode>
426 <borderradius>3</borderradius>
427 <borderwidth>1</borderwidth>
428 </bsbObject>
429 <bsbObject version="2" type="BSBDropdown">
430 <objectName>Input</objectName>
431 <x>192</x>
432 <y>139</y>
433 <width>118</width>
434 <height>30</height>
435 <uuid>{2ac8ef53-dfd3-4ca4-a750-fa0c50ba6c89}</uuid>
436 <visible>true</visible>
437 <midichan>0</midichan>
438 <midicc>0</midicc>
439 <bsbDropdownItemList>
440 <bsbDropdownItem>
441 <name>Live Input</name>
442 <value>0</value>
443 <stringvalue/>
444 </bsbDropdownItem>
445 <bsbDropdownItem>
446 <name>File Input</name>
447 <value>1</value>
448 <stringvalue/>
449 </bsbDropdownItem>
450 <bsbDropdownItem>
451 <name>Saw Gen</name>
452 <value>2</value>
453 <stringvalue/>
454 </bsbDropdownItem>
455 </bsbDropdownItemList>
456 <selectedIndex>1</selectedIndex>
457 <randomizable group="0">false</randomizable>
458 </bsbObject>
459 <bsbObject version="2" type="BSBLabel">
460 <objectName/>
461 <x>6</x>
462 <y>317</y>
463 <width>505</width>
464 <height>230</height>
465 <uuid>{604fc254-59e0-4cb4-8154-299cb3ce1611}</uuid>
466 <visible>true</visible>
467 <midichan>0</midichan>
468 <midicc>0</midicc>
469 <label>Mixer</label>
470 <alignment>left</alignment>
471 <font>Arial Black</font>
472 <fontsize>14</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>border</bordermode>
485 <borderradius>3</borderradius>
486 <borderwidth>1</borderwidth>
487 </bsbObject>
488 <bsbObject version="2" type="BSBDisplay">
489 <objectName>Saw_Freq_Value</objectName>
490 <x>448</x>
491 <y>229</y>
492 <width>60</width>
493 <height>30</height>
494 <uuid>{cceeb623-518a-4c05-a5ce-e634fec25b2c}</uuid>
495 <visible>true</visible>
496 <midichan>0</midichan>
497 <midicc>0</midicc>
498 <label>260.762</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="BSBHSlider">
518 <objectName>Saw_Freq</objectName>
519 <x>8</x>
520 <y>212</y>
521 <width>500</width>
522 <height>27</height>
523 <uuid>{a2c20148-99e4-412a-ab24-49b612a4aa96}</uuid>
524 <visible>true</visible>
525 <midichan>0</midichan>
526 <midicc>0</midicc>
527 <minimum>0.00000000</minimum>
528 <maximum>1.00000000</maximum>
529 <value>0.60400000</value>
530 <mode>lin</mode>
531 <mouseControl act="jump">continuous</mouseControl>
532 <resolution>-1.00000000</resolution>
533 <randomizable group="0">false</randomizable>
534 </bsbObject>
535 <bsbObject version="2" type="BSBLabel">
536 <objectName/>
537 <x>8</x>
538 <y>229</y>
539 <width>160</width>
540 <height>30</height>
541 <uuid>{7ff4db0d-04be-4eae-add2-45ab90918917}</uuid>
542 <visible>true</visible>
543 <midichan>0</midichan>
544 <midicc>0</midicc>
545 <label>Saw Frequency</label>
546 <alignment>left</alignment>
547 <font>Arial</font>
548 <fontsize>10</fontsize>
549 <precision>3</precision>
550 <color>
551 <r>0</r>
552 <g>0</g>
553 <b>0</b>
554 </color>
555 <bgcolor mode="nobackground">
556 <r>255</r>
557 <g>255</g>
558 <b>255</b>
559 </bgcolor>
560 <bordermode>noborder</bordermode>
561 <borderradius>1</borderradius>
562 <borderwidth>1</borderwidth>
563 </bsbObject>
564 <bsbObject version="2" type="BSBLabel">
565 <objectName/>
566 <x>8</x>
567 <y>191</y>
568 <width>160</width>
569 <height>30</height>
570 <uuid>{6e81737b-66a9-4320-834b-014bd895a502}</uuid>
571 <visible>true</visible>
572 <midichan>0</midichan>
573 <midicc>0</midicc>
574 <label>Input Gain</label>
575 <alignment>left</alignment>
576 <font>Arial</font>
577 <fontsize>10</fontsize>
578 <precision>3</precision>
579 <color>
580 <r>0</r>
581 <g>0</g>
582 <b>0</b>
583 </color>
584 <bgcolor mode="nobackground">
585 <r>255</r>
586 <g>255</g>
587 <b>255</b>
588 </bgcolor>
589 <bordermode>noborder</bordermode>
590 <borderradius>1</borderradius>
591 <borderwidth>1</borderwidth>
592 </bsbObject>
593 <bsbObject version="2" type="BSBHSlider">
594 <objectName>Input_Gain</objectName>
595 <x>8</x>
596 <y>174</y>
597 <width>500</width>
598 <height>27</height>
599 <uuid>{e480ff5a-92f6-4929-8602-8f780dca72b7}</uuid>
600 <visible>true</visible>
601 <midichan>0</midichan>
602 <midicc>0</midicc>
603 <minimum>0.00000000</minimum>
604 <maximum>1.00000000</maximum>
605 <value>0.00000000</value>
606 <mode>lin</mode>
607 <mouseControl act="jump">continuous</mouseControl>
608 <resolution>-1.00000000</resolution>
609 <randomizable group="0">false</randomizable>
610 </bsbObject>
611 <bsbObject version="2" type="BSBDisplay">
612 <objectName>Input_Gain</objectName>
613 <x>448</x>
614 <y>191</y>
615 <width>60</width>
616 <height>30</height>
617 <uuid>{43fbac34-5fb6-4728-906d-e1c20e3e9c21}</uuid>
618 <visible>true</visible>
619 <midichan>0</midichan>
620 <midicc>0</midicc>
621 <label>0.000</label>
622 <alignment>right</alignment>
623 <font>Arial</font>
624 <fontsize>9</fontsize>
625 <precision>3</precision>
626 <color>
627 <r>0</r>
628 <g>0</g>
629 <b>0</b>
630 </color>
631 <bgcolor mode="nobackground">
632 <r>255</r>
633 <g>255</g>
634 <b>255</b>
635 </bgcolor>
636 <bordermode>noborder</bordermode>
637 <borderradius>1</borderradius>
638 <borderwidth>1</borderwidth>
639 </bsbObject>
640 <bsbObject version="2" type="BSBLabel">
641 <objectName/>
642 <x>8</x>
643 <y>252</y>
644 <width>150</width>
645 <height>30</height>
646 <uuid>{daf8bc52-99b9-4fd2-bafd-29657d0894b8}</uuid>
647 <visible>true</visible>
648 <midichan>0</midichan>
649 <midicc>0</midicc>
650 <label>Audio File</label>
651 <alignment>left</alignment>
652 <font>Arial</font>
653 <fontsize>10</fontsize>
654 <precision>3</precision>
655 <color>
656 <r>0</r>
657 <g>0</g>
658 <b>0</b>
659 </color>
660 <bgcolor mode="nobackground">
661 <r>255</r>
662 <g>255</g>
663 <b>255</b>
664 </bgcolor>
665 <bordermode>noborder</bordermode>
666 <borderradius>1</borderradius>
667 <borderwidth>1</borderwidth>
668 </bsbObject>
669 <bsbObject version="2" type="BSBLineEdit">
670 <objectName>_Browse</objectName>
671 <x>179</x>
672 <y>274</y>
673 <width>328</width>
674 <height>28</height>
675 <uuid>{639e5abc-1c93-41c5-9b24-69c6ba420300}</uuid>
676 <visible>true</visible>
677 <midichan>0</midichan>
678 <midicc>0</midicc>
679 <label>808loopMono.wav</label>
680 <alignment>left</alignment>
681 <font>Arial</font>
682 <fontsize>10</fontsize>
683 <precision>3</precision>
684 <color>
685 <r>0</r>
686 <g>0</g>
687 <b>0</b>
688 </color>
689 <bgcolor mode="nobackground">
690 <r>229</r>
691 <g>229</g>
692 <b>229</b>
693 </bgcolor>
694 <background>nobackground</background>
695 </bsbObject>
696 <bsbObject version="2" type="BSBButton">
697 <objectName>_Browse</objectName>
698 <x>8</x>
699 <y>273</y>
700 <width>170</width>
701 <height>30</height>
702 <uuid>{83e1bb3c-be92-4763-8f5e-ae79e8f07907}</uuid>
703 <visible>true</visible>
704 <midichan>0</midichan>
705 <midicc>0</midicc>
706 <type>value</type>
707 <pressedValue>1.00000000</pressedValue>
708 <stringvalue>808loopMono.wav</stringvalue>
709 <text>Browse Audio File</text>
710 <image>/</image>
711 <eventLine/>
712 <latch>false</latch>
713 <latched>false</latched>
714 </bsbObject>
715 <bsbObject version="2" type="BSBDisplay">
716 <objectName>Up-Shift_Gain</objectName>
717 <x>448</x>
718 <y>356</y>
719 <width>60</width>
720 <height>30</height>
721 <uuid>{4de7125b-4cc8-4769-ac1b-083ee6357f6a}</uuid>
722 <visible>true</visible>
723 <midichan>0</midichan>
724 <midicc>0</midicc>
725 <label>0.664</label>
726 <alignment>right</alignment>
727 <font>Arial</font>
728 <fontsize>9</fontsize>
729 <precision>3</precision>
730 <color>
731 <r>0</r>
732 <g>0</g>
733 <b>0</b>
734 </color>
735 <bgcolor mode="nobackground">
736 <r>255</r>
737 <g>255</g>
738 <b>255</b>
739 </bgcolor>
740 <bordermode>noborder</bordermode>
741 <borderradius>1</borderradius>
742 <borderwidth>1</borderwidth>
743 </bsbObject>
744 <bsbObject version="2" type="BSBHSlider">
745 <objectName>Up-Shift_Gain</objectName>
746 <x>8</x>
747 <y>339</y>
748 <width>500</width>
749 <height>27</height>
750 <uuid>{3fc19561-9f06-4437-8dce-93fe562391d0}</uuid>
751 <visible>true</visible>
752 <midichan>0</midichan>
753 <midicc>0</midicc>
754 <minimum>0.00000000</minimum>
755 <maximum>1.00000000</maximum>
756 <value>0.66400000</value>
757 <mode>lin</mode>
758 <mouseControl act="jump">continuous</mouseControl>
759 <resolution>-1.00000000</resolution>
760 <randomizable group="0">false</randomizable>
761 </bsbObject>
762 <bsbObject version="2" type="BSBLabel">
763 <objectName/>
764 <x>8</x>
765 <y>356</y>
766 <width>160</width>
767 <height>30</height>
768 <uuid>{c3737a58-87dd-4c87-8bea-5dd299c564ed}</uuid>
769 <visible>true</visible>
770 <midichan>0</midichan>
771 <midicc>0</midicc>
772 <label>Up-Shift Gain</label>
773 <alignment>left</alignment>
774 <font>Arial</font>
775 <fontsize>10</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>noborder</bordermode>
788 <borderradius>1</borderradius>
789 <borderwidth>1</borderwidth>
790 </bsbObject>
791 <bsbObject version="2" type="BSBLabel">
792 <objectName/>
793 <x>8</x>
794 <y>394</y>
795 <width>160</width>
796 <height>30</height>
797 <uuid>{af1df008-d89e-4ad8-bee0-617cd03b7600}</uuid>
798 <visible>true</visible>
799 <midichan>0</midichan>
800 <midicc>0</midicc>
801 <label>Down-Shift Gain</label>
802 <alignment>left</alignment>
803 <font>Arial</font>
804 <fontsize>10</fontsize>
805 <precision>3</precision>
806 <color>
807 <r>0</r>
808 <g>0</g>
809 <b>0</b>
810 </color>
811 <bgcolor mode="nobackground">
812 <r>255</r>
813 <g>255</g>
814 <b>255</b>
815 </bgcolor>
816 <bordermode>noborder</bordermode>
817 <borderradius>1</borderradius>
818 <borderwidth>1</borderwidth>
819 </bsbObject>
820 <bsbObject version="2" type="BSBHSlider">
821 <objectName>Down-Shift_Gain</objectName>
822 <x>8</x>
823 <y>377</y>
824 <width>500</width>
825 <height>27</height>
826 <uuid>{44b12dfc-6d5b-45c2-bf33-caebdb8f48d5}</uuid>
827 <visible>true</visible>
828 <midichan>0</midichan>
829 <midicc>0</midicc>
830 <minimum>0.00000000</minimum>
831 <maximum>1.00000000</maximum>
832 <value>0.58600000</value>
833 <mode>lin</mode>
834 <mouseControl act="jump">continuous</mouseControl>
835 <resolution>-1.00000000</resolution>
836 <randomizable group="0">false</randomizable>
837 </bsbObject>
838 <bsbObject version="2" type="BSBDisplay">
839 <objectName>Down-Shift_Gain</objectName>
840 <x>448</x>
841 <y>394</y>
842 <width>60</width>
843 <height>30</height>
844 <uuid>{325c647b-10e3-4fc2-a844-903b5cda85c3}</uuid>
845 <visible>true</visible>
846 <midichan>0</midichan>
847 <midicc>0</midicc>
848 <label>0.586</label>
849 <alignment>right</alignment>
850 <font>Arial</font>
851 <fontsize>9</fontsize>
852 <precision>3</precision>
853 <color>
854 <r>0</r>
855 <g>0</g>
856 <b>0</b>
857 </color>
858 <bgcolor mode="nobackground">
859 <r>255</r>
860 <g>255</g>
861 <b>255</b>
862 </bgcolor>
863 <bordermode>noborder</bordermode>
864 <borderradius>1</borderradius>
865 <borderwidth>1</borderwidth>
866 </bsbObject>
867 <bsbObject version="2" type="BSBDisplay">
868 <objectName>Feedback_Gain</objectName>
869 <x>448</x>
870 <y>431</y>
871 <width>60</width>
872 <height>30</height>
873 <uuid>{121dd08e-9cc8-478c-9192-dcb2b42eaf2e}</uuid>
874 <visible>true</visible>
875 <midichan>0</midichan>
876 <midicc>0</midicc>
877 <label>0.630</label>
878 <alignment>right</alignment>
879 <font>Arial</font>
880 <fontsize>9</fontsize>
881 <precision>3</precision>
882 <color>
883 <r>0</r>
884 <g>0</g>
885 <b>0</b>
886 </color>
887 <bgcolor mode="nobackground">
888 <r>255</r>
889 <g>255</g>
890 <b>255</b>
891 </bgcolor>
892 <bordermode>noborder</bordermode>
893 <borderradius>1</borderradius>
894 <borderwidth>1</borderwidth>
895 </bsbObject>
896 <bsbObject version="2" type="BSBHSlider">
897 <objectName>Feedback_Gain</objectName>
898 <x>8</x>
899 <y>414</y>
900 <width>500</width>
901 <height>27</height>
902 <uuid>{6a029c00-e55c-477d-938e-a64404a35c06}</uuid>
903 <visible>true</visible>
904 <midichan>0</midichan>
905 <midicc>0</midicc>
906 <minimum>0.00000000</minimum>
907 <maximum>1.00000000</maximum>
908 <value>0.63000000</value>
909 <mode>lin</mode>
910 <mouseControl act="jump">continuous</mouseControl>
911 <resolution>-1.00000000</resolution>
912 <randomizable group="0">false</randomizable>
913 </bsbObject>
914 <bsbObject version="2" type="BSBLabel">
915 <objectName/>
916 <x>8</x>
917 <y>431</y>
918 <width>160</width>
919 <height>30</height>
920 <uuid>{2c370158-b9ae-4648-88ae-04102d440d46}</uuid>
921 <visible>true</visible>
922 <midichan>0</midichan>
923 <midicc>0</midicc>
924 <label>Feedback Gain</label>
925 <alignment>left</alignment>
926 <font>Arial</font>
927 <fontsize>10</fontsize>
928 <precision>3</precision>
929 <color>
930 <r>0</r>
931 <g>0</g>
932 <b>0</b>
933 </color>
934 <bgcolor mode="nobackground">
935 <r>255</r>
936 <g>255</g>
937 <b>255</b>
938 </bgcolor>
939 <bordermode>noborder</bordermode>
940 <borderradius>1</borderradius>
941 <borderwidth>1</borderwidth>
942 </bsbObject>
943 <bsbObject version="2" type="BSBLabel">
944 <objectName/>
945 <x>8</x>
946 <y>469</y>
947 <width>160</width>
948 <height>30</height>
949 <uuid>{b6b62fdf-f791-4676-8961-1ce0cf2d57f5}</uuid>
950 <visible>true</visible>
951 <midichan>0</midichan>
952 <midicc>0</midicc>
953 <label>Dry / Wet Mix</label>
954 <alignment>left</alignment>
955 <font>Arial</font>
956 <fontsize>10</fontsize>
957 <precision>3</precision>
958 <color>
959 <r>0</r>
960 <g>0</g>
961 <b>0</b>
962 </color>
963 <bgcolor mode="nobackground">
964 <r>255</r>
965 <g>255</g>
966 <b>255</b>
967 </bgcolor>
968 <bordermode>noborder</bordermode>
969 <borderradius>1</borderradius>
970 <borderwidth>1</borderwidth>
971 </bsbObject>
972 <bsbObject version="2" type="BSBHSlider">
973 <objectName>Dry_Wet_Mix</objectName>
974 <x>8</x>
975 <y>452</y>
976 <width>500</width>
977 <height>27</height>
978 <uuid>{d39a5fa0-6795-46a9-ae22-d2ab4d76d7a7}</uuid>
979 <visible>true</visible>
980 <midichan>0</midichan>
981 <midicc>0</midicc>
982 <minimum>0.00000000</minimum>
983 <maximum>1.00000000</maximum>
984 <value>1.00000000</value>
985 <mode>lin</mode>
986 <mouseControl act="jump">continuous</mouseControl>
987 <resolution>-1.00000000</resolution>
988 <randomizable group="0">false</randomizable>
989 </bsbObject>
990 <bsbObject version="2" type="BSBDisplay">
991 <objectName>Dry_Wet_Mix</objectName>
992 <x>448</x>
993 <y>469</y>
994 <width>60</width>
995 <height>30</height>
996 <uuid>{38dcbd62-dd0a-4147-9061-6996c626127d}</uuid>
997 <visible>true</visible>
998 <midichan>0</midichan>
999 <midicc>0</midicc>
1000 <label>1.000</label>
1001 <alignment>right</alignment>
1002 <font>Arial</font>
1003 <fontsize>9</fontsize>
1004 <precision>3</precision>
1005 <color>
1006 <r>0</r>
1007 <g>0</g>
1008 <b>0</b>
1009 </color>
1010 <bgcolor mode="nobackground">
1011 <r>255</r>
1012 <g>255</g>
1013 <b>255</b>
1014 </bgcolor>
1015 <bordermode>noborder</bordermode>
1016 <borderradius>1</borderradius>
1017 <borderwidth>1</borderwidth>
1018 </bsbObject>
1019 <bsbObject version="2" type="BSBDisplay">
1020 <objectName>Output_Gain</objectName>
1021 <x>448</x>
1022 <y>508</y>
1023 <width>60</width>
1024 <height>30</height>
1025 <uuid>{08958aaf-3a03-4d01-8990-d4ee1c5ba2a0}</uuid>
1026 <visible>true</visible>
1027 <midichan>0</midichan>
1028 <midicc>0</midicc>
1029 <label>0.582</label>
1030 <alignment>right</alignment>
1031 <font>Arial</font>
1032 <fontsize>9</fontsize>
1033 <precision>3</precision>
1034 <color>
1035 <r>0</r>
1036 <g>0</g>
1037 <b>0</b>
1038 </color>
1039 <bgcolor mode="nobackground">
1040 <r>255</r>
1041 <g>255</g>
1042 <b>255</b>
1043 </bgcolor>
1044 <bordermode>noborder</bordermode>
1045 <borderradius>1</borderradius>
1046 <borderwidth>1</borderwidth>
1047 </bsbObject>
1048 <bsbObject version="2" type="BSBHSlider">
1049 <objectName>Output_Gain</objectName>
1050 <x>8</x>
1051 <y>491</y>
1052 <width>500</width>
1053 <height>27</height>
1054 <uuid>{d0ebedcf-4750-4c6b-b12b-25b0ef251aca}</uuid>
1055 <visible>true</visible>
1056 <midichan>0</midichan>
1057 <midicc>0</midicc>
1058 <minimum>0.00000000</minimum>
1059 <maximum>1.00000000</maximum>
1060 <value>0.58200000</value>
1061 <mode>lin</mode>
1062 <mouseControl act="jump">continuous</mouseControl>
1063 <resolution>-1.00000000</resolution>
1064 <randomizable group="0">false</randomizable>
1065 </bsbObject>
1066 <bsbObject version="2" type="BSBLabel">
1067 <objectName/>
1068 <x>8</x>
1069 <y>508</y>
1070 <width>160</width>
1071 <height>30</height>
1072 <uuid>{0bd621cc-d881-4df2-a199-7b81a298f23c}</uuid>
1073 <visible>true</visible>
1074 <midichan>0</midichan>
1075 <midicc>0</midicc>
1076 <label>Output Gain</label>
1077 <alignment>left</alignment>
1078 <font>Arial</font>
1079 <fontsize>10</fontsize>
1080 <precision>3</precision>
1081 <color>
1082 <r>0</r>
1083 <g>0</g>
1084 <b>0</b>
1085 </color>
1086 <bgcolor mode="nobackground">
1087 <r>255</r>
1088 <g>255</g>
1089 <b>255</b>
1090 </bgcolor>
1091 <bordermode>noborder</bordermode>
1092 <borderradius>1</borderradius>
1093 <borderwidth>1</borderwidth>
1094 </bsbObject>
1095 </bsbPanel>
1096 <bsbPresets>
1097 </bsbPresets>
1098 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>