Debian Codegraph @

src/Examples/McCurdy Collection/FFT/pvshift_pvscale.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 table(s) for exp slider
8 ; Add Browser for audio files and use of FilePlay2 udo, now accept mono or stereo wav files
9
10
11 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
12 <CsoundSynthesizer>
13 <CsOptions>
14 --env:SSDIR+=../../SourceMaterials
15 </CsOptions>
16 <CsInstruments>
17 sr = 44100 ;SAMPLE RATE
18 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
19 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
20 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
21
22
23 giFFTattributes0 ftgen 1, 0, 4, -2, 512, 256, 1024, 1
24 giFFTattributes1 ftgen 2, 0, 4, -2, 1024, 256, 1024, 1
25 giFFTattributes2 ftgen 3, 0, 4, -2, 2048, 128, 2048, 1
26 giFFTattributes3 ftgen 4, 0, 4, -2, 4096, 128, 4096, 1
27
28 ;TABLE FOR EXP SLIDER
29 giExp8 ftgen 0, 0, 129, -25, 0, 0.125, 128, 8.0
30 giExp20000 ftgen 0, 0, 129, -25, 0, 1.0, 128, 20000
31
32
33 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
34 ;gives stereo output regardless your soundfile is mono or stereo
35 Sfil, kspeed, iskip, iloop xin
36 ichn filenchnls Sfil
37 if ichn == 1 then
38 aL diskin2 Sfil, kspeed, iskip, iloop
39 aR = aL
40 else
41 aL, aR diskin2 Sfil, kspeed, iskip, iloop
42 endif
43 xout aL, aR
44 endop
45
46
47 instr 10 ;GUI
48 ktrig metro 10
49 if (ktrig == 1) then
50 gkshift invalue "Frequency_Shift" ;init 0.0
51 gkgain invalue "Gain_Rescale" ;init 1.0
52 klowest invalue "Lowest_Frequency"
53 gklowest tablei klowest, giExp20000, 1
54 outvalue "Lowest_Frequency_Value", gklowest ;init 10.0
55 kscal invalue "Frequency_Rescale"
56 gkscal tablei kscal, giExp8, 1
57 outvalue "Frequency_Rescale_Value", gkscal ;init 1.0
58 gkOutGain invalue "Output_Gain" ;init 0.7
59 gkkeepform invalue "Keepform" ;init 0
60 gkinput invalue "Input" ;init 1
61 gkFFTattributes invalue "FFTattributes" ;init 1
62 endif
63 endin
64
65 instr 1
66 if gkinput=0 then ;IF 'INPUT' SWITCH IS SET TO 'Live Input' THEN IMPLEMENT THE NEXT LINE OF CODE
67 asig inch 1 ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT CHANNEL 1 (LEFT)
68 elseif gkinput=1 then ;IF 'INPUT' SWITCH IS SET TO 'Voice' THEN IMPLEMENT THE NEXT LINE OF CODE
69 Sfile1 invalue "_Browse1"
70 ;OUTPUT OPCODE FILE_PATH| SPEED | INSKIP | WRAPAROUND (1=ON)
71 asig, asigR FilePlay2 Sfile1, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE
72 else ;IF 'INPUT' SWITCH IS NOT SET TO 'STORED FILE' THEN IMPLEMENT THE NEXT LINE OF CODE
73 Sfile2 invalue "_Browse2"
74 ;OUTPUT OPCODE FILE_PATH| SPEED | INSKIP | WRAPAROUND (1=ON)
75 asig, asigR FilePlay2 Sfile2, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE
76 endif ;END OF 'IF'...'THEN' BRANCHING
77 kSwitch changed gkgain, gkkeepform, gkFFTattributes ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
78 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
79 reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
80 endif
81 START:
82 iFFTsize table 0, i(gkFFTattributes)+1
83 ioverlap table 1, i(gkFFTattributes)+1
84 iwinsize table 2, i(gkFFTattributes)+1
85 iwintype table 3, i(gkFFTattributes)+1
86
87 fsig1 pvsanal asig, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL THAT WAS CREATED IN INSTRUMENT 1. OUTPUT AN F-SIGNAL.
88 ;OUTPUT OPCODE INPUT | SHIFT_AMOUNT | LOWEST_EXPECTED_FREQUENCY | FORMANT_MODE | GAIN
89 fsig2 pvshift fsig1, gkshift, gklowest, i(gkkeepform), i(gkgain) ;SHIFT FREQUENCIES OF THE INPUT F-SIGNAL
90 ;OUTPUT OPCODE INPUT | RESCALE_VALUE | FORMANT_MODE | GAIN
91 fsig3 pvscale fsig2, gkscal, i(gkkeepform), i(gkgain) ;RESCALE THE FREQUENCY VALUES ACCORDING TO THE INPUT ARGUMENT gkscal.
92 ;OUTPUT OPCODE INPUT
93 aresyn pvsynth fsig3 ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL
94 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
95 outs aresyn * gkOutGain, aresyn * gkOutGain ;SEND THE RESCALED, RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS
96 endin
97 </CsInstruments>
98 <CsScore>
99 ;INSTR | START | DURATION
100 i 10 0 3600 ;GUI
101 </CsScore>
102 </CsoundSynthesizer>
103
104 <bsbPanel>
105 <label>Widgets</label>
106 <objectName/>
107 <x>73</x>
108 <y>206</y>
109 <width>797</width>
110 <height>530</height>
111 <visible>true</visible>
112 <uuid/>
113 <bgcolor mode="background">
114 <r>241</r>
115 <g>226</g>
116 <b>185</b>
117 </bgcolor>
118 <bsbObject version="2" type="BSBLabel">
119 <objectName/>
120 <x>2</x>
121 <y>2</y>
122 <width>515</width>
123 <height>528</height>
124 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
125 <visible>true</visible>
126 <midichan>0</midichan>
127 <midicc>0</midicc>
128 <label>pvshift -> pvscale</label>
129 <alignment>center</alignment>
130 <font>Liberation Sans</font>
131 <fontsize>18</fontsize>
132 <precision>3</precision>
133 <color>
134 <r>0</r>
135 <g>0</g>
136 <b>0</b>
137 </color>
138 <bgcolor mode="background">
139 <r>181</r>
140 <g>199</g>
141 <b>255</b>
142 </bgcolor>
143 <bordermode>border</bordermode>
144 <borderradius>5</borderradius>
145 <borderwidth>2</borderwidth>
146 </bsbObject>
147 <bsbObject version="2" type="BSBLabel">
148 <objectName/>
149 <x>518</x>
150 <y>2</y>
151 <width>279</width>
152 <height>528</height>
153 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
154 <visible>true</visible>
155 <midichan>0</midichan>
156 <midicc>0</midicc>
157 <label>pvshift -> pvscale</label>
158 <alignment>center</alignment>
159 <font>Liberation Sans</font>
160 <fontsize>18</fontsize>
161 <precision>3</precision>
162 <color>
163 <r>0</r>
164 <g>0</g>
165 <b>0</b>
166 </color>
167 <bgcolor mode="background">
168 <r>181</r>
169 <g>199</g>
170 <b>255</b>
171 </bgcolor>
172 <bordermode>border</bordermode>
173 <borderradius>5</borderradius>
174 <borderwidth>2</borderwidth>
175 </bsbObject>
176 <bsbObject version="2" type="BSBLabel">
177 <objectName/>
178 <x>522</x>
179 <y>48</y>
180 <width>271</width>
181 <height>397</height>
182 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
183 <visible>true</visible>
184 <midichan>0</midichan>
185 <midicc>0</midicc>
186 <label>-----------------------------------------------------------------
187 This example places pvshift and pvscale in a serial arrangement for your further experimentation.
188 The two opcodes share the 'Formant Mode' and 'Gain Rescale' controls.
189 Typically the spectrum can be compressed and raised by giving 'Frequency Shift' a positive value and then transposed down by giving 'Frequency Rescale' a value less than 1 to bring the fundemental of the spectrum back to its original value.
190 A variety of combinations of FFT analysis attributes are selectable using radio button selectors.
191 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>
192 <alignment>left</alignment>
193 <font>Arial</font>
194 <fontsize>14</fontsize>
195 <precision>3</precision>
196 <color>
197 <r>0</r>
198 <g>0</g>
199 <b>0</b>
200 </color>
201 <bgcolor mode="nobackground">
202 <r>255</r>
203 <g>255</g>
204 <b>255</b>
205 </bgcolor>
206 <bordermode>noborder</bordermode>
207 <borderradius>1</borderradius>
208 <borderwidth>1</borderwidth>
209 </bsbObject>
210 <bsbObject version="2" type="BSBButton">
211 <objectName/>
212 <x>8</x>
213 <y>8</y>
214 <width>100</width>
215 <height>30</height>
216 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
217 <visible>true</visible>
218 <midichan>0</midichan>
219 <midicc>0</midicc>
220 <type>event</type>
221 <pressedValue>1.00000000</pressedValue>
222 <stringvalue/>
223 <text> ON / OFF</text>
224 <image>/</image>
225 <eventLine>i 1 0 -1</eventLine>
226 <latch>true</latch>
227 <latched>false</latched>
228 </bsbObject>
229 <bsbObject version="2" type="BSBDropdown">
230 <objectName>Keepform</objectName>
231 <x>267</x>
232 <y>280</y>
233 <width>230</width>
234 <height>30</height>
235 <uuid>{65bb9cc6-078d-45fd-99aa-dd17a8d2d144}</uuid>
236 <visible>true</visible>
237 <midichan>0</midichan>
238 <midicc>0</midicc>
239 <bsbDropdownItemList>
240 <bsbDropdownItem>
241 <name>Do not preserve formants</name>
242 <value>0</value>
243 <stringvalue/>
244 </bsbDropdownItem>
245 <bsbDropdownItem>
246 <name>Impose original amplitudes</name>
247 <value>1</value>
248 <stringvalue/>
249 </bsbDropdownItem>
250 <bsbDropdownItem>
251 <name>Keep original spectral envelope</name>
252 <value>2</value>
253 <stringvalue/>
254 </bsbDropdownItem>
255 </bsbDropdownItemList>
256 <selectedIndex>0</selectedIndex>
257 <randomizable group="0">false</randomizable>
258 </bsbObject>
259 <bsbObject version="2" type="BSBLabel">
260 <objectName/>
261 <x>5</x>
262 <y>280</y>
263 <width>60</width>
264 <height>30</height>
265 <uuid>{b3560c14-84be-4876-9100-5807ffe16e97}</uuid>
266 <visible>true</visible>
267 <midichan>0</midichan>
268 <midicc>0</midicc>
269 <label>Input</label>
270 <alignment>right</alignment>
271 <font>Arial</font>
272 <fontsize>10</fontsize>
273 <precision>3</precision>
274 <color>
275 <r>0</r>
276 <g>0</g>
277 <b>0</b>
278 </color>
279 <bgcolor mode="nobackground">
280 <r>255</r>
281 <g>255</g>
282 <b>255</b>
283 </bgcolor>
284 <bordermode>noborder</bordermode>
285 <borderradius>1</borderradius>
286 <borderwidth>1</borderwidth>
287 </bsbObject>
288 <bsbObject version="2" type="BSBDisplay">
289 <objectName>Frequency_Shift</objectName>
290 <x>450</x>
291 <y>71</y>
292 <width>60</width>
293 <height>30</height>
294 <uuid>{5ba6647c-7395-493b-94fb-2e39de38cae6}</uuid>
295 <visible>true</visible>
296 <midichan>0</midichan>
297 <midicc>0</midicc>
298 <label>300.000</label>
299 <alignment>right</alignment>
300 <font>Arial</font>
301 <fontsize>9</fontsize>
302 <precision>3</precision>
303 <color>
304 <r>0</r>
305 <g>0</g>
306 <b>0</b>
307 </color>
308 <bgcolor mode="nobackground">
309 <r>255</r>
310 <g>255</g>
311 <b>255</b>
312 </bgcolor>
313 <bordermode>noborder</bordermode>
314 <borderradius>1</borderradius>
315 <borderwidth>1</borderwidth>
316 </bsbObject>
317 <bsbObject version="2" type="BSBHSlider">
318 <objectName>Frequency_Shift</objectName>
319 <x>10</x>
320 <y>54</y>
321 <width>500</width>
322 <height>27</height>
323 <uuid>{2440dba1-0ca3-473e-9e1c-590341c95eaf}</uuid>
324 <visible>true</visible>
325 <midichan>0</midichan>
326 <midicc>0</midicc>
327 <minimum>-5000.00000000</minimum>
328 <maximum>5000.00000000</maximum>
329 <value>300.00000000</value>
330 <mode>lin</mode>
331 <mouseControl act="jump">continuous</mouseControl>
332 <resolution>-1.00000000</resolution>
333 <randomizable group="0">false</randomizable>
334 </bsbObject>
335 <bsbObject version="2" type="BSBLabel">
336 <objectName/>
337 <x>10</x>
338 <y>71</y>
339 <width>150</width>
340 <height>30</height>
341 <uuid>{40ab6aec-b542-473a-97c1-8e1d3da00a5f}</uuid>
342 <visible>true</visible>
343 <midichan>0</midichan>
344 <midicc>0</midicc>
345 <label>Frequency Shift</label>
346 <alignment>left</alignment>
347 <font>Arial</font>
348 <fontsize>10</fontsize>
349 <precision>3</precision>
350 <color>
351 <r>0</r>
352 <g>0</g>
353 <b>0</b>
354 </color>
355 <bgcolor mode="nobackground">
356 <r>255</r>
357 <g>255</g>
358 <b>255</b>
359 </bgcolor>
360 <bordermode>noborder</bordermode>
361 <borderradius>1</borderradius>
362 <borderwidth>1</borderwidth>
363 </bsbObject>
364 <bsbObject version="2" type="BSBDisplay">
365 <objectName>Gain_Rescale</objectName>
366 <x>450</x>
367 <y>112</y>
368 <width>60</width>
369 <height>30</height>
370 <uuid>{7760eb6e-e14b-485f-a2f6-46a3fb79fa71}</uuid>
371 <visible>true</visible>
372 <midichan>0</midichan>
373 <midicc>0</midicc>
374 <label>2.088</label>
375 <alignment>right</alignment>
376 <font>Arial</font>
377 <fontsize>9</fontsize>
378 <precision>3</precision>
379 <color>
380 <r>0</r>
381 <g>0</g>
382 <b>0</b>
383 </color>
384 <bgcolor mode="nobackground">
385 <r>255</r>
386 <g>255</g>
387 <b>255</b>
388 </bgcolor>
389 <bordermode>noborder</bordermode>
390 <borderradius>1</borderradius>
391 <borderwidth>1</borderwidth>
392 </bsbObject>
393 <bsbObject version="2" type="BSBHSlider">
394 <objectName>Gain_Rescale</objectName>
395 <x>10</x>
396 <y>95</y>
397 <width>500</width>
398 <height>27</height>
399 <uuid>{daf328f8-0158-459b-9ed0-2f3c65031ad0}</uuid>
400 <visible>true</visible>
401 <midichan>0</midichan>
402 <midicc>0</midicc>
403 <minimum>0.00000000</minimum>
404 <maximum>4.00000000</maximum>
405 <value>2.08800000</value>
406 <mode>lin</mode>
407 <mouseControl act="jump">continuous</mouseControl>
408 <resolution>-1.00000000</resolution>
409 <randomizable group="0">false</randomizable>
410 </bsbObject>
411 <bsbObject version="2" type="BSBLabel">
412 <objectName/>
413 <x>10</x>
414 <y>112</y>
415 <width>150</width>
416 <height>30</height>
417 <uuid>{ca0b021c-8ec2-4628-ad65-be1b22eea34d}</uuid>
418 <visible>true</visible>
419 <midichan>0</midichan>
420 <midicc>0</midicc>
421 <label>Gain Rescale</label>
422 <alignment>left</alignment>
423 <font>Arial</font>
424 <fontsize>10</fontsize>
425 <precision>3</precision>
426 <color>
427 <r>0</r>
428 <g>0</g>
429 <b>0</b>
430 </color>
431 <bgcolor mode="nobackground">
432 <r>255</r>
433 <g>255</g>
434 <b>255</b>
435 </bgcolor>
436 <bordermode>noborder</bordermode>
437 <borderradius>1</borderradius>
438 <borderwidth>1</borderwidth>
439 </bsbObject>
440 <bsbObject version="2" type="BSBDropdown">
441 <objectName>Input</objectName>
442 <x>66</x>
443 <y>280</y>
444 <width>110</width>
445 <height>30</height>
446 <uuid>{cdb2d3b2-5a09-4e13-865e-8501e33b9d35}</uuid>
447 <visible>true</visible>
448 <midichan>0</midichan>
449 <midicc>0</midicc>
450 <bsbDropdownItemList>
451 <bsbDropdownItem>
452 <name>Live Input</name>
453 <value>0</value>
454 <stringvalue/>
455 </bsbDropdownItem>
456 <bsbDropdownItem>
457 <name>Voice</name>
458 <value>1</value>
459 <stringvalue/>
460 </bsbDropdownItem>
461 <bsbDropdownItem>
462 <name>Drum Loop</name>
463 <value>2</value>
464 <stringvalue/>
465 </bsbDropdownItem>
466 </bsbDropdownItemList>
467 <selectedIndex>2</selectedIndex>
468 <randomizable group="0">false</randomizable>
469 </bsbObject>
470 <bsbObject version="2" type="BSBLabel">
471 <objectName/>
472 <x>206</x>
473 <y>280</y>
474 <width>60</width>
475 <height>30</height>
476 <uuid>{e901fc37-d03f-4905-ba4a-fa840edf51a4}</uuid>
477 <visible>true</visible>
478 <midichan>0</midichan>
479 <midicc>0</midicc>
480 <label>Mode</label>
481 <alignment>right</alignment>
482 <font>Arial</font>
483 <fontsize>10</fontsize>
484 <precision>3</precision>
485 <color>
486 <r>0</r>
487 <g>0</g>
488 <b>0</b>
489 </color>
490 <bgcolor mode="nobackground">
491 <r>255</r>
492 <g>255</g>
493 <b>255</b>
494 </bgcolor>
495 <bordermode>noborder</bordermode>
496 <borderradius>1</borderradius>
497 <borderwidth>1</borderwidth>
498 </bsbObject>
499 <bsbObject version="2" type="BSBLabel">
500 <objectName/>
501 <x>8</x>
502 <y>456</y>
503 <width>501</width>
504 <height>68</height>
505 <uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid>
506 <visible>true</visible>
507 <midichan>0</midichan>
508 <midicc>0</midicc>
509 <label>FFT Attributes</label>
510 <alignment>left</alignment>
511 <font>Arial</font>
512 <fontsize>14</fontsize>
513 <precision>3</precision>
514 <color>
515 <r>0</r>
516 <g>0</g>
517 <b>0</b>
518 </color>
519 <bgcolor mode="nobackground">
520 <r>255</r>
521 <g>255</g>
522 <b>255</b>
523 </bgcolor>
524 <bordermode>border</bordermode>
525 <borderradius>3</borderradius>
526 <borderwidth>1</borderwidth>
527 </bsbObject>
528 <bsbObject version="2" type="BSBLabel">
529 <objectName/>
530 <x>167</x>
531 <y>462</y>
532 <width>290</width>
533 <height>28</height>
534 <uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid>
535 <visible>true</visible>
536 <midichan>0</midichan>
537 <midicc>0</midicc>
538 <label>FFT Size - Overlap - Window Size - Window Type</label>
539 <alignment>left</alignment>
540 <font>Arial</font>
541 <fontsize>10</fontsize>
542 <precision>3</precision>
543 <color>
544 <r>0</r>
545 <g>0</g>
546 <b>0</b>
547 </color>
548 <bgcolor mode="nobackground">
549 <r>255</r>
550 <g>255</g>
551 <b>255</b>
552 </bgcolor>
553 <bordermode>noborder</bordermode>
554 <borderradius>1</borderradius>
555 <borderwidth>1</borderwidth>
556 </bsbObject>
557 <bsbObject version="2" type="BSBDropdown">
558 <objectName>FFTattributes</objectName>
559 <x>167</x>
560 <y>482</y>
561 <width>274</width>
562 <height>32</height>
563 <uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid>
564 <visible>true</visible>
565 <midichan>0</midichan>
566 <midicc>0</midicc>
567 <bsbDropdownItemList>
568 <bsbDropdownItem>
569 <name>512 256 1024 1</name>
570 <value>0</value>
571 <stringvalue/>
572 </bsbDropdownItem>
573 <bsbDropdownItem>
574 <name>1024 256 1024 1</name>
575 <value>1</value>
576 <stringvalue/>
577 </bsbDropdownItem>
578 <bsbDropdownItem>
579 <name>2048 128 2048 1</name>
580 <value>2</value>
581 <stringvalue/>
582 </bsbDropdownItem>
583 <bsbDropdownItem>
584 <name>4096 128 4096 1</name>
585 <value>3</value>
586 <stringvalue/>
587 </bsbDropdownItem>
588 </bsbDropdownItemList>
589 <selectedIndex>0</selectedIndex>
590 <randomizable group="0">false</randomizable>
591 </bsbObject>
592 <bsbObject version="2" type="BSBLabel">
593 <objectName/>
594 <x>10</x>
595 <y>193</y>
596 <width>150</width>
597 <height>30</height>
598 <uuid>{c5a959e6-b181-47c7-950c-1b5f1b071d1f}</uuid>
599 <visible>true</visible>
600 <midichan>0</midichan>
601 <midicc>0</midicc>
602 <label>Frequency Rescale</label>
603 <alignment>left</alignment>
604 <font>Arial</font>
605 <fontsize>10</fontsize>
606 <precision>3</precision>
607 <color>
608 <r>0</r>
609 <g>0</g>
610 <b>0</b>
611 </color>
612 <bgcolor mode="nobackground">
613 <r>255</r>
614 <g>255</g>
615 <b>255</b>
616 </bgcolor>
617 <bordermode>noborder</bordermode>
618 <borderradius>1</borderradius>
619 <borderwidth>1</borderwidth>
620 </bsbObject>
621 <bsbObject version="2" type="BSBHSlider">
622 <objectName>Frequency_Rescale</objectName>
623 <x>10</x>
624 <y>176</y>
625 <width>500</width>
626 <height>27</height>
627 <uuid>{70b7db2b-b555-44b0-ad55-80890f452ebd}</uuid>
628 <visible>true</visible>
629 <midichan>0</midichan>
630 <midicc>0</midicc>
631 <minimum>0.00000000</minimum>
632 <maximum>1.00000000</maximum>
633 <value>0.53800000</value>
634 <mode>lin</mode>
635 <mouseControl act="jump">continuous</mouseControl>
636 <resolution>-1.00000000</resolution>
637 <randomizable group="0">false</randomizable>
638 </bsbObject>
639 <bsbObject version="2" type="BSBDisplay">
640 <objectName>Frequency_Rescale_Value</objectName>
641 <x>450</x>
642 <y>193</y>
643 <width>60</width>
644 <height>30</height>
645 <uuid>{063807ca-da21-4e11-a78a-a60b3271ad0c}</uuid>
646 <visible>true</visible>
647 <midichan>0</midichan>
648 <midicc>0</midicc>
649 <label>1.171</label>
650 <alignment>right</alignment>
651 <font>Arial</font>
652 <fontsize>9</fontsize>
653 <precision>3</precision>
654 <color>
655 <r>0</r>
656 <g>0</g>
657 <b>0</b>
658 </color>
659 <bgcolor mode="nobackground">
660 <r>255</r>
661 <g>255</g>
662 <b>255</b>
663 </bgcolor>
664 <bordermode>noborder</bordermode>
665 <borderradius>1</borderradius>
666 <borderwidth>1</borderwidth>
667 </bsbObject>
668 <bsbObject version="2" type="BSBLabel">
669 <objectName/>
670 <x>10</x>
671 <y>152</y>
672 <width>150</width>
673 <height>30</height>
674 <uuid>{a560559b-2cc6-4f8a-aa5f-72c133e739ee}</uuid>
675 <visible>true</visible>
676 <midichan>0</midichan>
677 <midicc>0</midicc>
678 <label>Lowest Frequency</label>
679 <alignment>left</alignment>
680 <font>Arial</font>
681 <fontsize>10</fontsize>
682 <precision>3</precision>
683 <color>
684 <r>0</r>
685 <g>0</g>
686 <b>0</b>
687 </color>
688 <bgcolor mode="nobackground">
689 <r>255</r>
690 <g>255</g>
691 <b>255</b>
692 </bgcolor>
693 <bordermode>noborder</bordermode>
694 <borderradius>1</borderradius>
695 <borderwidth>1</borderwidth>
696 </bsbObject>
697 <bsbObject version="2" type="BSBHSlider">
698 <objectName>Lowest_Frequency</objectName>
699 <x>10</x>
700 <y>135</y>
701 <width>500</width>
702 <height>27</height>
703 <uuid>{99363b37-c4e4-409f-a17d-07f383f5698e}</uuid>
704 <visible>true</visible>
705 <midichan>0</midichan>
706 <midicc>0</midicc>
707 <minimum>0.00000000</minimum>
708 <maximum>1.00000000</maximum>
709 <value>0.40600000</value>
710 <mode>lin</mode>
711 <mouseControl act="jump">continuous</mouseControl>
712 <resolution>-1.00000000</resolution>
713 <randomizable group="0">false</randomizable>
714 </bsbObject>
715 <bsbObject version="2" type="BSBDisplay">
716 <objectName>Lowest_Frequency_Value</objectName>
717 <x>450</x>
718 <y>152</y>
719 <width>60</width>
720 <height>30</height>
721 <uuid>{58be2bf8-bcdd-44ef-b4a5-68d454edcae5}</uuid>
722 <visible>true</visible>
723 <midichan>0</midichan>
724 <midicc>0</midicc>
725 <label>55.752</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="BSBDisplay">
745 <objectName>Output_Gain</objectName>
746 <x>450</x>
747 <y>233</y>
748 <width>60</width>
749 <height>30</height>
750 <uuid>{a471f0a0-872d-45ce-8067-16edcf43702b}</uuid>
751 <visible>true</visible>
752 <midichan>0</midichan>
753 <midicc>0</midicc>
754 <label>0.452</label>
755 <alignment>right</alignment>
756 <font>Arial</font>
757 <fontsize>9</fontsize>
758 <precision>3</precision>
759 <color>
760 <r>0</r>
761 <g>0</g>
762 <b>0</b>
763 </color>
764 <bgcolor mode="nobackground">
765 <r>255</r>
766 <g>255</g>
767 <b>255</b>
768 </bgcolor>
769 <bordermode>noborder</bordermode>
770 <borderradius>1</borderradius>
771 <borderwidth>1</borderwidth>
772 </bsbObject>
773 <bsbObject version="2" type="BSBHSlider">
774 <objectName>Output_Gain</objectName>
775 <x>10</x>
776 <y>216</y>
777 <width>500</width>
778 <height>27</height>
779 <uuid>{f14f89da-9ddf-4d52-9ec3-1d26969055ca}</uuid>
780 <visible>true</visible>
781 <midichan>0</midichan>
782 <midicc>0</midicc>
783 <minimum>0.00000000</minimum>
784 <maximum>1.00000000</maximum>
785 <value>0.45200000</value>
786 <mode>lin</mode>
787 <mouseControl act="jump">continuous</mouseControl>
788 <resolution>-1.00000000</resolution>
789 <randomizable group="0">false</randomizable>
790 </bsbObject>
791 <bsbObject version="2" type="BSBLabel">
792 <objectName/>
793 <x>10</x>
794 <y>233</y>
795 <width>150</width>
796 <height>30</height>
797 <uuid>{98b93c08-e505-4a89-8b08-f1c9fbf92c01}</uuid>
798 <visible>true</visible>
799 <midichan>0</midichan>
800 <midicc>0</midicc>
801 <label>Output 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="BSBButton">
821 <objectName>_Browse1</objectName>
822 <x>7</x>
823 <y>343</y>
824 <width>170</width>
825 <height>30</height>
826 <uuid>{4b359765-ecb8-4e1d-bbc4-c85edd38d176}</uuid>
827 <visible>true</visible>
828 <midichan>0</midichan>
829 <midicc>0</midicc>
830 <type>value</type>
831 <pressedValue>1.00000000</pressedValue>
832 <stringvalue>AndItsAll.wav</stringvalue>
833 <text>Browse Audio File</text>
834 <image>/</image>
835 <eventLine/>
836 <latch>false</latch>
837 <latched>false</latched>
838 </bsbObject>
839 <bsbObject version="2" type="BSBLineEdit">
840 <objectName>_Browse1</objectName>
841 <x>178</x>
842 <y>344</y>
843 <width>330</width>
844 <height>28</height>
845 <uuid>{ae2e00b0-f163-45f0-b271-4d2874a82f3d}</uuid>
846 <visible>true</visible>
847 <midichan>0</midichan>
848 <midicc>0</midicc>
849 <label>AndItsAll.wav</label>
850 <alignment>left</alignment>
851 <font>Arial</font>
852 <fontsize>10</fontsize>
853 <precision>3</precision>
854 <color>
855 <r>0</r>
856 <g>0</g>
857 <b>0</b>
858 </color>
859 <bgcolor mode="nobackground">
860 <r>229</r>
861 <g>229</g>
862 <b>229</b>
863 </bgcolor>
864 <background>nobackground</background>
865 </bsbObject>
866 <bsbObject version="2" type="BSBLabel">
867 <objectName/>
868 <x>7</x>
869 <y>323</y>
870 <width>100</width>
871 <height>30</height>
872 <uuid>{0b82bbc8-6baa-4e64-a704-fd50d1a33316}</uuid>
873 <visible>true</visible>
874 <midichan>0</midichan>
875 <midicc>0</midicc>
876 <label>Voice</label>
877 <alignment>left</alignment>
878 <font>Arial</font>
879 <fontsize>10</fontsize>
880 <precision>3</precision>
881 <color>
882 <r>0</r>
883 <g>0</g>
884 <b>0</b>
885 </color>
886 <bgcolor mode="nobackground">
887 <r>255</r>
888 <g>255</g>
889 <b>255</b>
890 </bgcolor>
891 <bordermode>noborder</bordermode>
892 <borderradius>1</borderradius>
893 <borderwidth>1</borderwidth>
894 </bsbObject>
895 <bsbObject version="2" type="BSBLabel">
896 <objectName/>
897 <x>7</x>
898 <y>378</y>
899 <width>100</width>
900 <height>30</height>
901 <uuid>{94e39178-c905-47c8-a663-9d270344ebcf}</uuid>
902 <visible>true</visible>
903 <midichan>0</midichan>
904 <midicc>0</midicc>
905 <label>Drum Loop</label>
906 <alignment>left</alignment>
907 <font>Arial</font>
908 <fontsize>10</fontsize>
909 <precision>3</precision>
910 <color>
911 <r>0</r>
912 <g>0</g>
913 <b>0</b>
914 </color>
915 <bgcolor mode="nobackground">
916 <r>255</r>
917 <g>255</g>
918 <b>255</b>
919 </bgcolor>
920 <bordermode>noborder</bordermode>
921 <borderradius>1</borderradius>
922 <borderwidth>1</borderwidth>
923 </bsbObject>
924 <bsbObject version="2" type="BSBLineEdit">
925 <objectName>_Browse2</objectName>
926 <x>178</x>
927 <y>399</y>
928 <width>330</width>
929 <height>28</height>
930 <uuid>{ae6f4067-69a4-4a87-a97f-2f5d0c29b407}</uuid>
931 <visible>true</visible>
932 <midichan>0</midichan>
933 <midicc>0</midicc>
934 <label>loop.wav</label>
935 <alignment>left</alignment>
936 <font>Arial</font>
937 <fontsize>10</fontsize>
938 <precision>3</precision>
939 <color>
940 <r>0</r>
941 <g>0</g>
942 <b>0</b>
943 </color>
944 <bgcolor mode="nobackground">
945 <r>229</r>
946 <g>229</g>
947 <b>229</b>
948 </bgcolor>
949 <background>nobackground</background>
950 </bsbObject>
951 <bsbObject version="2" type="BSBButton">
952 <objectName>_Browse2</objectName>
953 <x>7</x>
954 <y>398</y>
955 <width>170</width>
956 <height>30</height>
957 <uuid>{a8037800-9879-4b40-a950-b3ceade14267}</uuid>
958 <visible>true</visible>
959 <midichan>0</midichan>
960 <midicc>0</midicc>
961 <type>value</type>
962 <pressedValue>1.00000000</pressedValue>
963 <stringvalue>loop.wav</stringvalue>
964 <text>Browse Audio File</text>
965 <image>/</image>
966 <eventLine/>
967 <latch>false</latch>
968 <latched>false</latched>
969 </bsbObject>
970 <bsbObject version="2" type="BSBLabel">
971 <objectName/>
972 <x>178</x>
973 <y>372</y>
974 <width>330</width>
975 <height>30</height>
976 <uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid>
977 <visible>true</visible>
978 <midichan>0</midichan>
979 <midicc>0</midicc>
980 <label>Restart the instrument after changing the audio file.</label>
981 <alignment>left</alignment>
982 <font>Liberation Sans</font>
983 <fontsize>12</fontsize>
984 <precision>3</precision>
985 <color>
986 <r>0</r>
987 <g>0</g>
988 <b>0</b>
989 </color>
990 <bgcolor mode="nobackground">
991 <r>255</r>
992 <g>255</g>
993 <b>255</b>
994 </bgcolor>
995 <bordermode>noborder</bordermode>
996 <borderradius>1</borderradius>
997 <borderwidth>1</borderwidth>
998 </bsbObject>
999 <bsbObject version="2" type="BSBLabel">
1000 <objectName/>
1001 <x>178</x>
1002 <y>427</y>
1003 <width>330</width>
1004 <height>30</height>
1005 <uuid>{a515342c-e657-4f0c-a08c-bfafb404d2ad}</uuid>
1006 <visible>true</visible>
1007 <midichan>0</midichan>
1008 <midicc>0</midicc>
1009 <label>Restart the instrument after changing the audio file.</label>
1010 <alignment>left</alignment>
1011 <font>Liberation Sans</font>
1012 <fontsize>12</fontsize>
1013 <precision>3</precision>
1014 <color>
1015 <r>0</r>
1016 <g>0</g>
1017 <b>0</b>
1018 </color>
1019 <bgcolor mode="nobackground">
1020 <r>255</r>
1021 <g>255</g>
1022 <b>255</b>
1023 </bgcolor>
1024 <bordermode>noborder</bordermode>
1025 <borderradius>1</borderradius>
1026 <borderwidth>1</borderwidth>
1027 </bsbObject>
1028 </bsbPanel>
1029 <bsbPresets>
1030 </bsbPresets>
1031 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel>