Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2006
2
3 ;THE delay OPCODE IS PLACED IN A SEPARATE, ALWAYS ON, INSTRUMENT FROM THE SOURCE SOUND PRODUCING INSTRUMENT.
4 ;THE IS A COMMONLY USED TECHNIQUE WITH TIME SMEARING OPCODES AND EFFECTS LIKE REVERBS AND DELAYS.
5
6 ;ksmps MAY NEED TO BE LOW (AND kr THEREFORE HIGH) WHEN WORKING WITH SHORT DELAY TIMES DEFINED INITIALLY AT KRATE
7
8 ;Modified for QuteCsound by René, September 2010, updated Feb 2011
9 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
10
11 ;Notes on modifications from original csd:
12 ; Add table(s) for exp slider
13 ; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files
14
15
16 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
17 <CsoundSynthesizer>
18 <CsOptions>
19 --env:SSDIR+=../../SourceMaterials
20 </CsOptions>
21 <CsInstruments>
22 sr = 44100 ;SAMPLE RATE
23 ksmps = 32 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
24 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
25 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
26
27
28 giExp1 ftgen 0, 0, 129, -25, 0, 0.001, 128, 1.0 ;TABLE FOR EXP SLIDER
29
30
31 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
32 ;gives stereo output regardless your soundfile is mono or stereo
33 Sfil, kspeed, iskip, iloop xin
34 ichn filenchnls Sfil
35 if ichn == 1 then
36 aL diskin2 Sfil, kspeed, iskip, iloop
37 aR = aL
38 else
39 aL, aR diskin2 Sfil, kspeed, iskip, iloop
40 endif
41 xout aL, aR
42 endop
43
44
45 instr 10 ;GUI
46 ktrig metro 10
47 if (ktrig == 1) then
48 gkingain invalue "Live_Input_Gain"
49 kdlt invalue "Delay_Time"
50 gkdlt tablei kdlt, giExp1, 1
51 outvalue "Delay_Time_Value", gkdlt ;init 0.5
52 gkmix invalue "Mix" ;init 0.5
53 gkfeedamt invalue "Feedback_Ratio" ;init 0.7
54 gkamp invalue "Output_Amplitude_Rescaling" ;init 0.7
55 gkporttime invalue "Portamento_Time" ;init 0.3
56 gkinput invalue "Input"
57 endif
58 endin
59
60 instr 1 ;PLAYS FILE
61 if gkinput==0 then ;IF FILE INPUT IS SELECTED...
62 Sfile invalue "_Browse1"
63 gasigL, gasigR FilePlay2 Sfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A SOUND FILE (NOTE THE USE OF GLOBAL VARIABLES)
64 else ;OTHERWISE
65 asigL, asigR ins ;TAKE INPUT FROM COMPUTER'S AUDIO INPUT
66 gasigL = asigL * gkingain ;SCALE USING 'Input Gain' SLIDER
67 gasigR = asigR * gkingain ;SCALE USING 'Input Gain' SLIDER
68 endif ;END OF CONDITIONAL BRANCHING
69 endin
70
71 instr 2 ;DELAY INSTRUMENT
72 kporttime linseg 0, .001, 1, 1, 1 ;USE OF AN ENVELOPE VALUE THAT QUICKLY RAMPS UP FROM ZERO TO 1. THIS PREVENTS VARIABLES GLIDING TO THEIR REQUIRED VALUES EACH TIME THE INSTRUMENT IS STARTED.
73 kporttime = kporttime * gkporttime ;SCALE PORTAMENTO FUNCTION WITH FLTK SLIDER VALUE
74 kdlt portk gkdlt, kporttime ;PORTAMENTO IS APPLIED TO THE VARIABLE 'gkdlt'. A NEW VARIABLE 'kdlt' IS CREATED.
75 adlt interp kdlt ;A NEW A-RATE VARIABLE 'adlt' IS CREATED BY INTERPOLATING THE K-RATE VARIABLE 'kdlt'
76
77 ;;;LEFT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
78 abufferL delayr 1 ;CREATE A DELAY BUFFER OF 5 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE)
79 adelsigL deltap3 adlt ;TAP THE DELAY LINE AT gkdlt SECONDS
80 delayw gasigL + (adelsigL * gkfeedamt) ;WRITE AUDIO SOURCE AND FEEDBACK SIGNAL INTO THE BEGINNING OF THE BUFFER
81
82 ;;;RIGHT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
83 abufferR delayr 1 ;CREATE A DELAY BUFFER OF 5 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE)
84 adelsigR deltap3 adlt ;TAP THE DELAY LINE AT gkdlt SECONDS
85 delayw gasigR + (adelsigR * gkfeedamt) ;WRITE AUDIO SOURCE AND FEEDBACK SIGNAL INTO THE BEGINNING OF THE BUFFER
86
87 aL ntrpol gasigL, adelsigL, gkmix
88 aR ntrpol gasigR, adelsigR, gkmix
89
90 outs aL * gkamp, aR * gkamp ;CREATE A MIX BETWEEN THE WET AND THE DRY SIGNALS AT THE OUTPUT
91 clear gasigL, gasigR ;CLEAR THE GLOBAL AUDIO SEND VARIABLES
92 endin
93 </CsInstruments>
94 <CsScore>
95 ;INSTR | START | DURATION
96 i 10 0 3600 ;GUI
97 i 2 0 3600 ;INSTRUMENT 2 PLAYS FOR ONE HOUR
98 </CsScore>
99 </CsoundSynthesizer>
100 <bsbPanel>
101 <label>Widgets</label>
102 <objectName/>
103 <x>72</x>
104 <y>179</y>
105 <width>804</width>
106 <height>488</height>
107 <visible>true</visible>
108 <uuid/>
109 <bgcolor mode="background">
110 <r>241</r>
111 <g>226</g>
112 <b>185</b>
113 </bgcolor>
114 <bsbObject version="2" type="BSBLabel">
115 <objectName/>
116 <x>2</x>
117 <y>2</y>
118 <width>514</width>
119 <height>436</height>
120 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
121 <visible>true</visible>
122 <midichan>0</midichan>
123 <midicc>0</midicc>
124 <label>Delay with feedback</label>
125 <alignment>center</alignment>
126 <font>Liberation Sans</font>
127 <fontsize>18</fontsize>
128 <precision>3</precision>
129 <color>
130 <r>0</r>
131 <g>0</g>
132 <b>0</b>
133 </color>
134 <bgcolor mode="background">
135 <r>158</r>
136 <g>220</g>
137 <b>217</b>
138 </bgcolor>
139 <bordermode>border</bordermode>
140 <borderradius>5</borderradius>
141 <borderwidth>2</borderwidth>
142 </bsbObject>
143 <bsbObject version="2" type="BSBButton">
144 <objectName/>
145 <x>5</x>
146 <y>5</y>
147 <width>100</width>
148 <height>30</height>
149 <uuid>{487d5181-d838-4cce-9628-317fefc350cb}</uuid>
150 <visible>true</visible>
151 <midichan>0</midichan>
152 <midicc>0</midicc>
153 <type>event</type>
154 <pressedValue>1.00000000</pressedValue>
155 <stringvalue/>
156 <text> ON / OFF</text>
157 <image>/</image>
158 <eventLine>i 1 0 -1</eventLine>
159 <latch>true</latch>
160 <latched>false</latched>
161 </bsbObject>
162 <bsbObject version="2" type="BSBHSlider">
163 <objectName>Live_Input_Gain</objectName>
164 <x>10</x>
165 <y>48</y>
166 <width>500</width>
167 <height>27</height>
168 <uuid>{de47f47d-bcea-4c1c-ab4b-a323452b1f7e}</uuid>
169 <visible>true</visible>
170 <midichan>0</midichan>
171 <midicc>0</midicc>
172 <minimum>0.00000000</minimum>
173 <maximum>1.00000000</maximum>
174 <value>0.28600000</value>
175 <mode>lin</mode>
176 <mouseControl act="jump">continuous</mouseControl>
177 <resolution>-1.00000000</resolution>
178 <randomizable group="0">false</randomizable>
179 </bsbObject>
180 <bsbObject version="2" type="BSBLabel">
181 <objectName/>
182 <x>10</x>
183 <y>65</y>
184 <width>120</width>
185 <height>30</height>
186 <uuid>{0200a063-5db8-4668-bc2d-2d989a083f6e}</uuid>
187 <visible>true</visible>
188 <midichan>0</midichan>
189 <midicc>0</midicc>
190 <label>Live input Gain</label>
191 <alignment>left</alignment>
192 <font>Arial</font>
193 <fontsize>10</fontsize>
194 <precision>3</precision>
195 <color>
196 <r>0</r>
197 <g>0</g>
198 <b>0</b>
199 </color>
200 <bgcolor mode="nobackground">
201 <r>255</r>
202 <g>255</g>
203 <b>255</b>
204 </bgcolor>
205 <bordermode>noborder</bordermode>
206 <borderradius>1</borderradius>
207 <borderwidth>1</borderwidth>
208 </bsbObject>
209 <bsbObject version="2" type="BSBDisplay">
210 <objectName>Live_Input_Gain</objectName>
211 <x>450</x>
212 <y>65</y>
213 <width>60</width>
214 <height>30</height>
215 <uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid>
216 <visible>true</visible>
217 <midichan>0</midichan>
218 <midicc>0</midicc>
219 <label>0.286</label>
220 <alignment>right</alignment>
221 <font>Arial</font>
222 <fontsize>9</fontsize>
223 <precision>3</precision>
224 <color>
225 <r>0</r>
226 <g>0</g>
227 <b>0</b>
228 </color>
229 <bgcolor mode="nobackground">
230 <r>255</r>
231 <g>255</g>
232 <b>255</b>
233 </bgcolor>
234 <bordermode>noborder</bordermode>
235 <borderradius>1</borderradius>
236 <borderwidth>1</borderwidth>
237 </bsbObject>
238 <bsbObject version="2" type="BSBLabel">
239 <objectName/>
240 <x>517</x>
241 <y>2</y>
242 <width>274</width>
243 <height>436</height>
244 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
245 <visible>true</visible>
246 <midichan>0</midichan>
247 <midicc>0</midicc>
248 <label>Delay with feedback</label>
249 <alignment>center</alignment>
250 <font>Liberation Sans</font>
251 <fontsize>18</fontsize>
252 <precision>3</precision>
253 <color>
254 <r>0</r>
255 <g>0</g>
256 <b>0</b>
257 </color>
258 <bgcolor mode="background">
259 <r>158</r>
260 <g>220</g>
261 <b>217</b>
262 </bgcolor>
263 <bordermode>border</bordermode>
264 <borderradius>5</borderradius>
265 <borderwidth>2</borderwidth>
266 </bsbObject>
267 <bsbObject version="2" type="BSBLabel">
268 <objectName/>
269 <x>519</x>
270 <y>38</y>
271 <width>268</width>
272 <height>382</height>
273 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
274 <visible>true</visible>
275 <midichan>0</midichan>
276 <midicc>0</midicc>
277 <label>---------------------------------------------------------------
278 This example adds a feedback loop. Some of the audio signal present at the delay tap is fed back into the input of the delay buffer.
279 The amount of signal fed back is controlled by the 'Feedback Ratio' slider. A value of zero represents 0% of the signal being fed back and a value of 1 represents 100% of the signal being fed value.
280 Negative values are also allowed and represent the signal being inverted as it is fed back.
281 The audible effect of this is most evident when working with very short delay times.
282 In this example the user can choose between a sound file as input or the computer's live input.
283 A gain control is provided to control the gain of the live input.</label>
284 <alignment>left</alignment>
285 <font>Liberation Sans</font>
286 <fontsize>14</fontsize>
287 <precision>3</precision>
288 <color>
289 <r>0</r>
290 <g>0</g>
291 <b>0</b>
292 </color>
293 <bgcolor mode="nobackground">
294 <r>255</r>
295 <g>255</g>
296 <b>255</b>
297 </bgcolor>
298 <bordermode>noborder</bordermode>
299 <borderradius>1</borderradius>
300 <borderwidth>1</borderwidth>
301 </bsbObject>
302 <bsbObject version="2" type="BSBDisplay">
303 <objectName>Delay_Time_Value</objectName>
304 <x>449</x>
305 <y>115</y>
306 <width>60</width>
307 <height>30</height>
308 <uuid>{732b2008-7445-4893-a260-e68561cf8e71}</uuid>
309 <visible>true</visible>
310 <midichan>0</midichan>
311 <midicc>0</midicc>
312 <label>0.026</label>
313 <alignment>right</alignment>
314 <font>Arial</font>
315 <fontsize>9</fontsize>
316 <precision>3</precision>
317 <color>
318 <r>0</r>
319 <g>0</g>
320 <b>0</b>
321 </color>
322 <bgcolor mode="nobackground">
323 <r>255</r>
324 <g>255</g>
325 <b>255</b>
326 </bgcolor>
327 <bordermode>noborder</bordermode>
328 <borderradius>1</borderradius>
329 <borderwidth>1</borderwidth>
330 </bsbObject>
331 <bsbObject version="2" type="BSBLabel">
332 <objectName/>
333 <x>9</x>
334 <y>115</y>
335 <width>120</width>
336 <height>30</height>
337 <uuid>{b57ba536-8f28-4986-9bf7-8eb84262d8ca}</uuid>
338 <visible>true</visible>
339 <midichan>0</midichan>
340 <midicc>0</midicc>
341 <label>Delay Time (sec)</label>
342 <alignment>left</alignment>
343 <font>Arial</font>
344 <fontsize>10</fontsize>
345 <precision>3</precision>
346 <color>
347 <r>0</r>
348 <g>0</g>
349 <b>0</b>
350 </color>
351 <bgcolor mode="nobackground">
352 <r>255</r>
353 <g>255</g>
354 <b>255</b>
355 </bgcolor>
356 <bordermode>noborder</bordermode>
357 <borderradius>1</borderradius>
358 <borderwidth>1</borderwidth>
359 </bsbObject>
360 <bsbObject version="2" type="BSBHSlider">
361 <objectName>Delay_Time</objectName>
362 <x>9</x>
363 <y>98</y>
364 <width>500</width>
365 <height>27</height>
366 <uuid>{b8fa76b9-3d04-4156-a2f2-a413d3864da3}</uuid>
367 <visible>true</visible>
368 <midichan>0</midichan>
369 <midicc>0</midicc>
370 <minimum>0.00000000</minimum>
371 <maximum>1.00000000</maximum>
372 <value>0.47200000</value>
373 <mode>lin</mode>
374 <mouseControl act="jump">continuous</mouseControl>
375 <resolution>-1.00000000</resolution>
376 <randomizable group="0">false</randomizable>
377 </bsbObject>
378 <bsbObject version="2" type="BSBDropdown">
379 <objectName>Input</objectName>
380 <x>179</x>
381 <y>343</y>
382 <width>120</width>
383 <height>30</height>
384 <uuid>{9b81a1f2-bcb8-4582-925b-9ae56def3865}</uuid>
385 <visible>true</visible>
386 <midichan>0</midichan>
387 <midicc>0</midicc>
388 <bsbDropdownItemList>
389 <bsbDropdownItem>
390 <name>Audio File</name>
391 <value>0</value>
392 <stringvalue/>
393 </bsbDropdownItem>
394 <bsbDropdownItem>
395 <name> Live Input</name>
396 <value>1</value>
397 <stringvalue/>
398 </bsbDropdownItem>
399 </bsbDropdownItemList>
400 <selectedIndex>0</selectedIndex>
401 <randomizable group="0">false</randomizable>
402 </bsbObject>
403 <bsbObject version="2" type="BSBLabel">
404 <objectName/>
405 <x>97</x>
406 <y>343</y>
407 <width>80</width>
408 <height>30</height>
409 <uuid>{62eeb695-9b83-42da-81cd-8000c232d9b9}</uuid>
410 <visible>true</visible>
411 <midichan>0</midichan>
412 <midicc>0</midicc>
413 <label>Input</label>
414 <alignment>right</alignment>
415 <font>Arial</font>
416 <fontsize>10</fontsize>
417 <precision>3</precision>
418 <color>
419 <r>0</r>
420 <g>0</g>
421 <b>0</b>
422 </color>
423 <bgcolor mode="nobackground">
424 <r>255</r>
425 <g>255</g>
426 <b>255</b>
427 </bgcolor>
428 <bordermode>noborder</bordermode>
429 <borderradius>1</borderradius>
430 <borderwidth>1</borderwidth>
431 </bsbObject>
432 <bsbObject version="2" type="BSBHSlider">
433 <objectName>Output_Amplitude_Rescaling</objectName>
434 <x>9</x>
435 <y>245</y>
436 <width>500</width>
437 <height>27</height>
438 <uuid>{b7e7b8ab-140d-45bf-8c52-607bbf726f46}</uuid>
439 <visible>true</visible>
440 <midichan>0</midichan>
441 <midicc>0</midicc>
442 <minimum>0.00000000</minimum>
443 <maximum>1.00000000</maximum>
444 <value>0.71400000</value>
445 <mode>lin</mode>
446 <mouseControl act="jump">continuous</mouseControl>
447 <resolution>-1.00000000</resolution>
448 <randomizable group="0">false</randomizable>
449 </bsbObject>
450 <bsbObject version="2" type="BSBLabel">
451 <objectName/>
452 <x>9</x>
453 <y>262</y>
454 <width>160</width>
455 <height>30</height>
456 <uuid>{92773515-22ba-4f64-b658-78264fc33aba}</uuid>
457 <visible>true</visible>
458 <midichan>0</midichan>
459 <midicc>0</midicc>
460 <label>Output Amplitude Rescaling</label>
461 <alignment>left</alignment>
462 <font>Arial</font>
463 <fontsize>10</fontsize>
464 <precision>3</precision>
465 <color>
466 <r>0</r>
467 <g>0</g>
468 <b>0</b>
469 </color>
470 <bgcolor mode="nobackground">
471 <r>255</r>
472 <g>255</g>
473 <b>255</b>
474 </bgcolor>
475 <bordermode>noborder</bordermode>
476 <borderradius>1</borderradius>
477 <borderwidth>1</borderwidth>
478 </bsbObject>
479 <bsbObject version="2" type="BSBDisplay">
480 <objectName>Output_Amplitude_Rescaling</objectName>
481 <x>449</x>
482 <y>262</y>
483 <width>60</width>
484 <height>30</height>
485 <uuid>{cd171d26-552e-4958-b526-275d452ec385}</uuid>
486 <visible>true</visible>
487 <midichan>0</midichan>
488 <midicc>0</midicc>
489 <label>0.714</label>
490 <alignment>right</alignment>
491 <font>Arial</font>
492 <fontsize>9</fontsize>
493 <precision>3</precision>
494 <color>
495 <r>0</r>
496 <g>0</g>
497 <b>0</b>
498 </color>
499 <bgcolor mode="nobackground">
500 <r>255</r>
501 <g>255</g>
502 <b>255</b>
503 </bgcolor>
504 <bordermode>noborder</bordermode>
505 <borderradius>1</borderradius>
506 <borderwidth>1</borderwidth>
507 </bsbObject>
508 <bsbObject version="2" type="BSBDisplay">
509 <objectName>Mix</objectName>
510 <x>449</x>
511 <y>162</y>
512 <width>60</width>
513 <height>30</height>
514 <uuid>{5cd56315-4bac-452e-92eb-a031b288b36f}</uuid>
515 <visible>true</visible>
516 <midichan>0</midichan>
517 <midicc>0</midicc>
518 <label>0.256</label>
519 <alignment>right</alignment>
520 <font>Arial</font>
521 <fontsize>9</fontsize>
522 <precision>3</precision>
523 <color>
524 <r>0</r>
525 <g>0</g>
526 <b>0</b>
527 </color>
528 <bgcolor mode="nobackground">
529 <r>255</r>
530 <g>255</g>
531 <b>255</b>
532 </bgcolor>
533 <bordermode>noborder</bordermode>
534 <borderradius>1</borderradius>
535 <borderwidth>1</borderwidth>
536 </bsbObject>
537 <bsbObject version="2" type="BSBLabel">
538 <objectName/>
539 <x>9</x>
540 <y>162</y>
541 <width>120</width>
542 <height>30</height>
543 <uuid>{e2cef5dc-8935-405f-98da-e8a167a68d8a}</uuid>
544 <visible>true</visible>
545 <midichan>0</midichan>
546 <midicc>0</midicc>
547 <label>Dry / Wet Mix</label>
548 <alignment>left</alignment>
549 <font>Arial</font>
550 <fontsize>10</fontsize>
551 <precision>3</precision>
552 <color>
553 <r>0</r>
554 <g>0</g>
555 <b>0</b>
556 </color>
557 <bgcolor mode="nobackground">
558 <r>255</r>
559 <g>255</g>
560 <b>255</b>
561 </bgcolor>
562 <bordermode>noborder</bordermode>
563 <borderradius>1</borderradius>
564 <borderwidth>1</borderwidth>
565 </bsbObject>
566 <bsbObject version="2" type="BSBHSlider">
567 <objectName>Mix</objectName>
568 <x>9</x>
569 <y>145</y>
570 <width>500</width>
571 <height>27</height>
572 <uuid>{ac0fd134-af88-448c-8e28-0198f559ba34}</uuid>
573 <visible>true</visible>
574 <midichan>0</midichan>
575 <midicc>0</midicc>
576 <minimum>0.00000000</minimum>
577 <maximum>1.00000000</maximum>
578 <value>0.25600000</value>
579 <mode>lin</mode>
580 <mouseControl act="jump">continuous</mouseControl>
581 <resolution>-1.00000000</resolution>
582 <randomizable group="0">false</randomizable>
583 </bsbObject>
584 <bsbObject version="2" type="BSBDisplay">
585 <objectName>Portamento_Time</objectName>
586 <x>449</x>
587 <y>309</y>
588 <width>60</width>
589 <height>30</height>
590 <uuid>{c14cc927-5ac1-4f6a-8181-6a50801accaa}</uuid>
591 <visible>true</visible>
592 <midichan>0</midichan>
593 <midicc>0</midicc>
594 <label>0.848</label>
595 <alignment>right</alignment>
596 <font>Arial</font>
597 <fontsize>9</fontsize>
598 <precision>3</precision>
599 <color>
600 <r>0</r>
601 <g>0</g>
602 <b>0</b>
603 </color>
604 <bgcolor mode="nobackground">
605 <r>255</r>
606 <g>255</g>
607 <b>255</b>
608 </bgcolor>
609 <bordermode>noborder</bordermode>
610 <borderradius>1</borderradius>
611 <borderwidth>1</borderwidth>
612 </bsbObject>
613 <bsbObject version="2" type="BSBLabel">
614 <objectName/>
615 <x>9</x>
616 <y>309</y>
617 <width>120</width>
618 <height>30</height>
619 <uuid>{f4b96abf-8cf5-4456-a057-6b785e9c4b8d}</uuid>
620 <visible>true</visible>
621 <midichan>0</midichan>
622 <midicc>0</midicc>
623 <label>Portamento Time</label>
624 <alignment>left</alignment>
625 <font>Arial</font>
626 <fontsize>10</fontsize>
627 <precision>3</precision>
628 <color>
629 <r>0</r>
630 <g>0</g>
631 <b>0</b>
632 </color>
633 <bgcolor mode="nobackground">
634 <r>255</r>
635 <g>255</g>
636 <b>255</b>
637 </bgcolor>
638 <bordermode>noborder</bordermode>
639 <borderradius>1</borderradius>
640 <borderwidth>1</borderwidth>
641 </bsbObject>
642 <bsbObject version="2" type="BSBHSlider">
643 <objectName>Portamento_Time</objectName>
644 <x>9</x>
645 <y>292</y>
646 <width>500</width>
647 <height>27</height>
648 <uuid>{432d4976-cb71-4373-943b-6378da54ddb5}</uuid>
649 <visible>true</visible>
650 <midichan>0</midichan>
651 <midicc>0</midicc>
652 <minimum>0.00000000</minimum>
653 <maximum>2.00000000</maximum>
654 <value>0.84800000</value>
655 <mode>lin</mode>
656 <mouseControl act="jump">continuous</mouseControl>
657 <resolution>-1.00000000</resolution>
658 <randomizable group="0">false</randomizable>
659 </bsbObject>
660 <bsbObject version="2" type="BSBHSlider">
661 <objectName>Feedback_Ratio</objectName>
662 <x>9</x>
663 <y>194</y>
664 <width>500</width>
665 <height>27</height>
666 <uuid>{3e2b62e8-f887-4073-8258-caac477a80b0}</uuid>
667 <visible>true</visible>
668 <midichan>0</midichan>
669 <midicc>0</midicc>
670 <minimum>-1.00000000</minimum>
671 <maximum>1.00000000</maximum>
672 <value>0.67200000</value>
673 <mode>lin</mode>
674 <mouseControl act="jump">continuous</mouseControl>
675 <resolution>-1.00000000</resolution>
676 <randomizable group="0">false</randomizable>
677 </bsbObject>
678 <bsbObject version="2" type="BSBLabel">
679 <objectName/>
680 <x>9</x>
681 <y>211</y>
682 <width>120</width>
683 <height>30</height>
684 <uuid>{41296e1f-c3d7-4fef-83aa-c850d5b4e198}</uuid>
685 <visible>true</visible>
686 <midichan>0</midichan>
687 <midicc>0</midicc>
688 <label>Feedback Ratio</label>
689 <alignment>left</alignment>
690 <font>Arial</font>
691 <fontsize>10</fontsize>
692 <precision>3</precision>
693 <color>
694 <r>0</r>
695 <g>0</g>
696 <b>0</b>
697 </color>
698 <bgcolor mode="nobackground">
699 <r>255</r>
700 <g>255</g>
701 <b>255</b>
702 </bgcolor>
703 <bordermode>noborder</bordermode>
704 <borderradius>1</borderradius>
705 <borderwidth>1</borderwidth>
706 </bsbObject>
707 <bsbObject version="2" type="BSBDisplay">
708 <objectName>Feedback_Ratio</objectName>
709 <x>449</x>
710 <y>211</y>
711 <width>60</width>
712 <height>30</height>
713 <uuid>{5fdf1ae1-cf86-495a-b201-685173b6ff11}</uuid>
714 <visible>true</visible>
715 <midichan>0</midichan>
716 <midicc>0</midicc>
717 <label>0.672</label>
718 <alignment>right</alignment>
719 <font>Arial</font>
720 <fontsize>9</fontsize>
721 <precision>3</precision>
722 <color>
723 <r>0</r>
724 <g>0</g>
725 <b>0</b>
726 </color>
727 <bgcolor mode="nobackground">
728 <r>255</r>
729 <g>255</g>
730 <b>255</b>
731 </bgcolor>
732 <bordermode>noborder</bordermode>
733 <borderradius>1</borderradius>
734 <borderwidth>1</borderwidth>
735 </bsbObject>
736 <bsbObject version="2" type="BSBButton">
737 <objectName>_Browse1</objectName>
738 <x>6</x>
739 <y>383</y>
740 <width>170</width>
741 <height>30</height>
742 <uuid>{0534c3c0-4141-44e5-aad5-62b492a96265}</uuid>
743 <visible>true</visible>
744 <midichan>0</midichan>
745 <midicc>0</midicc>
746 <type>value</type>
747 <pressedValue>1.00000000</pressedValue>
748 <stringvalue>808loop.wav</stringvalue>
749 <text>Browse Audio File</text>
750 <image>/</image>
751 <eventLine/>
752 <latch>false</latch>
753 <latched>false</latched>
754 </bsbObject>
755 <bsbObject version="2" type="BSBLineEdit">
756 <objectName>_Browse1</objectName>
757 <x>178</x>
758 <y>384</y>
759 <width>330</width>
760 <height>28</height>
761 <uuid>{73d2df26-e1ac-47b8-89c0-4d641c4dcf5f}</uuid>
762 <visible>true</visible>
763 <midichan>0</midichan>
764 <midicc>0</midicc>
765 <label>808loop.wav</label>
766 <alignment>left</alignment>
767 <font>Arial</font>
768 <fontsize>10</fontsize>
769 <precision>3</precision>
770 <color>
771 <r>0</r>
772 <g>0</g>
773 <b>0</b>
774 </color>
775 <bgcolor mode="nobackground">
776 <r>239</r>
777 <g>235</g>
778 <b>231</b>
779 </bgcolor>
780 <background>nobackground</background>
781 </bsbObject>
782 <bsbObject version="2" type="BSBLabel">
783 <objectName/>
784 <x>178</x>
785 <y>410</y>
786 <width>330</width>
787 <height>30</height>
788 <uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid>
789 <visible>true</visible>
790 <midichan>0</midichan>
791 <midicc>0</midicc>
792 <label>Restart the instrument after changing the audio file.</label>
793 <alignment>left</alignment>
794 <font>Liberation Sans</font>
795 <fontsize>12</fontsize>
796 <precision>3</precision>
797 <color>
798 <r>0</r>
799 <g>0</g>
800 <b>0</b>
801 </color>
802 <bgcolor mode="nobackground">
803 <r>255</r>
804 <g>255</g>
805 <b>255</b>
806 </bgcolor>
807 <bordermode>noborder</bordermode>
808 <borderradius>1</borderradius>
809 <borderwidth>1</borderwidth>
810 </bsbObject>
811 </bsbPanel>
812 <bsbPresets>
813 </bsbPresets>