Debian Codegraph @

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

raw
1 ;WRITTEN BY IAIN MCCURDY, 2006
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 ; ksmps changed from 100 to 10 to avoid the message pvsfread: analysis frame overlap must be >= ksmps
9 ; Instrument 1 is activated by MIDI and by the GUI
10 ; Add Browser for analysis files
11
12
13 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5
14 <CsoundSynthesizer>
15 <CsOptions>
16 --env:SADIR+=../../SourceMaterials
17 </CsOptions>
18 <CsInstruments>
19 sr = 44100 ;SAMPLE RATE
20 ksmps = 32 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
21 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
22 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
23
24
25 gasrc init 0 ;INITIALISE GLOBAL AUDIO VARIABLE TO ZERO
26
27 gisine ftgen 0, 0, 65536, 10, 1 ;SINE WAVE
28 giExp2000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 2000.0 ;TABLE FOR EXP SLIDER
29
30
31 instr 10 ;GUI
32 ktrig metro 10
33 if (ktrig == 1) then
34 kcps invalue "CPS"
35 gkcps tablei kcps, giExp2000, 1
36 outvalue "CPS_Value", gkcps ;init 200.0
37 gkptr invalue "Pointer" ;init 0.1
38 gkspd invalue "Speed" ;init 1.0
39 gkinput invalue "Input" ;init 1
40 gkwave invalue "Wave" ;init 1
41 gkGate invalue "Gate" ;init 1.0
42 gkamp1 invalue "Excitation_Signal_Amplitude" ;init 0.0
43 gkamp2 invalue "Cross_Synthesis_Amplitude" ;init 0.5
44 endif
45 endin
46
47 instr 1 ;SIGNAL GENERATOR
48 if p4!= 0 then ;MIDI
49 ioct = p4 ;READ MIDI PITCH INFORMATION FROM A MIDI KEYBOARD
50 iamp = p5
51
52 ;PITCH BEND INFORMATION IS READ
53 iSemitoneBendRange = 2 ;PITCH BEND RANGE IN SEMITONES (WILL BE DEFINED FURTHER LATER)
54 imin = 0 ;EQUILIBRIUM POSITION
55 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
56 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
57
58 kcps = cpsoct(ioct + kbend)
59 kenv linsegr 0, .01, iamp, .01, 0 ;CREATE AN AMPLITUDE ENVELOPE TO PREVENT CLICKS. INCLUDES A MIDI-RELEASE STAGE
60 else ;GUI
61 iporttime = .01 ;CREATE A RAMPING UP VALUE THAT WILL BE USED FOR PORTAMENTO TIME
62 kporttime linseg 0, .001, iporttime, 1, iporttime ;CREATE A RAMPING UP VALUE THAT WILL BE USED FOR PORTAMENTO TIME
63 kcps portk gkcps, kporttime ;APPLY PORTAMENTO TO gkcps
64 kenv linsegr 0, .01, 1, .01, 0 ;CREATE AN AMPLITUDE ENVELOPE TO PREVENT CLICKS. INCLUDES A MIDI-RELEASE STAGE
65 endif
66
67 if gkwave=0 then
68 asine oscili kenv, kcps, gisine
69 gasrc = gasrc + asine ;ADD SINE TONE TO THE GLOBAL AUDIO VARIABLE gaexc. THIS MECHANISM FACILITATES MIDI POLYPHONY
70 elseif gkwave<=3&&gkwave>0 then
71 avco vco kenv, kcps, i(gkwave), 0.5, gisine, 1, 0, 22054/sr, 0 ;SAWTOOTH WAVEFORM
72 gasrc = gasrc + avco ;ADD VCO TONE TO THE GLOBAL AUDIO VARIABLE gaexc. THIS MECHANISM FACILITATES MIDI POLYPHONY
73 else
74 anoise noise kenv, 0
75 gasrc = gasrc + anoise ;ADD NOISE SIGNAL TO THE GLOBAL AUDIO VARIABLE gaexc. THIS MECHANISM FACILITATES MIDI POLYPHONY
76 endif
77 endin
78
79 instr 3
80 if gkinput>=1 then ;IF 'INPUT' SWITCH IS SET TO 'STORED FILE' THEN IMPLEMENT THE NEXT LINE OF CODE
81 if gkinput!=1 kgoto SKIP1
82
83 SAnalysisFile1 invalue "_Browse1"
84 ilen1 filelen SAnalysisFile1 ;DERIVE THE FILE LENGTH (IN SECONDS) OF THE CHOSEN ANALYSIS FILE
85 ;OUTPUT OPCODE FREQUENCY
86 kptr phasor gkspd/ilen1 ;CREATE A MOVING PHASE VALUE (0-1) THAT WILL BE USED AS A FILE POINTER. FREQUENCY OF PHASOR WILL BE DIRECTLY PROPORTIONAL TO SPEED SLIDER AND INVERSELY PROPORTIONAL TO THE LENGTH OF THE ANALYSIS FILE
87 ktrig changed kptr ;CREATE A TRIGGER (MOMENTARY 1 VALUE) EACH TIME VARIABLE kptr CHANGES
88
89 if ktrig=1 then
90 outvalue "Pointer", kptr ;UPDATE 'Pointer' SLIDER WHENEVER TRIGGER IS '1' USING VALUE HELD IN THE 'VALUE' COLUMN
91 endif
92
93 ;OUTPUT OPCODE POINTER | FILE
94 fdest pvsfread gkptr * ilen1, SAnalysisFile1 ;READ AN ANALYSIS FILE FROM THE HARD DRIVE ACCORDING TO THE GIVEN FILE POINTER LOCATION. OUTPUT AN F-SIGNAL.
95 kgoto SKIP2
96 SKIP1:
97 SAnalysisFile2 invalue "_Browse2"
98 ilen2 filelen SAnalysisFile2 ;DERIVE THE FILE LENGTH (IN SECONDS) OF THE CHOSEN ANALYSIS FILE
99 ;OUTPUT OPCODE FREQUENCY
100 kptr phasor gkspd/ilen2 ;CREATE A MOVING PHASE VALUE (0-1) THAT WILL BE USED AS A FILE POINTER. FREQUENCY OF PHASOR WILL BE DIRECTLY PROPORTIONAL TO SPEED SLIDER AND INVERSELY PROPORTIONAL TO THE LENGTH OF THE ANALYSIS FILE
101 ktrig changed kptr ;CREATE A TRIGGER (MOMENTARY 1 VALUE) EACH TIME VARIABLE kptr CHANGES
102
103 if ktrig=1 then
104 outvalue "Pointer", kptr ;UPDATE 'Pointer' SLIDER WHENEVER TRIGGER IS '1' USING VALUE HELD IN THE 'VALUE' COLUMN
105 endif
106
107 ;OUTPUT OPCODE POINTER | FILE
108 fdest pvsfread gkptr * ilen2, SAnalysisFile2 ;READ AN ANALYSIS FILE FROM THE HARD DRIVE ACCORDING TO THE GIVEN FILE POINTER LOCATION. OUTPUT AN F-SIGNAL.
109 SKIP2:
110 else ;IF 'INPUT' SWITCH IS NOT SET TO 'STORED FILE' THEN IMPLEMENT THE NEXT LINE OF CODE
111 adest, aignore ins ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT (LEFT INPUT ONLY IS READ, RIGHT CHANNEL IS IGNORED IN SUBSEQUENT CODE. A STEREO VERSION COULD EASILY BE BUILT BUT THIS WOULD DOUBLE CPU DEMANDS!)
112
113 ;OUTPUT OPCODE INPUT | FFTSIZE | OVERLAP | WINSIZE | WINTYPE
114 fdest pvsanal adest, 1024, 256, 1024, 1 ;ANALYSE THE AUDIO SIGNAL
115 endif ;END OF 'IF'...'THEN' BRANCHING
116
117 fsrc pvsanal gasrc, 1024, 256, 1024, 1 ;ANALYSE THE EXCITATION AUDIO SIGNAL
118 fsig pvscross fsrc, fdest, gkamp1, gkamp2
119
120 aresyn pvsynth fsig ;RESYNTHESIZE THE NEW F-SIGNAL INTO AN AUDIO SIGNAL
121
122 if gkGate=1 then
123 afollow follow2 gasrc, 0.1, 0.1 ;CREATE AN AMPLITUDE FOLLOWING SIGNAL THAT FOLLOWS THE DYNAMIC ENVELOPE OF THE EXCITATION SIGNAL - THIS WILL BE USED TO GATE THE CROSS SYNTHESISED SIGNAL
124 aresyn = aresyn*afollow
125 endif
126 outs aresyn, aresyn ;SEND THE RESYNTHESIZED AUDIO SIGNAL TO THE OUTPUTS
127 gasrc = 0 ;RESET THE GLOBAL AUDIO SIGNAL TO ZERO - THIS PREVENTS A STUCK, NON-ZERO VALUE FOR gaexc IN THE SITUATION WHERE NO EXCITATION SIGNAL IS PLAYING
128 endin
129
130 instr 4 ;SET SPEED SLIDER TO ZERO
131 outvalue "Speed", 0.0
132 endin
133 </CsInstruments>
134 <CsScore>
135 ;INSTR | START | DURATION
136 i 10 0 3600 ;GUI
137 i 3 0 3600 ;ACTIVATE INSTRUMENT 3 FOR 1 HOUR - ALSO SUSTAINS REALTIME PERFORMANCE
138 </CsScore>
139 </CsoundSynthesizer>
140
141
142 <bsbPanel>
143 <label>Widgets</label>
144 <objectName/>
145 <x>493</x>
146 <y>163</y>
147 <width>860</width>
148 <height>599</height>
149 <visible>true</visible>
150 <uuid/>
151 <bgcolor mode="background">
152 <r>241</r>
153 <g>226</g>
154 <b>185</b>
155 </bgcolor>
156 <bsbObject version="2" type="BSBLabel">
157 <objectName/>
158 <x>2</x>
159 <y>2</y>
160 <width>516</width>
161 <height>594</height>
162 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
163 <visible>true</visible>
164 <midichan>0</midichan>
165 <midicc>0</midicc>
166 <label>pvscross</label>
167 <alignment>center</alignment>
168 <font>Liberation Sans</font>
169 <fontsize>18</fontsize>
170 <precision>3</precision>
171 <color>
172 <r>0</r>
173 <g>0</g>
174 <b>0</b>
175 </color>
176 <bgcolor mode="background">
177 <r>181</r>
178 <g>199</g>
179 <b>255</b>
180 </bgcolor>
181 <bordermode>border</bordermode>
182 <borderradius>5</borderradius>
183 <borderwidth>2</borderwidth>
184 </bsbObject>
185 <bsbObject version="2" type="BSBLabel">
186 <objectName/>
187 <x>519</x>
188 <y>2</y>
189 <width>333</width>
190 <height>594</height>
191 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
192 <visible>true</visible>
193 <midichan>0</midichan>
194 <midicc>0</midicc>
195 <label>pvscross</label>
196 <alignment>center</alignment>
197 <font>Liberation Sans</font>
198 <fontsize>18</fontsize>
199 <precision>3</precision>
200 <color>
201 <r>0</r>
202 <g>0</g>
203 <b>0</b>
204 </color>
205 <bgcolor mode="background">
206 <r>181</r>
207 <g>199</g>
208 <b>255</b>
209 </bgcolor>
210 <bordermode>border</bordermode>
211 <borderradius>5</borderradius>
212 <borderwidth>2</borderwidth>
213 </bsbObject>
214 <bsbObject version="2" type="BSBLabel">
215 <objectName/>
216 <x>522</x>
217 <y>33</y>
218 <width>326</width>
219 <height>551</height>
220 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
221 <visible>true</visible>
222 <midichan>0</midichan>
223 <midicc>0</midicc>
224 <label>-------------------------------------------------------------------------------
225 Pvscross combines the spectral envelope of one signal (referred to as the input signal) with the frequencies of another signal (referred to as the excitation signal).
226 This capability can be used to imitate the functioning of the traditional vocoder. This is what has been implemented in this example.
227 An input signal of either a stored analysis file (voice or drum loop) or a live input can be combined with a variety of synthesized timbres.
228 This signal generator can also be triggered from a connected MIDI keyboard thus allowing the playing of chords of excitation signals.
229 When playing from a MIDI keyboard the 'Signal Generator' switch should be deactivated. Pitch bend is also implemented.
230 The 'Gate Amplitude' switch forces the output sound to follow the amplitude of the excitation sound.
231 The user can mix between the excitation signal and the cross-synthesized signal using the 'Excitation Signal Amplitude' and 'Cross Synthesis Amplitude' controls.
232 When using a stored analysis file (either voice or drums) as input the speed of playback can be varied using the 'Speed' slider.
233 A value of 1 represents normal playback speed, 2 represents double speed and so on. File pointer movement is monitored by the 'File Pointer' slider.
234 Manual file pointer adjustment is possible by first reducing 'Speed' to zero by clicking the 'Speed to Zero' button and then using the 'File Pointer' slider.</label>
235 <alignment>left</alignment>
236 <font>Arial</font>
237 <fontsize>14</fontsize>
238 <precision>3</precision>
239 <color>
240 <r>0</r>
241 <g>0</g>
242 <b>0</b>
243 </color>
244 <bgcolor mode="nobackground">
245 <r>255</r>
246 <g>255</g>
247 <b>255</b>
248 </bgcolor>
249 <bordermode>noborder</bordermode>
250 <borderradius>1</borderradius>
251 <borderwidth>1</borderwidth>
252 </bsbObject>
253 <bsbObject version="2" type="BSBLabel">
254 <objectName/>
255 <x>4</x>
256 <y>32</y>
257 <width>60</width>
258 <height>30</height>
259 <uuid>{b3560c14-84be-4876-9100-5807ffe16e97}</uuid>
260 <visible>true</visible>
261 <midichan>0</midichan>
262 <midicc>0</midicc>
263 <label>Input</label>
264 <alignment>right</alignment>
265 <font>Arial</font>
266 <fontsize>10</fontsize>
267 <precision>3</precision>
268 <color>
269 <r>0</r>
270 <g>0</g>
271 <b>0</b>
272 </color>
273 <bgcolor mode="nobackground">
274 <r>255</r>
275 <g>255</g>
276 <b>255</b>
277 </bgcolor>
278 <bordermode>noborder</bordermode>
279 <borderradius>1</borderradius>
280 <borderwidth>1</borderwidth>
281 </bsbObject>
282 <bsbObject version="2" type="BSBDropdown">
283 <objectName>Input</objectName>
284 <x>65</x>
285 <y>32</y>
286 <width>120</width>
287 <height>30</height>
288 <uuid>{cdb2d3b2-5a09-4e13-865e-8501e33b9d35}</uuid>
289 <visible>true</visible>
290 <midichan>0</midichan>
291 <midicc>0</midicc>
292 <bsbDropdownItemList>
293 <bsbDropdownItem>
294 <name>Live Input</name>
295 <value>0</value>
296 <stringvalue/>
297 </bsbDropdownItem>
298 <bsbDropdownItem>
299 <name>Vocal Sample</name>
300 <value>1</value>
301 <stringvalue/>
302 </bsbDropdownItem>
303 <bsbDropdownItem>
304 <name>Drum Loop</name>
305 <value>2</value>
306 <stringvalue/>
307 </bsbDropdownItem>
308 </bsbDropdownItemList>
309 <selectedIndex>1</selectedIndex>
310 <randomizable group="0">false</randomizable>
311 </bsbObject>
312 <bsbObject version="2" type="BSBLabel">
313 <objectName/>
314 <x>6</x>
315 <y>178</y>
316 <width>508</width>
317 <height>140</height>
318 <uuid>{c23f1867-583e-4e16-b094-1ce102f86873}</uuid>
319 <visible>true</visible>
320 <midichan>0</midichan>
321 <midicc>0</midicc>
322 <label>Signal Generator</label>
323 <alignment>left</alignment>
324 <font>Arial Black</font>
325 <fontsize>14</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>255</r>
334 <g>255</g>
335 <b>255</b>
336 </bgcolor>
337 <bordermode>border</bordermode>
338 <borderradius>3</borderradius>
339 <borderwidth>1</borderwidth>
340 </bsbObject>
341 <bsbObject version="2" type="BSBLabel">
342 <objectName/>
343 <x>10</x>
344 <y>217</y>
345 <width>160</width>
346 <height>30</height>
347 <uuid>{090b86ec-158a-4f6a-abf8-78660fc5c107}</uuid>
348 <visible>true</visible>
349 <midichan>0</midichan>
350 <midicc>0</midicc>
351 <label>CPS (if No MIDI)</label>
352 <alignment>left</alignment>
353 <font>Arial</font>
354 <fontsize>10</fontsize>
355 <precision>3</precision>
356 <color>
357 <r>0</r>
358 <g>0</g>
359 <b>0</b>
360 </color>
361 <bgcolor mode="nobackground">
362 <r>255</r>
363 <g>255</g>
364 <b>255</b>
365 </bgcolor>
366 <bordermode>noborder</bordermode>
367 <borderradius>1</borderradius>
368 <borderwidth>1</borderwidth>
369 </bsbObject>
370 <bsbObject version="2" type="BSBHSlider">
371 <objectName>CPS</objectName>
372 <x>10</x>
373 <y>200</y>
374 <width>500</width>
375 <height>27</height>
376 <uuid>{7414f1af-bc65-42bb-a972-115e0eeae202}</uuid>
377 <visible>true</visible>
378 <midichan>0</midichan>
379 <midicc>0</midicc>
380 <minimum>0.00000000</minimum>
381 <maximum>1.00000000</maximum>
382 <value>0.50000000</value>
383 <mode>lin</mode>
384 <mouseControl act="jump">continuous</mouseControl>
385 <resolution>-1.00000000</resolution>
386 <randomizable group="0">false</randomizable>
387 </bsbObject>
388 <bsbObject version="2" type="BSBDisplay">
389 <objectName>CPS_Value</objectName>
390 <x>450</x>
391 <y>217</y>
392 <width>60</width>
393 <height>30</height>
394 <uuid>{bb1d774f-0ab7-400b-9a57-a8243856eee9}</uuid>
395 <visible>true</visible>
396 <midichan>0</midichan>
397 <midicc>0</midicc>
398 <label>200.000</label>
399 <alignment>right</alignment>
400 <font>Arial</font>
401 <fontsize>9</fontsize>
402 <precision>3</precision>
403 <color>
404 <r>0</r>
405 <g>0</g>
406 <b>0</b>
407 </color>
408 <bgcolor mode="nobackground">
409 <r>255</r>
410 <g>255</g>
411 <b>255</b>
412 </bgcolor>
413 <bordermode>noborder</bordermode>
414 <borderradius>1</borderradius>
415 <borderwidth>1</borderwidth>
416 </bsbObject>
417 <bsbObject version="2" type="BSBLabel">
418 <objectName/>
419 <x>302</x>
420 <y>264</y>
421 <width>70</width>
422 <height>30</height>
423 <uuid>{217e252e-ab29-4b66-aff6-86e28505d5ed}</uuid>
424 <visible>true</visible>
425 <midichan>0</midichan>
426 <midicc>0</midicc>
427 <label>Wave</label>
428 <alignment>right</alignment>
429 <font>Arial</font>
430 <fontsize>10</fontsize>
431 <precision>3</precision>
432 <color>
433 <r>0</r>
434 <g>0</g>
435 <b>0</b>
436 </color>
437 <bgcolor mode="nobackground">
438 <r>255</r>
439 <g>255</g>
440 <b>255</b>
441 </bgcolor>
442 <bordermode>noborder</bordermode>
443 <borderradius>1</borderradius>
444 <borderwidth>1</borderwidth>
445 </bsbObject>
446 <bsbObject version="2" type="BSBDropdown">
447 <objectName>Wave</objectName>
448 <x>373</x>
449 <y>264</y>
450 <width>130</width>
451 <height>30</height>
452 <uuid>{76d7136c-5124-44ec-9ba4-7d0cb0e8c6eb}</uuid>
453 <visible>true</visible>
454 <midichan>0</midichan>
455 <midicc>0</midicc>
456 <bsbDropdownItemList>
457 <bsbDropdownItem>
458 <name>Sine</name>
459 <value>0</value>
460 <stringvalue/>
461 </bsbDropdownItem>
462 <bsbDropdownItem>
463 <name>Sawtooth</name>
464 <value>1</value>
465 <stringvalue/>
466 </bsbDropdownItem>
467 <bsbDropdownItem>
468 <name>Square</name>
469 <value>2</value>
470 <stringvalue/>
471 </bsbDropdownItem>
472 <bsbDropdownItem>
473 <name>Triangle</name>
474 <value>3</value>
475 <stringvalue/>
476 </bsbDropdownItem>
477 <bsbDropdownItem>
478 <name>Noise</name>
479 <value>4</value>
480 <stringvalue/>
481 </bsbDropdownItem>
482 </bsbDropdownItemList>
483 <selectedIndex>1</selectedIndex>
484 <randomizable group="0">false</randomizable>
485 </bsbObject>
486 <bsbObject version="2" type="BSBButton">
487 <objectName/>
488 <x>25</x>
489 <y>264</y>
490 <width>210</width>
491 <height>30</height>
492 <uuid>{16cf4cec-b8d2-48a8-8cbe-e36230f9d26c}</uuid>
493 <visible>true</visible>
494 <midichan>0</midichan>
495 <midicc>0</midicc>
496 <type>event</type>
497 <pressedValue>1.00000000</pressedValue>
498 <stringvalue/>
499 <text> On / Off (Use if No MIDI)</text>
500 <image>/</image>
501 <eventLine>i 1 0 -1</eventLine>
502 <latch>true</latch>
503 <latched>false</latched>
504 </bsbObject>
505 <bsbObject version="2" type="BSBLabel">
506 <objectName/>
507 <x>6</x>
508 <y>322</y>
509 <width>508</width>
510 <height>140</height>
511 <uuid>{68d4f34d-931a-4ea7-b688-77724021f7a5}</uuid>
512 <visible>true</visible>
513 <midichan>0</midichan>
514 <midicc>0</midicc>
515 <label>Source Signal</label>
516 <alignment>left</alignment>
517 <font>Arial Black</font>
518 <fontsize>14</fontsize>
519 <precision>3</precision>
520 <color>
521 <r>0</r>
522 <g>0</g>
523 <b>0</b>
524 </color>
525 <bgcolor mode="nobackground">
526 <r>255</r>
527 <g>255</g>
528 <b>255</b>
529 </bgcolor>
530 <bordermode>border</bordermode>
531 <borderradius>3</borderradius>
532 <borderwidth>1</borderwidth>
533 </bsbObject>
534 <bsbObject version="2" type="BSBController">
535 <objectName>Pointer</objectName>
536 <x>10</x>
537 <y>362</y>
538 <width>500</width>
539 <height>15</height>
540 <uuid>{e55fdc2d-0bbe-479a-a3d8-525e73353a9b}</uuid>
541 <visible>true</visible>
542 <midichan>0</midichan>
543 <midicc>0</midicc>
544 <objectName2/>
545 <xMin>0.00000000</xMin>
546 <xMax>1.00000000</xMax>
547 <yMin>0.00000000</yMin>
548 <yMax>1.00000000</yMax>
549 <xValue>0.49766830</xValue>
550 <yValue>0.00000000</yValue>
551 <type>fill</type>
552 <pointsize>1</pointsize>
553 <fadeSpeed>0.00000000</fadeSpeed>
554 <mouseControl act="press">jump</mouseControl>
555 <color>
556 <r>0</r>
557 <g>234</g>
558 <b>0</b>
559 </color>
560 <randomizable mode="both" group="0">false</randomizable>
561 <bgcolor>
562 <r>0</r>
563 <g>0</g>
564 <b>0</b>
565 </bgcolor>
566 </bsbObject>
567 <bsbObject version="2" type="BSBDisplay">
568 <objectName>Pointer</objectName>
569 <x>450</x>
570 <y>378</y>
571 <width>60</width>
572 <height>30</height>
573 <uuid>{450cce93-cd69-4e55-97ec-5d2f88014dd2}</uuid>
574 <visible>true</visible>
575 <midichan>0</midichan>
576 <midicc>0</midicc>
577 <label>0.498</label>
578 <alignment>right</alignment>
579 <font>Arial</font>
580 <fontsize>9</fontsize>
581 <precision>3</precision>
582 <color>
583 <r>0</r>
584 <g>0</g>
585 <b>0</b>
586 </color>
587 <bgcolor mode="nobackground">
588 <r>255</r>
589 <g>255</g>
590 <b>255</b>
591 </bgcolor>
592 <bordermode>noborder</bordermode>
593 <borderradius>1</borderradius>
594 <borderwidth>1</borderwidth>
595 </bsbObject>
596 <bsbObject version="2" type="BSBLabel">
597 <objectName/>
598 <x>10</x>
599 <y>378</y>
600 <width>160</width>
601 <height>30</height>
602 <uuid>{fe34f976-e5bc-4408-a62a-5fa5026da416}</uuid>
603 <visible>true</visible>
604 <midichan>0</midichan>
605 <midicc>0</midicc>
606 <label>File Pointer</label>
607 <alignment>left</alignment>
608 <font>Arial</font>
609 <fontsize>10</fontsize>
610 <precision>3</precision>
611 <color>
612 <r>0</r>
613 <g>0</g>
614 <b>0</b>
615 </color>
616 <bgcolor mode="nobackground">
617 <r>255</r>
618 <g>255</g>
619 <b>255</b>
620 </bgcolor>
621 <bordermode>noborder</bordermode>
622 <borderradius>1</borderradius>
623 <borderwidth>1</borderwidth>
624 </bsbObject>
625 <bsbObject version="2" type="BSBDisplay">
626 <objectName>Speed</objectName>
627 <x>450</x>
628 <y>426</y>
629 <width>60</width>
630 <height>30</height>
631 <uuid>{0286ec15-8443-4ab3-9f65-fdf6bbee6a17}</uuid>
632 <visible>true</visible>
633 <midichan>0</midichan>
634 <midicc>0</midicc>
635 <label>1.000</label>
636 <alignment>right</alignment>
637 <font>Arial</font>
638 <fontsize>9</fontsize>
639 <precision>3</precision>
640 <color>
641 <r>0</r>
642 <g>0</g>
643 <b>0</b>
644 </color>
645 <bgcolor mode="nobackground">
646 <r>255</r>
647 <g>255</g>
648 <b>255</b>
649 </bgcolor>
650 <bordermode>noborder</bordermode>
651 <borderradius>1</borderradius>
652 <borderwidth>1</borderwidth>
653 </bsbObject>
654 <bsbObject version="2" type="BSBHSlider">
655 <objectName>Speed</objectName>
656 <x>10</x>
657 <y>409</y>
658 <width>500</width>
659 <height>27</height>
660 <uuid>{cf784473-dd45-4074-9571-b6264bf289af}</uuid>
661 <visible>true</visible>
662 <midichan>0</midichan>
663 <midicc>0</midicc>
664 <minimum>-2.00000000</minimum>
665 <maximum>2.00000000</maximum>
666 <value>1.00000000</value>
667 <mode>lin</mode>
668 <mouseControl act="jump">continuous</mouseControl>
669 <resolution>-1.00000000</resolution>
670 <randomizable group="0">false</randomizable>
671 </bsbObject>
672 <bsbObject version="2" type="BSBLabel">
673 <objectName/>
674 <x>10</x>
675 <y>426</y>
676 <width>120</width>
677 <height>30</height>
678 <uuid>{eea58f50-29cc-4f4b-982a-1f030bf01966}</uuid>
679 <visible>true</visible>
680 <midichan>0</midichan>
681 <midicc>0</midicc>
682 <label>Speed</label>
683 <alignment>left</alignment>
684 <font>Arial</font>
685 <fontsize>10</fontsize>
686 <precision>3</precision>
687 <color>
688 <r>0</r>
689 <g>0</g>
690 <b>0</b>
691 </color>
692 <bgcolor mode="nobackground">
693 <r>255</r>
694 <g>255</g>
695 <b>255</b>
696 </bgcolor>
697 <bordermode>noborder</bordermode>
698 <borderradius>1</borderradius>
699 <borderwidth>1</borderwidth>
700 </bsbObject>
701 <bsbObject version="2" type="BSBButton">
702 <objectName/>
703 <x>250</x>
704 <y>439</y>
705 <width>120</width>
706 <height>21</height>
707 <uuid>{014685d3-5101-4dd5-b4ef-62a64ecf195b}</uuid>
708 <visible>true</visible>
709 <midichan>0</midichan>
710 <midicc>0</midicc>
711 <type>event</type>
712 <pressedValue>1.00000000</pressedValue>
713 <stringvalue/>
714 <text>Speed to Zero</text>
715 <image>/</image>
716 <eventLine>i 4 0 0</eventLine>
717 <latch>false</latch>
718 <latched>false</latched>
719 </bsbObject>
720 <bsbObject version="2" type="BSBLabel">
721 <objectName/>
722 <x>6</x>
723 <y>466</y>
724 <width>508</width>
725 <height>125</height>
726 <uuid>{f5f026fd-f603-4578-befa-7395826dd95a}</uuid>
727 <visible>true</visible>
728 <midichan>0</midichan>
729 <midicc>0</midicc>
730 <label>Pvscross Cross Synthesizer</label>
731 <alignment>left</alignment>
732 <font>Arial Black</font>
733 <fontsize>14</fontsize>
734 <precision>3</precision>
735 <color>
736 <r>0</r>
737 <g>0</g>
738 <b>0</b>
739 </color>
740 <bgcolor mode="nobackground">
741 <r>255</r>
742 <g>255</g>
743 <b>255</b>
744 </bgcolor>
745 <bordermode>border</bordermode>
746 <borderradius>3</borderradius>
747 <borderwidth>1</borderwidth>
748 </bsbObject>
749 <bsbObject version="2" type="BSBButton">
750 <objectName>Gate</objectName>
751 <x>250</x>
752 <y>473</y>
753 <width>120</width>
754 <height>21</height>
755 <uuid>{0933c911-abe9-4fd8-8760-11d20dc84ceb}</uuid>
756 <visible>true</visible>
757 <midichan>0</midichan>
758 <midicc>0</midicc>
759 <type>value</type>
760 <pressedValue>1.00000000</pressedValue>
761 <stringvalue/>
762 <text>Amplitude Gate</text>
763 <image>/</image>
764 <eventLine/>
765 <latch>true</latch>
766 <latched>false</latched>
767 </bsbObject>
768 <bsbObject version="2" type="BSBDisplay">
769 <objectName>Cross_Synthesis_Amplitude</objectName>
770 <x>450</x>
771 <y>559</y>
772 <width>60</width>
773 <height>30</height>
774 <uuid>{c3d52355-34d5-4a67-bd02-e62b51a8837c}</uuid>
775 <visible>true</visible>
776 <midichan>0</midichan>
777 <midicc>0</midicc>
778 <label>0.762</label>
779 <alignment>right</alignment>
780 <font>Arial</font>
781 <fontsize>9</fontsize>
782 <precision>3</precision>
783 <color>
784 <r>0</r>
785 <g>0</g>
786 <b>0</b>
787 </color>
788 <bgcolor mode="nobackground">
789 <r>255</r>
790 <g>255</g>
791 <b>255</b>
792 </bgcolor>
793 <bordermode>noborder</bordermode>
794 <borderradius>1</borderradius>
795 <borderwidth>1</borderwidth>
796 </bsbObject>
797 <bsbObject version="2" type="BSBHSlider">
798 <objectName>Cross_Synthesis_Amplitude</objectName>
799 <x>10</x>
800 <y>542</y>
801 <width>500</width>
802 <height>27</height>
803 <uuid>{45ab0ca9-cd12-4f97-a412-052d26fe0fa0}</uuid>
804 <visible>true</visible>
805 <midichan>0</midichan>
806 <midicc>0</midicc>
807 <minimum>0.00000000</minimum>
808 <maximum>1.00000000</maximum>
809 <value>0.76200000</value>
810 <mode>lin</mode>
811 <mouseControl act="jump">continuous</mouseControl>
812 <resolution>-1.00000000</resolution>
813 <randomizable group="0">false</randomizable>
814 </bsbObject>
815 <bsbObject version="2" type="BSBLabel">
816 <objectName/>
817 <x>10</x>
818 <y>559</y>
819 <width>180</width>
820 <height>30</height>
821 <uuid>{0f727a6c-af68-43e5-b072-19c367c98e6e}</uuid>
822 <visible>true</visible>
823 <midichan>0</midichan>
824 <midicc>0</midicc>
825 <label>Cross Synthesis Amplitude</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="BSBDisplay">
845 <objectName>Excitation_Signal_Amplitude</objectName>
846 <x>450</x>
847 <y>518</y>
848 <width>60</width>
849 <height>30</height>
850 <uuid>{3cd27781-8800-437d-9276-baee8eff1eb1}</uuid>
851 <visible>true</visible>
852 <midichan>0</midichan>
853 <midicc>0</midicc>
854 <label>0.054</label>
855 <alignment>right</alignment>
856 <font>Arial</font>
857 <fontsize>9</fontsize>
858 <precision>3</precision>
859 <color>
860 <r>0</r>
861 <g>0</g>
862 <b>0</b>
863 </color>
864 <bgcolor mode="nobackground">
865 <r>255</r>
866 <g>255</g>
867 <b>255</b>
868 </bgcolor>
869 <bordermode>noborder</bordermode>
870 <borderradius>1</borderradius>
871 <borderwidth>1</borderwidth>
872 </bsbObject>
873 <bsbObject version="2" type="BSBHSlider">
874 <objectName>Excitation_Signal_Amplitude</objectName>
875 <x>10</x>
876 <y>501</y>
877 <width>500</width>
878 <height>27</height>
879 <uuid>{f5491987-1bc3-463b-bc73-66fcd58ecedc}</uuid>
880 <visible>true</visible>
881 <midichan>0</midichan>
882 <midicc>0</midicc>
883 <minimum>0.00000000</minimum>
884 <maximum>1.00000000</maximum>
885 <value>0.05400000</value>
886 <mode>lin</mode>
887 <mouseControl act="jump">continuous</mouseControl>
888 <resolution>-1.00000000</resolution>
889 <randomizable group="0">false</randomizable>
890 </bsbObject>
891 <bsbObject version="2" type="BSBLabel">
892 <objectName/>
893 <x>10</x>
894 <y>518</y>
895 <width>180</width>
896 <height>30</height>
897 <uuid>{ec7b74e0-0c5b-4069-9fbd-d284336eaa92}</uuid>
898 <visible>true</visible>
899 <midichan>0</midichan>
900 <midicc>0</midicc>
901 <label>Excitation Signal Amplitude</label>
902 <alignment>left</alignment>
903 <font>Arial</font>
904 <fontsize>10</fontsize>
905 <precision>3</precision>
906 <color>
907 <r>0</r>
908 <g>0</g>
909 <b>0</b>
910 </color>
911 <bgcolor mode="nobackground">
912 <r>255</r>
913 <g>255</g>
914 <b>255</b>
915 </bgcolor>
916 <bordermode>noborder</bordermode>
917 <borderradius>1</borderradius>
918 <borderwidth>1</borderwidth>
919 </bsbObject>
920 <bsbObject version="2" type="BSBButton">
921 <objectName>_Browse1</objectName>
922 <x>6</x>
923 <y>88</y>
924 <width>170</width>
925 <height>30</height>
926 <uuid>{6cab23a3-f8cb-429f-a3b7-b96225b7ba32}</uuid>
927 <visible>true</visible>
928 <midichan>0</midichan>
929 <midicc>0</midicc>
930 <type>value</type>
931 <pressedValue>1.00000000</pressedValue>
932 <stringvalue>AndItsAll.pvx</stringvalue>
933 <text>Browse Analysis File</text>
934 <image>/</image>
935 <eventLine/>
936 <latch>false</latch>
937 <latched>false</latched>
938 </bsbObject>
939 <bsbObject version="2" type="BSBLabel">
940 <objectName/>
941 <x>6</x>
942 <y>69</y>
943 <width>120</width>
944 <height>30</height>
945 <uuid>{d02a3842-7ec5-4331-8e87-beb6a62dafbe}</uuid>
946 <visible>true</visible>
947 <midichan>0</midichan>
948 <midicc>0</midicc>
949 <label>Vocal pvx</label>
950 <alignment>left</alignment>
951 <font>Arial</font>
952 <fontsize>10</fontsize>
953 <precision>3</precision>
954 <color>
955 <r>0</r>
956 <g>0</g>
957 <b>0</b>
958 </color>
959 <bgcolor mode="nobackground">
960 <r>255</r>
961 <g>255</g>
962 <b>255</b>
963 </bgcolor>
964 <bordermode>noborder</bordermode>
965 <borderradius>1</borderradius>
966 <borderwidth>1</borderwidth>
967 </bsbObject>
968 <bsbObject version="2" type="BSBLineEdit">
969 <objectName>_Browse1</objectName>
970 <x>177</x>
971 <y>89</y>
972 <width>330</width>
973 <height>28</height>
974 <uuid>{eff97a71-b637-48ce-a20e-3491df1b708d}</uuid>
975 <visible>true</visible>
976 <midichan>0</midichan>
977 <midicc>0</midicc>
978 <label>AndItsAll.pvx</label>
979 <alignment>left</alignment>
980 <font>Arial</font>
981 <fontsize>10</fontsize>
982 <precision>3</precision>
983 <color>
984 <r>0</r>
985 <g>0</g>
986 <b>0</b>
987 </color>
988 <bgcolor mode="nobackground">
989 <r>206</r>
990 <g>206</g>
991 <b>206</b>
992 </bgcolor>
993 <background>nobackground</background>
994 </bsbObject>
995 <bsbObject version="2" type="BSBLineEdit">
996 <objectName>_Browse2</objectName>
997 <x>177</x>
998 <y>141</y>
999 <width>330</width>
1000 <height>28</height>
1001 <uuid>{c2692023-5b53-479f-9356-16067241f051}</uuid>
1002 <visible>true</visible>
1003 <midichan>0</midichan>
1004 <midicc>0</midicc>
1005 <label>loop.pvx</label>
1006 <alignment>left</alignment>
1007 <font>Arial</font>
1008 <fontsize>10</fontsize>
1009 <precision>3</precision>
1010 <color>
1011 <r>0</r>
1012 <g>0</g>
1013 <b>0</b>
1014 </color>
1015 <bgcolor mode="nobackground">
1016 <r>206</r>
1017 <g>206</g>
1018 <b>206</b>
1019 </bgcolor>
1020 <background>nobackground</background>
1021 </bsbObject>
1022 <bsbObject version="2" type="BSBLabel">
1023 <objectName/>
1024 <x>6</x>
1025 <y>121</y>
1026 <width>120</width>
1027 <height>30</height>
1028 <uuid>{5586a848-dee3-452a-9a83-3f8ec69ab39e}</uuid>
1029 <visible>true</visible>
1030 <midichan>0</midichan>
1031 <midicc>0</midicc>
1032 <label>Drum Loop pvx</label>
1033 <alignment>left</alignment>
1034 <font>Arial</font>
1035 <fontsize>10</fontsize>
1036 <precision>3</precision>
1037 <color>
1038 <r>0</r>
1039 <g>0</g>
1040 <b>0</b>
1041 </color>
1042 <bgcolor mode="nobackground">
1043 <r>255</r>
1044 <g>255</g>
1045 <b>255</b>
1046 </bgcolor>
1047 <bordermode>noborder</bordermode>
1048 <borderradius>1</borderradius>
1049 <borderwidth>1</borderwidth>
1050 </bsbObject>
1051 <bsbObject version="2" type="BSBButton">
1052 <objectName>_Browse2</objectName>
1053 <x>6</x>
1054 <y>140</y>
1055 <width>170</width>
1056 <height>30</height>
1057 <uuid>{bbb3f029-39f0-44c2-b932-cae140aad307}</uuid>
1058 <visible>true</visible>
1059 <midichan>0</midichan>
1060 <midicc>0</midicc>
1061 <type>value</type>
1062 <pressedValue>1.00000000</pressedValue>
1063 <stringvalue>loop.pvx</stringvalue>
1064 <text>Browse Analysis File</text>
1065 <image>/</image>
1066 <eventLine/>
1067 <latch>false</latch>
1068 <latched>false</latched>
1069 </bsbObject>
1070 <bsbObject version="2" type="BSBLabel">
1071 <objectName/>
1072 <x>177</x>
1073 <y>66</y>
1074 <width>330</width>
1075 <height>30</height>
1076 <uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid>
1077 <visible>true</visible>
1078 <midichan>0</midichan>
1079 <midicc>0</midicc>
1080 <label>Restart the instrument after changing the analysis file(s).</label>
1081 <alignment>left</alignment>
1082 <font>Liberation Sans</font>
1083 <fontsize>12</fontsize>
1084 <precision>3</precision>
1085 <color>
1086 <r>0</r>
1087 <g>0</g>
1088 <b>0</b>
1089 </color>
1090 <bgcolor mode="nobackground">
1091 <r>255</r>
1092 <g>255</g>
1093 <b>255</b>
1094 </bgcolor>
1095 <bordermode>noborder</bordermode>
1096 <borderradius>1</borderradius>
1097 <borderwidth>1</borderwidth>
1098 </bsbObject>
1099 </bsbPanel>
1100 <bsbPresets>
1101 </bsbPresets>
1102 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel>