1;Written by Iain McCurdy, 2006
2
3
4;Modified for QuteCsound by René, April 2011
5;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
6
7;Notes on modifications from original csd:
8;	Add table for exp slider
9;	Add INIT instrument
10;	Use of QuteCsound internal midi for Pulse Width widget control by CC#1
11
12
13;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0
14<CsoundSynthesizer>
15<CsOptions>
16
17</CsOptions>
18<CsInstruments>
19sr		= 44100		;SAMPLE RATE
20ksmps	= 16			;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
24
25gisine		ftgen	0,0,131072,10,1						;TABLE THAT STORES A SINGLE CYCLE OF A SINE WAVE
26giExp1		ftgen	0, 0, 129, -25, 0, 2.0, 128, 10000.0		;TABLE FOR EXP SLIDER
27
28
29instr	10	;GUI
30	ktrig	metro	10
31	if (ktrig == 1)	then
32		;SLIDERS
33		gkamp, 		invalue	"Amplitude"
34		kcps, 		invalue	"Frequency"
35		gkcps		tablei	kcps, giExp1, 1
36					outvalue	"Frequency_Value", gkcps
37		gkleak, 		invalue	"Leak"
38		gknyx, 		invalue	"Harmonics"
39		gkpw, 		invalue	"PW"
40		gkphs, 		invalue	"InitPhase"
41		;MENU
42		gkwave		invalue	"Waveform"
43	endif
44endin
45
46instr	11	;INIT
47		outvalue	"Waveform"	, 2
48		outvalue	"Amplitude"	, 0.1
49		outvalue	"Frequency"	, 0.46
50		outvalue	"Leak"		, 0.0
51		outvalue	"Harmonics"	, 0.5
52		outvalue	"PW"			, 0.5
53		outvalue	"InitPhase"	, 0.0
54endin
55
56instr	1	;MIDI INPUT INSTRUMENT
57	icps		cpsmidi									;READ CYCLES PER SECOND VALUE FROM MIDI INPUT
58	iamp		ampmidi	1								;READ IN A NOTE VELOCITY VALUE FROM THE MIDI INPUT
59
60	;PITCH BEND===========================================================================================================================================================
61	iSemitoneBendRange=	2								;PITCH BEND RANGE IN SEMITONES
62	imin		=		0								;EQUILIBRIUM POSITION
63	imax		=		iSemitoneBendRange / 12				;MAX PITCH DISPLACEMENT (IN oct FORMAT)
64	kbend	pchbend	imin, imax						;PITCH BEND VARIABLE (IN oct FORMAT)
65	koct		=		octcps(icps)
66	kcps		=		cpsoct(koct + kbend)
67	;=====================================================================================================================================================================
68
69	iporttime	=		0.05								;PORTAMENTO TIME VARIABLE
70	kporttime	linseg	0,0.001,iporttime,1,iporttime			;CREATE A RAMPING UP FUNCTION TO REPRESENT PORTAMENTO TIME
71	kpw		portk	gkpw, kporttime					;APPLY PORTAMENTO SMOOTHING
72	imaxd	=		1
73	kSwitch	changed	gkleak, gknyx, gkwave, gkphs
74	if	kSwitch=1	then									;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
75		reinit	UPDATE								;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
76	endif
77	UPDATE:
78	aenv		linsegr	0,0.01,1,0.01,0					;ANTI-CLICK ENVELOPE
79	asig		vco 		aenv*iamp*gkamp, kcps, i(gkwave)+1, kpw, gisine, imaxd, i(gkleak), i(gknyx), i(gkphs)
80			rireturn									;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
81			outs		asig, asig
82endin
83
84instr	2	;VCO INSTRUMENT
85	iporttime	=		0.05								;PORTAMENTO TIME VARIABLE
86	kporttime	linseg	0,0.001,iporttime,1,iporttime			;CREATE A RAMPING UP FUNCTION TO REPRESENT PORTAMENTO TIME
87	kpw		portk	gkpw, kporttime					;APPLY PORTAMENTO SMOOTHING
88	imaxd	=		1
89	kSwitch	changed	gkleak, gknyx, gkwave, gkphs
90	if	kSwitch=1	then									;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
91		reinit	UPDATE								;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
92	endif
93	UPDATE:
94	aenv		linsegr	0,0.01,1,0.01,0					;ANTI-CLICK ENVELOPE
95	asig		vco 		aenv*gkamp, gkcps, i(gkwave)+1, kpw, gisine, imaxd, i(gkleak), i(gknyx), i(gkphs)
96			rireturn									;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
97			outs		asig, asig
98endin
99</CsInstruments>
100<CsScore>
101;INSTR | START | DURATION
102i 10		0.0	   3600	;GUI
103i 11		0.0     0.01	;INIT
104</CsScore>
105</CsoundSynthesizer>
106<bsbPanel>
107 <label>Widgets</label>
108 <objectName/>
109 <x>537</x>
110 <y>324</y>
111 <width>1142</width>
112 <height>455</height>
113 <visible>true</visible>
114 <uuid/>
115 <bgcolor mode="background">
116  <r>241</r>
117  <g>226</g>
118  <b>185</b>
119 </bgcolor>
120 <bsbObject version="2" type="BSBLabel">
121  <objectName/>
122  <x>2</x>
123  <y>2</y>
124  <width>512</width>
125  <height>450</height>
126  <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
127  <visible>true</visible>
128  <midichan>0</midichan>
129  <midicc>0</midicc>
130  <label>vco</label>
131  <alignment>center</alignment>
132  <font>Liberation Sans</font>
133  <fontsize>18</fontsize>
134  <precision>3</precision>
135  <color>
136   <r>255</r>
137   <g>255</g>
138   <b>0</b>
139  </color>
140  <bgcolor mode="background">
141   <r>106</r>
142   <g>117</g>
143   <b>150</b>
144  </bgcolor>
145  <bordermode>border</bordermode>
146  <borderradius>5</borderradius>
147  <borderwidth>2</borderwidth>
148 </bsbObject>
149 <bsbObject version="2" type="BSBLabel">
150  <objectName/>
151  <x>8</x>
152  <y>232</y>
153  <width>220</width>
154  <height>30</height>
155  <uuid>{d1ad1809-ed86-4ecd-b6c9-15b4c9686e35}</uuid>
156  <visible>true</visible>
157  <midichan>0</midichan>
158  <midicc>0</midicc>
159  <label>Integrator Leak</label>
160  <alignment>left</alignment>
161  <font>Liberation Sans</font>
162  <fontsize>10</fontsize>
163  <precision>3</precision>
164  <color>
165   <r>255</r>
166   <g>255</g>
167   <b>0</b>
168  </color>
169  <bgcolor mode="nobackground">
170   <r>255</r>
171   <g>255</g>
172   <b>255</b>
173  </bgcolor>
174  <bordermode>noborder</bordermode>
175  <borderradius>1</borderradius>
176  <borderwidth>1</borderwidth>
177 </bsbObject>
178 <bsbObject version="2" type="BSBDisplay">
179  <objectName>Leak</objectName>
180  <x>448</x>
181  <y>232</y>
182  <width>60</width>
183  <height>30</height>
184  <uuid>{39d4f770-c1eb-4c2d-9b6d-41b78e8955f0}</uuid>
185  <visible>true</visible>
186  <midichan>0</midichan>
187  <midicc>0</midicc>
188  <label>0.000</label>
189  <alignment>right</alignment>
190  <font>Liberation Sans</font>
191  <fontsize>9</fontsize>
192  <precision>3</precision>
193  <color>
194   <r>255</r>
195   <g>255</g>
196   <b>0</b>
197  </color>
198  <bgcolor mode="nobackground">
199   <r>255</r>
200   <g>255</g>
201   <b>255</b>
202  </bgcolor>
203  <bordermode>noborder</bordermode>
204  <borderradius>1</borderradius>
205  <borderwidth>1</borderwidth>
206 </bsbObject>
207 <bsbObject version="2" type="BSBHSlider">
208  <objectName>Leak</objectName>
209  <x>8</x>
210  <y>216</y>
211  <width>500</width>
212  <height>27</height>
213  <uuid>{37911dd5-758c-4ec8-9871-ce3f5cd67670}</uuid>
214  <visible>true</visible>
215  <midichan>0</midichan>
216  <midicc>0</midicc>
217  <minimum>0.00000000</minimum>
218  <maximum>1.00000000</maximum>
219  <value>0.00000000</value>
220  <mode>lin</mode>
221  <mouseControl act="jump">continuous</mouseControl>
222  <resolution>-1.00000000</resolution>
223  <randomizable group="0">false</randomizable>
224 </bsbObject>
225 <bsbObject version="2" type="BSBDropdown">
226  <objectName>Waveform</objectName>
227  <x>280</x>
228  <y>68</y>
229  <width>160</width>
230  <height>26</height>
231  <uuid>{fd321c7c-a7e3-49dd-9c35-b4d1a0054c73}</uuid>
232  <visible>true</visible>
233  <midichan>0</midichan>
234  <midicc>0</midicc>
235  <bsbDropdownItemList>
236   <bsbDropdownItem>
237    <name>Saw</name>
238    <value>0</value>
239    <stringvalue/>
240   </bsbDropdownItem>
241   <bsbDropdownItem>
242    <name>Square/PWM</name>
243    <value>1</value>
244    <stringvalue/>
245   </bsbDropdownItem>
246   <bsbDropdownItem>
247    <name>Saw/Triangle/Ramp</name>
248    <value>2</value>
249    <stringvalue/>
250   </bsbDropdownItem>
251  </bsbDropdownItemList>
252  <selectedIndex>2</selectedIndex>
253  <randomizable group="0">false</randomizable>
254 </bsbObject>
255 <bsbObject version="2" type="BSBButton">
256  <objectName/>
257  <x>10</x>
258  <y>16</y>
259  <width>120</width>
260  <height>26</height>
261  <uuid>{c4c1aae5-edb9-47d9-94a7-8d15578e0bf2}</uuid>
262  <visible>true</visible>
263  <midichan>0</midichan>
264  <midicc>0</midicc>
265  <type>event</type>
266  <pressedValue>1.00000000</pressedValue>
267  <stringvalue/>
268  <text>  On / Off - MIDI</text>
269  <image>/</image>
270  <eventLine>i 2 0 -1</eventLine>
271  <latch>true</latch>
272  <latched>false</latched>
273 </bsbObject>
274 <bsbObject version="2" type="BSBLabel">
275  <objectName/>
276  <x>200</x>
277  <y>68</y>
278  <width>80</width>
279  <height>26</height>
280  <uuid>{e192d1b0-4e18-4b7a-97cb-800767992d7e}</uuid>
281  <visible>true</visible>
282  <midichan>0</midichan>
283  <midicc>0</midicc>
284  <label>Waveform :</label>
285  <alignment>right</alignment>
286  <font>Liberation Sans</font>
287  <fontsize>10</fontsize>
288  <precision>3</precision>
289  <color>
290   <r>255</r>
291   <g>255</g>
292   <b>0</b>
293  </color>
294  <bgcolor mode="nobackground">
295   <r>255</r>
296   <g>255</g>
297   <b>255</b>
298  </bgcolor>
299  <bordermode>noborder</bordermode>
300  <borderradius>1</borderradius>
301  <borderwidth>1</borderwidth>
302 </bsbObject>
303 <bsbObject version="2" type="BSBLabel">
304  <objectName/>
305  <x>516</x>
306  <y>2</y>
307  <width>620</width>
308  <height>450</height>
309  <uuid>{9798823d-b60e-424f-a3c4-1a43d5e0312d}</uuid>
310  <visible>true</visible>
311  <midichan>0</midichan>
312  <midicc>0</midicc>
313  <label>Miscellaneous Waveforms
314vco</label>
315  <alignment>center</alignment>
316  <font>Liberation Sans</font>
317  <fontsize>18</fontsize>
318  <precision>3</precision>
319  <color>
320   <r>255</r>
321   <g>255</g>
322   <b>0</b>
323  </color>
324  <bgcolor mode="background">
325   <r>106</r>
326   <g>117</g>
327   <b>150</b>
328  </bgcolor>
329  <bordermode>border</bordermode>
330  <borderradius>5</borderradius>
331  <borderwidth>2</borderwidth>
332 </bsbObject>
333 <bsbObject version="2" type="BSBLabel">
334  <objectName/>
335  <x>520</x>
336  <y>47</y>
337  <width>613</width>
338  <height>400</height>
339  <uuid>{66493881-548a-48d2-bdb6-08aad6d0fe91}</uuid>
340  <visible>true</visible>
341  <midichan>0</midichan>
342  <midicc>0</midicc>
343  <label>------------------------------------------------------------------------------------------------------------------------------------------------------
344Vco is a digital emulation of a voltage controlled oscillator that one might find on an analogue synthesizer. The precise method used is the integration of band limited impulses. Vco implements a digital model of the analogue electronics that were used to achieve this. It has three basic waveform settings: 'Saw', 'Square/PWM' and 'Saw/Triangle/Ramp'. As you can see, two of these settings are capable of producing more than one wave type. This is achieved by warping the waveform using the 'Pulse Width' (PW) control.
345For example when the 'Square/PWM' waveform is selected a square wave is achieved by setting 'Pulse Width' to 0.5. When 'Saw/Triangle/Ramp' is selected a triangle wave is achieved by setting 'Pulse Width' again to 0.5. Giving 'Pulse Width' a value of zero or 1 achieves silence. PWM or 'Pulse Width Modulation' was a an effect popular on analogue synthesizers whereby the pulse width of a waveform was modulated by an LFO (Low Frequency Oscillator). In this example this can only be achieved by manually moving the 'Pulse Width' slider back and forth. In the next example featuring vco an LFO has been implemented to drive the 'Pulse Width' parameter. Note that 'Pulse Width' has no effect when 'Saw' waveform is selected.
346The 'Integrator Leak' control implements a quirk of the original analogue oscillator upon which this is based which has an effect on the sound produced. For a more in depth discussion I point you in the direction of the the Csound Reference Manual in which the opcode's author, Hans Mikelson, gives more technical information about the effect of integrator leakage.
347'Number of Harmonics' can be used to limit the number of harmonics that will be present in the waveform. Normally this argument should be in the range close to zero up to 0.5. I have done some additional mathematics in the code so that the values you see in the interface represent this harmonic limit in hertz. the author suggests that a waveform can be 'fattened up' by reducing this parameter.
348Vco provides a useful source for subtractive synthesis and could be used as the starting point for a Csound model of an analogue synthesizer. This example can also be played from an external MIDI keyboard. Pitch, note velocity and pitch bend and represented appropriately. MIDI controller 1 (the modulation wheel) can be used to modulate 'Pulse Width'.</label>
349  <alignment>left</alignment>
350  <font>Liberation Sans</font>
351  <fontsize>12</fontsize>
352  <precision>3</precision>
353  <color>
354   <r>255</r>
355   <g>255</g>
356   <b>0</b>
357  </color>
358  <bgcolor mode="nobackground">
359   <r>255</r>
360   <g>255</g>
361   <b>255</b>
362  </bgcolor>
363  <bordermode>noborder</bordermode>
364  <borderradius>2</borderradius>
365  <borderwidth>1</borderwidth>
366 </bsbObject>
367 <bsbObject version="2" type="BSBLabel">
368  <objectName/>
369  <x>8</x>
370  <y>155</y>
371  <width>160</width>
372  <height>30</height>
373  <uuid>{6089425b-bdef-4a75-9cf7-e1f298ad9d5b}</uuid>
374  <visible>true</visible>
375  <midichan>0</midichan>
376  <midicc>0</midicc>
377  <label>Amplitude</label>
378  <alignment>left</alignment>
379  <font>Liberation Sans</font>
380  <fontsize>10</fontsize>
381  <precision>3</precision>
382  <color>
383   <r>255</r>
384   <g>255</g>
385   <b>0</b>
386  </color>
387  <bgcolor mode="nobackground">
388   <r>255</r>
389   <g>255</g>
390   <b>255</b>
391  </bgcolor>
392  <bordermode>noborder</bordermode>
393  <borderradius>1</borderradius>
394  <borderwidth>1</borderwidth>
395 </bsbObject>
396 <bsbObject version="2" type="BSBDisplay">
397  <objectName>Amplitude</objectName>
398  <x>448</x>
399  <y>155</y>
400  <width>60</width>
401  <height>30</height>
402  <uuid>{1d38ea29-bbe3-45e2-b37c-02af9787d0e7}</uuid>
403  <visible>true</visible>
404  <midichan>0</midichan>
405  <midicc>0</midicc>
406  <label>0.100</label>
407  <alignment>right</alignment>
408  <font>Liberation Sans</font>
409  <fontsize>9</fontsize>
410  <precision>3</precision>
411  <color>
412   <r>255</r>
413   <g>255</g>
414   <b>0</b>
415  </color>
416  <bgcolor mode="nobackground">
417   <r>255</r>
418   <g>255</g>
419   <b>255</b>
420  </bgcolor>
421  <bordermode>noborder</bordermode>
422  <borderradius>1</borderradius>
423  <borderwidth>1</borderwidth>
424 </bsbObject>
425 <bsbObject version="2" type="BSBHSlider">
426  <objectName>Amplitude</objectName>
427  <x>8</x>
428  <y>139</y>
429  <width>500</width>
430  <height>27</height>
431  <uuid>{dd3dce47-c107-46e8-90ae-f06422cb97cf}</uuid>
432  <visible>true</visible>
433  <midichan>0</midichan>
434  <midicc>0</midicc>
435  <minimum>0.00000000</minimum>
436  <maximum>1.00000000</maximum>
437  <value>0.10000000</value>
438  <mode>lin</mode>
439  <mouseControl act="jump">continuous</mouseControl>
440  <resolution>-1.00000000</resolution>
441  <randomizable group="0">false</randomizable>
442 </bsbObject>
443 <bsbObject version="2" type="BSBLabel">
444  <objectName/>
445  <x>8</x>
446  <y>193</y>
447  <width>160</width>
448  <height>30</height>
449  <uuid>{07bf36b2-367f-4332-8200-0b6d7017afe1}</uuid>
450  <visible>true</visible>
451  <midichan>0</midichan>
452  <midicc>0</midicc>
453  <label>Frequency (Hertz)</label>
454  <alignment>left</alignment>
455  <font>Liberation Sans</font>
456  <fontsize>10</fontsize>
457  <precision>3</precision>
458  <color>
459   <r>255</r>
460   <g>255</g>
461   <b>0</b>
462  </color>
463  <bgcolor mode="nobackground">
464   <r>255</r>
465   <g>255</g>
466   <b>255</b>
467  </bgcolor>
468  <bordermode>noborder</bordermode>
469  <borderradius>1</borderradius>
470  <borderwidth>1</borderwidth>
471 </bsbObject>
472 <bsbObject version="2" type="BSBDisplay">
473  <objectName>Frequency_Value</objectName>
474  <x>448</x>
475  <y>193</y>
476  <width>60</width>
477  <height>30</height>
478  <uuid>{600f5f27-7f32-4cbc-9402-6bbb7415c568}</uuid>
479  <visible>true</visible>
480  <midichan>0</midichan>
481  <midicc>0</midicc>
482  <label>100.614</label>
483  <alignment>right</alignment>
484  <font>Liberation Sans</font>
485  <fontsize>9</fontsize>
486  <precision>3</precision>
487  <color>
488   <r>255</r>
489   <g>255</g>
490   <b>0</b>
491  </color>
492  <bgcolor mode="nobackground">
493   <r>255</r>
494   <g>255</g>
495   <b>255</b>
496  </bgcolor>
497  <bordermode>noborder</bordermode>
498  <borderradius>1</borderradius>
499  <borderwidth>1</borderwidth>
500 </bsbObject>
501 <bsbObject version="2" type="BSBHSlider">
502  <objectName>Frequency</objectName>
503  <x>8</x>
504  <y>177</y>
505  <width>500</width>
506  <height>27</height>
507  <uuid>{859b8f24-fbc4-4127-9432-95e0e467cbab}</uuid>
508  <visible>true</visible>
509  <midichan>0</midichan>
510  <midicc>0</midicc>
511  <minimum>0.00000000</minimum>
512  <maximum>1.00000000</maximum>
513  <value>0.46000001</value>
514  <mode>lin</mode>
515  <mouseControl act="jump">continuous</mouseControl>
516  <resolution>-1.00000000</resolution>
517  <randomizable group="0">false</randomizable>
518 </bsbObject>
519 <bsbObject version="2" type="BSBLabel">
520  <objectName/>
521  <x>8</x>
522  <y>309</y>
523  <width>160</width>
524  <height>30</height>
525  <uuid>{aa9f17fc-ae7b-47ca-9049-8c93a118b120}</uuid>
526  <visible>true</visible>
527  <midichan>0</midichan>
528  <midicc>0</midicc>
529  <label>Pulse Width (CC#1)</label>
530  <alignment>left</alignment>
531  <font>Liberation Sans</font>
532  <fontsize>10</fontsize>
533  <precision>3</precision>
534  <color>
535   <r>255</r>
536   <g>255</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="BSBDisplay">
549  <objectName>PW</objectName>
550  <x>448</x>
551  <y>309</y>
552  <width>60</width>
553  <height>30</height>
554  <uuid>{ce6e47b4-3b22-4b50-921f-d76f18e3cdf0}</uuid>
555  <visible>true</visible>
556  <midichan>0</midichan>
557  <midicc>0</midicc>
558  <label>0.500</label>
559  <alignment>right</alignment>
560  <font>Liberation Sans</font>
561  <fontsize>9</fontsize>
562  <precision>3</precision>
563  <color>
564   <r>255</r>
565   <g>255</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>PW</objectName>
579  <x>8</x>
580  <y>293</y>
581  <width>500</width>
582  <height>27</height>
583  <uuid>{6ce81dfe-7526-4b6b-b9c9-afaacea0f5be}</uuid>
584  <visible>true</visible>
585  <midichan>1</midichan>
586  <midicc>1</midicc>
587  <minimum>0.00000000</minimum>
588  <maximum>1.00000000</maximum>
589  <value>0.50000000</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="BSBLabel">
596  <objectName/>
597  <x>8</x>
598  <y>347</y>
599  <width>160</width>
600  <height>30</height>
601  <uuid>{22115502-b439-488b-be3e-fdac45e5fb20}</uuid>
602  <visible>true</visible>
603  <midichan>0</midichan>
604  <midicc>0</midicc>
605  <label>Initial Phase</label>
606  <alignment>left</alignment>
607  <font>Liberation Sans</font>
608  <fontsize>10</fontsize>
609  <precision>3</precision>
610  <color>
611   <r>255</r>
612   <g>255</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="BSBDisplay">
625  <objectName>InitPhase</objectName>
626  <x>448</x>
627  <y>347</y>
628  <width>60</width>
629  <height>30</height>
630  <uuid>{f61d9fa9-52cc-4f37-9a73-f58bbc4a4bb8}</uuid>
631  <visible>true</visible>
632  <midichan>0</midichan>
633  <midicc>0</midicc>
634  <label>0.000</label>
635  <alignment>right</alignment>
636  <font>Liberation Sans</font>
637  <fontsize>9</fontsize>
638  <precision>3</precision>
639  <color>
640   <r>255</r>
641   <g>255</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>InitPhase</objectName>
655  <x>8</x>
656  <y>331</y>
657  <width>500</width>
658  <height>27</height>
659  <uuid>{5cdfa99c-960f-481b-8653-ad88365a8532}</uuid>
660  <visible>true</visible>
661  <midichan>0</midichan>
662  <midicc>0</midicc>
663  <minimum>0.00000000</minimum>
664  <maximum>1.00000000</maximum>
665  <value>0.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="BSBLabel">
672  <objectName/>
673  <x>8</x>
674  <y>271</y>
675  <width>220</width>
676  <height>30</height>
677  <uuid>{8994a5d6-0616-4073-88ca-89bd8910cd2b}</uuid>
678  <visible>true</visible>
679  <midichan>0</midichan>
680  <midicc>0</midicc>
681  <label>Number of Harmonics</label>
682  <alignment>left</alignment>
683  <font>Liberation Sans</font>
684  <fontsize>10</fontsize>
685  <precision>3</precision>
686  <color>
687   <r>255</r>
688   <g>255</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="BSBDisplay">
701  <objectName>Harmonics</objectName>
702  <x>448</x>
703  <y>271</y>
704  <width>60</width>
705  <height>30</height>
706  <uuid>{df89196d-9aea-489f-9a6b-97a25e3df9e3}</uuid>
707  <visible>true</visible>
708  <midichan>0</midichan>
709  <midicc>0</midicc>
710  <label>0.500</label>
711  <alignment>right</alignment>
712  <font>Liberation Sans</font>
713  <fontsize>9</fontsize>
714  <precision>3</precision>
715  <color>
716   <r>255</r>
717   <g>255</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>Harmonics</objectName>
731  <x>8</x>
732  <y>255</y>
733  <width>500</width>
734  <height>27</height>
735  <uuid>{dc9e8a06-d156-4247-9272-bdc7fa976c8c}</uuid>
736  <visible>true</visible>
737  <midichan>0</midichan>
738  <midicc>0</midicc>
739  <minimum>0.00000000</minimum>
740  <maximum>0.50000000</maximum>
741  <value>0.50000000</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</bsbPanel>
748<bsbPresets>
749</bsbPresets>
750