Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy 2011
2
3 ;Modified for QuteCsound by René, May 2011
4 ;Tested on Ubuntu 10.04 with csound-float (git csound5-3c6d155, May 31 2011) and QuteCsound svn rev 848
5
6
7 ;Notes on modifications from original csd:
8 ; Add table(s) for exp slider
9 ; Add Browser for audio file and use of FilePlay2 udo, accept mono or stereo wav files
10
11
12 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
13 <CsoundSynthesizer>
14 <CsOptions>
15 --env:SSDIR+=../../SourceMaterials
16 </CsOptions>
17 <CsInstruments>
18 sr = 44100 ;SAMPLE RATE
19 ksmps = 32 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
20 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
21 0dbfs = 1
22
23
24 giFFTattributes0 ftgen 1, 0, 4, -2, 256, 128, 256, 1
25 giFFTattributes1 ftgen 2, 0, 4, -2, 512, 128, 512, 1
26 giFFTattributes2 ftgen 3, 0, 4, -2, 1024, 128, 1024, 1
27 giFFTattributes3 ftgen 4, 0, 4, -2, 2048, 256, 2048, 1
28 giFFTattributes4 ftgen 5, 0, 4, -2, 4096, 512, 4096, 1
29
30 giExp1 ftgen 0, 0, 129, -25, 0, 1.0, 128, 20000.0 ;TABLE FOR EXP SLIDER
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 ;SLIDERS
51 gkscal invalue "Scale"
52 gkshift invalue "Shift"
53 klowest invalue "Lowest"
54 gklowest tablei klowest, giExp1, 1
55 outvalue "Lowest_Value", gklowest
56 gkgain invalue "Gain"
57 ;SPINBOX
58 gkcoefs invalue "Coefs"
59 ;MENUS
60 gkinput invalue "Input"
61 gkmeth invalue "Method"
62 gkFFTattrib invalue "FFTattrib"
63
64 Sfile_new strcpy "" ;INIT TO EMPTY STRING
65 gSfile invalue "_Browse"
66 Sfile_old strcpyk Sfile_new
67 Sfile_new strcpyk gSfile
68 gkfile strcmpk Sfile_new, Sfile_old
69 endif
70 endin
71
72 instr 1
73 kSwitch changed gkFFTattrib, gkfile ;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 ;END OF CONDITIONAL BRANCHING
77
78 if gkinput==0 then ;IF 'INPUT' SWITCH IS SET TO 'Live Input' THEN IMPLEMENT THE NEXT LINE OF CODE
79 aL inch 1 ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT CHANNEL 1 (LEFT)
80 aR = aL ;SET RIGHT CHANNEL TO BE THE SAME AS THE LEFT CHANNEL AS WE ARE USING A MONO INPUT
81 else ;OTHERWISE...
82 START:
83 aL, aR FilePlay2 gSfile, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE
84 endif ;END OF 'IF'...'THEN' BRANCHING
85
86 iFFTsize table 0, i(gkFFTattrib)+1 ;READ FFT ATTRIBUTE FROM THE APPROPRIATE FUNCTION TABLE
87 ioverlap table 1, i(gkFFTattrib)+1 ;READ FFT ATTRIBUTE FROM THE APPROPRIATE FUNCTION TABLE
88 iwinsize table 2, i(gkFFTattrib)+1 ;READ FFT ATTRIBUTE FROM THE APPROPRIATE FUNCTION TABLE
89 iwintype table 3, i(gkFFTattrib)+1 ;READ FFT ATTRIBUTE FROM THE APPROPRIATE FUNCTION TABLE
90
91 fsig1L pvsanal aL, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL
92 fsig1R pvsanal aR, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL
93
94 imaxdel = 4 ;VARIBALE THAT WILL BE USED TO DEFINE MAXIMUM DELAY TIME FOR pvsblur PROCESSING. THIS INFORMATION IS NEEDED FOR MEMORY ALLOCATION.
95 kporttime linseg 0,0.01,0.05 ;CREATE A FUNCTION THAT RAMPS UP QUICKLY FROM ZERO TO A HELD VALUE OF 0.05 THAT WILL BE USED TO DEFINE PORTAMENTO TIME
96 kscal portk gkscal, kporttime ;APPLY PORTAMENTO SMOOTHING TO THE SLIDER VARIABLE
97 kshift portk gkshift, kporttime ;APPLY PORTAMENTO SMOOTHING TO THE SLIDER VARIABLE
98 klowest portk gklowest, kporttime ;APPLY PORTAMENTO SMOOTHING TO THE SLIDER VARIABLE
99 kgain portk gkgain, kporttime ;APPLY PORTAMENTO SMOOTHING TO THE SLIDER VARIABLE
100
101 fsig2L pvswarp fsig1L, kscal, kshift, klowest-1, gkmeth+1, kgain, gkcoefs ;PERFORM SPECTRAL ENVELOPE WARPING ON THE FSIG
102 fsig2R pvswarp fsig1R, kscal, kshift, klowest-1, gkmeth+1, kgain, gkcoefs ;PERFORM SPECTRAL ENVELOPE WARPING ON THE FSIG
103
104 ;OUTPUT OPCODE INPUT
105 aresynL pvsynth fsig2L ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL
106 aresynR pvsynth fsig2R ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL
107 outs aresynL, aresynR ;SEND THE RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS
108 endin
109
110 instr 11 ;INIT
111 outvalue "Scale" , 1.0
112 outvalue "Shift" , 0.0
113 outvalue "Lowest" , 0.0
114 outvalue "Gain" , 0.5
115 outvalue "Input" , 1
116 outvalue "Coefs" , 80
117 outvalue "FFTattrib", 1
118 endin
119 </CsInstruments>
120 <CsScore>
121 ;INSTR | START | DURATION
122 i 10 0 3600 ;GUI
123 i 11 0 0 ;INIT
124 </CsScore>
125 </CsoundSynthesizer>
126
127
128 <bsbPanel>
129 <label>Widgets</label>
130 <objectName/>
131 <x>495</x>
132 <y>275</y>
133 <width>870</width>
134 <height>441</height>
135 <visible>true</visible>
136 <uuid/>
137 <bgcolor mode="background">
138 <r>241</r>
139 <g>226</g>
140 <b>185</b>
141 </bgcolor>
142 <bsbObject version="2" type="BSBLabel">
143 <objectName/>
144 <x>2</x>
145 <y>2</y>
146 <width>512</width>
147 <height>438</height>
148 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
149 <visible>true</visible>
150 <midichan>0</midichan>
151 <midicc>0</midicc>
152 <label>pvswarp</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>517</x>
174 <y>2</y>
175 <width>348</width>
176 <height>438</height>
177 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
178 <visible>true</visible>
179 <midichan>0</midichan>
180 <midicc>0</midicc>
181 <label>pvswarp</label>
182 <alignment>center</alignment>
183 <font>Liberation Sans</font>
184 <fontsize>18</fontsize>
185 <precision>3</precision>
186 <color>
187 <r>0</r>
188 <g>0</g>
189 <b>0</b>
190 </color>
191 <bgcolor mode="background">
192 <r>181</r>
193 <g>199</g>
194 <b>255</b>
195 </bgcolor>
196 <bordermode>border</bordermode>
197 <borderradius>5</borderradius>
198 <borderwidth>2</borderwidth>
199 </bsbObject>
200 <bsbObject version="2" type="BSBLabel">
201 <objectName/>
202 <x>520</x>
203 <y>21</y>
204 <width>343</width>
205 <height>415</height>
206 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
207 <visible>true</visible>
208 <midichan>0</midichan>
209 <midicc>0</midicc>
210 <label>-----------------------------------------------------------------------------------
211 pvswarp performs modulation of the spectral envelope of an audio signal (in the form of an fsig) in two ways:
212 'Scale' stretches or compresses the envelope through multiplication. A value of '1' will leave the spectral envelope unchanged.
213 'Shift' moves the spectral envelope up or down through addition. A value of zero will leave the spectrum unshifted.
214 Two methods of spectral envelope extraction are offered and the number of cepstrum coefficients used in spectral preservation can be modulated. The 'Lowest Frequency' parameter sets the lowest frequency to which frequency shifting will be applied. This setting has no affect on 'scaling' modifications.
215 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 results in less time smearing but greater harmonic distortion whereas larger FFT sizes and window sizes results in greater time smearing but less harmonic distortion.
216 Changing FFT attributes while a note is playing can have unexpected results. If this happens just cycle the 'On/Off' switch.</label>
217 <alignment>left</alignment>
218 <font>Liberation Sans</font>
219 <fontsize>14</fontsize>
220 <precision>3</precision>
221 <color>
222 <r>0</r>
223 <g>0</g>
224 <b>0</b>
225 </color>
226 <bgcolor mode="nobackground">
227 <r>255</r>
228 <g>255</g>
229 <b>255</b>
230 </bgcolor>
231 <bordermode>noborder</bordermode>
232 <borderradius>1</borderradius>
233 <borderwidth>1</borderwidth>
234 </bsbObject>
235 <bsbObject version="2" type="BSBButton">
236 <objectName/>
237 <x>8</x>
238 <y>8</y>
239 <width>80</width>
240 <height>30</height>
241 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
242 <visible>true</visible>
243 <midichan>0</midichan>
244 <midicc>0</midicc>
245 <type>event</type>
246 <pressedValue>1.00000000</pressedValue>
247 <stringvalue/>
248 <text> On / Off</text>
249 <image>/</image>
250 <eventLine>i 1 0 -1</eventLine>
251 <latch>true</latch>
252 <latched>false</latched>
253 </bsbObject>
254 <bsbObject version="2" type="BSBDisplay">
255 <objectName>Scale</objectName>
256 <x>448</x>
257 <y>73</y>
258 <width>60</width>
259 <height>30</height>
260 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
261 <visible>true</visible>
262 <midichan>0</midichan>
263 <midicc>0</midicc>
264 <label>1.000</label>
265 <alignment>right</alignment>
266 <font>Arial</font>
267 <fontsize>9</fontsize>
268 <precision>3</precision>
269 <color>
270 <r>0</r>
271 <g>0</g>
272 <b>0</b>
273 </color>
274 <bgcolor mode="nobackground">
275 <r>255</r>
276 <g>255</g>
277 <b>255</b>
278 </bgcolor>
279 <bordermode>noborder</bordermode>
280 <borderradius>1</borderradius>
281 <borderwidth>1</borderwidth>
282 </bsbObject>
283 <bsbObject version="2" type="BSBHSlider">
284 <objectName>Scale</objectName>
285 <x>8</x>
286 <y>51</y>
287 <width>500</width>
288 <height>27</height>
289 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
290 <visible>true</visible>
291 <midichan>0</midichan>
292 <midicc>0</midicc>
293 <minimum>0.01000000</minimum>
294 <maximum>10.00000000</maximum>
295 <value>1.00000000</value>
296 <mode>lin</mode>
297 <mouseControl act="jump">continuous</mouseControl>
298 <resolution>-1.00000000</resolution>
299 <randomizable group="0">false</randomizable>
300 </bsbObject>
301 <bsbObject version="2" type="BSBLabel">
302 <objectName/>
303 <x>8</x>
304 <y>73</y>
305 <width>150</width>
306 <height>30</height>
307 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
308 <visible>true</visible>
309 <midichan>0</midichan>
310 <midicc>0</midicc>
311 <label>Scale</label>
312 <alignment>left</alignment>
313 <font>Arial</font>
314 <fontsize>10</fontsize>
315 <precision>3</precision>
316 <color>
317 <r>0</r>
318 <g>0</g>
319 <b>0</b>
320 </color>
321 <bgcolor mode="nobackground">
322 <r>255</r>
323 <g>255</g>
324 <b>255</b>
325 </bgcolor>
326 <bordermode>noborder</bordermode>
327 <borderradius>1</borderradius>
328 <borderwidth>1</borderwidth>
329 </bsbObject>
330 <bsbObject version="2" type="BSBButton">
331 <objectName>_Browse</objectName>
332 <x>8</x>
333 <y>232</y>
334 <width>170</width>
335 <height>30</height>
336 <uuid>{b9431a61-61f7-432b-bf6f-c47ddc7f9050}</uuid>
337 <visible>true</visible>
338 <midichan>0</midichan>
339 <midicc>0</midicc>
340 <type>value</type>
341 <pressedValue>1.00000000</pressedValue>
342 <stringvalue>808loop.wav</stringvalue>
343 <text>Browse Audio File</text>
344 <image>/</image>
345 <eventLine/>
346 <latch>false</latch>
347 <latched>false</latched>
348 </bsbObject>
349 <bsbObject version="2" type="BSBLineEdit">
350 <objectName>_Browse</objectName>
351 <x>178</x>
352 <y>233</y>
353 <width>330</width>
354 <height>28</height>
355 <uuid>{68b5f90b-b78e-4581-b434-232db5f4c40f}</uuid>
356 <visible>true</visible>
357 <midichan>0</midichan>
358 <midicc>0</midicc>
359 <label>808loop.wav</label>
360 <alignment>left</alignment>
361 <font>Arial</font>
362 <fontsize>10</fontsize>
363 <precision>3</precision>
364 <color>
365 <r>0</r>
366 <g>0</g>
367 <b>0</b>
368 </color>
369 <bgcolor mode="nobackground">
370 <r>206</r>
371 <g>206</g>
372 <b>206</b>
373 </bgcolor>
374 <background>nobackground</background>
375 </bsbObject>
376 <bsbObject version="2" type="BSBDisplay">
377 <objectName>Shift</objectName>
378 <x>448</x>
379 <y>121</y>
380 <width>60</width>
381 <height>30</height>
382 <uuid>{e18e15d6-c58d-4c38-a766-79602b72f947}</uuid>
383 <visible>true</visible>
384 <midichan>0</midichan>
385 <midicc>0</midicc>
386 <label>0.000</label>
387 <alignment>right</alignment>
388 <font>Arial</font>
389 <fontsize>9</fontsize>
390 <precision>3</precision>
391 <color>
392 <r>0</r>
393 <g>0</g>
394 <b>0</b>
395 </color>
396 <bgcolor mode="nobackground">
397 <r>255</r>
398 <g>255</g>
399 <b>255</b>
400 </bgcolor>
401 <bordermode>noborder</bordermode>
402 <borderradius>1</borderradius>
403 <borderwidth>1</borderwidth>
404 </bsbObject>
405 <bsbObject version="2" type="BSBHSlider">
406 <objectName>Shift</objectName>
407 <x>8</x>
408 <y>99</y>
409 <width>500</width>
410 <height>27</height>
411 <uuid>{36779c76-0b42-4e18-819b-e02bf72d22dd}</uuid>
412 <visible>true</visible>
413 <midichan>0</midichan>
414 <midicc>0</midicc>
415 <minimum>0.00000000</minimum>
416 <maximum>5000.00000000</maximum>
417 <value>0.00000000</value>
418 <mode>lin</mode>
419 <mouseControl act="jump">continuous</mouseControl>
420 <resolution>-1.00000000</resolution>
421 <randomizable group="0">false</randomizable>
422 </bsbObject>
423 <bsbObject version="2" type="BSBLabel">
424 <objectName/>
425 <x>8</x>
426 <y>121</y>
427 <width>150</width>
428 <height>30</height>
429 <uuid>{b74148fe-3ba3-4d62-b507-64eb27627e65}</uuid>
430 <visible>true</visible>
431 <midichan>0</midichan>
432 <midicc>0</midicc>
433 <label>Shift</label>
434 <alignment>left</alignment>
435 <font>Arial</font>
436 <fontsize>10</fontsize>
437 <precision>3</precision>
438 <color>
439 <r>0</r>
440 <g>0</g>
441 <b>0</b>
442 </color>
443 <bgcolor mode="nobackground">
444 <r>255</r>
445 <g>255</g>
446 <b>255</b>
447 </bgcolor>
448 <bordermode>noborder</bordermode>
449 <borderradius>1</borderradius>
450 <borderwidth>1</borderwidth>
451 </bsbObject>
452 <bsbObject version="2" type="BSBDisplay">
453 <objectName>Lowest_Value</objectName>
454 <x>448</x>
455 <y>169</y>
456 <width>60</width>
457 <height>30</height>
458 <uuid>{3c299cf9-f5e6-4902-9f6c-4d3802f1beb8}</uuid>
459 <visible>true</visible>
460 <midichan>0</midichan>
461 <midicc>0</midicc>
462 <label>1.000</label>
463 <alignment>right</alignment>
464 <font>Arial</font>
465 <fontsize>9</fontsize>
466 <precision>3</precision>
467 <color>
468 <r>0</r>
469 <g>0</g>
470 <b>0</b>
471 </color>
472 <bgcolor mode="nobackground">
473 <r>255</r>
474 <g>255</g>
475 <b>255</b>
476 </bgcolor>
477 <bordermode>noborder</bordermode>
478 <borderradius>1</borderradius>
479 <borderwidth>1</borderwidth>
480 </bsbObject>
481 <bsbObject version="2" type="BSBHSlider">
482 <objectName>Lowest</objectName>
483 <x>8</x>
484 <y>147</y>
485 <width>500</width>
486 <height>27</height>
487 <uuid>{b96a19b5-e2ff-4bc8-9d9c-e1878dc2c7ea}</uuid>
488 <visible>true</visible>
489 <midichan>0</midichan>
490 <midicc>0</midicc>
491 <minimum>0.00000000</minimum>
492 <maximum>1.00000000</maximum>
493 <value>0.00000000</value>
494 <mode>lin</mode>
495 <mouseControl act="jump">continuous</mouseControl>
496 <resolution>-1.00000000</resolution>
497 <randomizable group="0">false</randomizable>
498 </bsbObject>
499 <bsbObject version="2" type="BSBLabel">
500 <objectName/>
501 <x>8</x>
502 <y>169</y>
503 <width>150</width>
504 <height>30</height>
505 <uuid>{3f67483e-a5a5-4c55-8c4c-802b8cb45fcb}</uuid>
506 <visible>true</visible>
507 <midichan>0</midichan>
508 <midicc>0</midicc>
509 <label>Lowest Frequency</label>
510 <alignment>left</alignment>
511 <font>Arial</font>
512 <fontsize>10</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>noborder</bordermode>
525 <borderradius>1</borderradius>
526 <borderwidth>1</borderwidth>
527 </bsbObject>
528 <bsbObject version="2" type="BSBDisplay">
529 <objectName>Gain</objectName>
530 <x>448</x>
531 <y>333</y>
532 <width>60</width>
533 <height>30</height>
534 <uuid>{44e73856-6869-4340-96a9-e5a61ecd5938}</uuid>
535 <visible>true</visible>
536 <midichan>0</midichan>
537 <midicc>0</midicc>
538 <label>0.500</label>
539 <alignment>right</alignment>
540 <font>Arial</font>
541 <fontsize>9</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="BSBHSlider">
558 <objectName>Gain</objectName>
559 <x>8</x>
560 <y>311</y>
561 <width>500</width>
562 <height>27</height>
563 <uuid>{484ef1b1-d231-454a-b908-cadd3e9dcbc1}</uuid>
564 <visible>true</visible>
565 <midichan>0</midichan>
566 <midicc>0</midicc>
567 <minimum>0.00000000</minimum>
568 <maximum>2.00000000</maximum>
569 <value>0.50000000</value>
570 <mode>lin</mode>
571 <mouseControl act="jump">continuous</mouseControl>
572 <resolution>-1.00000000</resolution>
573 <randomizable group="0">false</randomizable>
574 </bsbObject>
575 <bsbObject version="2" type="BSBLabel">
576 <objectName/>
577 <x>8</x>
578 <y>333</y>
579 <width>150</width>
580 <height>30</height>
581 <uuid>{07143124-f11e-43ad-9bad-2a731b719732}</uuid>
582 <visible>true</visible>
583 <midichan>0</midichan>
584 <midicc>0</midicc>
585 <label>Gain</label>
586 <alignment>left</alignment>
587 <font>Arial</font>
588 <fontsize>10</fontsize>
589 <precision>3</precision>
590 <color>
591 <r>0</r>
592 <g>0</g>
593 <b>0</b>
594 </color>
595 <bgcolor mode="nobackground">
596 <r>255</r>
597 <g>255</g>
598 <b>255</b>
599 </bgcolor>
600 <bordermode>noborder</bordermode>
601 <borderradius>1</borderradius>
602 <borderwidth>1</borderwidth>
603 </bsbObject>
604 <bsbObject version="2" type="BSBDropdown">
605 <objectName>Input</objectName>
606 <x>8</x>
607 <y>199</y>
608 <width>120</width>
609 <height>30</height>
610 <uuid>{76db421b-3f1c-4c3a-ae04-18d20a24c8b3}</uuid>
611 <visible>true</visible>
612 <midichan>0</midichan>
613 <midicc>0</midicc>
614 <bsbDropdownItemList>
615 <bsbDropdownItem>
616 <name>Live Input</name>
617 <value>0</value>
618 <stringvalue/>
619 </bsbDropdownItem>
620 <bsbDropdownItem>
621 <name>Audio File</name>
622 <value>1</value>
623 <stringvalue/>
624 </bsbDropdownItem>
625 </bsbDropdownItemList>
626 <selectedIndex>1</selectedIndex>
627 <randomizable group="0">false</randomizable>
628 </bsbObject>
629 <bsbObject version="2" type="BSBSpinBox">
630 <objectName>Coefs</objectName>
631 <x>448</x>
632 <y>267</y>
633 <width>60</width>
634 <height>30</height>
635 <uuid>{13be5d32-d951-470b-a8d1-bf60a549cae9}</uuid>
636 <visible>true</visible>
637 <midichan>0</midichan>
638 <midicc>0</midicc>
639 <alignment>center</alignment>
640 <font>Liberation Sans</font>
641 <fontsize>14</fontsize>
642 <color>
643 <r>0</r>
644 <g>0</g>
645 <b>0</b>
646 </color>
647 <bgcolor mode="nobackground">
648 <r>255</r>
649 <g>255</g>
650 <b>255</b>
651 </bgcolor>
652 <resolution>1.00000000</resolution>
653 <minimum>1</minimum>
654 <maximum>200</maximum>
655 <randomizable group="0">false</randomizable>
656 <value>80</value>
657 </bsbObject>
658 <bsbObject version="2" type="BSBLabel">
659 <objectName/>
660 <x>349</x>
661 <y>267</y>
662 <width>100</width>
663 <height>30</height>
664 <uuid>{9a423491-e497-405e-b182-a0ab04c6e6d3}</uuid>
665 <visible>true</visible>
666 <midichan>0</midichan>
667 <midicc>0</midicc>
668 <label>Num. Coefs :</label>
669 <alignment>right</alignment>
670 <font>Arial</font>
671 <fontsize>10</fontsize>
672 <precision>3</precision>
673 <color>
674 <r>0</r>
675 <g>0</g>
676 <b>0</b>
677 </color>
678 <bgcolor mode="nobackground">
679 <r>255</r>
680 <g>255</g>
681 <b>255</b>
682 </bgcolor>
683 <bordermode>noborder</bordermode>
684 <borderradius>1</borderradius>
685 <borderwidth>1</borderwidth>
686 </bsbObject>
687 <bsbObject version="2" type="BSBDropdown">
688 <objectName>Method</objectName>
689 <x>8</x>
690 <y>267</y>
691 <width>297</width>
692 <height>35</height>
693 <uuid>{ec7397b8-a66a-4974-ab07-e69e8e7bc122}</uuid>
694 <visible>true</visible>
695 <midichan>0</midichan>
696 <midicc>0</midicc>
697 <bsbDropdownItemList>
698 <bsbDropdownItem>
699 <name>Liftered Cepstrum Method</name>
700 <value>0</value>
701 <stringvalue/>
702 </bsbDropdownItem>
703 <bsbDropdownItem>
704 <name>True Envelope Method</name>
705 <value>1</value>
706 <stringvalue/>
707 </bsbDropdownItem>
708 </bsbDropdownItemList>
709 <selectedIndex>1</selectedIndex>
710 <randomizable group="0">false</randomizable>
711 </bsbObject>
712 <bsbObject version="2" type="BSBLabel">
713 <objectName/>
714 <x>8</x>
715 <y>362</y>
716 <width>500</width>
717 <height>70</height>
718 <uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid>
719 <visible>true</visible>
720 <midichan>0</midichan>
721 <midicc>0</midicc>
722 <label>FFT Attributes</label>
723 <alignment>left</alignment>
724 <font>Arial</font>
725 <fontsize>14</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>border</bordermode>
738 <borderradius>3</borderradius>
739 <borderwidth>1</borderwidth>
740 </bsbObject>
741 <bsbObject version="2" type="BSBLabel">
742 <objectName/>
743 <x>167</x>
744 <y>368</y>
745 <width>300</width>
746 <height>28</height>
747 <uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid>
748 <visible>true</visible>
749 <midichan>0</midichan>
750 <midicc>0</midicc>
751 <label>FFT Size - Overlap - Window Size - Window Type</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>255</r>
763 <g>255</g>
764 <b>255</b>
765 </bgcolor>
766 <bordermode>noborder</bordermode>
767 <borderradius>1</borderradius>
768 <borderwidth>1</borderwidth>
769 </bsbObject>
770 <bsbObject version="2" type="BSBDropdown">
771 <objectName>FFTattrib</objectName>
772 <x>167</x>
773 <y>388</y>
774 <width>274</width>
775 <height>32</height>
776 <uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid>
777 <visible>true</visible>
778 <midichan>0</midichan>
779 <midicc>0</midicc>
780 <bsbDropdownItemList>
781 <bsbDropdownItem>
782 <name> 256 128 256 1</name>
783 <value>0</value>
784 <stringvalue/>
785 </bsbDropdownItem>
786 <bsbDropdownItem>
787 <name> 512 128 512 1</name>
788 <value>1</value>
789 <stringvalue/>
790 </bsbDropdownItem>
791 <bsbDropdownItem>
792 <name>1024 128 1024 1</name>
793 <value>2</value>
794 <stringvalue/>
795 </bsbDropdownItem>
796 <bsbDropdownItem>
797 <name>2048 256 2048 1</name>
798 <value>3</value>
799 <stringvalue/>
800 </bsbDropdownItem>
801 <bsbDropdownItem>
802 <name>4096 512 4096 1</name>
803 <value>4</value>
804 <stringvalue/>
805 </bsbDropdownItem>
806 </bsbDropdownItemList>
807 <selectedIndex>1</selectedIndex>
808 <randomizable group="0">false</randomizable>
809 </bsbObject>
810 </bsbPanel>
811 <bsbPresets>
812 </bsbPresets>
813 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel>