1;Written by Iain McCurdy, 2009
2
3;Modified for QuteCsound by René, November 2010, updated Feb 2011
4;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
5
6;Notes on modifications from original csd:
7;	Add table(s) for exp slider
8;	Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files
9
10
11;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
12<CsoundSynthesizer>
13<CsOptions>
14--env:SSDIR+=../SourceMaterials
15</CsOptions>
16<CsInstruments>
17sr 		= 44100	;SAMPLE RATE
18ksmps 	= 32	;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
19nchnls	= 2		;NUMBER OF CHANNELS (2=STEREO)
20
21;TABLES FOR EXP SLIDER
22giExp500		ftgen	0, 0, 129, -25, 0, 1.0, 128, 500.0
23giExp20000	ftgen	0, 0, 129, -25, 0, 20.0, 128, 20000.0
24
25
26opcode FilePlay2, aa, Skoo		; Credit to Joachim Heintz
27	;gives stereo output regardless your soundfile is mono or stereo
28	Sfil, kspeed, iskip, iloop	xin
29	ichn		filenchnls	Sfil
30	if ichn == 1 then
31		aL		diskin2	Sfil, kspeed, iskip, iloop
32		aR		=		aL
33	else
34		aL, aR	diskin2	Sfil, kspeed, iskip, iloop
35	endif
36		xout		aL, aR
37endop
38
39
40instr	1	;GUI
41	ktrig	metro	10
42	if (ktrig == 1)	then
43
44		Sfile_new		strcpy	""							;INIT TO EMPTY STRING
45
46		kcf			invalue	"Filter_Cutoff"
47		gkcf			tablei	kcf, giExp20000, 1
48					outvalue	"Filter_Cutoff_Value", gkcf
49		kq			invalue	"Q"
50		gkq			tablei	kq, giExp500, 1
51					outvalue	"Q_Value", gkq
52
53		gkLowGain		invalue	"Low"
54		gkHighGain	invalue	"High"
55		gkBandGain	invalue	"Band"
56		gkGlobalGain	invalue	"Amplitude"
57
58		gkscl		invalue	"Scaling"
59
60		gSfile		invalue	"_Browse"
61		Sfile_old		strcpyk	Sfile_new
62		Sfile_new		strcpyk	gSfile
63		gkfile 		strcmpk	Sfile_new, Sfile_old
64	endif
65endin
66
67instr	2
68	kporttime		linseg	0,0.001,0.005,1,0.005										;CREATE A VARIABLE FUNCTION THAT RAPIDLY RAMPS UP TO A SET VALUE
69	kcf			portk	gkcf, kporttime											;SMOOTH MOVEMENT OF SLIDER VARIABLE
70
71	kNew_file		changed	gkfile													;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
72	if	kNew_file=1	then															;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
73		reinit	NEW_FILE															;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
74	endif
75	NEW_FILE:
76	;OUTPUTS		OPCODE	FILE  | SPEED | INSKIP | LOOPING (0=OFF 1=ON)
77	asigL, asigR	FilePlay2	gSfile,  1,      0,         1									;GENERATE 2 AUDIO SIGNALS FROM A STEREO SOUND FILE
78				rireturn															;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
79
80	kSwitch		changed	gkscl													;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
81	if	kSwitch=1	then																;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
82		reinit	START															;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
83	endif
84	START:
85	alowL, ahighL, abandL	svfilter	asigL, kcf, gkq , i(gkscl)							;FILTER EACH CHANNEL SEPARATELY USING svfilter
86	alowR, ahighR, abandR 	svfilter	asigR, kcf, gkq , i(gkscl)							;FILTER EACH CHANNEL SEPARATELY USING svfilter
87			rireturn																;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
88	aOutL	sum		alowL * gkLowGain, ahighL * gkHighGain, abandL * gkBandGain				;CREATE A MIX FOR THE LEFT AND RIGHT OUTPUT SIGNALS
89	aOutR	sum		alowR * gkLowGain, ahighR * gkHighGain, abandR * gkBandGain				;CREATE A MIX FOR THE LEFT AND RIGHT OUTPUT SIGNALS
90			outs		aOutL * gkGlobalGain, aOutR * gkGlobalGain							;SEND FILTER OUTPUT TO THE AUDIO OUTPUTS AND SCALE USING THE FLTK SLIDER DERIVED VARIABLE gkGlobalGain
91endin
92</CsInstruments>
93<CsScore>
94;INSTR | START | DURATION
95i 1		0	   3600		;GUI
96</CsScore>
97</CsoundSynthesizer>
98
99
100<bsbPanel>
101 <label>Widgets</label>
102 <objectName/>
103 <x>378</x>
104 <y>344</y>
105 <width>831</width>
106 <height>366</height>
107 <visible>true</visible>
108 <uuid/>
109 <bgcolor mode="background">
110  <r>241</r>
111  <g>226</g>
112  <b>185</b>
113 </bgcolor>
114 <bsbObject version="2" type="BSBLabel">
115  <objectName/>
116  <x>2</x>
117  <y>2</y>
118  <width>511</width>
119  <height>360</height>
120  <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
121  <visible>true</visible>
122  <midichan>0</midichan>
123  <midicc>0</midicc>
124  <label>svfilter</label>
125  <alignment>center</alignment>
126  <font>Liberation Sans</font>
127  <fontsize>18</fontsize>
128  <precision>3</precision>
129  <color>
130   <r>0</r>
131   <g>0</g>
132   <b>0</b>
133  </color>
134  <bgcolor mode="background">
135   <r>106</r>
136   <g>117</g>
137   <b>150</b>
138  </bgcolor>
139  <bordermode>border</bordermode>
140  <borderradius>5</borderradius>
141  <borderwidth>2</borderwidth>
142 </bsbObject>
143 <bsbObject version="2" type="BSBLabel">
144  <objectName/>
145  <x>515</x>
146  <y>2</y>
147  <width>304</width>
148  <height>360</height>
149  <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
150  <visible>true</visible>
151  <midichan>0</midichan>
152  <midicc>0</midicc>
153  <label>svfilter</label>
154  <alignment>center</alignment>
155  <font>Liberation Sans</font>
156  <fontsize>18</fontsize>
157  <precision>3</precision>
158  <color>
159   <r>0</r>
160   <g>0</g>
161   <b>0</b>
162  </color>
163  <bgcolor mode="background">
164   <r>106</r>
165   <g>117</g>
166   <b>150</b>
167  </bgcolor>
168  <bordermode>border</bordermode>
169  <borderradius>5</borderradius>
170  <borderwidth>2</borderwidth>
171 </bsbObject>
172 <bsbObject version="2" type="BSBLabel">
173  <objectName/>
174  <x>520</x>
175  <y>28</y>
176  <width>297</width>
177  <height>308</height>
178  <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
179  <visible>true</visible>
180  <midichan>0</midichan>
181  <midicc>0</midicc>
182  <label>-----------------------------------------------------------------------
183svfilter is an implementation of a resonant second order filter, with simultaneous lowpass, highpass and bandpass outputs. In addition to the expected parameters for cutoff frequency and Q (resonance) there is a switch for response scaling. This can be useful in preventing overloading.
184
185**WARNING** AT THE TIME OF WRITING SVFILTER APPEARS TO BE RATHER UNSTABLE AND HAS A TENDENCY TO 'BLOW UP' WITH HIGHER CUTOFF FREQUENCY (STILL BELOW THE NYQUIST FREQUENCY). THIS PROBLEM IS WORSE WHEN LOWER Q VALUES ARE EMPLOYED.</label>
186  <alignment>left</alignment>
187  <font>Arial</font>
188  <fontsize>14</fontsize>
189  <precision>3</precision>
190  <color>
191   <r>0</r>
192   <g>0</g>
193   <b>0</b>
194  </color>
195  <bgcolor mode="nobackground">
196   <r>255</r>
197   <g>255</g>
198   <b>255</b>
199  </bgcolor>
200  <bordermode>noborder</bordermode>
201  <borderradius>1</borderradius>
202  <borderwidth>1</borderwidth>
203 </bsbObject>
204 <bsbObject version="2" type="BSBButton">
205  <objectName/>
206  <x>8</x>
207  <y>6</y>
208  <width>100</width>
209  <height>30</height>
210  <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
211  <visible>true</visible>
212  <midichan>0</midichan>
213  <midicc>0</midicc>
214  <type>event</type>
215  <pressedValue>1.00000000</pressedValue>
216  <stringvalue/>
217  <text>  ON / OFF</text>
218  <image>/</image>
219  <eventLine>i 2 0 -1</eventLine>
220  <latch>true</latch>
221  <latched>false</latched>
222 </bsbObject>
223 <bsbObject version="2" type="BSBDisplay">
224  <objectName>Filter_Cutoff_Value</objectName>
225  <x>448</x>
226  <y>63</y>
227  <width>60</width>
228  <height>30</height>
229  <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
230  <visible>true</visible>
231  <midichan>0</midichan>
232  <midicc>0</midicc>
233  <label>746.574</label>
234  <alignment>right</alignment>
235  <font>Arial</font>
236  <fontsize>9</fontsize>
237  <precision>3</precision>
238  <color>
239   <r>0</r>
240   <g>0</g>
241   <b>0</b>
242  </color>
243  <bgcolor mode="nobackground">
244   <r>255</r>
245   <g>255</g>
246   <b>255</b>
247  </bgcolor>
248  <bordermode>noborder</bordermode>
249  <borderradius>1</borderradius>
250  <borderwidth>1</borderwidth>
251 </bsbObject>
252 <bsbObject version="2" type="BSBHSlider">
253  <objectName>Filter_Cutoff</objectName>
254  <x>8</x>
255  <y>46</y>
256  <width>500</width>
257  <height>27</height>
258  <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
259  <visible>true</visible>
260  <midichan>0</midichan>
261  <midicc>0</midicc>
262  <minimum>0.00000000</minimum>
263  <maximum>1.00000000</maximum>
264  <value>0.52400000</value>
265  <mode>lin</mode>
266  <mouseControl act="jump">continuous</mouseControl>
267  <resolution>-1.00000000</resolution>
268  <randomizable group="0">false</randomizable>
269 </bsbObject>
270 <bsbObject version="2" type="BSBLabel">
271  <objectName/>
272  <x>8</x>
273  <y>63</y>
274  <width>180</width>
275  <height>30</height>
276  <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
277  <visible>true</visible>
278  <midichan>0</midichan>
279  <midicc>0</midicc>
280  <label>Filter Cutoff</label>
281  <alignment>left</alignment>
282  <font>Arial</font>
283  <fontsize>10</fontsize>
284  <precision>3</precision>
285  <color>
286   <r>0</r>
287   <g>0</g>
288   <b>0</b>
289  </color>
290  <bgcolor mode="nobackground">
291   <r>255</r>
292   <g>255</g>
293   <b>255</b>
294  </bgcolor>
295  <bordermode>noborder</bordermode>
296  <borderradius>1</borderradius>
297  <borderwidth>1</borderwidth>
298 </bsbObject>
299 <bsbObject version="2" type="BSBHSlider">
300  <objectName>Q</objectName>
301  <x>8</x>
302  <y>84</y>
303  <width>500</width>
304  <height>27</height>
305  <uuid>{42fe25e5-e98f-4f00-872c-f791822a1b3e}</uuid>
306  <visible>true</visible>
307  <midichan>0</midichan>
308  <midicc>0</midicc>
309  <minimum>0.00000000</minimum>
310  <maximum>1.00000000</maximum>
311  <value>0.34000000</value>
312  <mode>lin</mode>
313  <mouseControl act="jump">continuous</mouseControl>
314  <resolution>-1.00000000</resolution>
315  <randomizable group="0">false</randomizable>
316 </bsbObject>
317 <bsbObject version="2" type="BSBDisplay">
318  <objectName>Q_Value</objectName>
319  <x>448</x>
320  <y>101</y>
321  <width>60</width>
322  <height>30</height>
323  <uuid>{a8f35453-f236-447d-88d9-1a0b135383b6}</uuid>
324  <visible>true</visible>
325  <midichan>0</midichan>
326  <midicc>0</midicc>
327  <label>8.275</label>
328  <alignment>right</alignment>
329  <font>Arial</font>
330  <fontsize>9</fontsize>
331  <precision>3</precision>
332  <color>
333   <r>0</r>
334   <g>0</g>
335   <b>0</b>
336  </color>
337  <bgcolor mode="nobackground">
338   <r>255</r>
339   <g>255</g>
340   <b>255</b>
341  </bgcolor>
342  <bordermode>noborder</bordermode>
343  <borderradius>1</borderradius>
344  <borderwidth>1</borderwidth>
345 </bsbObject>
346 <bsbObject version="2" type="BSBButton">
347  <objectName>Scaling</objectName>
348  <x>380</x>
349  <y>6</y>
350  <width>130</width>
351  <height>30</height>
352  <uuid>{88395e38-ecab-4818-bef3-1a18b504f914}</uuid>
353  <visible>true</visible>
354  <midichan>0</midichan>
355  <midicc>0</midicc>
356  <type>value</type>
357  <pressedValue>1.00000000</pressedValue>
358  <stringvalue/>
359  <text> Scaling On / Off</text>
360  <image>/</image>
361  <eventLine/>
362  <latch>true</latch>
363  <latched>false</latched>
364 </bsbObject>
365 <bsbObject version="2" type="BSBButton">
366  <objectName>_Browse</objectName>
367  <x>8</x>
368  <y>324</y>
369  <width>170</width>
370  <height>30</height>
371  <uuid>{43341095-bc3a-4607-bd0e-01254da7bc67}</uuid>
372  <visible>true</visible>
373  <midichan>0</midichan>
374  <midicc>0</midicc>
375  <type>value</type>
376  <pressedValue>1.00000000</pressedValue>
377  <stringvalue>Seashore.wav</stringvalue>
378  <text>Browse Audio File</text>
379  <image>/</image>
380  <eventLine/>
381  <latch>false</latch>
382  <latched>false</latched>
383 </bsbObject>
384 <bsbObject version="2" type="BSBLineEdit">
385  <objectName>_Browse</objectName>
386  <x>177</x>
387  <y>325</y>
388  <width>330</width>
389  <height>28</height>
390  <uuid>{b66f3878-dfd0-4290-9b9d-73be88197222}</uuid>
391  <visible>true</visible>
392  <midichan>0</midichan>
393  <midicc>0</midicc>
394  <label>Seashore.wav</label>
395  <alignment>left</alignment>
396  <font>Arial</font>
397  <fontsize>10</fontsize>
398  <precision>3</precision>
399  <color>
400   <r>0</r>
401   <g>0</g>
402   <b>0</b>
403  </color>
404  <bgcolor mode="nobackground">
405   <r>35</r>
406   <g>35</g>
407   <b>35</b>
408  </bgcolor>
409  <background>nobackground</background>
410 </bsbObject>
411 <bsbObject version="2" type="BSBLabel">
412  <objectName/>
413  <x>8</x>
414  <y>303</y>
415  <width>160</width>
416  <height>30</height>
417  <uuid>{7e1e7af4-88dd-4046-a781-fa2dc828b980}</uuid>
418  <visible>true</visible>
419  <midichan>0</midichan>
420  <midicc>0</midicc>
421  <label>File Input</label>
422  <alignment>left</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="BSBLabel">
441  <objectName/>
442  <x>8</x>
443  <y>101</y>
444  <width>180</width>
445  <height>30</height>
446  <uuid>{027163fb-bbfe-488e-9351-1c1cd9a9d626}</uuid>
447  <visible>true</visible>
448  <midichan>0</midichan>
449  <midicc>0</midicc>
450  <label>Q</label>
451  <alignment>left</alignment>
452  <font>Arial</font>
453  <fontsize>10</fontsize>
454  <precision>3</precision>
455  <color>
456   <r>0</r>
457   <g>0</g>
458   <b>0</b>
459  </color>
460  <bgcolor mode="nobackground">
461   <r>255</r>
462   <g>255</g>
463   <b>255</b>
464  </bgcolor>
465  <bordermode>noborder</bordermode>
466  <borderradius>1</borderradius>
467  <borderwidth>1</borderwidth>
468 </bsbObject>
469 <bsbObject version="2" type="BSBLabel">
470  <objectName/>
471  <x>8</x>
472  <y>284</y>
473  <width>180</width>
474  <height>30</height>
475  <uuid>{924bd75f-a38d-4768-9c09-bc0a57d28746}</uuid>
476  <visible>true</visible>
477  <midichan>0</midichan>
478  <midicc>0</midicc>
479  <label>Global Amplitude Rescale</label>
480  <alignment>left</alignment>
481  <font>Arial</font>
482  <fontsize>10</fontsize>
483  <precision>3</precision>
484  <color>
485   <r>0</r>
486   <g>0</g>
487   <b>0</b>
488  </color>
489  <bgcolor mode="nobackground">
490   <r>255</r>
491   <g>255</g>
492   <b>255</b>
493  </bgcolor>
494  <bordermode>noborder</bordermode>
495  <borderradius>1</borderradius>
496  <borderwidth>1</borderwidth>
497 </bsbObject>
498 <bsbObject version="2" type="BSBDisplay">
499  <objectName>Amplitude</objectName>
500  <x>448</x>
501  <y>284</y>
502  <width>60</width>
503  <height>30</height>
504  <uuid>{d724aa00-e6f9-4d2b-8327-b0f26ea8a22a}</uuid>
505  <visible>true</visible>
506  <midichan>0</midichan>
507  <midicc>0</midicc>
508  <label>0.492</label>
509  <alignment>right</alignment>
510  <font>Arial</font>
511  <fontsize>9</fontsize>
512  <precision>3</precision>
513  <color>
514   <r>0</r>
515   <g>0</g>
516   <b>0</b>
517  </color>
518  <bgcolor mode="nobackground">
519   <r>255</r>
520   <g>255</g>
521   <b>255</b>
522  </bgcolor>
523  <bordermode>noborder</bordermode>
524  <borderradius>1</borderradius>
525  <borderwidth>1</borderwidth>
526 </bsbObject>
527 <bsbObject version="2" type="BSBHSlider">
528  <objectName>Amplitude</objectName>
529  <x>8</x>
530  <y>267</y>
531  <width>500</width>
532  <height>27</height>
533  <uuid>{2decbd8f-5690-40b5-a0bc-a73d278286f5}</uuid>
534  <visible>true</visible>
535  <midichan>0</midichan>
536  <midicc>0</midicc>
537  <minimum>0.00000000</minimum>
538  <maximum>1.00000000</maximum>
539  <value>0.49200000</value>
540  <mode>lin</mode>
541  <mouseControl act="jump">continuous</mouseControl>
542  <resolution>-1.00000000</resolution>
543  <randomizable group="0">false</randomizable>
544 </bsbObject>
545 <bsbObject version="2" type="BSBLabel">
546  <objectName/>
547  <x>8</x>
548  <y>130</y>
549  <width>499</width>
550  <height>130</height>
551  <uuid>{b31eb2ad-8195-4105-b865-2279074862a5}</uuid>
552  <visible>true</visible>
553  <midichan>0</midichan>
554  <midicc>0</midicc>
555  <label>Filter Output Gains</label>
556  <alignment>left</alignment>
557  <font>Arial</font>
558  <fontsize>14</fontsize>
559  <precision>3</precision>
560  <color>
561   <r>0</r>
562   <g>0</g>
563   <b>0</b>
564  </color>
565  <bgcolor mode="nobackground">
566   <r>255</r>
567   <g>255</g>
568   <b>255</b>
569  </bgcolor>
570  <bordermode>border</bordermode>
571  <borderradius>4</borderradius>
572  <borderwidth>1</borderwidth>
573 </bsbObject>
574 <bsbObject version="2" type="BSBDisplay">
575  <objectName>Band</objectName>
576  <x>448</x>
577  <y>234</y>
578  <width>60</width>
579  <height>30</height>
580  <uuid>{50f509c4-b78a-4740-a316-cef6854a730c}</uuid>
581  <visible>true</visible>
582  <midichan>0</midichan>
583  <midicc>0</midicc>
584  <label>0.552</label>
585  <alignment>right</alignment>
586  <font>Arial</font>
587  <fontsize>9</fontsize>
588  <precision>3</precision>
589  <color>
590   <r>0</r>
591   <g>0</g>
592   <b>0</b>
593  </color>
594  <bgcolor mode="nobackground">
595   <r>255</r>
596   <g>255</g>
597   <b>255</b>
598  </bgcolor>
599  <bordermode>noborder</bordermode>
600  <borderradius>1</borderradius>
601  <borderwidth>1</borderwidth>
602 </bsbObject>
603 <bsbObject version="2" type="BSBHSlider">
604  <objectName>Band</objectName>
605  <x>8</x>
606  <y>217</y>
607  <width>500</width>
608  <height>27</height>
609  <uuid>{f1c347e9-2a01-4a09-9caf-4de6eb867522}</uuid>
610  <visible>true</visible>
611  <midichan>0</midichan>
612  <midicc>0</midicc>
613  <minimum>0.00000000</minimum>
614  <maximum>1.00000000</maximum>
615  <value>0.55200000</value>
616  <mode>lin</mode>
617  <mouseControl act="jump">continuous</mouseControl>
618  <resolution>-1.00000000</resolution>
619  <randomizable group="0">false</randomizable>
620 </bsbObject>
621 <bsbObject version="2" type="BSBLabel">
622  <objectName/>
623  <x>8</x>
624  <y>234</y>
625  <width>180</width>
626  <height>30</height>
627  <uuid>{aab61efb-bb00-4cfa-8f28-1dae4d231e34}</uuid>
628  <visible>true</visible>
629  <midichan>0</midichan>
630  <midicc>0</midicc>
631  <label>Band</label>
632  <alignment>left</alignment>
633  <font>Arial</font>
634  <fontsize>10</fontsize>
635  <precision>3</precision>
636  <color>
637   <r>0</r>
638   <g>0</g>
639   <b>0</b>
640  </color>
641  <bgcolor mode="nobackground">
642   <r>255</r>
643   <g>255</g>
644   <b>255</b>
645  </bgcolor>
646  <bordermode>noborder</bordermode>
647  <borderradius>1</borderradius>
648  <borderwidth>1</borderwidth>
649 </bsbObject>
650 <bsbObject version="2" type="BSBDisplay">
651  <objectName>Low</objectName>
652  <x>448</x>
653  <y>167</y>
654  <width>60</width>
655  <height>30</height>
656  <uuid>{6d456094-4e4b-4ff4-a994-6350803f350a}</uuid>
657  <visible>true</visible>
658  <midichan>0</midichan>
659  <midicc>0</midicc>
660  <label>0.518</label>
661  <alignment>right</alignment>
662  <font>Arial</font>
663  <fontsize>9</fontsize>
664  <precision>3</precision>
665  <color>
666   <r>0</r>
667   <g>0</g>
668   <b>0</b>
669  </color>
670  <bgcolor mode="nobackground">
671   <r>255</r>
672   <g>255</g>
673   <b>255</b>
674  </bgcolor>
675  <bordermode>noborder</bordermode>
676  <borderradius>1</borderradius>
677  <borderwidth>1</borderwidth>
678 </bsbObject>
679 <bsbObject version="2" type="BSBHSlider">
680  <objectName>Low</objectName>
681  <x>8</x>
682  <y>150</y>
683  <width>500</width>
684  <height>27</height>
685  <uuid>{0693ce14-cd68-4ee7-98f2-a2eb1901a6e9}</uuid>
686  <visible>true</visible>
687  <midichan>0</midichan>
688  <midicc>0</midicc>
689  <minimum>0.00000000</minimum>
690  <maximum>1.00000000</maximum>
691  <value>0.51800000</value>
692  <mode>lin</mode>
693  <mouseControl act="jump">continuous</mouseControl>
694  <resolution>-1.00000000</resolution>
695  <randomizable group="0">false</randomizable>
696 </bsbObject>
697 <bsbObject version="2" type="BSBLabel">
698  <objectName/>
699  <x>8</x>
700  <y>167</y>
701  <width>180</width>
702  <height>30</height>
703  <uuid>{200f2496-179b-418a-8844-08ba6e932e13}</uuid>
704  <visible>true</visible>
705  <midichan>0</midichan>
706  <midicc>0</midicc>
707  <label>Low</label>
708  <alignment>left</alignment>
709  <font>Arial</font>
710  <fontsize>10</fontsize>
711  <precision>3</precision>
712  <color>
713   <r>0</r>
714   <g>0</g>
715   <b>0</b>
716  </color>
717  <bgcolor mode="nobackground">
718   <r>255</r>
719   <g>255</g>
720   <b>255</b>
721  </bgcolor>
722  <bordermode>noborder</bordermode>
723  <borderradius>1</borderradius>
724  <borderwidth>1</borderwidth>
725 </bsbObject>
726 <bsbObject version="2" type="BSBHSlider">
727  <objectName>High</objectName>
728  <x>8</x>
729  <y>183</y>
730  <width>500</width>
731  <height>27</height>
732  <uuid>{3ef030f7-0de9-4ba3-a691-fb91920fa043}</uuid>
733  <visible>true</visible>
734  <midichan>0</midichan>
735  <midicc>0</midicc>
736  <minimum>0.00000000</minimum>
737  <maximum>1.00000000</maximum>
738  <value>0.76000000</value>
739  <mode>lin</mode>
740  <mouseControl act="jump">continuous</mouseControl>
741  <resolution>-1.00000000</resolution>
742  <randomizable group="0">false</randomizable>
743 </bsbObject>
744 <bsbObject version="2" type="BSBDisplay">
745  <objectName>High</objectName>
746  <x>448</x>
747  <y>200</y>
748  <width>60</width>
749  <height>30</height>
750  <uuid>{c4aab7d5-9b18-4d0d-a0db-af655c9cde33}</uuid>
751  <visible>true</visible>
752  <midichan>0</midichan>
753  <midicc>0</midicc>
754  <label>0.760</label>
755  <alignment>right</alignment>
756  <font>Arial</font>
757  <fontsize>9</fontsize>
758  <precision>3</precision>
759  <color>
760   <r>0</r>
761   <g>0</g>
762   <b>0</b>
763  </color>
764  <bgcolor mode="nobackground">
765   <r>255</r>
766   <g>255</g>
767   <b>255</b>
768  </bgcolor>
769  <bordermode>noborder</bordermode>
770  <borderradius>1</borderradius>
771  <borderwidth>1</borderwidth>
772 </bsbObject>
773 <bsbObject version="2" type="BSBLabel">
774  <objectName/>
775  <x>8</x>
776  <y>200</y>
777  <width>180</width>
778  <height>30</height>
779  <uuid>{ee7d718d-9fad-41a7-a221-83436062a118}</uuid>
780  <visible>true</visible>
781  <midichan>0</midichan>
782  <midicc>0</midicc>
783  <label>High</label>
784  <alignment>left</alignment>
785  <font>Arial</font>
786  <fontsize>10</fontsize>
787  <precision>3</precision>
788  <color>
789   <r>0</r>
790   <g>0</g>
791   <b>0</b>
792  </color>
793  <bgcolor mode="nobackground">
794   <r>255</r>
795   <g>255</g>
796   <b>255</b>
797  </bgcolor>
798  <bordermode>noborder</bordermode>
799  <borderradius>1</borderradius>
800  <borderwidth>1</borderwidth>
801 </bsbObject>
802</bsbPanel>
803<bsbPresets>
804</bsbPresets>
805<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0">    </EventPanel>
806