Debian Codegraph @

src/Examples/McCurdy Collection/FFT/pvsmooth.csd

raw
1 ;Written by Iain McCurdy
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 Browser for audio files and use of FilePlay2 udo, now accept mono or stereo wav files
8
9 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
10 <CsoundSynthesizer>
11 <CsOptions>
12 --env:SSDIR+=../../SourceMaterials
13 </CsOptions>
14 <CsInstruments>
15 sr = 44100 ;SAMPLE RATE
16 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
17 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
18 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
19
20
21 giFFTattributes0 ftgen 1, 0, 4, -2, 256, 128, 256, 1
22 giFFTattributes1 ftgen 2, 0, 4, -2, 512, 128, 512, 1
23 giFFTattributes2 ftgen 3, 0, 4, -2, 1024, 128, 1024, 1
24 giFFTattributes3 ftgen 4, 0, 4, -2, 2048, 256, 2048, 1
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 10 ;GUI
42 ktrig metro 10
43 if (ktrig == 1) then
44 gkacf invalue "Amplitude_Cutoff_Frequency" ;init 1.0
45 gkfcf invalue "Frequencies_Cutoff_Frequency" ;init 1.0
46 gkgain invalue "Output_Gain" ;init 1.0
47 gkdrywet invalue "Dry_Wet_Mix" ;init 1.0
48 gkinput invalue "Input" ;init 1
49 gkFFTattributes invalue "FFTattributes" ;init 3
50 endif
51 endin
52
53 instr 1
54 if gkinput=0 then ;IF 'INPUT' SWITCH IS SET TO 'Live Input' THEN IMPLEMENT THE NEXT LINE OF CODE
55 asig inch 1 ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT CHANNEL 1 (LEFT)
56 elseif gkinput=1 then ;IF 'INPUT' SWITCH IS SET TO 'Voice' THEN IMPLEMENT THE NEXT LINE OF CODE
57 Sfile1 invalue "_Browse1"
58 ;OUTPUT OPCODE FILE_PATH| SPEED | INSKIP | WRAPAROUND (1=ON)
59 asig, asigR FilePlay2 Sfile1, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE
60 else ;IF 'INPUT' SWITCH IS NOT SET TO 'STORED FILE' THEN IMPLEMENT THE NEXT LINE OF CODE
61 Sfile2 invalue "_Browse2"
62 ;OUTPUT OPCODE FILE_PATH| SPEED | INSKIP | WRAPAROUND (1=ON)
63 asig, asigR FilePlay2 Sfile2, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE
64 endif ;END OF 'IF'...'THEN' BRANCHING
65 kSwitch changed gkFFTattributes ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
66 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
67 reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
68 endif ;END OF CONDITIONAL BRANCHING
69 START: ;LABEL
70 iFFTsize table 0, i(gkFFTattributes)+1
71 ioverlap table 1, i(gkFFTattributes)+1
72 iwinsize table 2, i(gkFFTattributes)+1
73 iwintype table 3, i(gkFFTattributes)+1
74
75 fsig1 pvsanal asig, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL THAT WAS CREATED IN INSTRUMENT 1. OUTPUT AN F-SIGNAL.
76
77 fsig2 pvsmooth fsig1, gkacf, gkfcf
78
79 aresyn pvsynth fsig2 ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL
80 amix ntrpol asig, aresyn, gkdrywet
81 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
82 outs amix * gkgain, amix * gkgain ;SEND THE RESCALE, RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS
83 endin
84 </CsInstruments>
85 <CsScore>
86 ;INSTR | START | DURATION
87 i 10 0 3600 ;GUI
88 </CsScore>
89 </CsoundSynthesizer>
90
91 <bsbPanel>
92 <label>Widgets</label>
93 <objectName/>
94 <x>526</x>
95 <y>292</y>
96 <width>812</width>
97 <height>470</height>
98 <visible>true</visible>
99 <uuid/>
100 <bgcolor mode="background">
101 <r>241</r>
102 <g>226</g>
103 <b>185</b>
104 </bgcolor>
105 <bsbObject version="2" type="BSBLabel">
106 <objectName/>
107 <x>1</x>
108 <y>2</y>
109 <width>518</width>
110 <height>464</height>
111 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
112 <visible>true</visible>
113 <midichan>0</midichan>
114 <midicc>0</midicc>
115 <label>pvsmooth, pvsanal and pvsynth</label>
116 <alignment>center</alignment>
117 <font>Liberation Sans</font>
118 <fontsize>18</fontsize>
119 <precision>3</precision>
120 <color>
121 <r>0</r>
122 <g>0</g>
123 <b>0</b>
124 </color>
125 <bgcolor mode="background">
126 <r>181</r>
127 <g>199</g>
128 <b>255</b>
129 </bgcolor>
130 <bordermode>border</bordermode>
131 <borderradius>5</borderradius>
132 <borderwidth>2</borderwidth>
133 </bsbObject>
134 <bsbObject version="2" type="BSBLabel">
135 <objectName/>
136 <x>520</x>
137 <y>2</y>
138 <width>284</width>
139 <height>464</height>
140 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
141 <visible>true</visible>
142 <midichan>0</midichan>
143 <midicc>0</midicc>
144 <label>pvsmooth, pvsanal and pvsynth</label>
145 <alignment>center</alignment>
146 <font>Liberation Sans</font>
147 <fontsize>18</fontsize>
148 <precision>3</precision>
149 <color>
150 <r>0</r>
151 <g>0</g>
152 <b>0</b>
153 </color>
154 <bgcolor mode="background">
155 <r>181</r>
156 <g>199</g>
157 <b>255</b>
158 </bgcolor>
159 <bordermode>border</bordermode>
160 <borderradius>5</borderradius>
161 <borderwidth>2</borderwidth>
162 </bsbObject>
163 <bsbObject version="2" type="BSBLabel">
164 <objectName/>
165 <x>523</x>
166 <y>35</y>
167 <width>279</width>
168 <height>413</height>
169 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
170 <visible>true</visible>
171 <midichan>0</midichan>
172 <midicc>0</midicc>
173 <label>-------------------------------------------------------------------
174 Pvsmooth smooths the amplitude and frequency time functions of a pv stream using parallel 1st order lowpass IIR filters with time-varying cutoff frequency.
175 Pvsmooth can produce audible results that sound similar to those produced by pvsbur but pvsmooth has the advantage of allowing us to blur or smooth amplitudes and frequencies independently and by different amounts.
176 The two filters are given fractional values to represent their cutoff frequencies. The actual value is a fraction of half the frame rate. The closer to zero these values are the greater the amount of smoothing that will be applied.
177 A variety of combinations of FFT analysis attributes are selectable using radio button selectors.
178 It can be observed that smaller FFT size and window sizes result in less time smearing but greater harmonic distortion whereas larger FFT sizes and window sizes result in greater time smearing but less harmonic distortion.</label>
179 <alignment>left</alignment>
180 <font>Arial</font>
181 <fontsize>14</fontsize>
182 <precision>3</precision>
183 <color>
184 <r>0</r>
185 <g>0</g>
186 <b>0</b>
187 </color>
188 <bgcolor mode="nobackground">
189 <r>255</r>
190 <g>255</g>
191 <b>255</b>
192 </bgcolor>
193 <bordermode>noborder</bordermode>
194 <borderradius>1</borderradius>
195 <borderwidth>1</borderwidth>
196 </bsbObject>
197 <bsbObject version="2" type="BSBButton">
198 <objectName/>
199 <x>8</x>
200 <y>8</y>
201 <width>100</width>
202 <height>30</height>
203 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
204 <visible>true</visible>
205 <midichan>0</midichan>
206 <midicc>0</midicc>
207 <type>event</type>
208 <pressedValue>1.00000000</pressedValue>
209 <stringvalue/>
210 <text> ON / OFF</text>
211 <image>/</image>
212 <eventLine>i 1 0 -1</eventLine>
213 <latch>true</latch>
214 <latched>false</latched>
215 </bsbObject>
216 <bsbObject version="2" type="BSBLabel">
217 <objectName/>
218 <x>190</x>
219 <y>241</y>
220 <width>60</width>
221 <height>30</height>
222 <uuid>{b3560c14-84be-4876-9100-5807ffe16e97}</uuid>
223 <visible>true</visible>
224 <midichan>0</midichan>
225 <midicc>0</midicc>
226 <label>Input</label>
227 <alignment>right</alignment>
228 <font>Arial</font>
229 <fontsize>10</fontsize>
230 <precision>3</precision>
231 <color>
232 <r>0</r>
233 <g>0</g>
234 <b>0</b>
235 </color>
236 <bgcolor mode="nobackground">
237 <r>255</r>
238 <g>255</g>
239 <b>255</b>
240 </bgcolor>
241 <bordermode>noborder</bordermode>
242 <borderradius>1</borderradius>
243 <borderwidth>1</borderwidth>
244 </bsbObject>
245 <bsbObject version="2" type="BSBDropdown">
246 <objectName>Input</objectName>
247 <x>251</x>
248 <y>241</y>
249 <width>110</width>
250 <height>30</height>
251 <uuid>{cdb2d3b2-5a09-4e13-865e-8501e33b9d35}</uuid>
252 <visible>true</visible>
253 <midichan>0</midichan>
254 <midicc>0</midicc>
255 <bsbDropdownItemList>
256 <bsbDropdownItem>
257 <name>Live Input</name>
258 <value>0</value>
259 <stringvalue/>
260 </bsbDropdownItem>
261 <bsbDropdownItem>
262 <name>Voice</name>
263 <value>1</value>
264 <stringvalue/>
265 </bsbDropdownItem>
266 <bsbDropdownItem>
267 <name>Drum Loop</name>
268 <value>2</value>
269 <stringvalue/>
270 </bsbDropdownItem>
271 </bsbDropdownItemList>
272 <selectedIndex>2</selectedIndex>
273 <randomizable group="0">false</randomizable>
274 </bsbObject>
275 <bsbObject version="2" type="BSBLabel">
276 <objectName/>
277 <x>8</x>
278 <y>390</y>
279 <width>502</width>
280 <height>70</height>
281 <uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid>
282 <visible>true</visible>
283 <midichan>0</midichan>
284 <midicc>0</midicc>
285 <label>FFT Attributes</label>
286 <alignment>left</alignment>
287 <font>Arial</font>
288 <fontsize>14</fontsize>
289 <precision>3</precision>
290 <color>
291 <r>0</r>
292 <g>0</g>
293 <b>0</b>
294 </color>
295 <bgcolor mode="nobackground">
296 <r>255</r>
297 <g>255</g>
298 <b>255</b>
299 </bgcolor>
300 <bordermode>border</bordermode>
301 <borderradius>3</borderradius>
302 <borderwidth>1</borderwidth>
303 </bsbObject>
304 <bsbObject version="2" type="BSBLabel">
305 <objectName/>
306 <x>167</x>
307 <y>396</y>
308 <width>300</width>
309 <height>28</height>
310 <uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid>
311 <visible>true</visible>
312 <midichan>0</midichan>
313 <midicc>0</midicc>
314 <label>FFT Size - Overlap - Window Size - Window Type</label>
315 <alignment>left</alignment>
316 <font>Arial</font>
317 <fontsize>10</fontsize>
318 <precision>3</precision>
319 <color>
320 <r>0</r>
321 <g>0</g>
322 <b>0</b>
323 </color>
324 <bgcolor mode="nobackground">
325 <r>255</r>
326 <g>255</g>
327 <b>255</b>
328 </bgcolor>
329 <bordermode>noborder</bordermode>
330 <borderradius>1</borderradius>
331 <borderwidth>1</borderwidth>
332 </bsbObject>
333 <bsbObject version="2" type="BSBDropdown">
334 <objectName>FFTattributes</objectName>
335 <x>167</x>
336 <y>416</y>
337 <width>274</width>
338 <height>32</height>
339 <uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid>
340 <visible>true</visible>
341 <midichan>0</midichan>
342 <midicc>0</midicc>
343 <bsbDropdownItemList>
344 <bsbDropdownItem>
345 <name>256 128 256 1</name>
346 <value>0</value>
347 <stringvalue/>
348 </bsbDropdownItem>
349 <bsbDropdownItem>
350 <name>512 128 512 1</name>
351 <value>1</value>
352 <stringvalue/>
353 </bsbDropdownItem>
354 <bsbDropdownItem>
355 <name>1024 128 1024 1</name>
356 <value>2</value>
357 <stringvalue/>
358 </bsbDropdownItem>
359 <bsbDropdownItem>
360 <name>2048 256 2048 1</name>
361 <value>3</value>
362 <stringvalue/>
363 </bsbDropdownItem>
364 </bsbDropdownItemList>
365 <selectedIndex>0</selectedIndex>
366 <randomizable group="0">false</randomizable>
367 </bsbObject>
368 <bsbObject version="2" type="BSBDisplay">
369 <objectName>Amplitude_Cutoff_Frequency</objectName>
370 <x>450</x>
371 <y>73</y>
372 <width>60</width>
373 <height>30</height>
374 <uuid>{a471f0a0-872d-45ce-8067-16edcf43702b}</uuid>
375 <visible>true</visible>
376 <midichan>0</midichan>
377 <midicc>0</midicc>
378 <label>0.618</label>
379 <alignment>right</alignment>
380 <font>Arial</font>
381 <fontsize>9</fontsize>
382 <precision>3</precision>
383 <color>
384 <r>0</r>
385 <g>0</g>
386 <b>0</b>
387 </color>
388 <bgcolor mode="nobackground">
389 <r>255</r>
390 <g>255</g>
391 <b>255</b>
392 </bgcolor>
393 <bordermode>noborder</bordermode>
394 <borderradius>1</borderradius>
395 <borderwidth>1</borderwidth>
396 </bsbObject>
397 <bsbObject version="2" type="BSBHSlider">
398 <objectName>Amplitude_Cutoff_Frequency</objectName>
399 <x>10</x>
400 <y>56</y>
401 <width>500</width>
402 <height>27</height>
403 <uuid>{f14f89da-9ddf-4d52-9ec3-1d26969055ca}</uuid>
404 <visible>true</visible>
405 <midichan>0</midichan>
406 <midicc>0</midicc>
407 <minimum>0.00000000</minimum>
408 <maximum>1.00000000</maximum>
409 <value>0.61800000</value>
410 <mode>lin</mode>
411 <mouseControl act="jump">continuous</mouseControl>
412 <resolution>-1.00000000</resolution>
413 <randomizable group="0">false</randomizable>
414 </bsbObject>
415 <bsbObject version="2" type="BSBLabel">
416 <objectName/>
417 <x>10</x>
418 <y>75</y>
419 <width>180</width>
420 <height>30</height>
421 <uuid>{98b93c08-e505-4a89-8b08-f1c9fbf92c01}</uuid>
422 <visible>true</visible>
423 <midichan>0</midichan>
424 <midicc>0</midicc>
425 <label>Amplitude Cutoff Frequency</label>
426 <alignment>left</alignment>
427 <font>Arial</font>
428 <fontsize>10</fontsize>
429 <precision>3</precision>
430 <color>
431 <r>0</r>
432 <g>0</g>
433 <b>0</b>
434 </color>
435 <bgcolor mode="nobackground">
436 <r>255</r>
437 <g>255</g>
438 <b>255</b>
439 </bgcolor>
440 <bordermode>noborder</bordermode>
441 <borderradius>1</borderradius>
442 <borderwidth>1</borderwidth>
443 </bsbObject>
444 <bsbObject version="2" type="BSBLabel">
445 <objectName/>
446 <x>10</x>
447 <y>116</y>
448 <width>180</width>
449 <height>30</height>
450 <uuid>{a45554bb-09a2-40c7-90db-f301895af4ea}</uuid>
451 <visible>true</visible>
452 <midichan>0</midichan>
453 <midicc>0</midicc>
454 <label>Frequencies Cutoff Frequency</label>
455 <alignment>left</alignment>
456 <font>Arial</font>
457 <fontsize>10</fontsize>
458 <precision>3</precision>
459 <color>
460 <r>0</r>
461 <g>0</g>
462 <b>0</b>
463 </color>
464 <bgcolor mode="nobackground">
465 <r>255</r>
466 <g>255</g>
467 <b>255</b>
468 </bgcolor>
469 <bordermode>noborder</bordermode>
470 <borderradius>1</borderradius>
471 <borderwidth>1</borderwidth>
472 </bsbObject>
473 <bsbObject version="2" type="BSBHSlider">
474 <objectName>Frequencies_Cutoff_Frequency</objectName>
475 <x>10</x>
476 <y>97</y>
477 <width>500</width>
478 <height>27</height>
479 <uuid>{7bccbbd8-96f6-4c58-8210-5c45f467adff}</uuid>
480 <visible>true</visible>
481 <midichan>0</midichan>
482 <midicc>0</midicc>
483 <minimum>0.00000000</minimum>
484 <maximum>1.00000000</maximum>
485 <value>0.47800000</value>
486 <mode>lin</mode>
487 <mouseControl act="jump">continuous</mouseControl>
488 <resolution>-1.00000000</resolution>
489 <randomizable group="0">false</randomizable>
490 </bsbObject>
491 <bsbObject version="2" type="BSBDisplay">
492 <objectName>Frequencies_Cutoff_Frequency</objectName>
493 <x>450</x>
494 <y>114</y>
495 <width>60</width>
496 <height>30</height>
497 <uuid>{99f84362-9a1a-4063-9b94-adae67e9e45c}</uuid>
498 <visible>true</visible>
499 <midichan>0</midichan>
500 <midicc>0</midicc>
501 <label>0.478</label>
502 <alignment>right</alignment>
503 <font>Arial</font>
504 <fontsize>9</fontsize>
505 <precision>3</precision>
506 <color>
507 <r>0</r>
508 <g>0</g>
509 <b>0</b>
510 </color>
511 <bgcolor mode="nobackground">
512 <r>255</r>
513 <g>255</g>
514 <b>255</b>
515 </bgcolor>
516 <bordermode>noborder</bordermode>
517 <borderradius>1</borderradius>
518 <borderwidth>1</borderwidth>
519 </bsbObject>
520 <bsbObject version="2" type="BSBLabel">
521 <objectName/>
522 <x>10</x>
523 <y>157</y>
524 <width>150</width>
525 <height>30</height>
526 <uuid>{9953cbaa-8c27-400f-bc75-706d4b94c0b2}</uuid>
527 <visible>true</visible>
528 <midichan>0</midichan>
529 <midicc>0</midicc>
530 <label>Output Gain</label>
531 <alignment>left</alignment>
532 <font>Arial</font>
533 <fontsize>10</fontsize>
534 <precision>3</precision>
535 <color>
536 <r>0</r>
537 <g>0</g>
538 <b>0</b>
539 </color>
540 <bgcolor mode="nobackground">
541 <r>255</r>
542 <g>255</g>
543 <b>255</b>
544 </bgcolor>
545 <bordermode>noborder</bordermode>
546 <borderradius>1</borderradius>
547 <borderwidth>1</borderwidth>
548 </bsbObject>
549 <bsbObject version="2" type="BSBHSlider">
550 <objectName>Output_Gain</objectName>
551 <x>10</x>
552 <y>138</y>
553 <width>500</width>
554 <height>27</height>
555 <uuid>{e0921fc1-e6f7-4a32-85c8-533dc91e659d}</uuid>
556 <visible>true</visible>
557 <midichan>0</midichan>
558 <midicc>0</midicc>
559 <minimum>0.00000000</minimum>
560 <maximum>8.00000000</maximum>
561 <value>1.53600000</value>
562 <mode>lin</mode>
563 <mouseControl act="jump">continuous</mouseControl>
564 <resolution>-1.00000000</resolution>
565 <randomizable group="0">false</randomizable>
566 </bsbObject>
567 <bsbObject version="2" type="BSBDisplay">
568 <objectName>Output_Gain</objectName>
569 <x>450</x>
570 <y>155</y>
571 <width>60</width>
572 <height>30</height>
573 <uuid>{a23d1579-1122-4a03-98a4-dde5cb37c6a4}</uuid>
574 <visible>true</visible>
575 <midichan>0</midichan>
576 <midicc>0</midicc>
577 <label>1.536</label>
578 <alignment>right</alignment>
579 <font>Arial</font>
580 <fontsize>9</fontsize>
581 <precision>3</precision>
582 <color>
583 <r>0</r>
584 <g>0</g>
585 <b>0</b>
586 </color>
587 <bgcolor mode="nobackground">
588 <r>255</r>
589 <g>255</g>
590 <b>255</b>
591 </bgcolor>
592 <bordermode>noborder</bordermode>
593 <borderradius>1</borderradius>
594 <borderwidth>1</borderwidth>
595 </bsbObject>
596 <bsbObject version="2" type="BSBLabel">
597 <objectName/>
598 <x>10</x>
599 <y>198</y>
600 <width>150</width>
601 <height>30</height>
602 <uuid>{dcc58561-8602-46a4-9614-8bbaf896f6bc}</uuid>
603 <visible>true</visible>
604 <midichan>0</midichan>
605 <midicc>0</midicc>
606 <label>Dry Wet Mix</label>
607 <alignment>left</alignment>
608 <font>Arial</font>
609 <fontsize>10</fontsize>
610 <precision>3</precision>
611 <color>
612 <r>0</r>
613 <g>0</g>
614 <b>0</b>
615 </color>
616 <bgcolor mode="nobackground">
617 <r>255</r>
618 <g>255</g>
619 <b>255</b>
620 </bgcolor>
621 <bordermode>noborder</bordermode>
622 <borderradius>1</borderradius>
623 <borderwidth>1</borderwidth>
624 </bsbObject>
625 <bsbObject version="2" type="BSBHSlider">
626 <objectName>Dry_Wet_Mix</objectName>
627 <x>10</x>
628 <y>179</y>
629 <width>500</width>
630 <height>27</height>
631 <uuid>{dad33ecb-bdaf-42fa-a039-f09abbec1746}</uuid>
632 <visible>true</visible>
633 <midichan>0</midichan>
634 <midicc>0</midicc>
635 <minimum>0.00000000</minimum>
636 <maximum>1.00000000</maximum>
637 <value>0.85400000</value>
638 <mode>lin</mode>
639 <mouseControl act="jump">continuous</mouseControl>
640 <resolution>-1.00000000</resolution>
641 <randomizable group="0">false</randomizable>
642 </bsbObject>
643 <bsbObject version="2" type="BSBDisplay">
644 <objectName>Dry_Wet_Mix</objectName>
645 <x>451</x>
646 <y>196</y>
647 <width>60</width>
648 <height>30</height>
649 <uuid>{b2f51bc9-2102-4e38-971c-b8723cf61a8c}</uuid>
650 <visible>true</visible>
651 <midichan>0</midichan>
652 <midicc>0</midicc>
653 <label>0.854</label>
654 <alignment>right</alignment>
655 <font>Arial</font>
656 <fontsize>9</fontsize>
657 <precision>3</precision>
658 <color>
659 <r>0</r>
660 <g>0</g>
661 <b>0</b>
662 </color>
663 <bgcolor mode="nobackground">
664 <r>255</r>
665 <g>255</g>
666 <b>255</b>
667 </bgcolor>
668 <bordermode>noborder</bordermode>
669 <borderradius>1</borderradius>
670 <borderwidth>1</borderwidth>
671 </bsbObject>
672 <bsbObject version="2" type="BSBButton">
673 <objectName>_Browse1</objectName>
674 <x>9</x>
675 <y>281</y>
676 <width>170</width>
677 <height>30</height>
678 <uuid>{8ed829cd-00ee-480b-a482-6c45a24af53d}</uuid>
679 <visible>true</visible>
680 <midichan>0</midichan>
681 <midicc>0</midicc>
682 <type>value</type>
683 <pressedValue>1.00000000</pressedValue>
684 <stringvalue>AndItsAll.wav</stringvalue>
685 <text>Browse Audio File</text>
686 <image>/</image>
687 <eventLine/>
688 <latch>false</latch>
689 <latched>false</latched>
690 </bsbObject>
691 <bsbObject version="2" type="BSBLabel">
692 <objectName/>
693 <x>9</x>
694 <y>262</y>
695 <width>100</width>
696 <height>30</height>
697 <uuid>{7e32c815-35f2-47c4-8470-e4c126b6a830}</uuid>
698 <visible>true</visible>
699 <midichan>0</midichan>
700 <midicc>0</midicc>
701 <label>Voice</label>
702 <alignment>left</alignment>
703 <font>Arial</font>
704 <fontsize>10</fontsize>
705 <precision>3</precision>
706 <color>
707 <r>0</r>
708 <g>0</g>
709 <b>0</b>
710 </color>
711 <bgcolor mode="nobackground">
712 <r>255</r>
713 <g>255</g>
714 <b>255</b>
715 </bgcolor>
716 <bordermode>noborder</bordermode>
717 <borderradius>1</borderradius>
718 <borderwidth>1</borderwidth>
719 </bsbObject>
720 <bsbObject version="2" type="BSBLineEdit">
721 <objectName>_Browse1</objectName>
722 <x>180</x>
723 <y>282</y>
724 <width>330</width>
725 <height>28</height>
726 <uuid>{cd0c4d5d-61c5-4b2c-ac4b-a831172cbc5d}</uuid>
727 <visible>true</visible>
728 <midichan>0</midichan>
729 <midicc>0</midicc>
730 <label>AndItsAll.wav</label>
731 <alignment>left</alignment>
732 <font>Arial</font>
733 <fontsize>10</fontsize>
734 <precision>3</precision>
735 <color>
736 <r>0</r>
737 <g>0</g>
738 <b>0</b>
739 </color>
740 <bgcolor mode="nobackground">
741 <r>229</r>
742 <g>229</g>
743 <b>229</b>
744 </bgcolor>
745 <background>nobackground</background>
746 </bsbObject>
747 <bsbObject version="2" type="BSBLineEdit">
748 <objectName>_Browse2</objectName>
749 <x>180</x>
750 <y>334</y>
751 <width>330</width>
752 <height>28</height>
753 <uuid>{3fd5b372-25bb-4c88-94f6-999c7c789b69}</uuid>
754 <visible>true</visible>
755 <midichan>0</midichan>
756 <midicc>0</midicc>
757 <label>loop.wav</label>
758 <alignment>left</alignment>
759 <font>Arial</font>
760 <fontsize>10</fontsize>
761 <precision>3</precision>
762 <color>
763 <r>0</r>
764 <g>0</g>
765 <b>0</b>
766 </color>
767 <bgcolor mode="nobackground">
768 <r>229</r>
769 <g>229</g>
770 <b>229</b>
771 </bgcolor>
772 <background>nobackground</background>
773 </bsbObject>
774 <bsbObject version="2" type="BSBLabel">
775 <objectName/>
776 <x>9</x>
777 <y>314</y>
778 <width>100</width>
779 <height>30</height>
780 <uuid>{f413bca4-e657-4a9f-9720-e774d85152f0}</uuid>
781 <visible>true</visible>
782 <midichan>0</midichan>
783 <midicc>0</midicc>
784 <label>Drum Loop</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="BSBButton">
804 <objectName>_Browse2</objectName>
805 <x>9</x>
806 <y>333</y>
807 <width>170</width>
808 <height>30</height>
809 <uuid>{2782c899-27a5-4594-a972-6db1ca827cf3}</uuid>
810 <visible>true</visible>
811 <midichan>0</midichan>
812 <midicc>0</midicc>
813 <type>value</type>
814 <pressedValue>1.00000000</pressedValue>
815 <stringvalue>loop.wav</stringvalue>
816 <text>Browse Audio File</text>
817 <image>/</image>
818 <eventLine/>
819 <latch>false</latch>
820 <latched>false</latched>
821 </bsbObject>
822 <bsbObject version="2" type="BSBLabel">
823 <objectName/>
824 <x>180</x>
825 <y>307</y>
826 <width>330</width>
827 <height>30</height>
828 <uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid>
829 <visible>true</visible>
830 <midichan>0</midichan>
831 <midicc>0</midicc>
832 <label>Restart the instrument after changing the audio file.</label>
833 <alignment>left</alignment>
834 <font>Liberation Sans</font>
835 <fontsize>12</fontsize>
836 <precision>3</precision>
837 <color>
838 <r>0</r>
839 <g>0</g>
840 <b>0</b>
841 </color>
842 <bgcolor mode="nobackground">
843 <r>255</r>
844 <g>255</g>
845 <b>255</b>
846 </bgcolor>
847 <bordermode>noborder</bordermode>
848 <borderradius>1</borderradius>
849 <borderwidth>1</borderwidth>
850 </bsbObject>
851 <bsbObject version="2" type="BSBLabel">
852 <objectName/>
853 <x>180</x>
854 <y>360</y>
855 <width>330</width>
856 <height>30</height>
857 <uuid>{68bd8dc3-bee1-4444-b350-5d895429d366}</uuid>
858 <visible>true</visible>
859 <midichan>0</midichan>
860 <midicc>0</midicc>
861 <label>Restart the instrument after changing the audio file.</label>
862 <alignment>left</alignment>
863 <font>Liberation Sans</font>
864 <fontsize>12</fontsize>
865 <precision>3</precision>
866 <color>
867 <r>0</r>
868 <g>0</g>
869 <b>0</b>
870 </color>
871 <bgcolor mode="nobackground">
872 <r>255</r>
873 <g>255</g>
874 <b>255</b>
875 </bgcolor>
876 <bordermode>noborder</bordermode>
877 <borderradius>1</borderradius>
878 <borderwidth>1</borderwidth>
879 </bsbObject>
880 </bsbPanel>
881 <bsbPresets>
882 </bsbPresets>
883 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>