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