Debian Codegraph @

src/Examples/McCurdy Collection/Waveguides/wguide1.csd

raw
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(s) for exp slider
9 ; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files
10
11
12 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
13 <CsoundSynthesizer>
14 <CsOptions>
15 --env:SSDIR+=../../SourceMaterials
16 </CsOptions>
17 <CsInstruments>
18 sr = 44100 ;SAMPLE RATE
19 ksmps = 32 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
20 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
21 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
22
23
24 ;TABLES FOR EXP SLIDER
25 giExp1 ftgen 0, 0, 129, -25, 0, 20.0, 128, 10000.0
26 giExp2 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0
27
28
29 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
30 ;gives stereo output regardless your soundfile is mono or stereo
31 Sfil, kspeed, iskip, iloop xin
32 ichn filenchnls Sfil
33 if ichn == 1 then
34 aL diskin2 Sfil, kspeed, iskip, iloop
35 aR = aL
36 else
37 aL, aR diskin2 Sfil, kspeed, iskip, iloop
38 endif
39 xout aL, aR
40 endop
41
42 instr 1 ;GUI & INPUT
43 ;GUI
44 ktrig metro 10
45 if (ktrig == 1) then
46 kingain invalue "InputGain"
47 kfreq invalue "Frequency"
48 gkfreq tablei kfreq, giExp1, 1
49 outvalue "Frequency_Value", gkfreq
50 kcutoff invalue "Cutoff"
51 gkcutoff tablei kcutoff, giExp2, 1
52 outvalue "Cutoff_Value", gkcutoff
53 gkfeedback invalue "Feedback"
54 gkamp invalue "Amplitude"
55 kinput invalue "Input"
56
57 Sfile_new strcpy "" ;INIT TO EMPTY STRING
58 Sfile invalue "_Browse"
59 Sfile_old strcpyk Sfile_new
60 Sfile_new strcpyk Sfile
61 kfile strcmpk Sfile_new, Sfile_old
62 endif
63 ;INPUT
64 if kinput==0 then ;IF INPUT 'Audio File' IS SELECTED...
65 kNew_file changed kfile ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
66 if kNew_file=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
67 reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'NEW_FILE'
68 endif
69 NEW_FILE:
70 gasigL, gasigR FilePlay2 Sfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A SOUND FILE
71 rireturn
72 elseif kinput==1 then ;IF INPUT 'Live' IS SELECTED...
73 asigL, asigR ins ;TAKE INPUT FROM COMPUTER'S AUDIO INPUT
74 gasigL = asigL * kingain ;SCALE USING 'Input Gain' SLIDER
75 gasigR = asigR * kingain ;SCALE USING 'Input Gain' SLIDER
76 else ;OTHERWISE...
77 kint random 0.1,0.4 ;INTERVAL BETWEEN IMPULSES IS RANDOMISED SLIGHTLY
78 a1 mpulse 4,kint ;GENERATE IMPULSES
79 kcfoct randomi 6,12,2 ;GENERATE RANDOM VALUES FOR FILTER CUTOFF FREQUENCY (OCT FORMAT)
80 gasigL butlp a1, cpsoct(kcfoct) ;LOWPASS FILTER STREAM OF CLICKS
81 gasigR = gasigL ;SET RIGHT CHANNEL SIGNAL TO THE SAME AS THE LEFT CHANNEL SIGNAL
82 endif
83 endin
84
85 instr 2
86 iporttime = 0.01 ;I-RATE VARIABLE DEFINITION OF PORTAMENTO TIME
87 kporttime linseg 0,0.01,iporttime,1,iporttime ;RAMPING UP FROM ZERO VERSION OF PORTAMENTO TIME VARIABLE
88 kfreq portk gkfreq, kporttime ;SMOOTH VARIABLE CHANGES WITH PORTK
89 afreq interp kfreq ;INTERPOLATE TO CREATE A-RATE VERSION OF K-RATE VARIABLE
90
91 ;OUTPUT OPCODE | INPUT | DELAY/COMB_FREQ | LPF_CUTOFF_FREQ | FEEDBACK_RATIO
92 aresL wguide1 gasigL, afreq, gkcutoff, gkfeedback
93 aresR wguide1 gasigR, afreq, gkcutoff, gkfeedback
94
95 outs aresL * gkamp, aresR * gkamp ;SEND wguide OUTPUT TO THE AUDIO OUTPUTS AND SCALE USING THE GUI SLIDER VARIABLE gkamp
96 clear gasigL, gasigR ;CLEAR GLOBAL AUDIO VARIABLES
97 endin
98 </CsInstruments>
99 <CsScore>
100 i 1 0 3600 ;GUI
101 </CsScore>
102 </CsoundSynthesizer>
103
104 <bsbPanel>
105 <label>Widgets</label>
106 <objectName/>
107 <x>270</x>
108 <y>239</y>
109 <width>1096</width>
110 <height>376</height>
111 <visible>true</visible>
112 <uuid/>
113 <bgcolor mode="background">
114 <r>241</r>
115 <g>226</g>
116 <b>185</b>
117 </bgcolor>
118 <bsbObject version="2" type="BSBLabel">
119 <objectName/>
120 <x>2</x>
121 <y>2</y>
122 <width>510</width>
123 <height>370</height>
124 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
125 <visible>true</visible>
126 <midichan>0</midichan>
127 <midicc>0</midicc>
128 <label>wguide1</label>
129 <alignment>center</alignment>
130 <font>Liberation Sans</font>
131 <fontsize>18</fontsize>
132 <precision>3</precision>
133 <color>
134 <r>0</r>
135 <g>0</g>
136 <b>0</b>
137 </color>
138 <bgcolor mode="background">
139 <r>170</r>
140 <g>170</g>
141 <b>170</b>
142 </bgcolor>
143 <bordermode>border</bordermode>
144 <borderradius>5</borderradius>
145 <borderwidth>2</borderwidth>
146 </bsbObject>
147 <bsbObject version="2" type="BSBLabel">
148 <objectName/>
149 <x>8</x>
150 <y>78</y>
151 <width>220</width>
152 <height>30</height>
153 <uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid>
154 <visible>true</visible>
155 <midichan>0</midichan>
156 <midicc>0</midicc>
157 <label>Live Input Gain</label>
158 <alignment>left</alignment>
159 <font>Liberation Sans</font>
160 <fontsize>10</fontsize>
161 <precision>3</precision>
162 <color>
163 <r>0</r>
164 <g>0</g>
165 <b>0</b>
166 </color>
167 <bgcolor mode="nobackground">
168 <r>255</r>
169 <g>255</g>
170 <b>255</b>
171 </bgcolor>
172 <bordermode>noborder</bordermode>
173 <borderradius>1</borderradius>
174 <borderwidth>1</borderwidth>
175 </bsbObject>
176 <bsbObject version="2" type="BSBHSlider">
177 <objectName>InputGain</objectName>
178 <x>8</x>
179 <y>56</y>
180 <width>500</width>
181 <height>27</height>
182 <uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid>
183 <visible>true</visible>
184 <midichan>0</midichan>
185 <midicc>0</midicc>
186 <minimum>0.00000000</minimum>
187 <maximum>1.00000000</maximum>
188 <value>0.58000000</value>
189 <mode>lin</mode>
190 <mouseControl act="jump">continuous</mouseControl>
191 <resolution>-1.00000000</resolution>
192 <randomizable group="0">false</randomizable>
193 </bsbObject>
194 <bsbObject version="2" type="BSBButton">
195 <objectName/>
196 <x>8</x>
197 <y>20</y>
198 <width>80</width>
199 <height>26</height>
200 <uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid>
201 <visible>true</visible>
202 <midichan>0</midichan>
203 <midicc>0</midicc>
204 <type>event</type>
205 <pressedValue>1.00000000</pressedValue>
206 <stringvalue/>
207 <text> On / Off</text>
208 <image>/</image>
209 <eventLine>i 2 0 -1</eventLine>
210 <latch>true</latch>
211 <latched>false</latched>
212 </bsbObject>
213 <bsbObject version="2" type="BSBLabel">
214 <objectName/>
215 <x>514</x>
216 <y>2</y>
217 <width>576</width>
218 <height>370</height>
219 <uuid>{cd1b9ee0-e607-49ed-9a8d-37ebb3d7fe8f}</uuid>
220 <visible>true</visible>
221 <midichan>0</midichan>
222 <midicc>0</midicc>
223 <label>wguide1</label>
224 <alignment>center</alignment>
225 <font>Liberation Sans</font>
226 <fontsize>18</fontsize>
227 <precision>3</precision>
228 <color>
229 <r>0</r>
230 <g>0</g>
231 <b>0</b>
232 </color>
233 <bgcolor mode="background">
234 <r>170</r>
235 <g>170</g>
236 <b>170</b>
237 </bgcolor>
238 <bordermode>border</bordermode>
239 <borderradius>5</borderradius>
240 <borderwidth>2</borderwidth>
241 </bsbObject>
242 <bsbObject version="2" type="BSBLabel">
243 <objectName/>
244 <x>517</x>
245 <y>18</y>
246 <width>570</width>
247 <height>352</height>
248 <uuid>{16d3e28c-026e-45ef-b167-57f393c4e2d5}</uuid>
249 <visible>true</visible>
250 <midichan>0</midichan>
251 <midicc>0</midicc>
252 <label>--------------------------------------------------------------------------------------------------------------------------------------------
253 Wguide1 implements a delay and first order lowpass filter with feedback in a single unit opcode. This arrangement is as shown in csd.
254 Delay time is not directly addressed as delay time are expected to be small thus producing a comb filtering effect. Instead the frequency of the tone produced by this comb filtering effect is given to the opcode. (Delay time could be derived as 1/freq.) The minimum allowed value for 'Frequency' is 5 hertz, this translates as a delay time of .2 second. 'Feedback' is expressed as a ratio of the entire signal. A value of 0 means that none of the signal will be fed back into the system, a value of 1 means that all of the signal will be fed back into the system. The use of feedback can create dramatic rises in output amplitude, therefore in this example I have included a slider that controls output amplitude. Wguide's audible result is comparable to that of the 'streson' opcode. Note that tuning inaccuracies are increasingly exhibited as 'Frequency' is increased. If precise tuning is required then it will probably not be suffucient to rely on the value given for 'Frequency' and instead this should be checked by ear. In this example the user can choose between a sound file input, the computer's live input or a stream of click impulses. The risk of feedback is greatly increased through the use of wguide1 processing so for this reason a gain control on the live input, which is initially zero, is included. Use with caution! It might actually be better to monitor through headphones to further reduce the risk of feedback when using the live input.</label>
255 <alignment>left</alignment>
256 <font>Liberation Sans</font>
257 <fontsize>14</fontsize>
258 <precision>3</precision>
259 <color>
260 <r>0</r>
261 <g>0</g>
262 <b>0</b>
263 </color>
264 <bgcolor mode="nobackground">
265 <r>255</r>
266 <g>255</g>
267 <b>255</b>
268 </bgcolor>
269 <bordermode>noborder</bordermode>
270 <borderradius>1</borderradius>
271 <borderwidth>1</borderwidth>
272 </bsbObject>
273 <bsbObject version="2" type="BSBDisplay">
274 <objectName>InputGain</objectName>
275 <x>448</x>
276 <y>78</y>
277 <width>60</width>
278 <height>30</height>
279 <uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid>
280 <visible>true</visible>
281 <midichan>0</midichan>
282 <midicc>0</midicc>
283 <label>0.580</label>
284 <alignment>right</alignment>
285 <font>Liberation Sans</font>
286 <fontsize>9</fontsize>
287 <precision>3</precision>
288 <color>
289 <r>0</r>
290 <g>0</g>
291 <b>0</b>
292 </color>
293 <bgcolor mode="nobackground">
294 <r>255</r>
295 <g>255</g>
296 <b>255</b>
297 </bgcolor>
298 <bordermode>noborder</bordermode>
299 <borderradius>1</borderradius>
300 <borderwidth>1</borderwidth>
301 </bsbObject>
302 <bsbObject version="2" type="BSBDropdown">
303 <objectName>Input</objectName>
304 <x>178</x>
305 <y>291</y>
306 <width>120</width>
307 <height>30</height>
308 <uuid>{9b81a1f2-bcb8-4582-925b-9ae56def3865}</uuid>
309 <visible>true</visible>
310 <midichan>0</midichan>
311 <midicc>0</midicc>
312 <bsbDropdownItemList>
313 <bsbDropdownItem>
314 <name>Audio File</name>
315 <value>0</value>
316 <stringvalue/>
317 </bsbDropdownItem>
318 <bsbDropdownItem>
319 <name>Live Input</name>
320 <value>1</value>
321 <stringvalue/>
322 </bsbDropdownItem>
323 <bsbDropdownItem>
324 <name>Impulses</name>
325 <value>2</value>
326 <stringvalue/>
327 </bsbDropdownItem>
328 </bsbDropdownItemList>
329 <selectedIndex>0</selectedIndex>
330 <randomizable group="0">false</randomizable>
331 </bsbObject>
332 <bsbObject version="2" type="BSBLabel">
333 <objectName/>
334 <x>96</x>
335 <y>291</y>
336 <width>80</width>
337 <height>30</height>
338 <uuid>{62eeb695-9b83-42da-81cd-8000c232d9b9}</uuid>
339 <visible>true</visible>
340 <midichan>0</midichan>
341 <midicc>0</midicc>
342 <label>Input</label>
343 <alignment>right</alignment>
344 <font>Arial</font>
345 <fontsize>10</fontsize>
346 <precision>3</precision>
347 <color>
348 <r>0</r>
349 <g>0</g>
350 <b>0</b>
351 </color>
352 <bgcolor mode="nobackground">
353 <r>255</r>
354 <g>255</g>
355 <b>255</b>
356 </bgcolor>
357 <bordermode>noborder</bordermode>
358 <borderradius>1</borderradius>
359 <borderwidth>1</borderwidth>
360 </bsbObject>
361 <bsbObject version="2" type="BSBButton">
362 <objectName>_Browse</objectName>
363 <x>6</x>
364 <y>329</y>
365 <width>170</width>
366 <height>30</height>
367 <uuid>{9b992da1-8c0f-449e-af03-7913cc05efed}</uuid>
368 <visible>true</visible>
369 <midichan>0</midichan>
370 <midicc>0</midicc>
371 <type>value</type>
372 <pressedValue>1.00000000</pressedValue>
373 <stringvalue>Seashore.wav</stringvalue>
374 <text>Browse Audio File</text>
375 <image>/</image>
376 <eventLine/>
377 <latch>false</latch>
378 <latched>false</latched>
379 </bsbObject>
380 <bsbObject version="2" type="BSBLineEdit">
381 <objectName>_Browse</objectName>
382 <x>178</x>
383 <y>330</y>
384 <width>330</width>
385 <height>28</height>
386 <uuid>{15a8ec14-710f-43e6-be9e-f5dc8c8786cb}</uuid>
387 <visible>true</visible>
388 <midichan>0</midichan>
389 <midicc>0</midicc>
390 <label>Seashore.wav</label>
391 <alignment>left</alignment>
392 <font>Arial</font>
393 <fontsize>10</fontsize>
394 <precision>3</precision>
395 <color>
396 <r>0</r>
397 <g>0</g>
398 <b>0</b>
399 </color>
400 <bgcolor mode="nobackground">
401 <r>206</r>
402 <g>206</g>
403 <b>206</b>
404 </bgcolor>
405 <background>nobackground</background>
406 </bsbObject>
407 <bsbObject version="2" type="BSBLabel">
408 <objectName/>
409 <x>8</x>
410 <y>123</y>
411 <width>220</width>
412 <height>30</height>
413 <uuid>{1daeb2b9-bae2-4c0a-939b-62c3ea3ac853}</uuid>
414 <visible>true</visible>
415 <midichan>0</midichan>
416 <midicc>0</midicc>
417 <label>Frequency</label>
418 <alignment>left</alignment>
419 <font>Liberation Sans</font>
420 <fontsize>10</fontsize>
421 <precision>3</precision>
422 <color>
423 <r>0</r>
424 <g>0</g>
425 <b>0</b>
426 </color>
427 <bgcolor mode="nobackground">
428 <r>255</r>
429 <g>255</g>
430 <b>255</b>
431 </bgcolor>
432 <bordermode>noborder</bordermode>
433 <borderradius>1</borderradius>
434 <borderwidth>1</borderwidth>
435 </bsbObject>
436 <bsbObject version="2" type="BSBHSlider">
437 <objectName>Frequency</objectName>
438 <x>8</x>
439 <y>101</y>
440 <width>500</width>
441 <height>27</height>
442 <uuid>{b378cb0c-4cee-4f42-86ad-2a0d9524d355}</uuid>
443 <visible>true</visible>
444 <midichan>0</midichan>
445 <midicc>0</midicc>
446 <minimum>0.00000000</minimum>
447 <maximum>1.00000000</maximum>
448 <value>0.48200000</value>
449 <mode>lin</mode>
450 <mouseControl act="jump">continuous</mouseControl>
451 <resolution>-1.00000000</resolution>
452 <randomizable group="0">false</randomizable>
453 </bsbObject>
454 <bsbObject version="2" type="BSBDisplay">
455 <objectName>Frequency_Value</objectName>
456 <x>448</x>
457 <y>123</y>
458 <width>60</width>
459 <height>30</height>
460 <uuid>{cf1f320e-c59c-4b26-82b5-f405ba7194fa}</uuid>
461 <visible>true</visible>
462 <midichan>0</midichan>
463 <midicc>0</midicc>
464 <label>0.000</label>
465 <alignment>right</alignment>
466 <font>Liberation Sans</font>
467 <fontsize>9</fontsize>
468 <precision>3</precision>
469 <color>
470 <r>0</r>
471 <g>0</g>
472 <b>0</b>
473 </color>
474 <bgcolor mode="nobackground">
475 <r>255</r>
476 <g>255</g>
477 <b>255</b>
478 </bgcolor>
479 <bordermode>noborder</bordermode>
480 <borderradius>1</borderradius>
481 <borderwidth>1</borderwidth>
482 </bsbObject>
483 <bsbObject version="2" type="BSBLabel">
484 <objectName/>
485 <x>8</x>
486 <y>168</y>
487 <width>220</width>
488 <height>30</height>
489 <uuid>{231bb990-9786-4aad-a8bf-56f542cd2f4a}</uuid>
490 <visible>true</visible>
491 <midichan>0</midichan>
492 <midicc>0</midicc>
493 <label>LPF Cutoff Frequency</label>
494 <alignment>left</alignment>
495 <font>Liberation Sans</font>
496 <fontsize>10</fontsize>
497 <precision>3</precision>
498 <color>
499 <r>0</r>
500 <g>0</g>
501 <b>0</b>
502 </color>
503 <bgcolor mode="nobackground">
504 <r>255</r>
505 <g>255</g>
506 <b>255</b>
507 </bgcolor>
508 <bordermode>noborder</bordermode>
509 <borderradius>1</borderradius>
510 <borderwidth>1</borderwidth>
511 </bsbObject>
512 <bsbObject version="2" type="BSBHSlider">
513 <objectName>Cutoff</objectName>
514 <x>8</x>
515 <y>146</y>
516 <width>500</width>
517 <height>27</height>
518 <uuid>{2e1f3a23-2e04-44eb-98e7-edaed6ee7738}</uuid>
519 <visible>true</visible>
520 <midichan>0</midichan>
521 <midicc>0</midicc>
522 <minimum>0.00000000</minimum>
523 <maximum>1.00000000</maximum>
524 <value>0.89600000</value>
525 <mode>lin</mode>
526 <mouseControl act="jump">continuous</mouseControl>
527 <resolution>-1.00000000</resolution>
528 <randomizable group="0">false</randomizable>
529 </bsbObject>
530 <bsbObject version="2" type="BSBDisplay">
531 <objectName>Cutoff_Value</objectName>
532 <x>448</x>
533 <y>168</y>
534 <width>60</width>
535 <height>30</height>
536 <uuid>{3a818717-052f-4ce3-b538-4e12df8abe25}</uuid>
537 <visible>true</visible>
538 <midichan>0</midichan>
539 <midicc>0</midicc>
540 <label>0.000</label>
541 <alignment>right</alignment>
542 <font>Liberation Sans</font>
543 <fontsize>9</fontsize>
544 <precision>3</precision>
545 <color>
546 <r>0</r>
547 <g>0</g>
548 <b>0</b>
549 </color>
550 <bgcolor mode="nobackground">
551 <r>255</r>
552 <g>255</g>
553 <b>255</b>
554 </bgcolor>
555 <bordermode>noborder</bordermode>
556 <borderradius>1</borderradius>
557 <borderwidth>1</borderwidth>
558 </bsbObject>
559 <bsbObject version="2" type="BSBLabel">
560 <objectName/>
561 <x>8</x>
562 <y>213</y>
563 <width>220</width>
564 <height>30</height>
565 <uuid>{e42ccc90-ebf9-46dd-8039-f576154182be}</uuid>
566 <visible>true</visible>
567 <midichan>0</midichan>
568 <midicc>0</midicc>
569 <label>Feedback</label>
570 <alignment>left</alignment>
571 <font>Liberation Sans</font>
572 <fontsize>10</fontsize>
573 <precision>3</precision>
574 <color>
575 <r>0</r>
576 <g>0</g>
577 <b>0</b>
578 </color>
579 <bgcolor mode="nobackground">
580 <r>255</r>
581 <g>255</g>
582 <b>255</b>
583 </bgcolor>
584 <bordermode>noborder</bordermode>
585 <borderradius>1</borderradius>
586 <borderwidth>1</borderwidth>
587 </bsbObject>
588 <bsbObject version="2" type="BSBHSlider">
589 <objectName>Feedback</objectName>
590 <x>8</x>
591 <y>191</y>
592 <width>500</width>
593 <height>27</height>
594 <uuid>{75cac143-6654-4010-8cb5-fc135e0c20a4}</uuid>
595 <visible>true</visible>
596 <midichan>0</midichan>
597 <midicc>0</midicc>
598 <minimum>0.00000000</minimum>
599 <maximum>0.99900000</maximum>
600 <value>0.94505400</value>
601 <mode>lin</mode>
602 <mouseControl act="jump">continuous</mouseControl>
603 <resolution>-1.00000000</resolution>
604 <randomizable group="0">false</randomizable>
605 </bsbObject>
606 <bsbObject version="2" type="BSBDisplay">
607 <objectName>Feedback</objectName>
608 <x>448</x>
609 <y>213</y>
610 <width>60</width>
611 <height>30</height>
612 <uuid>{72854ca7-b440-493d-b677-f4a67a0ed75e}</uuid>
613 <visible>true</visible>
614 <midichan>0</midichan>
615 <midicc>0</midicc>
616 <label>0.945</label>
617 <alignment>right</alignment>
618 <font>Liberation Sans</font>
619 <fontsize>9</fontsize>
620 <precision>3</precision>
621 <color>
622 <r>0</r>
623 <g>0</g>
624 <b>0</b>
625 </color>
626 <bgcolor mode="nobackground">
627 <r>255</r>
628 <g>255</g>
629 <b>255</b>
630 </bgcolor>
631 <bordermode>noborder</bordermode>
632 <borderradius>1</borderradius>
633 <borderwidth>1</borderwidth>
634 </bsbObject>
635 <bsbObject version="2" type="BSBLabel">
636 <objectName/>
637 <x>8</x>
638 <y>258</y>
639 <width>220</width>
640 <height>30</height>
641 <uuid>{8de52ff4-51cf-40fb-a799-1935f776a024}</uuid>
642 <visible>true</visible>
643 <midichan>0</midichan>
644 <midicc>0</midicc>
645 <label>Output Amplitude Scaling</label>
646 <alignment>left</alignment>
647 <font>Liberation Sans</font>
648 <fontsize>10</fontsize>
649 <precision>3</precision>
650 <color>
651 <r>0</r>
652 <g>0</g>
653 <b>0</b>
654 </color>
655 <bgcolor mode="nobackground">
656 <r>255</r>
657 <g>255</g>
658 <b>255</b>
659 </bgcolor>
660 <bordermode>noborder</bordermode>
661 <borderradius>1</borderradius>
662 <borderwidth>1</borderwidth>
663 </bsbObject>
664 <bsbObject version="2" type="BSBHSlider">
665 <objectName>Amplitude</objectName>
666 <x>8</x>
667 <y>236</y>
668 <width>500</width>
669 <height>27</height>
670 <uuid>{ef4a79ff-67ee-4b6b-aeec-738ffa990908}</uuid>
671 <visible>true</visible>
672 <midichan>0</midichan>
673 <midicc>0</midicc>
674 <minimum>0.00000000</minimum>
675 <maximum>1.00000000</maximum>
676 <value>0.69600000</value>
677 <mode>lin</mode>
678 <mouseControl act="jump">continuous</mouseControl>
679 <resolution>-1.00000000</resolution>
680 <randomizable group="0">false</randomizable>
681 </bsbObject>
682 <bsbObject version="2" type="BSBDisplay">
683 <objectName>Amplitude</objectName>
684 <x>448</x>
685 <y>258</y>
686 <width>60</width>
687 <height>30</height>
688 <uuid>{bf95854f-bbe2-43f0-88d8-611ad16c0987}</uuid>
689 <visible>true</visible>
690 <midichan>0</midichan>
691 <midicc>0</midicc>
692 <label>0.696</label>
693 <alignment>right</alignment>
694 <font>Liberation Sans</font>
695 <fontsize>9</fontsize>
696 <precision>3</precision>
697 <color>
698 <r>0</r>
699 <g>0</g>
700 <b>0</b>
701 </color>
702 <bgcolor mode="nobackground">
703 <r>255</r>
704 <g>255</g>
705 <b>255</b>
706 </bgcolor>
707 <bordermode>noborder</bordermode>
708 <borderradius>1</borderradius>
709 <borderwidth>1</borderwidth>
710 </bsbObject>
711 </bsbPanel>
712 <bsbPresets>
713 </bsbPresets>
714 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>