Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2009
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
7 ;Notes on modifications from original csd:
8 ; Add table(s) for exp slider
9 ; Add Browser for audio files and use of FilePlay2 udo, now accept mono or stereo wav files
10
11 ; Cannot display more than one space in Label, so can't display the diagram as below:
12 ;
13 ; klowcut khighcut
14 ; ________ ______________
15 ; \\ /
16 ; \\ /
17 ; \\ /
18 ; \\ /
19 ; \\ /
20 ; klowfull\\__________________________/ khighfull
21
22
23 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
24 <CsoundSynthesizer>
25 <CsOptions>
26 --env:SSDIR+=../../SourceMaterials
27 </CsOptions>
28 <CsInstruments>
29 sr = 44100 ;SAMPLE RATE
30 ksmps = 256 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
31 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
32 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
33
34
35 ;TABLES THAT STORE FFT ANALYSIS ATTRIBUTES DATA
36 giFFTattributes0 ftgen 1, 0, 4, -2, 512, 256, 1024, 1
37 giFFTattributes1 ftgen 2, 0, 4, -2, 1024, 256, 1024, 1
38 giFFTattributes2 ftgen 3, 0, 4, -2, 2048, 256, 2048, 1
39 giFFTattributes3 ftgen 4, 0, 4, -2, 4096, 256, 4096, 1
40
41 ;TABLE FOR EXP SLIDER
42 giExp20000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000
43
44
45 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
46 ;gives stereo output regardless your soundfile is mono or stereo
47 Sfil, kspeed, iskip, iloop xin
48 ichn filenchnls Sfil
49 if ichn == 1 then
50 aL diskin2 Sfil, kspeed, iskip, iloop
51 aR = aL
52 else
53 aL, aR diskin2 Sfil, kspeed, iskip, iloop
54 endif
55 xout aL, aR
56 endop
57
58
59 instr 10 ;GUI
60 ktrig metro 10
61 if (ktrig == 1) then
62 klowcut invalue "Low_Cut"
63 gklowcut tablei klowcut, giExp20000, 1
64 outvalue "Low_Cut_Value", gklowcut ;init 100.0
65 klowfull invalue "Low_Full"
66 gklowfull tablei klowfull, giExp20000, 1
67 outvalue "Low_Full_Value", gklowfull ;init 150.0
68 khighcut invalue "High_Cut"
69 gkhighcut tablei khighcut, giExp20000, 1
70 outvalue "High_Cut_Value", gkhighcut ;init 2800.0
71 khighfull invalue "High_Full"
72 gkhighfull tablei khighfull, giExp20000, 1
73 outvalue "High_Full_Value", gkhighfull ;init 2900.0
74 gktype invalue "Curve_Type" ;init 0.0
75
76 gkinput invalue "Input" ;init 1
77 gkFFTattributes invalue "FFTattributes" ;init 1
78
79 endif
80 endin
81
82 instr 1
83 kSwitch changed gkFFTattributes ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
84 if kSwitch=1 then ;IF I-RATE VARIABLE IS CHANGED...
85 reinit UPDATE ;BEGIN A REINITIALISATION PASS IN ORDER TO EFFECT THIS CHANGE. BEGIN THIS PASS AT LABEL ENTITLED 'UPDATE' AND CONTINUE UNTIL rireturn OPCODE
86 endif ;END OF CONDITIONAL BRANCHING
87 UPDATE: ;LABEL
88 if gkinput=0 then ;IF 'INPUT' SWITCH IS SET TO 'Live Input' THEN IMPLEMENT THE NEXT LINE OF CODE
89 asig inch 1 ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT CHANNEL 1 (LEFT)
90 else ;IF 'INPUT' SWITCH IS NOT SET TO 'STORED FILE' THEN IMPLEMENT THE NEXT LINE OF CODE
91 Sfile invalue "_Browse"
92 ;OUTPUT OPCODE FILE_PATH | SPEED | INSKIP | WRAPAROUND (1=ON)
93 asig, asigR FilePlay2 Sfile, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE
94 endif ;END OF 'IF'...'THEN' BRANCHING
95
96 iFFTsize table 0, i(gkFFTattributes)+1 ;READ FFT SIZE FROM APPROPRIATE TABLE
97 ioverlap table 1, i(gkFFTattributes)+1 ;READ OVERLAP SIZE FROM APPROPRIATE TABLE
98 iwinsize table 2, i(gkFFTattributes)+1 ;READ WINDOW SIZE FROM APPROPRIATE TABLE
99 iwintype table 3, i(gkFFTattributes)+1 ;READ WINDOW TYPE FROM APPROPRIATE TABLE
100
101 fsig1 pvsanal asig, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL. OUTPUT AN F-SIGNAL.
102 fsig2 pvsbandr fsig1, gklowcut, gklowfull, gkhighfull, gkhighcut, gktype ;PERFORM fsig BAND REJECT FILTERING
103
104 ;OUTPUT OPCODE INPUT
105 aresyn pvsynth fsig2 ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL
106 outs aresyn, aresyn ;SEND THE RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS
107 endin
108 </CsInstruments>
109 <CsScore>
110 ;INSTR | START | DURATION
111 i 10 0 3600 ;GUI
112 </CsScore>
113 </CsoundSynthesizer>
114
115 <bsbPanel>
116 <label>Widgets</label>
117 <objectName/>
118 <x>516</x>
119 <y>277</y>
120 <width>849</width>
121 <height>453</height>
122 <visible>true</visible>
123 <uuid/>
124 <bgcolor mode="background">
125 <r>241</r>
126 <g>226</g>
127 <b>185</b>
128 </bgcolor>
129 <bsbObject version="2" type="BSBLabel">
130 <objectName/>
131 <x>2</x>
132 <y>2</y>
133 <width>516</width>
134 <height>450</height>
135 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
136 <visible>true</visible>
137 <midichan>0</midichan>
138 <midicc>0</midicc>
139 <label>pvsbandr</label>
140 <alignment>center</alignment>
141 <font>Liberation Sans</font>
142 <fontsize>18</fontsize>
143 <precision>3</precision>
144 <color>
145 <r>0</r>
146 <g>0</g>
147 <b>0</b>
148 </color>
149 <bgcolor mode="background">
150 <r>181</r>
151 <g>199</g>
152 <b>255</b>
153 </bgcolor>
154 <bordermode>border</bordermode>
155 <borderradius>5</borderradius>
156 <borderwidth>2</borderwidth>
157 </bsbObject>
158 <bsbObject version="2" type="BSBLabel">
159 <objectName/>
160 <x>519</x>
161 <y>2</y>
162 <width>323</width>
163 <height>450</height>
164 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
165 <visible>true</visible>
166 <midichan>0</midichan>
167 <midicc>0</midicc>
168 <label>pvsbandr</label>
169 <alignment>center</alignment>
170 <font>Liberation Sans</font>
171 <fontsize>18</fontsize>
172 <precision>3</precision>
173 <color>
174 <r>0</r>
175 <g>0</g>
176 <b>0</b>
177 </color>
178 <bgcolor mode="background">
179 <r>181</r>
180 <g>199</g>
181 <b>255</b>
182 </bgcolor>
183 <bordermode>border</bordermode>
184 <borderradius>5</borderradius>
185 <borderwidth>2</borderwidth>
186 </bsbObject>
187 <bsbObject version="2" type="BSBLabel">
188 <objectName/>
189 <x>521</x>
190 <y>27</y>
191 <width>316</width>
192 <height>402</height>
193 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
194 <visible>true</visible>
195 <midichan>0</midichan>
196 <midicc>0</midicc>
197 <label>----------------------------------------------------------------------------
198 pvsbandr is an implementation of a band reject filter using phase vocoder analysis.
199 The shape of the filter is defined by specifying the nodes of maximum and minimum attenuation for the low cut and high cut aspects of the filter.
200 The diagram (taken from the Csound Manual) shown in csd, helps to illustrate this.
201 Using this system the user can continuously vary the cutoff slope of the filter.
202 The input parameter 'type' define the shape of the cutoff slope. A value of zero will give a linear shape, positive values will result in an exponential shape and negative values will give a logarithmic shape.
203 The user can select between a variety of combinations of parameters for the FFT analysis. Larger values for FFT size will give better harmonic reproduction but greater time smearing effects and higher computational cost. Lower values will result in less time smearing but greater harmonic distortion.
204 The user can choose between different input sources which includes the computer's live input.</label>
205 <alignment>left</alignment>
206 <font>Arial</font>
207 <fontsize>14</fontsize>
208 <precision>3</precision>
209 <color>
210 <r>0</r>
211 <g>0</g>
212 <b>0</b>
213 </color>
214 <bgcolor mode="nobackground">
215 <r>255</r>
216 <g>255</g>
217 <b>255</b>
218 </bgcolor>
219 <bordermode>noborder</bordermode>
220 <borderradius>1</borderradius>
221 <borderwidth>1</borderwidth>
222 </bsbObject>
223 <bsbObject version="2" type="BSBButton">
224 <objectName/>
225 <x>8</x>
226 <y>8</y>
227 <width>100</width>
228 <height>30</height>
229 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
230 <visible>true</visible>
231 <midichan>0</midichan>
232 <midicc>0</midicc>
233 <type>event</type>
234 <pressedValue>1.00000000</pressedValue>
235 <stringvalue/>
236 <text> ON / OFF</text>
237 <image>/</image>
238 <eventLine>i 1 0 -1</eventLine>
239 <latch>true</latch>
240 <latched>false</latched>
241 </bsbObject>
242 <bsbObject version="2" type="BSBLabel">
243 <objectName/>
244 <x>191</x>
245 <y>280</y>
246 <width>60</width>
247 <height>30</height>
248 <uuid>{b3560c14-84be-4876-9100-5807ffe16e97}</uuid>
249 <visible>true</visible>
250 <midichan>0</midichan>
251 <midicc>0</midicc>
252 <label>Input</label>
253 <alignment>right</alignment>
254 <font>Arial</font>
255 <fontsize>10</fontsize>
256 <precision>3</precision>
257 <color>
258 <r>0</r>
259 <g>0</g>
260 <b>0</b>
261 </color>
262 <bgcolor mode="nobackground">
263 <r>255</r>
264 <g>255</g>
265 <b>255</b>
266 </bgcolor>
267 <bordermode>noborder</bordermode>
268 <borderradius>1</borderradius>
269 <borderwidth>1</borderwidth>
270 </bsbObject>
271 <bsbObject version="2" type="BSBDropdown">
272 <objectName>Input</objectName>
273 <x>252</x>
274 <y>280</y>
275 <width>110</width>
276 <height>30</height>
277 <uuid>{cdb2d3b2-5a09-4e13-865e-8501e33b9d35}</uuid>
278 <visible>true</visible>
279 <midichan>0</midichan>
280 <midicc>0</midicc>
281 <bsbDropdownItemList>
282 <bsbDropdownItem>
283 <name>Live Input</name>
284 <value>0</value>
285 <stringvalue/>
286 </bsbDropdownItem>
287 <bsbDropdownItem>
288 <name>Audio File</name>
289 <value>1</value>
290 <stringvalue/>
291 </bsbDropdownItem>
292 </bsbDropdownItemList>
293 <selectedIndex>1</selectedIndex>
294 <randomizable group="0">false</randomizable>
295 </bsbObject>
296 <bsbObject version="2" type="BSBLabel">
297 <objectName/>
298 <x>9</x>
299 <y>376</y>
300 <width>502</width>
301 <height>70</height>
302 <uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid>
303 <visible>true</visible>
304 <midichan>0</midichan>
305 <midicc>0</midicc>
306 <label>FFT Attributes</label>
307 <alignment>left</alignment>
308 <font>Arial</font>
309 <fontsize>14</fontsize>
310 <precision>3</precision>
311 <color>
312 <r>0</r>
313 <g>0</g>
314 <b>0</b>
315 </color>
316 <bgcolor mode="nobackground">
317 <r>255</r>
318 <g>255</g>
319 <b>255</b>
320 </bgcolor>
321 <bordermode>border</bordermode>
322 <borderradius>3</borderradius>
323 <borderwidth>1</borderwidth>
324 </bsbObject>
325 <bsbObject version="2" type="BSBLabel">
326 <objectName/>
327 <x>168</x>
328 <y>382</y>
329 <width>300</width>
330 <height>28</height>
331 <uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid>
332 <visible>true</visible>
333 <midichan>0</midichan>
334 <midicc>0</midicc>
335 <label>FFT Size - Overlap - Window Size - Window Type</label>
336 <alignment>left</alignment>
337 <font>Arial</font>
338 <fontsize>10</fontsize>
339 <precision>3</precision>
340 <color>
341 <r>0</r>
342 <g>0</g>
343 <b>0</b>
344 </color>
345 <bgcolor mode="nobackground">
346 <r>255</r>
347 <g>255</g>
348 <b>255</b>
349 </bgcolor>
350 <bordermode>noborder</bordermode>
351 <borderradius>1</borderradius>
352 <borderwidth>1</borderwidth>
353 </bsbObject>
354 <bsbObject version="2" type="BSBDropdown">
355 <objectName>FFTattributes</objectName>
356 <x>168</x>
357 <y>402</y>
358 <width>274</width>
359 <height>32</height>
360 <uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid>
361 <visible>true</visible>
362 <midichan>0</midichan>
363 <midicc>0</midicc>
364 <bsbDropdownItemList>
365 <bsbDropdownItem>
366 <name>512 256 1024 1</name>
367 <value>0</value>
368 <stringvalue/>
369 </bsbDropdownItem>
370 <bsbDropdownItem>
371 <name>1024 256 1024 1</name>
372 <value>1</value>
373 <stringvalue/>
374 </bsbDropdownItem>
375 <bsbDropdownItem>
376 <name>2048 256 2048 1</name>
377 <value>2</value>
378 <stringvalue/>
379 </bsbDropdownItem>
380 <bsbDropdownItem>
381 <name>4096 256 4096 1</name>
382 <value>3</value>
383 <stringvalue/>
384 </bsbDropdownItem>
385 </bsbDropdownItemList>
386 <selectedIndex>0</selectedIndex>
387 <randomizable group="0">false</randomizable>
388 </bsbObject>
389 <bsbObject version="2" type="BSBDisplay">
390 <objectName>Low_Cut_Value</objectName>
391 <x>450</x>
392 <y>73</y>
393 <width>60</width>
394 <height>30</height>
395 <uuid>{a471f0a0-872d-45ce-8067-16edcf43702b}</uuid>
396 <visible>true</visible>
397 <midichan>0</midichan>
398 <midicc>0</midicc>
399 <label>312.653</label>
400 <alignment>right</alignment>
401 <font>Arial</font>
402 <fontsize>9</fontsize>
403 <precision>3</precision>
404 <color>
405 <r>0</r>
406 <g>0</g>
407 <b>0</b>
408 </color>
409 <bgcolor mode="nobackground">
410 <r>255</r>
411 <g>255</g>
412 <b>255</b>
413 </bgcolor>
414 <bordermode>noborder</bordermode>
415 <borderradius>1</borderradius>
416 <borderwidth>1</borderwidth>
417 </bsbObject>
418 <bsbObject version="2" type="BSBHSlider">
419 <objectName>Low_Cut</objectName>
420 <x>10</x>
421 <y>56</y>
422 <width>500</width>
423 <height>27</height>
424 <uuid>{f14f89da-9ddf-4d52-9ec3-1d26969055ca}</uuid>
425 <visible>true</visible>
426 <midichan>0</midichan>
427 <midicc>0</midicc>
428 <minimum>0.00000000</minimum>
429 <maximum>1.00000000</maximum>
430 <value>0.39800000</value>
431 <mode>lin</mode>
432 <mouseControl act="jump">continuous</mouseControl>
433 <resolution>-1.00000000</resolution>
434 <randomizable group="0">false</randomizable>
435 </bsbObject>
436 <bsbObject version="2" type="BSBLabel">
437 <objectName/>
438 <x>10</x>
439 <y>75</y>
440 <width>180</width>
441 <height>30</height>
442 <uuid>{98b93c08-e505-4a89-8b08-f1c9fbf92c01}</uuid>
443 <visible>true</visible>
444 <midichan>0</midichan>
445 <midicc>0</midicc>
446 <label>Low Cut</label>
447 <alignment>left</alignment>
448 <font>Arial</font>
449 <fontsize>10</fontsize>
450 <precision>3</precision>
451 <color>
452 <r>0</r>
453 <g>0</g>
454 <b>0</b>
455 </color>
456 <bgcolor mode="nobackground">
457 <r>255</r>
458 <g>255</g>
459 <b>255</b>
460 </bgcolor>
461 <bordermode>noborder</bordermode>
462 <borderradius>1</borderradius>
463 <borderwidth>1</borderwidth>
464 </bsbObject>
465 <bsbObject version="2" type="BSBLabel">
466 <objectName/>
467 <x>10</x>
468 <y>116</y>
469 <width>180</width>
470 <height>30</height>
471 <uuid>{a45554bb-09a2-40c7-90db-f301895af4ea}</uuid>
472 <visible>true</visible>
473 <midichan>0</midichan>
474 <midicc>0</midicc>
475 <label>Low Full</label>
476 <alignment>left</alignment>
477 <font>Arial</font>
478 <fontsize>10</fontsize>
479 <precision>3</precision>
480 <color>
481 <r>0</r>
482 <g>0</g>
483 <b>0</b>
484 </color>
485 <bgcolor mode="nobackground">
486 <r>255</r>
487 <g>255</g>
488 <b>255</b>
489 </bgcolor>
490 <bordermode>noborder</bordermode>
491 <borderradius>1</borderradius>
492 <borderwidth>1</borderwidth>
493 </bsbObject>
494 <bsbObject version="2" type="BSBHSlider">
495 <objectName>Low_Full</objectName>
496 <x>10</x>
497 <y>97</y>
498 <width>500</width>
499 <height>27</height>
500 <uuid>{7bccbbd8-96f6-4c58-8210-5c45f467adff}</uuid>
501 <visible>true</visible>
502 <midichan>0</midichan>
503 <midicc>0</midicc>
504 <minimum>0.00000000</minimum>
505 <maximum>1.00000000</maximum>
506 <value>0.30400000</value>
507 <mode>lin</mode>
508 <mouseControl act="jump">continuous</mouseControl>
509 <resolution>-1.00000000</resolution>
510 <randomizable group="0">false</randomizable>
511 </bsbObject>
512 <bsbObject version="2" type="BSBDisplay">
513 <objectName>Low_Full_Value</objectName>
514 <x>450</x>
515 <y>114</y>
516 <width>60</width>
517 <height>30</height>
518 <uuid>{99f84362-9a1a-4063-9b94-adae67e9e45c}</uuid>
519 <visible>true</visible>
520 <midichan>0</midichan>
521 <midicc>0</midicc>
522 <label>163.335</label>
523 <alignment>right</alignment>
524 <font>Arial</font>
525 <fontsize>9</fontsize>
526 <precision>3</precision>
527 <color>
528 <r>0</r>
529 <g>0</g>
530 <b>0</b>
531 </color>
532 <bgcolor mode="nobackground">
533 <r>255</r>
534 <g>255</g>
535 <b>255</b>
536 </bgcolor>
537 <bordermode>noborder</bordermode>
538 <borderradius>1</borderradius>
539 <borderwidth>1</borderwidth>
540 </bsbObject>
541 <bsbObject version="2" type="BSBLabel">
542 <objectName/>
543 <x>10</x>
544 <y>157</y>
545 <width>150</width>
546 <height>30</height>
547 <uuid>{9953cbaa-8c27-400f-bc75-706d4b94c0b2}</uuid>
548 <visible>true</visible>
549 <midichan>0</midichan>
550 <midicc>0</midicc>
551 <label>High Cut</label>
552 <alignment>left</alignment>
553 <font>Arial</font>
554 <fontsize>10</fontsize>
555 <precision>3</precision>
556 <color>
557 <r>0</r>
558 <g>0</g>
559 <b>0</b>
560 </color>
561 <bgcolor mode="nobackground">
562 <r>255</r>
563 <g>255</g>
564 <b>255</b>
565 </bgcolor>
566 <bordermode>noborder</bordermode>
567 <borderradius>1</borderradius>
568 <borderwidth>1</borderwidth>
569 </bsbObject>
570 <bsbObject version="2" type="BSBHSlider">
571 <objectName>High_Cut</objectName>
572 <x>10</x>
573 <y>138</y>
574 <width>500</width>
575 <height>27</height>
576 <uuid>{e0921fc1-e6f7-4a32-85c8-533dc91e659d}</uuid>
577 <visible>true</visible>
578 <midichan>0</midichan>
579 <midicc>0</midicc>
580 <minimum>0.00000000</minimum>
581 <maximum>1.00000000</maximum>
582 <value>0.36400000</value>
583 <mode>lin</mode>
584 <mouseControl act="jump">continuous</mouseControl>
585 <resolution>-1.00000000</resolution>
586 <randomizable group="0">false</randomizable>
587 </bsbObject>
588 <bsbObject version="2" type="BSBDisplay">
589 <objectName>High_Cut_Value</objectName>
590 <x>450</x>
591 <y>155</y>
592 <width>60</width>
593 <height>30</height>
594 <uuid>{a23d1579-1122-4a03-98a4-dde5cb37c6a4}</uuid>
595 <visible>true</visible>
596 <midichan>0</midichan>
597 <midicc>0</midicc>
598 <label>247.276</label>
599 <alignment>right</alignment>
600 <font>Arial</font>
601 <fontsize>9</fontsize>
602 <precision>3</precision>
603 <color>
604 <r>0</r>
605 <g>0</g>
606 <b>0</b>
607 </color>
608 <bgcolor mode="nobackground">
609 <r>255</r>
610 <g>255</g>
611 <b>255</b>
612 </bgcolor>
613 <bordermode>noborder</bordermode>
614 <borderradius>1</borderradius>
615 <borderwidth>1</borderwidth>
616 </bsbObject>
617 <bsbObject version="2" type="BSBLabel">
618 <objectName/>
619 <x>10</x>
620 <y>198</y>
621 <width>150</width>
622 <height>30</height>
623 <uuid>{dcc58561-8602-46a4-9614-8bbaf896f6bc}</uuid>
624 <visible>true</visible>
625 <midichan>0</midichan>
626 <midicc>0</midicc>
627 <label>High Full</label>
628 <alignment>left</alignment>
629 <font>Arial</font>
630 <fontsize>10</fontsize>
631 <precision>3</precision>
632 <color>
633 <r>0</r>
634 <g>0</g>
635 <b>0</b>
636 </color>
637 <bgcolor mode="nobackground">
638 <r>255</r>
639 <g>255</g>
640 <b>255</b>
641 </bgcolor>
642 <bordermode>noborder</bordermode>
643 <borderradius>1</borderradius>
644 <borderwidth>1</borderwidth>
645 </bsbObject>
646 <bsbObject version="2" type="BSBHSlider">
647 <objectName>High_Full</objectName>
648 <x>10</x>
649 <y>179</y>
650 <width>500</width>
651 <height>27</height>
652 <uuid>{dad33ecb-bdaf-42fa-a039-f09abbec1746}</uuid>
653 <visible>true</visible>
654 <midichan>0</midichan>
655 <midicc>0</midicc>
656 <minimum>0.00000000</minimum>
657 <maximum>1.00000000</maximum>
658 <value>0.52200000</value>
659 <mode>lin</mode>
660 <mouseControl act="jump">continuous</mouseControl>
661 <resolution>-1.00000000</resolution>
662 <randomizable group="0">false</randomizable>
663 </bsbObject>
664 <bsbObject version="2" type="BSBDisplay">
665 <objectName>High_Full_Value</objectName>
666 <x>451</x>
667 <y>196</y>
668 <width>60</width>
669 <height>30</height>
670 <uuid>{b2f51bc9-2102-4e38-971c-b8723cf61a8c}</uuid>
671 <visible>true</visible>
672 <midichan>0</midichan>
673 <midicc>0</midicc>
674 <label>736.417</label>
675 <alignment>right</alignment>
676 <font>Arial</font>
677 <fontsize>9</fontsize>
678 <precision>3</precision>
679 <color>
680 <r>0</r>
681 <g>0</g>
682 <b>0</b>
683 </color>
684 <bgcolor mode="nobackground">
685 <r>255</r>
686 <g>255</g>
687 <b>255</b>
688 </bgcolor>
689 <bordermode>noborder</bordermode>
690 <borderradius>1</borderradius>
691 <borderwidth>1</borderwidth>
692 </bsbObject>
693 <bsbObject version="2" type="BSBButton">
694 <objectName>_Browse</objectName>
695 <x>10</x>
696 <y>320</y>
697 <width>170</width>
698 <height>30</height>
699 <uuid>{8ed829cd-00ee-480b-a482-6c45a24af53d}</uuid>
700 <visible>true</visible>
701 <midichan>0</midichan>
702 <midicc>0</midicc>
703 <type>value</type>
704 <pressedValue>1.00000000</pressedValue>
705 <stringvalue>AndItsAll.wav</stringvalue>
706 <text>Browse Audio File</text>
707 <image>/</image>
708 <eventLine/>
709 <latch>false</latch>
710 <latched>false</latched>
711 </bsbObject>
712 <bsbObject version="2" type="BSBLabel">
713 <objectName/>
714 <x>10</x>
715 <y>301</y>
716 <width>120</width>
717 <height>30</height>
718 <uuid>{7e32c815-35f2-47c4-8470-e4c126b6a830}</uuid>
719 <visible>true</visible>
720 <midichan>0</midichan>
721 <midicc>0</midicc>
722 <label>Sound File Input</label>
723 <alignment>left</alignment>
724 <font>Arial</font>
725 <fontsize>10</fontsize>
726 <precision>3</precision>
727 <color>
728 <r>0</r>
729 <g>0</g>
730 <b>0</b>
731 </color>
732 <bgcolor mode="nobackground">
733 <r>255</r>
734 <g>255</g>
735 <b>255</b>
736 </bgcolor>
737 <bordermode>noborder</bordermode>
738 <borderradius>1</borderradius>
739 <borderwidth>1</borderwidth>
740 </bsbObject>
741 <bsbObject version="2" type="BSBLineEdit">
742 <objectName>_Browse</objectName>
743 <x>181</x>
744 <y>321</y>
745 <width>330</width>
746 <height>28</height>
747 <uuid>{cd0c4d5d-61c5-4b2c-ac4b-a831172cbc5d}</uuid>
748 <visible>true</visible>
749 <midichan>0</midichan>
750 <midicc>0</midicc>
751 <label>AndItsAll.wav</label>
752 <alignment>left</alignment>
753 <font>Arial</font>
754 <fontsize>10</fontsize>
755 <precision>3</precision>
756 <color>
757 <r>0</r>
758 <g>0</g>
759 <b>0</b>
760 </color>
761 <bgcolor mode="nobackground">
762 <r>229</r>
763 <g>229</g>
764 <b>229</b>
765 </bgcolor>
766 <background>nobackground</background>
767 </bsbObject>
768 <bsbObject version="2" type="BSBDisplay">
769 <objectName>Curve_Type</objectName>
770 <x>451</x>
771 <y>237</y>
772 <width>60</width>
773 <height>30</height>
774 <uuid>{97f032e7-b7b0-493d-a6ce-70691badd3dc}</uuid>
775 <visible>true</visible>
776 <midichan>0</midichan>
777 <midicc>0</midicc>
778 <label>0.020</label>
779 <alignment>right</alignment>
780 <font>Arial</font>
781 <fontsize>9</fontsize>
782 <precision>3</precision>
783 <color>
784 <r>0</r>
785 <g>0</g>
786 <b>0</b>
787 </color>
788 <bgcolor mode="nobackground">
789 <r>255</r>
790 <g>255</g>
791 <b>255</b>
792 </bgcolor>
793 <bordermode>noborder</bordermode>
794 <borderradius>1</borderradius>
795 <borderwidth>1</borderwidth>
796 </bsbObject>
797 <bsbObject version="2" type="BSBHSlider">
798 <objectName>Curve_Type</objectName>
799 <x>10</x>
800 <y>220</y>
801 <width>500</width>
802 <height>27</height>
803 <uuid>{3709a127-4bc3-49dd-b5e4-288282dc6995}</uuid>
804 <visible>true</visible>
805 <midichan>0</midichan>
806 <midicc>0</midicc>
807 <minimum>-5.00000000</minimum>
808 <maximum>5.00000000</maximum>
809 <value>0.02000000</value>
810 <mode>lin</mode>
811 <mouseControl act="jump">continuous</mouseControl>
812 <resolution>-1.00000000</resolution>
813 <randomizable group="0">false</randomizable>
814 </bsbObject>
815 <bsbObject version="2" type="BSBLabel">
816 <objectName/>
817 <x>10</x>
818 <y>239</y>
819 <width>150</width>
820 <height>30</height>
821 <uuid>{a7fc7598-500a-4951-8b23-12ba07f5bfb8}</uuid>
822 <visible>true</visible>
823 <midichan>0</midichan>
824 <midicc>0</midicc>
825 <label>Curve Type</label>
826 <alignment>left</alignment>
827 <font>Arial</font>
828 <fontsize>10</fontsize>
829 <precision>3</precision>
830 <color>
831 <r>0</r>
832 <g>0</g>
833 <b>0</b>
834 </color>
835 <bgcolor mode="nobackground">
836 <r>255</r>
837 <g>255</g>
838 <b>255</b>
839 </bgcolor>
840 <bordermode>noborder</bordermode>
841 <borderradius>1</borderradius>
842 <borderwidth>1</borderwidth>
843 </bsbObject>
844 <bsbObject version="2" type="BSBLabel">
845 <objectName/>
846 <x>181</x>
847 <y>348</y>
848 <width>330</width>
849 <height>30</height>
850 <uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid>
851 <visible>true</visible>
852 <midichan>0</midichan>
853 <midicc>0</midicc>
854 <label>Restart the instrument after changing the audio file.</label>
855 <alignment>left</alignment>
856 <font>Liberation Sans</font>
857 <fontsize>12</fontsize>
858 <precision>3</precision>
859 <color>
860 <r>0</r>
861 <g>0</g>
862 <b>0</b>
863 </color>
864 <bgcolor mode="nobackground">
865 <r>255</r>
866 <g>255</g>
867 <b>255</b>
868 </bgcolor>
869 <bordermode>noborder</bordermode>
870 <borderradius>1</borderradius>
871 <borderwidth>1</borderwidth>
872 </bsbObject>
873 </bsbPanel>
874 <bsbPresets>
875 </bsbPresets>
876 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel>