Debian Codegraph @

src/Examples/McCurdy Collection/FFT/pvshift.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 ;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 = 32 ;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 giExp20000 ftgen 0, 0, 129, -25, 0, 1.0, 128, 20000 ;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 gkshift invalue "Frequency_Shift" ;init 0.0
49 gkgain invalue "Gain_Rescale" ;init 1.0
50 klowest invalue "Lowest_Frequency"
51 gklowest tablei klowest, giExp20000, 1
52 outvalue "Lowest_Frequency_Value", gklowest ;init 10.0
53 gkOutGain invalue "Output_Gain" ;init 0.7
54 gkkeepform invalue "Keepform" ;init 0
55 gkinput invalue "Input" ;init 1
56 gkFFTattributes invalue "FFTattributes" ;init 1
57 endif
58 endin
59
60 instr 1 ;SOUND PRODUCING AND TRANSFORMING INSTRUMENT
61 if gkinput=0 then ;IF 'INPUT' SWITCH IS SET TO 'Live Input' THEN IMPLEMENT THE NEXT LINE OF CODE
62 asig inch 1 ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT CHANNEL 1 (LEFT)
63 elseif gkinput=1 then ;IF 'INPUT' SWITCH IS SET TO 'Voice' THEN IMPLEMENT THE NEXT LINE OF CODE
64 Sfile1 invalue "_Browse1"
65 ;OUTPUT OPCODE FILE_PATH | SPEED | INSKIP | WRAPAROUND (1=ON)
66 asig, asigR FilePlay2 Sfile1, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE
67 else ;IF 'INPUT' SWITCH IS NOT SET TO 'STORED FILE' THEN IMPLEMENT THE NEXT LINE OF CODE
68 Sfile2 invalue "_Browse2"
69 ;OUTPUT OPCODE FILE_PATH | SPEED | INSKIP | WRAPAROUND (1=ON)
70 asig, asigR FilePlay2 Sfile2, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE
71 endif ;END OF 'IF'...'THEN' BRANCHING
72
73 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)
74 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
75 reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
76 endif
77 START:
78 iFFTsize table 0, i(gkFFTattributes)+1
79 ioverlap table 1, i(gkFFTattributes)+1
80 iwinsize table 2, i(gkFFTattributes)+1
81 iwintype table 3, i(gkFFTattributes)+1
82
83 fsig1 pvsanal asig, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL THAT WAS CREATED IN INSTRUMENT 1. OUTPUT AN F-SIGNAL.
84 ;OUTPUT OPCODE INPUT | SHIFT_AMOUNT | LOWEST_EXPECTED_FREQUENCY | FORMANT_MODE | GAIN
85 fsig2 pvshift fsig1, gkshift, gklowest, i(gkkeepform), i(gkgain) ;SHIFT FREQUENCIES OF THE INPUT F-SIGNAL
86 ;OUTPUT OPCODE INPUT
87 aresyn pvsynth fsig2 ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL
88 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
89 outs aresyn * gkOutGain, aresyn * gkOutGain ;SEND THE RESCALED, RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS
90 endin
91 </CsInstruments>
92 <CsScore>
93 ;INSTR | START | DURATION
94 i 10 0 3600 ;GUI
95 </CsScore>
96 </CsoundSynthesizer>
97
98
99 <bsbPanel>
100 <label>Widgets</label>
101 <objectName/>
102 <x>73</x>
103 <y>206</y>
104 <width>876</width>
105 <height>494</height>
106 <visible>true</visible>
107 <uuid/>
108 <bgcolor mode="background">
109 <r>241</r>
110 <g>226</g>
111 <b>185</b>
112 </bgcolor>
113 <bsbObject version="2" type="BSBLabel">
114 <objectName/>
115 <x>2</x>
116 <y>2</y>
117 <width>516</width>
118 <height>492</height>
119 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
120 <visible>true</visible>
121 <midichan>0</midichan>
122 <midicc>0</midicc>
123 <label>pvshift</label>
124 <alignment>center</alignment>
125 <font>Liberation Sans</font>
126 <fontsize>18</fontsize>
127 <precision>3</precision>
128 <color>
129 <r>0</r>
130 <g>0</g>
131 <b>0</b>
132 </color>
133 <bgcolor mode="background">
134 <r>181</r>
135 <g>199</g>
136 <b>255</b>
137 </bgcolor>
138 <bordermode>border</bordermode>
139 <borderradius>5</borderradius>
140 <borderwidth>2</borderwidth>
141 </bsbObject>
142 <bsbObject version="2" type="BSBLabel">
143 <objectName/>
144 <x>519</x>
145 <y>2</y>
146 <width>357</width>
147 <height>492</height>
148 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
149 <visible>true</visible>
150 <midichan>0</midichan>
151 <midicc>0</midicc>
152 <label>pvshift</label>
153 <alignment>center</alignment>
154 <font>Liberation Sans</font>
155 <fontsize>18</fontsize>
156 <precision>3</precision>
157 <color>
158 <r>0</r>
159 <g>0</g>
160 <b>0</b>
161 </color>
162 <bgcolor mode="background">
163 <r>181</r>
164 <g>199</g>
165 <b>255</b>
166 </bgcolor>
167 <bordermode>border</bordermode>
168 <borderradius>5</borderradius>
169 <borderwidth>2</borderwidth>
170 </bsbObject>
171 <bsbObject version="2" type="BSBLabel">
172 <objectName/>
173 <x>524</x>
174 <y>20</y>
175 <width>351</width>
176 <height>453</height>
177 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
178 <visible>true</visible>
179 <midichan>0</midichan>
180 <midicc>0</midicc>
181 <label>------------------------------------------------------------------------------------
182 Pvshift shifts all frequency values of an fsig by a constant cycles-per-second value. As frequency values are shifted upwards the spectrum of the sound is also compressed as, relatively speaking, higher frequencies will be transposed by less than lower frequencies. The next example appends the pvscale opcode in the fsig processing chain to allow the user to allow the user to compensate for this overall raising of frequencies and to restore the fundemental to its original value by giving the frequency rescale parameter a value less than 1.
183 (See example '03pvscale.csd' for info on pvscale opcode.) Pvshift also includes three modes of dealing with formants of the original signal in the frequency shift. These modes are the same as those used by the pvscale opcode - see the 'pvscale.csd' example (or the Csound Reference Manual) for further information about these modes. The parameter controlled by the 'Lowest Frequency' slider defines a frequency beneath which frequencies of the fsig will be unaffected by pvshift. A variety of combinations of FFT analysis attributes are selectable using radio button selectors. 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>
184 <alignment>left</alignment>
185 <font>Arial</font>
186 <fontsize>14</fontsize>
187 <precision>3</precision>
188 <color>
189 <r>0</r>
190 <g>0</g>
191 <b>0</b>
192 </color>
193 <bgcolor mode="nobackground">
194 <r>255</r>
195 <g>255</g>
196 <b>255</b>
197 </bgcolor>
198 <bordermode>noborder</bordermode>
199 <borderradius>1</borderradius>
200 <borderwidth>1</borderwidth>
201 </bsbObject>
202 <bsbObject version="2" type="BSBButton">
203 <objectName/>
204 <x>8</x>
205 <y>8</y>
206 <width>100</width>
207 <height>30</height>
208 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
209 <visible>true</visible>
210 <midichan>0</midichan>
211 <midicc>0</midicc>
212 <type>event</type>
213 <pressedValue>1.00000000</pressedValue>
214 <stringvalue/>
215 <text> ON / OFF</text>
216 <image>/</image>
217 <eventLine>i 1 0 -1</eventLine>
218 <latch>true</latch>
219 <latched>false</latched>
220 </bsbObject>
221 <bsbObject version="2" type="BSBDropdown">
222 <objectName>Keepform</objectName>
223 <x>270</x>
224 <y>239</y>
225 <width>230</width>
226 <height>30</height>
227 <uuid>{65bb9cc6-078d-45fd-99aa-dd17a8d2d144}</uuid>
228 <visible>true</visible>
229 <midichan>0</midichan>
230 <midicc>0</midicc>
231 <bsbDropdownItemList>
232 <bsbDropdownItem>
233 <name>Do not preserve formants</name>
234 <value>0</value>
235 <stringvalue/>
236 </bsbDropdownItem>
237 <bsbDropdownItem>
238 <name>Impose original amplitudes</name>
239 <value>1</value>
240 <stringvalue/>
241 </bsbDropdownItem>
242 <bsbDropdownItem>
243 <name>Keep original spectral envelope</name>
244 <value>2</value>
245 <stringvalue/>
246 </bsbDropdownItem>
247 </bsbDropdownItemList>
248 <selectedIndex>1</selectedIndex>
249 <randomizable group="0">false</randomizable>
250 </bsbObject>
251 <bsbObject version="2" type="BSBLabel">
252 <objectName/>
253 <x>13</x>
254 <y>239</y>
255 <width>60</width>
256 <height>30</height>
257 <uuid>{b3560c14-84be-4876-9100-5807ffe16e97}</uuid>
258 <visible>true</visible>
259 <midichan>0</midichan>
260 <midicc>0</midicc>
261 <label>Input</label>
262 <alignment>right</alignment>
263 <font>Arial</font>
264 <fontsize>10</fontsize>
265 <precision>3</precision>
266 <color>
267 <r>0</r>
268 <g>0</g>
269 <b>0</b>
270 </color>
271 <bgcolor mode="nobackground">
272 <r>255</r>
273 <g>255</g>
274 <b>255</b>
275 </bgcolor>
276 <bordermode>noborder</bordermode>
277 <borderradius>1</borderradius>
278 <borderwidth>1</borderwidth>
279 </bsbObject>
280 <bsbObject version="2" type="BSBDisplay">
281 <objectName>Frequency_Shift</objectName>
282 <x>450</x>
283 <y>71</y>
284 <width>60</width>
285 <height>30</height>
286 <uuid>{5ba6647c-7395-493b-94fb-2e39de38cae6}</uuid>
287 <visible>true</visible>
288 <midichan>0</midichan>
289 <midicc>0</midicc>
290 <label>0.000</label>
291 <alignment>right</alignment>
292 <font>Arial</font>
293 <fontsize>9</fontsize>
294 <precision>3</precision>
295 <color>
296 <r>0</r>
297 <g>0</g>
298 <b>0</b>
299 </color>
300 <bgcolor mode="nobackground">
301 <r>255</r>
302 <g>255</g>
303 <b>255</b>
304 </bgcolor>
305 <bordermode>noborder</bordermode>
306 <borderradius>1</borderradius>
307 <borderwidth>1</borderwidth>
308 </bsbObject>
309 <bsbObject version="2" type="BSBHSlider">
310 <objectName>Frequency_Shift</objectName>
311 <x>10</x>
312 <y>54</y>
313 <width>500</width>
314 <height>27</height>
315 <uuid>{2440dba1-0ca3-473e-9e1c-590341c95eaf}</uuid>
316 <visible>true</visible>
317 <midichan>0</midichan>
318 <midicc>0</midicc>
319 <minimum>-5000.00000000</minimum>
320 <maximum>5000.00000000</maximum>
321 <value>0.00000000</value>
322 <mode>lin</mode>
323 <mouseControl act="jump">continuous</mouseControl>
324 <resolution>-1.00000000</resolution>
325 <randomizable group="0">false</randomizable>
326 </bsbObject>
327 <bsbObject version="2" type="BSBLabel">
328 <objectName/>
329 <x>10</x>
330 <y>71</y>
331 <width>120</width>
332 <height>30</height>
333 <uuid>{40ab6aec-b542-473a-97c1-8e1d3da00a5f}</uuid>
334 <visible>true</visible>
335 <midichan>0</midichan>
336 <midicc>0</midicc>
337 <label>Frequency Shift</label>
338 <alignment>left</alignment>
339 <font>Arial</font>
340 <fontsize>10</fontsize>
341 <precision>3</precision>
342 <color>
343 <r>0</r>
344 <g>0</g>
345 <b>0</b>
346 </color>
347 <bgcolor mode="nobackground">
348 <r>255</r>
349 <g>255</g>
350 <b>255</b>
351 </bgcolor>
352 <bordermode>noborder</bordermode>
353 <borderradius>1</borderradius>
354 <borderwidth>1</borderwidth>
355 </bsbObject>
356 <bsbObject version="2" type="BSBDisplay">
357 <objectName>Gain_Rescale</objectName>
358 <x>450</x>
359 <y>112</y>
360 <width>60</width>
361 <height>30</height>
362 <uuid>{7760eb6e-e14b-485f-a2f6-46a3fb79fa71}</uuid>
363 <visible>true</visible>
364 <midichan>0</midichan>
365 <midicc>0</midicc>
366 <label>1.872</label>
367 <alignment>right</alignment>
368 <font>Arial</font>
369 <fontsize>9</fontsize>
370 <precision>3</precision>
371 <color>
372 <r>0</r>
373 <g>0</g>
374 <b>0</b>
375 </color>
376 <bgcolor mode="nobackground">
377 <r>255</r>
378 <g>255</g>
379 <b>255</b>
380 </bgcolor>
381 <bordermode>noborder</bordermode>
382 <borderradius>1</borderradius>
383 <borderwidth>1</borderwidth>
384 </bsbObject>
385 <bsbObject version="2" type="BSBHSlider">
386 <objectName>Gain_Rescale</objectName>
387 <x>10</x>
388 <y>95</y>
389 <width>500</width>
390 <height>27</height>
391 <uuid>{daf328f8-0158-459b-9ed0-2f3c65031ad0}</uuid>
392 <visible>true</visible>
393 <midichan>0</midichan>
394 <midicc>0</midicc>
395 <minimum>0.00000000</minimum>
396 <maximum>4.00000000</maximum>
397 <value>1.87200000</value>
398 <mode>lin</mode>
399 <mouseControl act="jump">continuous</mouseControl>
400 <resolution>-1.00000000</resolution>
401 <randomizable group="0">false</randomizable>
402 </bsbObject>
403 <bsbObject version="2" type="BSBLabel">
404 <objectName/>
405 <x>10</x>
406 <y>112</y>
407 <width>120</width>
408 <height>30</height>
409 <uuid>{ca0b021c-8ec2-4628-ad65-be1b22eea34d}</uuid>
410 <visible>true</visible>
411 <midichan>0</midichan>
412 <midicc>0</midicc>
413 <label>Gain Rescale</label>
414 <alignment>left</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="BSBDropdown">
433 <objectName>Input</objectName>
434 <x>74</x>
435 <y>239</y>
436 <width>110</width>
437 <height>30</height>
438 <uuid>{cdb2d3b2-5a09-4e13-865e-8501e33b9d35}</uuid>
439 <visible>true</visible>
440 <midichan>0</midichan>
441 <midicc>0</midicc>
442 <bsbDropdownItemList>
443 <bsbDropdownItem>
444 <name>Live Input</name>
445 <value>0</value>
446 <stringvalue/>
447 </bsbDropdownItem>
448 <bsbDropdownItem>
449 <name>Voice</name>
450 <value>1</value>
451 <stringvalue/>
452 </bsbDropdownItem>
453 <bsbDropdownItem>
454 <name>Drum Loop</name>
455 <value>2</value>
456 <stringvalue/>
457 </bsbDropdownItem>
458 </bsbDropdownItemList>
459 <selectedIndex>2</selectedIndex>
460 <randomizable group="0">false</randomizable>
461 </bsbObject>
462 <bsbObject version="2" type="BSBLabel">
463 <objectName/>
464 <x>209</x>
465 <y>239</y>
466 <width>60</width>
467 <height>30</height>
468 <uuid>{e901fc37-d03f-4905-ba4a-fa840edf51a4}</uuid>
469 <visible>true</visible>
470 <midichan>0</midichan>
471 <midicc>0</midicc>
472 <label>Mode</label>
473 <alignment>right</alignment>
474 <font>Arial</font>
475 <fontsize>10</fontsize>
476 <precision>3</precision>
477 <color>
478 <r>0</r>
479 <g>0</g>
480 <b>0</b>
481 </color>
482 <bgcolor mode="nobackground">
483 <r>255</r>
484 <g>255</g>
485 <b>255</b>
486 </bgcolor>
487 <bordermode>noborder</bordermode>
488 <borderradius>1</borderradius>
489 <borderwidth>1</borderwidth>
490 </bsbObject>
491 <bsbObject version="2" type="BSBLabel">
492 <objectName/>
493 <x>10</x>
494 <y>419</y>
495 <width>501</width>
496 <height>70</height>
497 <uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid>
498 <visible>true</visible>
499 <midichan>0</midichan>
500 <midicc>0</midicc>
501 <label>FFT Attributes</label>
502 <alignment>left</alignment>
503 <font>Arial</font>
504 <fontsize>14</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>border</bordermode>
517 <borderradius>3</borderradius>
518 <borderwidth>1</borderwidth>
519 </bsbObject>
520 <bsbObject version="2" type="BSBLabel">
521 <objectName/>
522 <x>169</x>
523 <y>425</y>
524 <width>300</width>
525 <height>30</height>
526 <uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid>
527 <visible>true</visible>
528 <midichan>0</midichan>
529 <midicc>0</midicc>
530 <label>FFT Size - Overlap - Window Size - Window Type</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="BSBDropdown">
550 <objectName>FFTattributes</objectName>
551 <x>169</x>
552 <y>447</y>
553 <width>274</width>
554 <height>32</height>
555 <uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid>
556 <visible>true</visible>
557 <midichan>0</midichan>
558 <midicc>0</midicc>
559 <bsbDropdownItemList>
560 <bsbDropdownItem>
561 <name>512 256 1024 1</name>
562 <value>0</value>
563 <stringvalue/>
564 </bsbDropdownItem>
565 <bsbDropdownItem>
566 <name>1024 256 1024 1</name>
567 <value>1</value>
568 <stringvalue/>
569 </bsbDropdownItem>
570 <bsbDropdownItem>
571 <name>2048 128 2048 1</name>
572 <value>2</value>
573 <stringvalue/>
574 </bsbDropdownItem>
575 <bsbDropdownItem>
576 <name>4096 128 4096 1</name>
577 <value>3</value>
578 <stringvalue/>
579 </bsbDropdownItem>
580 </bsbDropdownItemList>
581 <selectedIndex>2</selectedIndex>
582 <randomizable group="0">false</randomizable>
583 </bsbObject>
584 <bsbObject version="2" type="BSBLabel">
585 <objectName/>
586 <x>10</x>
587 <y>193</y>
588 <width>120</width>
589 <height>22</height>
590 <uuid>{c5a959e6-b181-47c7-950c-1b5f1b071d1f}</uuid>
591 <visible>true</visible>
592 <midichan>0</midichan>
593 <midicc>0</midicc>
594 <label>Output Gain</label>
595 <alignment>left</alignment>
596 <font>Arial</font>
597 <fontsize>10</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="BSBHSlider">
614 <objectName>Output_Gain</objectName>
615 <x>10</x>
616 <y>176</y>
617 <width>500</width>
618 <height>27</height>
619 <uuid>{70b7db2b-b555-44b0-ad55-80890f452ebd}</uuid>
620 <visible>true</visible>
621 <midichan>0</midichan>
622 <midicc>0</midicc>
623 <minimum>0.00000000</minimum>
624 <maximum>1.00000000</maximum>
625 <value>0.37000000</value>
626 <mode>lin</mode>
627 <mouseControl act="jump">continuous</mouseControl>
628 <resolution>-1.00000000</resolution>
629 <randomizable group="0">false</randomizable>
630 </bsbObject>
631 <bsbObject version="2" type="BSBDisplay">
632 <objectName>Output_Gain</objectName>
633 <x>450</x>
634 <y>193</y>
635 <width>60</width>
636 <height>30</height>
637 <uuid>{063807ca-da21-4e11-a78a-a60b3271ad0c}</uuid>
638 <visible>true</visible>
639 <midichan>0</midichan>
640 <midicc>0</midicc>
641 <label>0.370</label>
642 <alignment>right</alignment>
643 <font>Arial</font>
644 <fontsize>9</fontsize>
645 <precision>3</precision>
646 <color>
647 <r>0</r>
648 <g>0</g>
649 <b>0</b>
650 </color>
651 <bgcolor mode="nobackground">
652 <r>255</r>
653 <g>255</g>
654 <b>255</b>
655 </bgcolor>
656 <bordermode>noborder</bordermode>
657 <borderradius>1</borderradius>
658 <borderwidth>1</borderwidth>
659 </bsbObject>
660 <bsbObject version="2" type="BSBLabel">
661 <objectName/>
662 <x>10</x>
663 <y>152</y>
664 <width>120</width>
665 <height>30</height>
666 <uuid>{a560559b-2cc6-4f8a-aa5f-72c133e739ee}</uuid>
667 <visible>true</visible>
668 <midichan>0</midichan>
669 <midicc>0</midicc>
670 <label>Lowest Frequency</label>
671 <alignment>left</alignment>
672 <font>Arial</font>
673 <fontsize>10</fontsize>
674 <precision>3</precision>
675 <color>
676 <r>0</r>
677 <g>0</g>
678 <b>0</b>
679 </color>
680 <bgcolor mode="nobackground">
681 <r>255</r>
682 <g>255</g>
683 <b>255</b>
684 </bgcolor>
685 <bordermode>noborder</bordermode>
686 <borderradius>1</borderradius>
687 <borderwidth>1</borderwidth>
688 </bsbObject>
689 <bsbObject version="2" type="BSBHSlider">
690 <objectName>Lowest_Frequency</objectName>
691 <x>10</x>
692 <y>135</y>
693 <width>500</width>
694 <height>27</height>
695 <uuid>{99363b37-c4e4-409f-a17d-07f383f5698e}</uuid>
696 <visible>true</visible>
697 <midichan>0</midichan>
698 <midicc>0</midicc>
699 <minimum>0.00000000</minimum>
700 <maximum>1.00000000</maximum>
701 <value>0.73600000</value>
702 <mode>lin</mode>
703 <mouseControl act="jump">continuous</mouseControl>
704 <resolution>-1.00000000</resolution>
705 <randomizable group="0">false</randomizable>
706 </bsbObject>
707 <bsbObject version="2" type="BSBDisplay">
708 <objectName>Lowest_Frequency_Value</objectName>
709 <x>449</x>
710 <y>152</y>
711 <width>60</width>
712 <height>30</height>
713 <uuid>{58be2bf8-bcdd-44ef-b4a5-68d454edcae5}</uuid>
714 <visible>true</visible>
715 <midichan>0</midichan>
716 <midicc>0</midicc>
717 <label>1464.783</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>10</x>
739 <y>301</y>
740 <width>170</width>
741 <height>30</height>
742 <uuid>{2814b1df-907a-4eca-a05c-ae97d42bdb63}</uuid>
743 <visible>true</visible>
744 <midichan>0</midichan>
745 <midicc>0</midicc>
746 <type>value</type>
747 <pressedValue>1.00000000</pressedValue>
748 <stringvalue>AndItsAll.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>182</x>
758 <y>301</y>
759 <width>330</width>
760 <height>30</height>
761 <uuid>{9519624c-b0db-49c5-9636-ed9420ecc200}</uuid>
762 <visible>true</visible>
763 <midichan>0</midichan>
764 <midicc>0</midicc>
765 <label>AndItsAll.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>206</r>
777 <g>206</g>
778 <b>206</b>
779 </bgcolor>
780 <background>nobackground</background>
781 </bsbObject>
782 <bsbObject version="2" type="BSBLabel">
783 <objectName/>
784 <x>10</x>
785 <y>281</y>
786 <width>100</width>
787 <height>25</height>
788 <uuid>{607f8207-4340-4358-89d8-54cd2ac3fde8}</uuid>
789 <visible>true</visible>
790 <midichan>0</midichan>
791 <midicc>0</midicc>
792 <label>Voice</label>
793 <alignment>left</alignment>
794 <font>Arial</font>
795 <fontsize>10</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 <bsbObject version="2" type="BSBLabel">
812 <objectName/>
813 <x>10</x>
814 <y>338</y>
815 <width>120</width>
816 <height>25</height>
817 <uuid>{b6a2083e-892a-44c6-adb8-9f19cc78e420}</uuid>
818 <visible>true</visible>
819 <midichan>0</midichan>
820 <midicc>0</midicc>
821 <label>Drum Loop</label>
822 <alignment>left</alignment>
823 <font>Arial</font>
824 <fontsize>10</fontsize>
825 <precision>3</precision>
826 <color>
827 <r>0</r>
828 <g>0</g>
829 <b>0</b>
830 </color>
831 <bgcolor mode="nobackground">
832 <r>255</r>
833 <g>255</g>
834 <b>255</b>
835 </bgcolor>
836 <bordermode>noborder</bordermode>
837 <borderradius>1</borderradius>
838 <borderwidth>1</borderwidth>
839 </bsbObject>
840 <bsbObject version="2" type="BSBLineEdit">
841 <objectName>_Browse2</objectName>
842 <x>182</x>
843 <y>358</y>
844 <width>330</width>
845 <height>30</height>
846 <uuid>{431c14d2-43c2-4a21-b431-098a810f9a01}</uuid>
847 <visible>true</visible>
848 <midichan>0</midichan>
849 <midicc>0</midicc>
850 <label>loop.wav</label>
851 <alignment>left</alignment>
852 <font>Arial</font>
853 <fontsize>10</fontsize>
854 <precision>3</precision>
855 <color>
856 <r>0</r>
857 <g>0</g>
858 <b>0</b>
859 </color>
860 <bgcolor mode="nobackground">
861 <r>206</r>
862 <g>206</g>
863 <b>206</b>
864 </bgcolor>
865 <background>nobackground</background>
866 </bsbObject>
867 <bsbObject version="2" type="BSBButton">
868 <objectName>_Browse2</objectName>
869 <x>10</x>
870 <y>358</y>
871 <width>170</width>
872 <height>30</height>
873 <uuid>{bd5fba64-18f2-4b88-8f92-63fb806a3010}</uuid>
874 <visible>true</visible>
875 <midichan>0</midichan>
876 <midicc>0</midicc>
877 <type>value</type>
878 <pressedValue>1.00000000</pressedValue>
879 <stringvalue>loop.wav</stringvalue>
880 <text>Browse Audio File</text>
881 <image>/</image>
882 <eventLine/>
883 <latch>false</latch>
884 <latched>false</latched>
885 </bsbObject>
886 <bsbObject version="2" type="BSBLabel">
887 <objectName/>
888 <x>182</x>
889 <y>328</y>
890 <width>330</width>
891 <height>30</height>
892 <uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid>
893 <visible>true</visible>
894 <midichan>0</midichan>
895 <midicc>0</midicc>
896 <label>Restart the instrument after changing the audio file.</label>
897 <alignment>left</alignment>
898 <font>Liberation Sans</font>
899 <fontsize>12</fontsize>
900 <precision>3</precision>
901 <color>
902 <r>0</r>
903 <g>0</g>
904 <b>0</b>
905 </color>
906 <bgcolor mode="nobackground">
907 <r>255</r>
908 <g>255</g>
909 <b>255</b>
910 </bgcolor>
911 <bordermode>noborder</bordermode>
912 <borderradius>1</borderradius>
913 <borderwidth>1</borderwidth>
914 </bsbObject>
915 <bsbObject version="2" type="BSBLabel">
916 <objectName/>
917 <x>182</x>
918 <y>387</y>
919 <width>330</width>
920 <height>30</height>
921 <uuid>{e62d8363-f170-4e7d-8db1-ebd5fa7c8afe}</uuid>
922 <visible>true</visible>
923 <midichan>0</midichan>
924 <midicc>0</midicc>
925 <label>Restart the instrument after changing the audio file.</label>
926 <alignment>left</alignment>
927 <font>Liberation Sans</font>
928 <fontsize>12</fontsize>
929 <precision>3</precision>
930 <color>
931 <r>0</r>
932 <g>0</g>
933 <b>0</b>
934 </color>
935 <bgcolor mode="nobackground">
936 <r>255</r>
937 <g>255</g>
938 <b>255</b>
939 </bgcolor>
940 <bordermode>noborder</bordermode>
941 <borderradius>1</borderradius>
942 <borderwidth>1</borderwidth>
943 </bsbObject>
944 </bsbPanel>
945 <bsbPresets>
946 </bsbPresets>
947 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>