Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2006
2
3 ;Modified for QuteCsound by René, October 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 analysis files
9
10
11 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
12 <CsoundSynthesizer>
13 <CsOptions>
14 --env:SADIR+=../../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
21
22 giExp2 ftgen 1000, 0, 129, -25, 0, 0.5, 128, 2.0 ;TABLE FOR EXP SLIDER
23
24
25 instr 1 ;GUI AND CREATE A CONTINUOUS MOVING PHASE VALUE WITH A GLOBAL VARIABLE OUTPUT
26
27 Sfile_new strcpy "" ;INIT TO EMPTY STRING
28
29 ktrig metro 10
30 if (ktrig == 1) then
31 gkporttime invalue "Portamento_Amount"
32 kpch invalue "Pitch"
33 gkpch tablei kpch, giExp2, 1
34 outvalue "Pitch_Value", gkpch
35 gkptr invalue "Pointer"
36 gkspeed invalue "Speed"
37 gkoutgain invalue "Amplitude"
38
39 gkptrswitch invalue "Pointer_Switch"
40 gkextractmode invalue "Extract_Mode"
41 gkfreqlim invalue "Frequency_Limit"
42 gkgatefn invalue "Gating_Function"
43 gkspec invalue "Spec_Env"
44
45 gSfile invalue "_Browse"
46 Sfile_old strcpyk Sfile_new
47 Sfile_new strcpyk gSfile
48 kfile strcmpk Sfile_new, Sfile_old
49 gkfile = abs(kfile)
50 endif
51
52 if gkfile = 1 then
53 reinit NEW_FILE ;gkfile = 1 if the file have changed
54 endif
55 NEW_FILE:
56 gifilelen filelen gSfile
57 gkphs phasor gkspeed/gifilelen
58 rireturn
59 endin
60
61 instr 2 ;pvoc INSTRUMENT
62 iporttime = .1 ;DEFINE A VALUE FOR PORTAMENTO TIME (THIS WILL BE USED TO SMOOTH FLTK SLIDER MOVEMENTS)
63 kporttime linseg 0, .001, iporttime, 1, iporttime ;DEFINE A RAMPING UP, K-RATE FUNCTION THAT WILL BE USED FOR PORTAMENTO TIME (BASED ON THE I-RATE VALUE DEFINED IN THE PREVIOUS LINE). RAMPING UP THIS VALUE FROM ZERO PREVENTS VARIABLE FROM SLIDING UP TO THEIR REQUIRED INITIAL VALUES EACH TIME THE INSTRUMENT IS RESTARTED.
64 kporttime = kporttime * gkporttime ;SLIDER FOR PORTAMENTO TIME MULTIPLIED TO kporttime FUNCTION
65 kptr portk gkptr, kporttime ;APPLY PORTAMENTO TO THE SLIDER DERIVED VAIABLE 'gkptr'. A NEW VARIABLE CALLED 'kptr' IS OUTPUTTED.
66 kpch portk gkpch, kporttime ;APPLY PORTAMENTO TO THE SLIDER DERIVED VAIABLE 'gkpch'. A NEW VARIABLE CALLED 'kpch' IS OUTPUTTED.
67 kSwitch changed gkspec, gkptrswitch, gkextractmode, gkfreqlim, gkgatefn, gkfile ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
68 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
69 reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
70 endif
71
72 START:
73 ifilelen1 filelen gSfile ;DERIVE THE TOTAL DURATION OF THE ORIGINAL SOUND FILE FROM THE ANALYSIS FILE
74 kptr = kptr * ifilelen1 ;REDEFINE THE VARIABLE 'kptr' TAKING INTO ACCOUNT THE ACTUAL DURATION OF THE ORIGINAL SOUND FILE (ifilelen)
75 kphs phasor gkspeed/ifilelen1 ;DEFINE A MOVING PHASE VALUE THE FREQUENCY OF WHICH IS DIRECTLY PROPORTIONAL TO THE SPEED DEFINED BY THE FLTK SLIDER AND INVERSELY PROPORTIONAL TO THE DURATION OF THE ORIGINAL SOUND FILE
76 kphs = kphs * ifilelen1 ;RESCALE THE AMPLITUDE OF THE MOVING PHASE VALUE ACCORDING TO THE DURATION OF THE ORIGINAL SOUND FILE
77 kptr = (gkptrswitch == 0 ? kptr : kphs) ;CHECK TO SEE WHICH POINTER MODE HAS BEEN SELECTED AND DEFINE THE FINAL VALUE OF 'kptr' ACCORDINGLY
78
79 ;OUTPUT OPCODE REQUIRED INPUT ARGS |OPTIONAL INPUT ARGS...
80 ares pvoc kptr, kpch, gSfile, i(gkspec), i(gkextractmode), i(gkfreqlim), i(gkgatefn)
81
82 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
83 outs ares * gkoutgain, ares * gkoutgain ;SEND pvoc OUTPUT TO THE OUTPUTS, SCALE USING GLOBAL AMPLITUDE VARIABLE
84 endin
85 </CsInstruments>
86 <CsScore>
87 ;GATING FUNCTIONS USED BY PVOC (OPTIONAL)
88 f 1 0 512 7 0 256 1 256 1 ;50% THRESHOLD SHARP GATING
89 f 2 0 512 5 1 512 .001 ;INVERT AMPLITUDES
90
91 ;INSTR | START | DURATION
92 i 1 0 3600 ;INSTRUMENT 1 PLAYS FOR 1 HOUR
93 </CsScore>
94 </CsoundSynthesizer>
95
96 <bsbPanel>
97 <label>Widgets</label>
98 <objectName/>
99 <x>329</x>
100 <y>260</y>
101 <width>1036</width>
102 <height>502</height>
103 <visible>true</visible>
104 <uuid/>
105 <bgcolor mode="background">
106 <r>241</r>
107 <g>226</g>
108 <b>185</b>
109 </bgcolor>
110 <bsbObject version="2" type="BSBLabel">
111 <objectName/>
112 <x>2</x>
113 <y>2</y>
114 <width>514</width>
115 <height>500</height>
116 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
117 <visible>true</visible>
118 <midichan>0</midichan>
119 <midicc>0</midicc>
120 <label>pvoc</label>
121 <alignment>center</alignment>
122 <font>Liberation Sans</font>
123 <fontsize>18</fontsize>
124 <precision>3</precision>
125 <color>
126 <r>0</r>
127 <g>0</g>
128 <b>0</b>
129 </color>
130 <bgcolor mode="background">
131 <r>181</r>
132 <g>199</g>
133 <b>255</b>
134 </bgcolor>
135 <bordermode>border</bordermode>
136 <borderradius>5</borderradius>
137 <borderwidth>2</borderwidth>
138 </bsbObject>
139 <bsbObject version="2" type="BSBLabel">
140 <objectName/>
141 <x>517</x>
142 <y>2</y>
143 <width>519</width>
144 <height>500</height>
145 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
146 <visible>true</visible>
147 <midichan>0</midichan>
148 <midicc>0</midicc>
149 <label>pvoc</label>
150 <alignment>center</alignment>
151 <font>Liberation Sans</font>
152 <fontsize>18</fontsize>
153 <precision>3</precision>
154 <color>
155 <r>0</r>
156 <g>0</g>
157 <b>0</b>
158 </color>
159 <bgcolor mode="background">
160 <r>181</r>
161 <g>199</g>
162 <b>255</b>
163 </bgcolor>
164 <bordermode>border</bordermode>
165 <borderradius>5</borderradius>
166 <borderwidth>2</borderwidth>
167 </bsbObject>
168 <bsbObject version="2" type="BSBLabel">
169 <objectName/>
170 <x>520</x>
171 <y>18</y>
172 <width>515</width>
173 <height>482</height>
174 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
175 <visible>true</visible>
176 <midichan>0</midichan>
177 <midicc>0</midicc>
178 <label>-----------------------------------------------------------------------------------------------------------------------------
179 Pvoc performs FFT resynthesis on a analysis data file that has been previously created using the pvanal utility that comes with Csound. (This example uses a pre-prepared analysis file but you are encouraged to replace it with one of your own.) The input arguments required by the opcode include one for pitch ratio between the resynthesized sound and the original sound, and an argument for time location within the analysis file from which to resynthesise. This example offers two ways in which to control the time location variable according to how the 'Pointer Switch' is counter is set. When on 'Pointer' mode the 'Pointer' slider is simply used to move the variable ('Speed Control' slider is ignored). When 'Pointer Switch' is set to 'Speed Control' then the 'Speed Control' slider is used to control the speed of the movement (and direction) of the pointer through the analysis file. This value is given as a ratio between the resynthesized sound to the original sound. In this mode 'Pointer' slider is ignored. Optional arguments are also used in this example. When 'Spec. Env.' (spectral enveloping) is on the opcode attempts to preserve the spectral envelope of the original sound. The audible upshot of this is most clearly heard when resynthesizing speech in which transpositions up or down are heard as the person speaking higher or lower rather than as a complete transformation of the character of the voice. 'Extract Mode' and 'Frequency Limit' are used in combination and can be set to filter either resonant components of the sound or noise based components of the sound. If 'Extract Mode' is set to '1' (greater than frequency limit) and 'Frequency Limit' is given a value grater than zero then noise aspects of the sound are favoured in the resynthesis and if 'Frequency Limit' is set to '2' (less than frequency limit) and 'Frequency Limit' is given a value greater than zero then resonant aspects of the sound will be favoured. Using a gating function (table) allows spectrally informed dynamic modification of the sound (akin to a complex multi- -band compressor). Two function shapes are offered by this example.</label>
180 <alignment>left</alignment>
181 <font>Arial</font>
182 <fontsize>14</fontsize>
183 <precision>3</precision>
184 <color>
185 <r>0</r>
186 <g>0</g>
187 <b>0</b>
188 </color>
189 <bgcolor mode="nobackground">
190 <r>255</r>
191 <g>255</g>
192 <b>255</b>
193 </bgcolor>
194 <bordermode>noborder</bordermode>
195 <borderradius>1</borderradius>
196 <borderwidth>1</borderwidth>
197 </bsbObject>
198 <bsbObject version="2" type="BSBButton">
199 <objectName/>
200 <x>8</x>
201 <y>8</y>
202 <width>100</width>
203 <height>30</height>
204 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
205 <visible>true</visible>
206 <midichan>0</midichan>
207 <midicc>0</midicc>
208 <type>event</type>
209 <pressedValue>1.00000000</pressedValue>
210 <stringvalue/>
211 <text> ON / OFF</text>
212 <image>/</image>
213 <eventLine>i 2 0 -1</eventLine>
214 <latch>true</latch>
215 <latched>false</latched>
216 </bsbObject>
217 <bsbObject version="2" type="BSBDisplay">
218 <objectName>Portamento_Amount</objectName>
219 <x>448</x>
220 <y>77</y>
221 <width>60</width>
222 <height>30</height>
223 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
224 <visible>true</visible>
225 <midichan>0</midichan>
226 <midicc>0</midicc>
227 <label>0.518</label>
228 <alignment>right</alignment>
229 <font>Arial</font>
230 <fontsize>9</fontsize>
231 <precision>3</precision>
232 <color>
233 <r>0</r>
234 <g>0</g>
235 <b>0</b>
236 </color>
237 <bgcolor mode="nobackground">
238 <r>255</r>
239 <g>255</g>
240 <b>255</b>
241 </bgcolor>
242 <bordermode>noborder</bordermode>
243 <borderradius>1</borderradius>
244 <borderwidth>1</borderwidth>
245 </bsbObject>
246 <bsbObject version="2" type="BSBHSlider">
247 <objectName>Portamento_Amount</objectName>
248 <x>8</x>
249 <y>60</y>
250 <width>500</width>
251 <height>27</height>
252 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
253 <visible>true</visible>
254 <midichan>0</midichan>
255 <midicc>0</midicc>
256 <minimum>0.00000000</minimum>
257 <maximum>1.00000000</maximum>
258 <value>0.51800000</value>
259 <mode>lin</mode>
260 <mouseControl act="jump">continuous</mouseControl>
261 <resolution>-1.00000000</resolution>
262 <randomizable group="0">false</randomizable>
263 </bsbObject>
264 <bsbObject version="2" type="BSBLabel">
265 <objectName/>
266 <x>8</x>
267 <y>77</y>
268 <width>320</width>
269 <height>30</height>
270 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
271 <visible>true</visible>
272 <midichan>0</midichan>
273 <midicc>0</midicc>
274 <label>Portamento Amount</label>
275 <alignment>left</alignment>
276 <font>Arial</font>
277 <fontsize>10</fontsize>
278 <precision>3</precision>
279 <color>
280 <r>0</r>
281 <g>0</g>
282 <b>0</b>
283 </color>
284 <bgcolor mode="nobackground">
285 <r>255</r>
286 <g>255</g>
287 <b>255</b>
288 </bgcolor>
289 <bordermode>noborder</bordermode>
290 <borderradius>1</borderradius>
291 <borderwidth>1</borderwidth>
292 </bsbObject>
293 <bsbObject version="2" type="BSBButton">
294 <objectName>_Browse</objectName>
295 <x>10</x>
296 <y>438</y>
297 <width>170</width>
298 <height>30</height>
299 <uuid>{b9431a61-61f7-432b-bf6f-c47ddc7f9050}</uuid>
300 <visible>true</visible>
301 <midichan>0</midichan>
302 <midicc>0</midicc>
303 <type>value</type>
304 <pressedValue>1.00000000</pressedValue>
305 <stringvalue>loop.pvx</stringvalue>
306 <text>Browse Analysis File</text>
307 <image>/</image>
308 <eventLine/>
309 <latch>false</latch>
310 <latched>false</latched>
311 </bsbObject>
312 <bsbObject version="2" type="BSBLineEdit">
313 <objectName>_Browse</objectName>
314 <x>181</x>
315 <y>439</y>
316 <width>330</width>
317 <height>28</height>
318 <uuid>{68b5f90b-b78e-4581-b434-232db5f4c40f}</uuid>
319 <visible>true</visible>
320 <midichan>0</midichan>
321 <midicc>0</midicc>
322 <label>loop.pvx</label>
323 <alignment>left</alignment>
324 <font>Arial</font>
325 <fontsize>10</fontsize>
326 <precision>3</precision>
327 <color>
328 <r>0</r>
329 <g>0</g>
330 <b>0</b>
331 </color>
332 <bgcolor mode="nobackground">
333 <r>229</r>
334 <g>229</g>
335 <b>229</b>
336 </bgcolor>
337 <background>nobackground</background>
338 </bsbObject>
339 <bsbObject version="2" type="BSBLabel">
340 <objectName/>
341 <x>10</x>
342 <y>417</y>
343 <width>150</width>
344 <height>30</height>
345 <uuid>{936f6eb0-5225-4bd7-a5fe-a49df1c9c5ac}</uuid>
346 <visible>true</visible>
347 <midichan>0</midichan>
348 <midicc>0</midicc>
349 <label>Analysis File</label>
350 <alignment>left</alignment>
351 <font>Arial</font>
352 <fontsize>10</fontsize>
353 <precision>3</precision>
354 <color>
355 <r>0</r>
356 <g>0</g>
357 <b>0</b>
358 </color>
359 <bgcolor mode="nobackground">
360 <r>255</r>
361 <g>255</g>
362 <b>255</b>
363 </bgcolor>
364 <bordermode>noborder</bordermode>
365 <borderradius>1</borderradius>
366 <borderwidth>1</borderwidth>
367 </bsbObject>
368 <bsbObject version="2" type="BSBLabel">
369 <objectName/>
370 <x>162</x>
371 <y>300</y>
372 <width>80</width>
373 <height>40</height>
374 <uuid>{2389fd37-3d82-4b68-908e-cabc2131db46}</uuid>
375 <visible>true</visible>
376 <midichan>0</midichan>
377 <midicc>0</midicc>
378 <label>Frequency
379 Limit</label>
380 <alignment>right</alignment>
381 <font>Arial</font>
382 <fontsize>10</fontsize>
383 <precision>3</precision>
384 <color>
385 <r>0</r>
386 <g>0</g>
387 <b>0</b>
388 </color>
389 <bgcolor mode="nobackground">
390 <r>255</r>
391 <g>255</g>
392 <b>255</b>
393 </bgcolor>
394 <bordermode>noborder</bordermode>
395 <borderradius>1</borderradius>
396 <borderwidth>1</borderwidth>
397 </bsbObject>
398 <bsbObject version="2" type="BSBSpinBox">
399 <objectName>Frequency_Limit</objectName>
400 <x>242</x>
401 <y>300</y>
402 <width>50</width>
403 <height>30</height>
404 <uuid>{8f4e9b38-a8c5-4e7b-ab35-16285fab7d46}</uuid>
405 <visible>true</visible>
406 <midichan>0</midichan>
407 <midicc>0</midicc>
408 <alignment>left</alignment>
409 <font>Arial</font>
410 <fontsize>14</fontsize>
411 <color>
412 <r>0</r>
413 <g>0</g>
414 <b>0</b>
415 </color>
416 <bgcolor mode="nobackground">
417 <r>255</r>
418 <g>255</g>
419 <b>255</b>
420 </bgcolor>
421 <resolution>1.00000000</resolution>
422 <minimum>0</minimum>
423 <maximum>20</maximum>
424 <randomizable group="0">false</randomizable>
425 <value>0</value>
426 </bsbObject>
427 <bsbObject version="2" type="BSBLabel">
428 <objectName/>
429 <x>305</x>
430 <y>279</y>
431 <width>120</width>
432 <height>30</height>
433 <uuid>{3a6af7c2-dd44-4bd8-af21-c500e52ce7da}</uuid>
434 <visible>true</visible>
435 <midichan>0</midichan>
436 <midicc>0</midicc>
437 <label>Gating Function</label>
438 <alignment>left</alignment>
439 <font>Arial</font>
440 <fontsize>10</fontsize>
441 <precision>3</precision>
442 <color>
443 <r>0</r>
444 <g>0</g>
445 <b>0</b>
446 </color>
447 <bgcolor mode="nobackground">
448 <r>255</r>
449 <g>255</g>
450 <b>255</b>
451 </bgcolor>
452 <bordermode>noborder</bordermode>
453 <borderradius>1</borderradius>
454 <borderwidth>1</borderwidth>
455 </bsbObject>
456 <bsbObject version="2" type="BSBLabel">
457 <objectName/>
458 <x>8</x>
459 <y>115</y>
460 <width>320</width>
461 <height>30</height>
462 <uuid>{f4029fbc-c802-493b-aacb-44a251dfd70c}</uuid>
463 <visible>true</visible>
464 <midichan>0</midichan>
465 <midicc>0</midicc>
466 <label>Pitch (portamento applied)</label>
467 <alignment>left</alignment>
468 <font>Arial</font>
469 <fontsize>10</fontsize>
470 <precision>3</precision>
471 <color>
472 <r>0</r>
473 <g>0</g>
474 <b>0</b>
475 </color>
476 <bgcolor mode="nobackground">
477 <r>255</r>
478 <g>255</g>
479 <b>255</b>
480 </bgcolor>
481 <bordermode>noborder</bordermode>
482 <borderradius>1</borderradius>
483 <borderwidth>1</borderwidth>
484 </bsbObject>
485 <bsbObject version="2" type="BSBHSlider">
486 <objectName>Pitch</objectName>
487 <x>8</x>
488 <y>98</y>
489 <width>500</width>
490 <height>27</height>
491 <uuid>{b5b98b11-0602-412e-9830-0bbe82f5476b}</uuid>
492 <visible>true</visible>
493 <midichan>0</midichan>
494 <midicc>0</midicc>
495 <minimum>0.00000000</minimum>
496 <maximum>1.00000000</maximum>
497 <value>0.64600000</value>
498 <mode>lin</mode>
499 <mouseControl act="jump">continuous</mouseControl>
500 <resolution>-1.00000000</resolution>
501 <randomizable group="0">false</randomizable>
502 </bsbObject>
503 <bsbObject version="2" type="BSBDisplay">
504 <objectName>Pitch_Value</objectName>
505 <x>448</x>
506 <y>115</y>
507 <width>60</width>
508 <height>30</height>
509 <uuid>{aa9d2e59-a8e3-4b3d-a00a-04fcecc3d502}</uuid>
510 <visible>true</visible>
511 <midichan>0</midichan>
512 <midicc>0</midicc>
513 <label>1.224</label>
514 <alignment>right</alignment>
515 <font>Arial</font>
516 <fontsize>9</fontsize>
517 <precision>3</precision>
518 <color>
519 <r>0</r>
520 <g>0</g>
521 <b>0</b>
522 </color>
523 <bgcolor mode="nobackground">
524 <r>255</r>
525 <g>255</g>
526 <b>255</b>
527 </bgcolor>
528 <bordermode>noborder</bordermode>
529 <borderradius>1</borderradius>
530 <borderwidth>1</borderwidth>
531 </bsbObject>
532 <bsbObject version="2" type="BSBLabel">
533 <objectName/>
534 <x>8</x>
535 <y>153</y>
536 <width>320</width>
537 <height>30</height>
538 <uuid>{a9a9faee-c907-4aff-ad05-6a70bd9d06ac}</uuid>
539 <visible>true</visible>
540 <midichan>0</midichan>
541 <midicc>0</midicc>
542 <label>Pointer (portamento applied) (Pointer Mode Only)</label>
543 <alignment>left</alignment>
544 <font>Arial</font>
545 <fontsize>10</fontsize>
546 <precision>3</precision>
547 <color>
548 <r>0</r>
549 <g>0</g>
550 <b>0</b>
551 </color>
552 <bgcolor mode="nobackground">
553 <r>255</r>
554 <g>255</g>
555 <b>255</b>
556 </bgcolor>
557 <bordermode>noborder</bordermode>
558 <borderradius>1</borderradius>
559 <borderwidth>1</borderwidth>
560 </bsbObject>
561 <bsbObject version="2" type="BSBHSlider">
562 <objectName>Pointer</objectName>
563 <x>8</x>
564 <y>136</y>
565 <width>500</width>
566 <height>27</height>
567 <uuid>{360b66e8-758f-4ff0-a7df-169be9d8760b}</uuid>
568 <visible>true</visible>
569 <midichan>0</midichan>
570 <midicc>0</midicc>
571 <minimum>0.00000000</minimum>
572 <maximum>1.00000000</maximum>
573 <value>0.50000000</value>
574 <mode>lin</mode>
575 <mouseControl act="jump">continuous</mouseControl>
576 <resolution>-1.00000000</resolution>
577 <randomizable group="0">false</randomizable>
578 </bsbObject>
579 <bsbObject version="2" type="BSBDisplay">
580 <objectName>Pointer</objectName>
581 <x>448</x>
582 <y>153</y>
583 <width>60</width>
584 <height>30</height>
585 <uuid>{7ecbe521-c05c-45c2-b743-43681fcab991}</uuid>
586 <visible>true</visible>
587 <midichan>0</midichan>
588 <midicc>0</midicc>
589 <label>0.500</label>
590 <alignment>right</alignment>
591 <font>Arial</font>
592 <fontsize>9</fontsize>
593 <precision>3</precision>
594 <color>
595 <r>0</r>
596 <g>0</g>
597 <b>0</b>
598 </color>
599 <bgcolor mode="nobackground">
600 <r>255</r>
601 <g>255</g>
602 <b>255</b>
603 </bgcolor>
604 <bordermode>noborder</bordermode>
605 <borderradius>1</borderradius>
606 <borderwidth>1</borderwidth>
607 </bsbObject>
608 <bsbObject version="2" type="BSBLabel">
609 <objectName/>
610 <x>8</x>
611 <y>191</y>
612 <width>320</width>
613 <height>30</height>
614 <uuid>{dee4e931-c60f-43f0-87e8-f62fd0c449fb}</uuid>
615 <visible>true</visible>
616 <midichan>0</midichan>
617 <midicc>0</midicc>
618 <label>Speed (Speed Control Mode Only)</label>
619 <alignment>left</alignment>
620 <font>Arial</font>
621 <fontsize>10</fontsize>
622 <precision>3</precision>
623 <color>
624 <r>0</r>
625 <g>0</g>
626 <b>0</b>
627 </color>
628 <bgcolor mode="nobackground">
629 <r>255</r>
630 <g>255</g>
631 <b>255</b>
632 </bgcolor>
633 <bordermode>noborder</bordermode>
634 <borderradius>1</borderradius>
635 <borderwidth>1</borderwidth>
636 </bsbObject>
637 <bsbObject version="2" type="BSBHSlider">
638 <objectName>Speed</objectName>
639 <x>8</x>
640 <y>174</y>
641 <width>500</width>
642 <height>27</height>
643 <uuid>{5d7eeb71-9608-4e1b-be84-48362e1fd850}</uuid>
644 <visible>true</visible>
645 <midichan>0</midichan>
646 <midicc>0</midicc>
647 <minimum>-5.00000000</minimum>
648 <maximum>5.00000000</maximum>
649 <value>0.98000000</value>
650 <mode>lin</mode>
651 <mouseControl act="jump">continuous</mouseControl>
652 <resolution>-1.00000000</resolution>
653 <randomizable group="0">false</randomizable>
654 </bsbObject>
655 <bsbObject version="2" type="BSBDisplay">
656 <objectName>Speed</objectName>
657 <x>448</x>
658 <y>191</y>
659 <width>60</width>
660 <height>30</height>
661 <uuid>{ad9154fb-3e69-43ab-87cb-3dab2a26cde6}</uuid>
662 <visible>true</visible>
663 <midichan>0</midichan>
664 <midicc>0</midicc>
665 <label>0.980</label>
666 <alignment>right</alignment>
667 <font>Arial</font>
668 <fontsize>9</fontsize>
669 <precision>3</precision>
670 <color>
671 <r>0</r>
672 <g>0</g>
673 <b>0</b>
674 </color>
675 <bgcolor mode="nobackground">
676 <r>255</r>
677 <g>255</g>
678 <b>255</b>
679 </bgcolor>
680 <bordermode>noborder</bordermode>
681 <borderradius>1</borderradius>
682 <borderwidth>1</borderwidth>
683 </bsbObject>
684 <bsbObject version="2" type="BSBLabel">
685 <objectName/>
686 <x>8</x>
687 <y>229</y>
688 <width>180</width>
689 <height>30</height>
690 <uuid>{2e52a7a7-dc13-405e-896d-db2a7431d8dd}</uuid>
691 <visible>true</visible>
692 <midichan>0</midichan>
693 <midicc>0</midicc>
694 <label>Output Gain</label>
695 <alignment>left</alignment>
696 <font>Arial</font>
697 <fontsize>10</fontsize>
698 <precision>3</precision>
699 <color>
700 <r>0</r>
701 <g>0</g>
702 <b>0</b>
703 </color>
704 <bgcolor mode="nobackground">
705 <r>255</r>
706 <g>255</g>
707 <b>255</b>
708 </bgcolor>
709 <bordermode>noborder</bordermode>
710 <borderradius>1</borderradius>
711 <borderwidth>1</borderwidth>
712 </bsbObject>
713 <bsbObject version="2" type="BSBHSlider">
714 <objectName>Amplitude</objectName>
715 <x>8</x>
716 <y>212</y>
717 <width>500</width>
718 <height>27</height>
719 <uuid>{6ab84e0f-82a7-4b9c-af23-35bd7d9b7fa2}</uuid>
720 <visible>true</visible>
721 <midichan>0</midichan>
722 <midicc>0</midicc>
723 <minimum>0.00000000</minimum>
724 <maximum>1.00000000</maximum>
725 <value>0.71600000</value>
726 <mode>lin</mode>
727 <mouseControl act="jump">continuous</mouseControl>
728 <resolution>-1.00000000</resolution>
729 <randomizable group="0">false</randomizable>
730 </bsbObject>
731 <bsbObject version="2" type="BSBDisplay">
732 <objectName>Amplitude</objectName>
733 <x>448</x>
734 <y>229</y>
735 <width>60</width>
736 <height>30</height>
737 <uuid>{99d6bf8b-3c85-4911-a29a-7dd678a940ed}</uuid>
738 <visible>true</visible>
739 <midichan>0</midichan>
740 <midicc>0</midicc>
741 <label>0.716</label>
742 <alignment>right</alignment>
743 <font>Arial</font>
744 <fontsize>9</fontsize>
745 <precision>3</precision>
746 <color>
747 <r>0</r>
748 <g>0</g>
749 <b>0</b>
750 </color>
751 <bgcolor mode="nobackground">
752 <r>255</r>
753 <g>255</g>
754 <b>255</b>
755 </bgcolor>
756 <bordermode>noborder</bordermode>
757 <borderradius>1</borderradius>
758 <borderwidth>1</borderwidth>
759 </bsbObject>
760 <bsbObject version="2" type="BSBDropdown">
761 <objectName>Pointer_Switch</objectName>
762 <x>304</x>
763 <y>360</y>
764 <width>130</width>
765 <height>30</height>
766 <uuid>{29a37c71-8767-4302-9132-7a1c2f4b7917}</uuid>
767 <visible>true</visible>
768 <midichan>0</midichan>
769 <midicc>0</midicc>
770 <bsbDropdownItemList>
771 <bsbDropdownItem>
772 <name>Pointer</name>
773 <value>0</value>
774 <stringvalue/>
775 </bsbDropdownItem>
776 <bsbDropdownItem>
777 <name>Speed Control</name>
778 <value>1</value>
779 <stringvalue/>
780 </bsbDropdownItem>
781 </bsbDropdownItemList>
782 <selectedIndex>1</selectedIndex>
783 <randomizable group="0">false</randomizable>
784 </bsbObject>
785 <bsbObject version="2" type="BSBDropdown">
786 <objectName>Extract_Mode</objectName>
787 <x>17</x>
788 <y>300</y>
789 <width>130</width>
790 <height>30</height>
791 <uuid>{6a55c957-42d0-48b7-b636-c5cbb2adc7d9}</uuid>
792 <visible>true</visible>
793 <midichan>0</midichan>
794 <midicc>0</midicc>
795 <bsbDropdownItemList>
796 <bsbDropdownItem>
797 <name>Off</name>
798 <value>0</value>
799 <stringvalue/>
800 </bsbDropdownItem>
801 <bsbDropdownItem>
802 <name>> Freq Limit</name>
803 <value>1</value>
804 <stringvalue/>
805 </bsbDropdownItem>
806 <bsbDropdownItem>
807 <name>&lt; Freq Limit</name>
808 <value>2</value>
809 <stringvalue/>
810 </bsbDropdownItem>
811 </bsbDropdownItemList>
812 <selectedIndex>0</selectedIndex>
813 <randomizable group="0">false</randomizable>
814 </bsbObject>
815 <bsbObject version="2" type="BSBLabel">
816 <objectName/>
817 <x>17</x>
818 <y>279</y>
819 <width>120</width>
820 <height>30</height>
821 <uuid>{47e9a2f7-66fe-45f6-965c-a52c28b135dc}</uuid>
822 <visible>true</visible>
823 <midichan>0</midichan>
824 <midicc>0</midicc>
825 <label>Extract Mode</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="BSBDropdown">
845 <objectName>Gating_Function</objectName>
846 <x>305</x>
847 <y>300</y>
848 <width>190</width>
849 <height>29</height>
850 <uuid>{d472f7b4-25f1-4edd-b0d1-a7a026bb9a39}</uuid>
851 <visible>true</visible>
852 <midichan>0</midichan>
853 <midicc>0</midicc>
854 <bsbDropdownItemList>
855 <bsbDropdownItem>
856 <name>Off</name>
857 <value>0</value>
858 <stringvalue/>
859 </bsbDropdownItem>
860 <bsbDropdownItem>
861 <name>Amp &lt; 50% attenuated</name>
862 <value>1</value>
863 <stringvalue/>
864 </bsbDropdownItem>
865 <bsbDropdownItem>
866 <name>Amp spectrum inverted</name>
867 <value>2</value>
868 <stringvalue/>
869 </bsbDropdownItem>
870 </bsbDropdownItemList>
871 <selectedIndex>1</selectedIndex>
872 <randomizable group="0">false</randomizable>
873 </bsbObject>
874 <bsbObject version="2" type="BSBButton">
875 <objectName>Spec_Env</objectName>
876 <x>48</x>
877 <y>360</y>
878 <width>100</width>
879 <height>30</height>
880 <uuid>{b6345774-7938-4e62-9d8b-0ada81f7bcc5}</uuid>
881 <visible>true</visible>
882 <midichan>0</midichan>
883 <midicc>0</midicc>
884 <type>value</type>
885 <pressedValue>1.00000000</pressedValue>
886 <stringvalue/>
887 <text> Spec Env</text>
888 <image>/</image>
889 <eventLine/>
890 <latch>true</latch>
891 <latched>false</latched>
892 </bsbObject>
893 </bsbPanel>
894 <bsbPresets>
895 </bsbPresets>
896 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>