Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2010
2
3 ;Modified for QuteCsound by René, November 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 Browser for audio files
8 ; Instrument 1 is activated by MIDI and by the GUI, portamento added
9 ; Add Init instrument 4
10
11
12 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5
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 giFFTsizes ftgen 0,0,8,-2,128,256,512,1024,2048,4096,8192 ;FFT SIZES
25
26
27 instr 10 ;GUI
28 ktrig metro 10
29 if (ktrig == 1) then
30 gkptr invalue "Manual_Pointer"
31 gkspeed invalue "Pointer_Speed"
32 gkpitch invalue "Pitch"
33 gkamp invalue "Amp"
34
35 gklock invalue "Lock"
36 gkPtrMode invalue "PtrMode"
37 gkFFTsize invalue "FFTsize"
38 endif
39 endin
40
41 instr 1
42 if p4!=0 then ;MIDI
43 ioct = p4 ;READ OCT VALUE FROM MIDI INPUT
44
45 ;PITCH BEND===========================================================================================================================================================
46 iSemitoneBendRange = 24 ;PITCH BEND RANGE IN SEMITONES
47 imin = 0 ;EQUILIBRIUM POSITION
48 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
49 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
50 kfreq = cpsoct(ioct + kbend) / cpsoct(8) ;(CONVERT TO RATIO: MIDDLE C IS POINT OF UNISON)
51 ;=====================================================================================================================================================================
52 else ;GUI
53 kfreq = gkpitch ;SET FUNDEMENTAL TO SLIDER "pitch"
54 endif
55
56 kporttime linseg 0,0.001,0.02 ;CREATE A VARIABLE FUNCTION THAT RAPIDLY RAMPS UP TO A SET VALUE
57 kpitch portk kfreq, kporttime ;CUTOFF FREQ. IS A SMOOTHED VERSION OF SLIDER FOR CUTOFF FREQUENCY
58
59
60 Sfile_new strcpy "" ;INIT TO EMPTY STRING
61
62 Sfile invalue "_Browse"
63 Sfile_old strcpyk Sfile_new
64 Sfile_new strcpyk Sfile
65 kfile strcmpk Sfile_new, Sfile_old
66
67 if kfile != 0 then ;IF A BANG HAD BEEN GENERATED IN THE LINE ABOVE
68 reinit NEW_FILE ;REINITIALIZE FROM LABEL 'UPDATE'
69 endif
70 NEW_FILE:
71
72 ifile ftgentmp 0, 0, 0, 1, Sfile,0,0,1 ;READ MONO OR STEREO AUDIO FILE CHANNEL 1
73 ilen = nsamp(ifile)/sr ;DERIVE FILE LENGTH IN SECONDS
74 rireturn ;RETURN FROM REINITIALIZATION PASS
75
76 kptr = gkptr*ilen ;POINTER IN SECONDS (AS OPPOSED TO 0-1)
77 outvalue "Manual_Pointer_Value", kptr ;UPDATE POINTER VALUE IN SECONDS DISPLAY BOX
78 kptr portk kptr, kporttime ;APPLY PORTAMENTO TO POINTER VARIABLE
79 if gkPtrMode=0 then ;IF 'MANUAL POINTER' POINTER MODE HAS BEEN CHOSEN...
80 atimpt interp kptr ;POINTER TAKEN DIRECTLY FROM FLTK SLIDER
81 elseif gkPtrMode=1 then ;OR IF SPEED POINTER MODE HAS BEEN CHOSEN...
82 kspeed portk gkspeed, kporttime ;APPLY PORTAMENTO SMOOTHING TO SPEED SLIDER
83 atimpt phasor kspeed/ilen ;CREATE A MOVING PHASE VALUE PROPORTIONAL TO SPEED AND INVERSELY PROPOERTIONAL TO FILE LENGTH
84 atimpt = atimpt * ilen ;RESCALE MOVING PHASE VALUE TO ENCOMPASS ENTIRE SOUND FILE
85 endif ;END OF THIS CONDITIONAL BRANCH
86
87 kamp portk gkamp, kporttime ;APPLY PORTAMENTO SMOOTHING TO AMPLITUDE SLIDER VALUE
88
89 ktrigger changed gkFFTsize ;IF gkFFTsize CHANGES GENERATE A '1' (BANG)
90 if ktrigger=1 then ;IF THE ABOVE LINE HAS GENERATED A '1'...
91 reinit UPDATE2 ;BEGIN A REINITIALIZATION PASS FROM LABEL 'UPDATE2'
92 endif ;END OF THIS CONDITIONAL BRANCH
93 UPDATE2: ;LABEL CALLED 'UPDATE2'
94 ifftsize table i(gkFFTsize), giFFTsizes ;DERIVE CHOSEN FFT SIZE FROM ON SCREEN BUTTON BANK AND FFTsizes FUNCTION TABLE
95 asig mincer atimpt, kamp, kpitch, ifile, gklock, ifftsize ;,idecim] ;ktab AND klock SEEM TO BE REVERSED WITH RESPECT TO THEIR DOCUMENTATION IN THE MANUAL
96 rireturn
97 aenv linsegr 0,0.05,1,0.05,0 ;DE-CLICKING ENVELOPE
98 outs asig*aenv, asig*aenv ;SEND AUDIO TO OUTPUTS
99 endin
100
101 instr 2 ;SET TIME SCALING SLIDER TO P4 DETERMINED VALUES
102 outvalue "Pointer_Speed", p4
103 endin
104
105 instr 3 ;SET PITCH SCALING SLIDER TO P4 DETERMINED VALUES
106 outvalue "Pitch", p4
107 endin
108
109 instr 4 ;INIT
110 outvalue "Amp", 1.0
111 outvalue "Lock", 1
112 outvalue "Pitch", 1.0
113 outvalue "FFTsize", 3
114 outvalue "Pointer_Speed", 1.0
115 outvalue "PtrMode", 1
116 outvalue "Manual_Pointer", 0.1
117 endin
118 </CsInstruments>
119 <CsScore>
120 ;INSTR | START | DURATION
121 i 10 0 3600 ;GUI
122 i 4 0.1 0 ;INIT
123 </CsScore>
124 </CsoundSynthesizer>
125
126
127
128 <bsbPanel>
129 <label>Widgets</label>
130 <objectName/>
131 <x>302</x>
132 <y>295</y>
133 <width>1063</width>
134 <height>348</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>514</width>
147 <height>344</height>
148 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
149 <visible>true</visible>
150 <midichan>0</midichan>
151 <midicc>0</midicc>
152 <label>mincer</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>518</x>
174 <y>2</y>
175 <width>537</width>
176 <height>344</height>
177 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
178 <visible>true</visible>
179 <midichan>0</midichan>
180 <midicc>0</midicc>
181 <label>mincer</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>519</x>
203 <y>18</y>
204 <width>533</width>
205 <height>322</height>
206 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
207 <visible>true</visible>
208 <midichan>0</midichan>
209 <midicc>0</midicc>
210 <label>-----------------------------------------------------------------------------------------------------------------------------------
211 mincer performs phase vocoding resynthesis on GEN 1 function tables with the option of phase locking. Phase locking can give improved results, particularly when freezing the time pointers progress through the sound. Access to the GEN 1 function table is done by providing the opcode with a time value in seconds. This example interprets the lengths of a variety of sound files so that the pointer always encompasses the entirety of the chosen file. External to the opcode, a phasor is used to move through the file (speed mode) to provide a 'time scaling' type operation using the 'Speed' control. Additional buttons allow the user to freeze progress through the sound file or to restore normal speed. Pitch transposition is also possible by providing a pitch ratio value. An on screen button will return this control to its unison setting. The user can choose any mono or stereo sound file, only channel one is loaded. A variety of FFT sizes can be explored - smaller sizes will will result in less time smearing by more spectral distortion larger sizes will result in less spectral distortion but more time smearing. This example can also be activated from a MIDI keyboard in which case MIDI pitch is mapped to the the pitch ratio used by mincer. In this mode the slider for pitch will be ignored. Middle C is the point of no transposition.
212 NOTE THAT IN THE 5.13 MANUAL THE ktab AND klock PARAMETER ARE INCORRECTLY SWAPPED.</label>
213 <alignment>left</alignment>
214 <font>Liberation Sans</font>
215 <fontsize>14</fontsize>
216 <precision>3</precision>
217 <color>
218 <r>0</r>
219 <g>0</g>
220 <b>0</b>
221 </color>
222 <bgcolor mode="nobackground">
223 <r>255</r>
224 <g>255</g>
225 <b>255</b>
226 </bgcolor>
227 <bordermode>noborder</bordermode>
228 <borderradius>1</borderradius>
229 <borderwidth>1</borderwidth>
230 </bsbObject>
231 <bsbObject version="2" type="BSBButton">
232 <objectName/>
233 <x>8</x>
234 <y>8</y>
235 <width>120</width>
236 <height>30</height>
237 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
238 <visible>true</visible>
239 <midichan>0</midichan>
240 <midicc>0</midicc>
241 <type>event</type>
242 <pressedValue>1.00000000</pressedValue>
243 <stringvalue/>
244 <text> On / Off (MIDI)</text>
245 <image>/</image>
246 <eventLine>i 1 0 -1</eventLine>
247 <latch>true</latch>
248 <latched>false</latched>
249 </bsbObject>
250 <bsbObject version="2" type="BSBLabel">
251 <objectName/>
252 <x>6</x>
253 <y>301</y>
254 <width>506</width>
255 <height>40</height>
256 <uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid>
257 <visible>true</visible>
258 <midichan>0</midichan>
259 <midicc>0</midicc>
260 <label>FFT Size</label>
261 <alignment>left</alignment>
262 <font>Arial Black</font>
263 <fontsize>14</fontsize>
264 <precision>3</precision>
265 <color>
266 <r>0</r>
267 <g>0</g>
268 <b>0</b>
269 </color>
270 <bgcolor mode="nobackground">
271 <r>255</r>
272 <g>255</g>
273 <b>255</b>
274 </bgcolor>
275 <bordermode>border</bordermode>
276 <borderradius>3</borderradius>
277 <borderwidth>1</borderwidth>
278 </bsbObject>
279 <bsbObject version="2" type="BSBDropdown">
280 <objectName>FFTsize</objectName>
281 <x>325</x>
282 <y>305</y>
283 <width>100</width>
284 <height>32</height>
285 <uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid>
286 <visible>true</visible>
287 <midichan>0</midichan>
288 <midicc>0</midicc>
289 <bsbDropdownItemList>
290 <bsbDropdownItem>
291 <name>128</name>
292 <value>0</value>
293 <stringvalue/>
294 </bsbDropdownItem>
295 <bsbDropdownItem>
296 <name>512</name>
297 <value>1</value>
298 <stringvalue/>
299 </bsbDropdownItem>
300 <bsbDropdownItem>
301 <name>1024</name>
302 <value>2</value>
303 <stringvalue/>
304 </bsbDropdownItem>
305 <bsbDropdownItem>
306 <name>2048</name>
307 <value>3</value>
308 <stringvalue/>
309 </bsbDropdownItem>
310 <bsbDropdownItem>
311 <name>4096</name>
312 <value>4</value>
313 <stringvalue/>
314 </bsbDropdownItem>
315 <bsbDropdownItem>
316 <name>8192</name>
317 <value>5</value>
318 <stringvalue/>
319 </bsbDropdownItem>
320 </bsbDropdownItemList>
321 <selectedIndex>3</selectedIndex>
322 <randomizable group="0">false</randomizable>
323 </bsbObject>
324 <bsbObject version="2" type="BSBDisplay">
325 <objectName>Manual_Pointer_Value</objectName>
326 <x>446</x>
327 <y>91</y>
328 <width>60</width>
329 <height>30</height>
330 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
331 <visible>true</visible>
332 <midichan>0</midichan>
333 <midicc>0</midicc>
334 <label>0.963</label>
335 <alignment>right</alignment>
336 <font>Arial</font>
337 <fontsize>9</fontsize>
338 <precision>3</precision>
339 <color>
340 <r>0</r>
341 <g>0</g>
342 <b>0</b>
343 </color>
344 <bgcolor mode="nobackground">
345 <r>255</r>
346 <g>255</g>
347 <b>255</b>
348 </bgcolor>
349 <bordermode>noborder</bordermode>
350 <borderradius>1</borderradius>
351 <borderwidth>1</borderwidth>
352 </bsbObject>
353 <bsbObject version="2" type="BSBHSlider">
354 <objectName>Manual_Pointer</objectName>
355 <x>6</x>
356 <y>74</y>
357 <width>500</width>
358 <height>27</height>
359 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
360 <visible>true</visible>
361 <midichan>0</midichan>
362 <midicc>0</midicc>
363 <minimum>0.00000000</minimum>
364 <maximum>1.00000000</maximum>
365 <value>0.10000000</value>
366 <mode>lin</mode>
367 <mouseControl act="jump">continuous</mouseControl>
368 <resolution>-1.00000000</resolution>
369 <randomizable group="0">false</randomizable>
370 </bsbObject>
371 <bsbObject version="2" type="BSBLabel">
372 <objectName/>
373 <x>6</x>
374 <y>91</y>
375 <width>180</width>
376 <height>30</height>
377 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
378 <visible>true</visible>
379 <midichan>0</midichan>
380 <midicc>0</midicc>
381 <label>Manual Pointer (seconds)</label>
382 <alignment>left</alignment>
383 <font>Arial</font>
384 <fontsize>10</fontsize>
385 <precision>3</precision>
386 <color>
387 <r>0</r>
388 <g>0</g>
389 <b>0</b>
390 </color>
391 <bgcolor mode="nobackground">
392 <r>255</r>
393 <g>255</g>
394 <b>255</b>
395 </bgcolor>
396 <bordermode>noborder</bordermode>
397 <borderradius>1</borderradius>
398 <borderwidth>1</borderwidth>
399 </bsbObject>
400 <bsbObject version="2" type="BSBLabel">
401 <objectName/>
402 <x>6</x>
403 <y>244</y>
404 <width>506</width>
405 <height>56</height>
406 <uuid>{cdc434d0-b9e7-4f6f-aa90-800ec76dced6}</uuid>
407 <visible>true</visible>
408 <midichan>0</midichan>
409 <midicc>0</midicc>
410 <label>Input</label>
411 <alignment>left</alignment>
412 <font>Arial Black</font>
413 <fontsize>14</fontsize>
414 <precision>3</precision>
415 <color>
416 <r>0</r>
417 <g>0</g>
418 <b>0</b>
419 </color>
420 <bgcolor mode="nobackground">
421 <r>255</r>
422 <g>255</g>
423 <b>255</b>
424 </bgcolor>
425 <bordermode>border</bordermode>
426 <borderradius>3</borderradius>
427 <borderwidth>1</borderwidth>
428 </bsbObject>
429 <bsbObject version="2" type="BSBButton">
430 <objectName>_Browse</objectName>
431 <x>10</x>
432 <y>265</y>
433 <width>170</width>
434 <height>30</height>
435 <uuid>{b9431a61-61f7-432b-bf6f-c47ddc7f9050}</uuid>
436 <visible>true</visible>
437 <midichan>0</midichan>
438 <midicc>0</midicc>
439 <type>value</type>
440 <pressedValue>1.00000000</pressedValue>
441 <stringvalue>808loop.wav</stringvalue>
442 <text>Browse Audio File</text>
443 <image>/</image>
444 <eventLine/>
445 <latch>false</latch>
446 <latched>false</latched>
447 </bsbObject>
448 <bsbObject version="2" type="BSBLineEdit">
449 <objectName>_Browse</objectName>
450 <x>180</x>
451 <y>266</y>
452 <width>330</width>
453 <height>28</height>
454 <uuid>{68b5f90b-b78e-4581-b434-232db5f4c40f}</uuid>
455 <visible>true</visible>
456 <midichan>0</midichan>
457 <midicc>0</midicc>
458 <label>808loop.wav</label>
459 <alignment>left</alignment>
460 <font>Arial</font>
461 <fontsize>10</fontsize>
462 <precision>3</precision>
463 <color>
464 <r>0</r>
465 <g>0</g>
466 <b>0</b>
467 </color>
468 <bgcolor mode="nobackground">
469 <r>206</r>
470 <g>206</g>
471 <b>206</b>
472 </bgcolor>
473 <background>nobackground</background>
474 </bsbObject>
475 <bsbObject version="2" type="BSBDropdown">
476 <objectName>PtrMode</objectName>
477 <x>197</x>
478 <y>41</y>
479 <width>100</width>
480 <height>30</height>
481 <uuid>{be1f1edc-082e-4433-a418-1e81baf4e305}</uuid>
482 <visible>true</visible>
483 <midichan>0</midichan>
484 <midicc>0</midicc>
485 <bsbDropdownItemList>
486 <bsbDropdownItem>
487 <name>Manual</name>
488 <value>0</value>
489 <stringvalue/>
490 </bsbDropdownItem>
491 <bsbDropdownItem>
492 <name>Speed</name>
493 <value>1</value>
494 <stringvalue/>
495 </bsbDropdownItem>
496 </bsbDropdownItemList>
497 <selectedIndex>1</selectedIndex>
498 <randomizable group="0">false</randomizable>
499 </bsbObject>
500 <bsbObject version="2" type="BSBButton">
501 <objectName>Lock</objectName>
502 <x>327</x>
503 <y>41</y>
504 <width>120</width>
505 <height>30</height>
506 <uuid>{c2ce77b0-a2e9-4055-8013-ac958f83938a}</uuid>
507 <visible>true</visible>
508 <midichan>0</midichan>
509 <midicc>0</midicc>
510 <type>value</type>
511 <pressedValue>1.00000000</pressedValue>
512 <stringvalue/>
513 <text> Lock On / Off</text>
514 <image>/</image>
515 <eventLine/>
516 <latch>true</latch>
517 <latched>false</latched>
518 </bsbObject>
519 <bsbObject version="2" type="BSBLabel">
520 <objectName/>
521 <x>77</x>
522 <y>41</y>
523 <width>120</width>
524 <height>30</height>
525 <uuid>{28e35706-38ed-48ef-9db8-d33ceb43f556}</uuid>
526 <visible>true</visible>
527 <midichan>0</midichan>
528 <midicc>0</midicc>
529 <label>Pointer Mode</label>
530 <alignment>right</alignment>
531 <font>Arial</font>
532 <fontsize>10</fontsize>
533 <precision>3</precision>
534 <color>
535 <r>0</r>
536 <g>0</g>
537 <b>0</b>
538 </color>
539 <bgcolor mode="nobackground">
540 <r>255</r>
541 <g>255</g>
542 <b>255</b>
543 </bgcolor>
544 <bordermode>noborder</bordermode>
545 <borderradius>1</borderradius>
546 <borderwidth>1</borderwidth>
547 </bsbObject>
548 <bsbObject version="2" type="BSBLabel">
549 <objectName/>
550 <x>6</x>
551 <y>128</y>
552 <width>180</width>
553 <height>30</height>
554 <uuid>{658605d0-b67f-46be-afc9-d4e81186d1c3}</uuid>
555 <visible>true</visible>
556 <midichan>0</midichan>
557 <midicc>0</midicc>
558 <label>Pointer Speed</label>
559 <alignment>left</alignment>
560 <font>Arial</font>
561 <fontsize>10</fontsize>
562 <precision>3</precision>
563 <color>
564 <r>0</r>
565 <g>0</g>
566 <b>0</b>
567 </color>
568 <bgcolor mode="nobackground">
569 <r>255</r>
570 <g>255</g>
571 <b>255</b>
572 </bgcolor>
573 <bordermode>noborder</bordermode>
574 <borderradius>1</borderradius>
575 <borderwidth>1</borderwidth>
576 </bsbObject>
577 <bsbObject version="2" type="BSBHSlider">
578 <objectName>Pointer_Speed</objectName>
579 <x>6</x>
580 <y>111</y>
581 <width>500</width>
582 <height>27</height>
583 <uuid>{b4e86d09-493d-4b35-a9d4-b32004edb444}</uuid>
584 <visible>true</visible>
585 <midichan>0</midichan>
586 <midicc>0</midicc>
587 <minimum>-2.00000000</minimum>
588 <maximum>2.00000000</maximum>
589 <value>1.00000000</value>
590 <mode>lin</mode>
591 <mouseControl act="jump">continuous</mouseControl>
592 <resolution>-1.00000000</resolution>
593 <randomizable group="0">false</randomizable>
594 </bsbObject>
595 <bsbObject version="2" type="BSBDisplay">
596 <objectName>Pointer_Speed</objectName>
597 <x>446</x>
598 <y>128</y>
599 <width>60</width>
600 <height>30</height>
601 <uuid>{f1ecf7ec-a379-4bc9-b168-2627289c7bd8}</uuid>
602 <visible>true</visible>
603 <midichan>0</midichan>
604 <midicc>0</midicc>
605 <label>1.000</label>
606 <alignment>right</alignment>
607 <font>Arial</font>
608 <fontsize>9</fontsize>
609 <precision>3</precision>
610 <color>
611 <r>0</r>
612 <g>0</g>
613 <b>0</b>
614 </color>
615 <bgcolor mode="nobackground">
616 <r>255</r>
617 <g>255</g>
618 <b>255</b>
619 </bgcolor>
620 <bordermode>noborder</bordermode>
621 <borderradius>1</borderradius>
622 <borderwidth>1</borderwidth>
623 </bsbObject>
624 <bsbObject version="2" type="BSBLabel">
625 <objectName/>
626 <x>6</x>
627 <y>175</y>
628 <width>180</width>
629 <height>30</height>
630 <uuid>{e4b74d62-17a5-44e2-807e-3251bd2570e0}</uuid>
631 <visible>true</visible>
632 <midichan>0</midichan>
633 <midicc>0</midicc>
634 <label>Pitch</label>
635 <alignment>left</alignment>
636 <font>Arial</font>
637 <fontsize>10</fontsize>
638 <precision>3</precision>
639 <color>
640 <r>0</r>
641 <g>0</g>
642 <b>0</b>
643 </color>
644 <bgcolor mode="nobackground">
645 <r>255</r>
646 <g>255</g>
647 <b>255</b>
648 </bgcolor>
649 <bordermode>noborder</bordermode>
650 <borderradius>1</borderradius>
651 <borderwidth>1</borderwidth>
652 </bsbObject>
653 <bsbObject version="2" type="BSBHSlider">
654 <objectName>Pitch</objectName>
655 <x>6</x>
656 <y>158</y>
657 <width>500</width>
658 <height>27</height>
659 <uuid>{c15a2d14-f6f2-4f3b-8ffd-fc1fc422644a}</uuid>
660 <visible>true</visible>
661 <midichan>0</midichan>
662 <midicc>0</midicc>
663 <minimum>0.12500000</minimum>
664 <maximum>4.00000000</maximum>
665 <value>1.00000000</value>
666 <mode>lin</mode>
667 <mouseControl act="jump">continuous</mouseControl>
668 <resolution>-1.00000000</resolution>
669 <randomizable group="0">false</randomizable>
670 </bsbObject>
671 <bsbObject version="2" type="BSBDisplay">
672 <objectName>Pitch</objectName>
673 <x>446</x>
674 <y>175</y>
675 <width>60</width>
676 <height>30</height>
677 <uuid>{27d7476c-9550-4f4b-97e4-79c0fe22d00f}</uuid>
678 <visible>true</visible>
679 <midichan>0</midichan>
680 <midicc>0</midicc>
681 <label>1.000</label>
682 <alignment>right</alignment>
683 <font>Arial</font>
684 <fontsize>9</fontsize>
685 <precision>3</precision>
686 <color>
687 <r>0</r>
688 <g>0</g>
689 <b>0</b>
690 </color>
691 <bgcolor mode="nobackground">
692 <r>255</r>
693 <g>255</g>
694 <b>255</b>
695 </bgcolor>
696 <bordermode>noborder</bordermode>
697 <borderradius>1</borderradius>
698 <borderwidth>1</borderwidth>
699 </bsbObject>
700 <bsbObject version="2" type="BSBLabel">
701 <objectName/>
702 <x>6</x>
703 <y>222</y>
704 <width>180</width>
705 <height>30</height>
706 <uuid>{244f4991-4d70-459c-9125-dc0bedb44336}</uuid>
707 <visible>true</visible>
708 <midichan>0</midichan>
709 <midicc>0</midicc>
710 <label>Amp</label>
711 <alignment>left</alignment>
712 <font>Arial</font>
713 <fontsize>10</fontsize>
714 <precision>3</precision>
715 <color>
716 <r>0</r>
717 <g>0</g>
718 <b>0</b>
719 </color>
720 <bgcolor mode="nobackground">
721 <r>255</r>
722 <g>255</g>
723 <b>255</b>
724 </bgcolor>
725 <bordermode>noborder</bordermode>
726 <borderradius>1</borderradius>
727 <borderwidth>1</borderwidth>
728 </bsbObject>
729 <bsbObject version="2" type="BSBHSlider">
730 <objectName>Amp</objectName>
731 <x>6</x>
732 <y>205</y>
733 <width>500</width>
734 <height>27</height>
735 <uuid>{aec1f16e-6cc4-4ec0-b6ac-0507d179454f}</uuid>
736 <visible>true</visible>
737 <midichan>0</midichan>
738 <midicc>0</midicc>
739 <minimum>0.00000000</minimum>
740 <maximum>5.00000000</maximum>
741 <value>1.00000000</value>
742 <mode>lin</mode>
743 <mouseControl act="jump">continuous</mouseControl>
744 <resolution>-1.00000000</resolution>
745 <randomizable group="0">false</randomizable>
746 </bsbObject>
747 <bsbObject version="2" type="BSBDisplay">
748 <objectName>Amp</objectName>
749 <x>446</x>
750 <y>222</y>
751 <width>60</width>
752 <height>30</height>
753 <uuid>{ab6dedab-477d-4361-bf78-2763acfd72f8}</uuid>
754 <visible>true</visible>
755 <midichan>0</midichan>
756 <midicc>0</midicc>
757 <label>1.000</label>
758 <alignment>right</alignment>
759 <font>Arial</font>
760 <fontsize>9</fontsize>
761 <precision>3</precision>
762 <color>
763 <r>0</r>
764 <g>0</g>
765 <b>0</b>
766 </color>
767 <bgcolor mode="nobackground">
768 <r>255</r>
769 <g>255</g>
770 <b>255</b>
771 </bgcolor>
772 <bordermode>noborder</bordermode>
773 <borderradius>1</borderradius>
774 <borderwidth>1</borderwidth>
775 </bsbObject>
776 <bsbObject version="2" type="BSBButton">
777 <objectName/>
778 <x>241</x>
779 <y>139</y>
780 <width>80</width>
781 <height>20</height>
782 <uuid>{3e3dffdf-b30f-4572-8bdc-f88dfece9e87}</uuid>
783 <visible>true</visible>
784 <midichan>0</midichan>
785 <midicc>0</midicc>
786 <type>event</type>
787 <pressedValue>1.00000000</pressedValue>
788 <stringvalue/>
789 <text>Normal</text>
790 <image>/</image>
791 <eventLine>i2 0 0 1 </eventLine>
792 <latch>false</latch>
793 <latched>false</latched>
794 </bsbObject>
795 <bsbObject version="2" type="BSBButton">
796 <objectName/>
797 <x>324</x>
798 <y>139</y>
799 <width>80</width>
800 <height>20</height>
801 <uuid>{13cad86e-f79e-4377-a027-b55df036ba18}</uuid>
802 <visible>true</visible>
803 <midichan>0</midichan>
804 <midicc>0</midicc>
805 <type>event</type>
806 <pressedValue>1.00000000</pressedValue>
807 <stringvalue/>
808 <text>Freeze</text>
809 <image>/</image>
810 <eventLine>i2 0 0 0</eventLine>
811 <latch>false</latch>
812 <latched>false</latched>
813 </bsbObject>
814 <bsbObject version="2" type="BSBButton">
815 <objectName/>
816 <x>324</x>
817 <y>183</y>
818 <width>80</width>
819 <height>20</height>
820 <uuid>{de156fcb-ea14-4edd-90ac-adf962f25958}</uuid>
821 <visible>true</visible>
822 <midichan>0</midichan>
823 <midicc>0</midicc>
824 <type>event</type>
825 <pressedValue>1.00000000</pressedValue>
826 <stringvalue/>
827 <text>Unisson</text>
828 <image>/</image>
829 <eventLine>i3 0 0 1</eventLine>
830 <latch>false</latch>
831 <latched>false</latched>
832 </bsbObject>
833 </bsbPanel>
834 <bsbPresets>
835 </bsbPresets>
836 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>