Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2010
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 ;Wguide2 implements 2 delays and first order lowpass filters with feedback in a single unit opcode.
13 ;This arrangement is as shown below:
14 ;
15 ; +-----<-----[FEEDBACK]<-------+
16 ; | |
17 ; | +-----+ +--------------+ |
18 ; +->+DELAY+->+LOWPASS FILTER+->+
19 ; +-----+ +--------------+
20 ; |
21 ; IN->+------------------------------>OUT
22 ; |
23 ; +-----+ +--------------+
24 ; +->+DELAY+->+LOWPASS FILTER+->+
25 ; ^ +-----+ +--------------+ |
26 ; | |
27 ; +-----<-----[FEEDBACK]<-------+
28
29
30 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
31 <CsoundSynthesizer>
32 <CsOptions>
33 --env:SSDIR+=../../SourceMaterials
34 </CsOptions>
35 <CsInstruments>
36 sr = 44100 ;SAMPLE RATE
37 ksmps = 32 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
38 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
39 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
40
41
42 ;TABLES FOR EXP SLIDER
43 giExp1 ftgen 0, 0, 129, -25, 0, 20.0, 128, 10000.0
44 giExp2 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0
45
46
47 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
48 ;gives stereo output regardless your soundfile is mono or stereo
49 Sfil, kspeed, iskip, iloop xin
50 ichn filenchnls Sfil
51 if ichn == 1 then
52 aL diskin2 Sfil, kspeed, iskip, iloop
53 aR = aL
54 else
55 aL, aR diskin2 Sfil, kspeed, iskip, iloop
56 endif
57 xout aL, aR
58 endop
59
60 instr 1 ;GUI & INPUT
61 ;GUI
62 ktrig metro 10
63 if (ktrig == 1) then
64 kingain invalue "InputGain"
65 kfreq1 invalue "Freq1"
66 gkfreq1 tablei kfreq1, giExp1, 1
67 outvalue "Freq1_Value", gkfreq1
68 kfreq2 invalue "Freq2"
69 gkfreq2 tablei kfreq2, giExp1, 1
70 outvalue "Freq2_Value", gkfreq2
71 kcutoff1 invalue "Cutoff1"
72 gkcutoff1 tablei kcutoff1, giExp2, 1
73 outvalue "Cutoff1_Value", gkcutoff1
74 kcutoff2 invalue "Cutoff2"
75 gkcutoff2 tablei kcutoff2, giExp2, 1
76 outvalue "Cutoff2_Value", gkcutoff2
77 gkfeedback1 invalue "Feedback1"
78 gkfeedback2 invalue "Feedback2"
79 gkamp invalue "Amplitude"
80 kinput invalue "Input"
81
82 Sfile_new strcpy "" ;INIT TO EMPTY STRING
83 Sfile invalue "_Browse"
84 Sfile_old strcpyk Sfile_new
85 Sfile_new strcpyk Sfile
86 kfile strcmpk Sfile_new, Sfile_old
87 endif
88 ;INPUT
89 if kinput==0 then ;IF INPUT 'Audio File' IS SELECTED...
90 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)
91 if kNew_file=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
92 reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'NEW_FILE'
93 endif
94 NEW_FILE:
95 gasigL, gasigR FilePlay2 Sfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A SOUND FILE
96 rireturn
97 elseif kinput==1 then ;IF INPUT 'Live' IS SELECTED...
98 asigL, asigR ins ;TAKE INPUT FROM COMPUTER'S AUDIO INPUT
99 gasigL = asigL * kingain ;SCALE USING 'Input Gain' SLIDER
100 gasigR = asigR * kingain ;SCALE USING 'Input Gain' SLIDER
101 else ;OTHERWISE...
102 kint random 0.1,0.4 ;INTERVAL BETWEEN IMPULSES IS RANDOMISED SLIGHTLY
103 a1 mpulse 4,kint ;GENERATE IMPULSES
104 kcfoct randomi 6,12,2 ;GENERATE RANDOM VALUES FOR FILTER CUTOFF FREQUENCY (OCT FORMAT)
105 gasigL butlp a1, cpsoct(kcfoct) ;LOWPASS FILTER STREAM OF CLICKS
106 gasigR = gasigL ;SET RIGHT CHANNEL SIGNAL TO THE SAME AS THE LEFT CHANNEL SIGNAL
107 endif
108 endin
109
110 instr 2 ;WGUIDE2 INSTRUMENT
111 iporttime = 0.1 ;I-RATE VARIABLE DEFINITION OF PORTAMENTO TIME
112 kporttime linseg 0, 0.01, iporttime, 1, iporttime ;RAMPING UP FROM ZERO VERSION OF PORTAMENTO TIME VARIABLE
113 kfreq1 portk gkfreq1, kporttime ;SMOOTH VARIABLE CHANGES WITH PORTK
114 afreq1 interp kfreq1 ;INTERPOLATE TO CREATE A-RATE VERSION OF K-RATE VARIABLE
115 kfreq2 portk gkfreq2, kporttime ;SMOOTH VARIABLE CHANGES WITH PORTK
116 afreq2 interp kfreq2 ;INTERPOLATE TO CREATE A-RATE VERSION OF K-RATE VARIABLE
117
118 ;OUTPUT OPCODE | INPUT | FREQ1&2 | LPF_CUTOFF_FREQ 1&2 | FEEDBACK_RATIO 1&2
119 aresL wguide2 gasigL, afreq1, afreq2, gkcutoff1, gkcutoff2, gkfeedback1, gkfeedback2
120 aresR wguide2 gasigR, afreq1, afreq2, gkcutoff1, gkcutoff2, gkfeedback1, gkfeedback2
121 aresL dcblock2 aresL ;BLOCK DC OFFSET
122 aresR dcblock2 aresR ;BLOCK DC OFFSET
123 outs aresL * gkamp, aresR * gkamp ;SEND wguide2 OUTPUT TO THE AUDIO OUTPUTS AND SCALE USING THE GUI SLIDER VARIABLE gkamp
124 clear gasigL, gasigR ;CLEAR GLOBAL AUDIO VARIABLES
125 endin
126
127 instr 3 ;INIT
128 outvalue "Freq1" , 0.2786
129 outvalue "Cutoff1" , 1.0
130 outvalue "Feedback1" , 0.27
131 outvalue "Freq2" , 0.4206
132 outvalue "Cutoff2" , 1.0
133 outvalue "Feedback2" , 0.23
134 outvalue "Amplitude" , 0.7
135 endin
136 </CsInstruments>
137 <CsScore>
138 i 1 0 3600 ;GUI
139 i 3 0 0.01 ;INIT
140 </CsScore>
141 </CsoundSynthesizer>
142
143 <bsbPanel>
144 <label>Widgets</label>
145 <objectName/>
146 <x>1162</x>
147 <y>142</y>
148 <width>920</width>
149 <height>486</height>
150 <visible>true</visible>
151 <uuid/>
152 <bgcolor mode="background">
153 <r>241</r>
154 <g>226</g>
155 <b>185</b>
156 </bgcolor>
157 <bsbObject version="2" type="BSBLabel">
158 <objectName/>
159 <x>2</x>
160 <y>2</y>
161 <width>512</width>
162 <height>480</height>
163 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
164 <visible>true</visible>
165 <midichan>0</midichan>
166 <midicc>0</midicc>
167 <label>wguide2</label>
168 <alignment>center</alignment>
169 <font>Liberation Sans</font>
170 <fontsize>18</fontsize>
171 <precision>3</precision>
172 <color>
173 <r>0</r>
174 <g>0</g>
175 <b>0</b>
176 </color>
177 <bgcolor mode="background">
178 <r>170</r>
179 <g>170</g>
180 <b>170</b>
181 </bgcolor>
182 <bordermode>border</bordermode>
183 <borderradius>5</borderradius>
184 <borderwidth>2</borderwidth>
185 </bsbObject>
186 <bsbObject version="2" type="BSBLabel">
187 <objectName/>
188 <x>8</x>
189 <y>78</y>
190 <width>220</width>
191 <height>30</height>
192 <uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid>
193 <visible>true</visible>
194 <midichan>0</midichan>
195 <midicc>0</midicc>
196 <label>Live Input Gain</label>
197 <alignment>left</alignment>
198 <font>Liberation Sans</font>
199 <fontsize>10</fontsize>
200 <precision>3</precision>
201 <color>
202 <r>0</r>
203 <g>0</g>
204 <b>0</b>
205 </color>
206 <bgcolor mode="nobackground">
207 <r>255</r>
208 <g>255</g>
209 <b>255</b>
210 </bgcolor>
211 <bordermode>noborder</bordermode>
212 <borderradius>1</borderradius>
213 <borderwidth>1</borderwidth>
214 </bsbObject>
215 <bsbObject version="2" type="BSBHSlider">
216 <objectName>InputGain</objectName>
217 <x>8</x>
218 <y>56</y>
219 <width>500</width>
220 <height>27</height>
221 <uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid>
222 <visible>true</visible>
223 <midichan>0</midichan>
224 <midicc>0</midicc>
225 <minimum>0.00000000</minimum>
226 <maximum>1.00000000</maximum>
227 <value>0.58000000</value>
228 <mode>lin</mode>
229 <mouseControl act="jump">continuous</mouseControl>
230 <resolution>-1.00000000</resolution>
231 <randomizable group="0">false</randomizable>
232 </bsbObject>
233 <bsbObject version="2" type="BSBButton">
234 <objectName/>
235 <x>8</x>
236 <y>20</y>
237 <width>80</width>
238 <height>26</height>
239 <uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid>
240 <visible>true</visible>
241 <midichan>0</midichan>
242 <midicc>0</midicc>
243 <type>event</type>
244 <pressedValue>1.00000000</pressedValue>
245 <stringvalue/>
246 <text> On / Off</text>
247 <image>/</image>
248 <eventLine>i 2 0 -1</eventLine>
249 <latch>true</latch>
250 <latched>false</latched>
251 </bsbObject>
252 <bsbObject version="2" type="BSBLabel">
253 <objectName/>
254 <x>516</x>
255 <y>2</y>
256 <width>399</width>
257 <height>480</height>
258 <uuid>{cd1b9ee0-e607-49ed-9a8d-37ebb3d7fe8f}</uuid>
259 <visible>true</visible>
260 <midichan>0</midichan>
261 <midicc>0</midicc>
262 <label>wguide2</label>
263 <alignment>center</alignment>
264 <font>Liberation Sans</font>
265 <fontsize>18</fontsize>
266 <precision>3</precision>
267 <color>
268 <r>0</r>
269 <g>0</g>
270 <b>0</b>
271 </color>
272 <bgcolor mode="background">
273 <r>170</r>
274 <g>170</g>
275 <b>170</b>
276 </bgcolor>
277 <bordermode>border</bordermode>
278 <borderradius>5</borderradius>
279 <borderwidth>2</borderwidth>
280 </bsbObject>
281 <bsbObject version="2" type="BSBLabel">
282 <objectName/>
283 <x>519</x>
284 <y>18</y>
285 <width>392</width>
286 <height>350</height>
287 <uuid>{16d3e28c-026e-45ef-b167-57f393c4e2d5}</uuid>
288 <visible>true</visible>
289 <midichan>0</midichan>
290 <midicc>0</midicc>
291 <label>-----------------------------------------------------------------------------------------------
292 Wguide2 implements 2 delays and first order lowpass filters with feedback in a single unit opcode.
293 This arrangement is as shown in the csd.
294 Wguide2 can imbue the resonant characteristics of a metal plate to an impulse signal.
295 In this implementation three options for the impulse (input) signal are provided:
296
297 (1) Sound file
298 (2) Live input
299 (3) a stream of click impulses.
300
301 As both feedback loops impact upon the feedback of the entire system care should be taken in adjusting them.
302 To prevent out of control resonance, the sum of both feedback parameters should not exceed 0.5.</label>
303 <alignment>left</alignment>
304 <font>Liberation Sans</font>
305 <fontsize>14</fontsize>
306 <precision>3</precision>
307 <color>
308 <r>0</r>
309 <g>0</g>
310 <b>0</b>
311 </color>
312 <bgcolor mode="nobackground">
313 <r>255</r>
314 <g>255</g>
315 <b>255</b>
316 </bgcolor>
317 <bordermode>noborder</bordermode>
318 <borderradius>1</borderradius>
319 <borderwidth>1</borderwidth>
320 </bsbObject>
321 <bsbObject version="2" type="BSBDisplay">
322 <objectName>InputGain</objectName>
323 <x>448</x>
324 <y>78</y>
325 <width>60</width>
326 <height>30</height>
327 <uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid>
328 <visible>true</visible>
329 <midichan>0</midichan>
330 <midicc>0</midicc>
331 <label>0.502</label>
332 <alignment>right</alignment>
333 <font>Liberation Sans</font>
334 <fontsize>9</fontsize>
335 <precision>3</precision>
336 <color>
337 <r>0</r>
338 <g>0</g>
339 <b>0</b>
340 </color>
341 <bgcolor mode="nobackground">
342 <r>255</r>
343 <g>255</g>
344 <b>255</b>
345 </bgcolor>
346 <bordermode>noborder</bordermode>
347 <borderradius>1</borderradius>
348 <borderwidth>1</borderwidth>
349 </bsbObject>
350 <bsbObject version="2" type="BSBDropdown">
351 <objectName>Input</objectName>
352 <x>178</x>
353 <y>409</y>
354 <width>120</width>
355 <height>30</height>
356 <uuid>{9b81a1f2-bcb8-4582-925b-9ae56def3865}</uuid>
357 <visible>true</visible>
358 <midichan>0</midichan>
359 <midicc>0</midicc>
360 <bsbDropdownItemList>
361 <bsbDropdownItem>
362 <name>Audio File</name>
363 <value>0</value>
364 <stringvalue/>
365 </bsbDropdownItem>
366 <bsbDropdownItem>
367 <name>Live Input</name>
368 <value>1</value>
369 <stringvalue/>
370 </bsbDropdownItem>
371 <bsbDropdownItem>
372 <name>Impulses</name>
373 <value>2</value>
374 <stringvalue/>
375 </bsbDropdownItem>
376 </bsbDropdownItemList>
377 <selectedIndex>0</selectedIndex>
378 <randomizable group="0">false</randomizable>
379 </bsbObject>
380 <bsbObject version="2" type="BSBLabel">
381 <objectName/>
382 <x>96</x>
383 <y>409</y>
384 <width>80</width>
385 <height>30</height>
386 <uuid>{62eeb695-9b83-42da-81cd-8000c232d9b9}</uuid>
387 <visible>true</visible>
388 <midichan>0</midichan>
389 <midicc>0</midicc>
390 <label>Input</label>
391 <alignment>right</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>255</r>
402 <g>255</g>
403 <b>255</b>
404 </bgcolor>
405 <bordermode>noborder</bordermode>
406 <borderradius>1</borderradius>
407 <borderwidth>1</borderwidth>
408 </bsbObject>
409 <bsbObject version="2" type="BSBButton">
410 <objectName>_Browse</objectName>
411 <x>6</x>
412 <y>447</y>
413 <width>170</width>
414 <height>30</height>
415 <uuid>{9b992da1-8c0f-449e-af03-7913cc05efed}</uuid>
416 <visible>true</visible>
417 <midichan>0</midichan>
418 <midicc>0</midicc>
419 <type>value</type>
420 <pressedValue>1.00000000</pressedValue>
421 <stringvalue>Seashore.wav</stringvalue>
422 <text>Browse Audio File</text>
423 <image>/</image>
424 <eventLine/>
425 <latch>false</latch>
426 <latched>false</latched>
427 </bsbObject>
428 <bsbObject version="2" type="BSBLineEdit">
429 <objectName>_Browse</objectName>
430 <x>178</x>
431 <y>448</y>
432 <width>330</width>
433 <height>28</height>
434 <uuid>{15a8ec14-710f-43e6-be9e-f5dc8c8786cb}</uuid>
435 <visible>true</visible>
436 <midichan>0</midichan>
437 <midicc>0</midicc>
438 <label>Seashore.wav</label>
439 <alignment>left</alignment>
440 <font>Arial</font>
441 <fontsize>10</fontsize>
442 <precision>3</precision>
443 <color>
444 <r>0</r>
445 <g>0</g>
446 <b>0</b>
447 </color>
448 <bgcolor mode="nobackground">
449 <r>206</r>
450 <g>206</g>
451 <b>206</b>
452 </bgcolor>
453 <background>nobackground</background>
454 </bsbObject>
455 <bsbObject version="2" type="BSBLabel">
456 <objectName/>
457 <x>8</x>
458 <y>123</y>
459 <width>220</width>
460 <height>30</height>
461 <uuid>{1daeb2b9-bae2-4c0a-939b-62c3ea3ac853}</uuid>
462 <visible>true</visible>
463 <midichan>0</midichan>
464 <midicc>0</midicc>
465 <label>Frequency 1</label>
466 <alignment>left</alignment>
467 <font>Liberation Sans</font>
468 <fontsize>10</fontsize>
469 <precision>3</precision>
470 <color>
471 <r>0</r>
472 <g>0</g>
473 <b>0</b>
474 </color>
475 <bgcolor mode="nobackground">
476 <r>255</r>
477 <g>255</g>
478 <b>255</b>
479 </bgcolor>
480 <bordermode>noborder</bordermode>
481 <borderradius>1</borderradius>
482 <borderwidth>1</borderwidth>
483 </bsbObject>
484 <bsbObject version="2" type="BSBHSlider">
485 <objectName>Freq1</objectName>
486 <x>8</x>
487 <y>101</y>
488 <width>500</width>
489 <height>27</height>
490 <uuid>{b378cb0c-4cee-4f42-86ad-2a0d9524d355}</uuid>
491 <visible>true</visible>
492 <midichan>0</midichan>
493 <midicc>0</midicc>
494 <minimum>0.00000000</minimum>
495 <maximum>1.00000000</maximum>
496 <value>0.27860001</value>
497 <mode>lin</mode>
498 <mouseControl act="jump">continuous</mouseControl>
499 <resolution>-1.00000000</resolution>
500 <randomizable group="0">false</randomizable>
501 </bsbObject>
502 <bsbObject version="2" type="BSBDisplay">
503 <objectName>Freq1_Value</objectName>
504 <x>448</x>
505 <y>123</y>
506 <width>60</width>
507 <height>30</height>
508 <uuid>{cf1f320e-c59c-4b26-82b5-f405ba7194fa}</uuid>
509 <visible>true</visible>
510 <midichan>0</midichan>
511 <midicc>0</midicc>
512 <label>113.000</label>
513 <alignment>right</alignment>
514 <font>Liberation Sans</font>
515 <fontsize>9</fontsize>
516 <precision>3</precision>
517 <color>
518 <r>0</r>
519 <g>0</g>
520 <b>0</b>
521 </color>
522 <bgcolor mode="nobackground">
523 <r>255</r>
524 <g>255</g>
525 <b>255</b>
526 </bgcolor>
527 <bordermode>noborder</bordermode>
528 <borderradius>1</borderradius>
529 <borderwidth>1</borderwidth>
530 </bsbObject>
531 <bsbObject version="2" type="BSBHSlider">
532 <objectName>Freq2</objectName>
533 <x>8</x>
534 <y>146</y>
535 <width>500</width>
536 <height>27</height>
537 <uuid>{2e1f3a23-2e04-44eb-98e7-edaed6ee7738}</uuid>
538 <visible>true</visible>
539 <midichan>0</midichan>
540 <midicc>0</midicc>
541 <minimum>0.00000000</minimum>
542 <maximum>1.00000000</maximum>
543 <value>0.42060000</value>
544 <mode>lin</mode>
545 <mouseControl act="jump">continuous</mouseControl>
546 <resolution>-1.00000000</resolution>
547 <randomizable group="0">false</randomizable>
548 </bsbObject>
549 <bsbObject version="2" type="BSBLabel">
550 <objectName/>
551 <x>8</x>
552 <y>298</y>
553 <width>220</width>
554 <height>30</height>
555 <uuid>{e42ccc90-ebf9-46dd-8039-f576154182be}</uuid>
556 <visible>true</visible>
557 <midichan>0</midichan>
558 <midicc>0</midicc>
559 <label>Feedback 1</label>
560 <alignment>left</alignment>
561 <font>Liberation Sans</font>
562 <fontsize>10</fontsize>
563 <precision>3</precision>
564 <color>
565 <r>0</r>
566 <g>0</g>
567 <b>0</b>
568 </color>
569 <bgcolor mode="nobackground">
570 <r>255</r>
571 <g>255</g>
572 <b>255</b>
573 </bgcolor>
574 <bordermode>noborder</bordermode>
575 <borderradius>1</borderradius>
576 <borderwidth>1</borderwidth>
577 </bsbObject>
578 <bsbObject version="2" type="BSBHSlider">
579 <objectName>Feedback1</objectName>
580 <x>8</x>
581 <y>276</y>
582 <width>500</width>
583 <height>27</height>
584 <uuid>{75cac143-6654-4010-8cb5-fc135e0c20a4}</uuid>
585 <visible>true</visible>
586 <midichan>0</midichan>
587 <midicc>0</midicc>
588 <minimum>0.00000000</minimum>
589 <maximum>0.99900000</maximum>
590 <value>0.27000001</value>
591 <mode>lin</mode>
592 <mouseControl act="jump">continuous</mouseControl>
593 <resolution>-1.00000000</resolution>
594 <randomizable group="0">false</randomizable>
595 </bsbObject>
596 <bsbObject version="2" type="BSBDisplay">
597 <objectName>Feedback1</objectName>
598 <x>448</x>
599 <y>298</y>
600 <width>60</width>
601 <height>30</height>
602 <uuid>{72854ca7-b440-493d-b677-f4a67a0ed75e}</uuid>
603 <visible>true</visible>
604 <midichan>0</midichan>
605 <midicc>0</midicc>
606 <label>0.270</label>
607 <alignment>right</alignment>
608 <font>Liberation Sans</font>
609 <fontsize>9</fontsize>
610 <precision>3</precision>
611 <color>
612 <r>0</r>
613 <g>0</g>
614 <b>0</b>
615 </color>
616 <bgcolor mode="nobackground">
617 <r>255</r>
618 <g>255</g>
619 <b>255</b>
620 </bgcolor>
621 <bordermode>noborder</bordermode>
622 <borderradius>1</borderradius>
623 <borderwidth>1</borderwidth>
624 </bsbObject>
625 <bsbObject version="2" type="BSBLabel">
626 <objectName/>
627 <x>8</x>
628 <y>165</y>
629 <width>220</width>
630 <height>30</height>
631 <uuid>{9c2e23bf-ca72-4b2c-a99f-b6772ee736f7}</uuid>
632 <visible>true</visible>
633 <midichan>0</midichan>
634 <midicc>0</midicc>
635 <label>Frequency 2</label>
636 <alignment>left</alignment>
637 <font>Liberation Sans</font>
638 <fontsize>10</fontsize>
639 <precision>3</precision>
640 <color>
641 <r>0</r>
642 <g>0</g>
643 <b>0</b>
644 </color>
645 <bgcolor mode="nobackground">
646 <r>255</r>
647 <g>255</g>
648 <b>255</b>
649 </bgcolor>
650 <bordermode>noborder</bordermode>
651 <borderradius>1</borderradius>
652 <borderwidth>1</borderwidth>
653 </bsbObject>
654 <bsbObject version="2" type="BSBDisplay">
655 <objectName>Freq2_Value</objectName>
656 <x>448</x>
657 <y>165</y>
658 <width>60</width>
659 <height>30</height>
660 <uuid>{f4bb4812-56d2-4d6a-b88f-ceaa5252764e}</uuid>
661 <visible>true</visible>
662 <midichan>0</midichan>
663 <midicc>0</midicc>
664 <label>273.078</label>
665 <alignment>right</alignment>
666 <font>Liberation Sans</font>
667 <fontsize>9</fontsize>
668 <precision>3</precision>
669 <color>
670 <r>0</r>
671 <g>0</g>
672 <b>0</b>
673 </color>
674 <bgcolor mode="nobackground">
675 <r>255</r>
676 <g>255</g>
677 <b>255</b>
678 </bgcolor>
679 <bordermode>noborder</bordermode>
680 <borderradius>1</borderradius>
681 <borderwidth>1</borderwidth>
682 </bsbObject>
683 <bsbObject version="2" type="BSBLabel">
684 <objectName/>
685 <x>8</x>
686 <y>253</y>
687 <width>220</width>
688 <height>30</height>
689 <uuid>{fb4c2ea6-45d1-4cc2-ac15-251b3e6f8dd7}</uuid>
690 <visible>true</visible>
691 <midichan>0</midichan>
692 <midicc>0</midicc>
693 <label>LPF Cutoff Frequency 2</label>
694 <alignment>left</alignment>
695 <font>Liberation Sans</font>
696 <fontsize>10</fontsize>
697 <precision>3</precision>
698 <color>
699 <r>0</r>
700 <g>0</g>
701 <b>0</b>
702 </color>
703 <bgcolor mode="nobackground">
704 <r>255</r>
705 <g>255</g>
706 <b>255</b>
707 </bgcolor>
708 <bordermode>noborder</bordermode>
709 <borderradius>1</borderradius>
710 <borderwidth>1</borderwidth>
711 </bsbObject>
712 <bsbObject version="2" type="BSBHSlider">
713 <objectName>Cutoff2</objectName>
714 <x>8</x>
715 <y>231</y>
716 <width>500</width>
717 <height>27</height>
718 <uuid>{cc1c5b49-3ee5-4c25-a2fb-10e67720328e}</uuid>
719 <visible>true</visible>
720 <midichan>0</midichan>
721 <midicc>0</midicc>
722 <minimum>0.00000000</minimum>
723 <maximum>1.00000000</maximum>
724 <value>1.00000000</value>
725 <mode>lin</mode>
726 <mouseControl act="jump">continuous</mouseControl>
727 <resolution>-1.00000000</resolution>
728 <randomizable group="0">false</randomizable>
729 </bsbObject>
730 <bsbObject version="2" type="BSBDisplay">
731 <objectName>Cutoff2_Value</objectName>
732 <x>448</x>
733 <y>253</y>
734 <width>60</width>
735 <height>30</height>
736 <uuid>{9f824988-e743-4a46-b6f8-f38443525daa}</uuid>
737 <visible>true</visible>
738 <midichan>0</midichan>
739 <midicc>0</midicc>
740 <label>20000.010</label>
741 <alignment>right</alignment>
742 <font>Liberation Sans</font>
743 <fontsize>9</fontsize>
744 <precision>3</precision>
745 <color>
746 <r>0</r>
747 <g>0</g>
748 <b>0</b>
749 </color>
750 <bgcolor mode="nobackground">
751 <r>255</r>
752 <g>255</g>
753 <b>255</b>
754 </bgcolor>
755 <bordermode>noborder</bordermode>
756 <borderradius>1</borderradius>
757 <borderwidth>1</borderwidth>
758 </bsbObject>
759 <bsbObject version="2" type="BSBLabel">
760 <objectName/>
761 <x>8</x>
762 <y>342</y>
763 <width>220</width>
764 <height>30</height>
765 <uuid>{49df84b0-d9df-41fd-86d9-fa4ca6e6ba9f}</uuid>
766 <visible>true</visible>
767 <midichan>0</midichan>
768 <midicc>0</midicc>
769 <label>Feedback 2</label>
770 <alignment>left</alignment>
771 <font>Liberation Sans</font>
772 <fontsize>10</fontsize>
773 <precision>3</precision>
774 <color>
775 <r>0</r>
776 <g>0</g>
777 <b>0</b>
778 </color>
779 <bgcolor mode="nobackground">
780 <r>255</r>
781 <g>255</g>
782 <b>255</b>
783 </bgcolor>
784 <bordermode>noborder</bordermode>
785 <borderradius>1</borderradius>
786 <borderwidth>1</borderwidth>
787 </bsbObject>
788 <bsbObject version="2" type="BSBHSlider">
789 <objectName>Feedback2</objectName>
790 <x>8</x>
791 <y>320</y>
792 <width>500</width>
793 <height>27</height>
794 <uuid>{3b608fcd-c770-4a03-ae60-8d6f66b9299e}</uuid>
795 <visible>true</visible>
796 <midichan>0</midichan>
797 <midicc>0</midicc>
798 <minimum>0.00000000</minimum>
799 <maximum>0.99900000</maximum>
800 <value>0.23000000</value>
801 <mode>lin</mode>
802 <mouseControl act="jump">continuous</mouseControl>
803 <resolution>-1.00000000</resolution>
804 <randomizable group="0">false</randomizable>
805 </bsbObject>
806 <bsbObject version="2" type="BSBDisplay">
807 <objectName>Feedback2</objectName>
808 <x>448</x>
809 <y>342</y>
810 <width>60</width>
811 <height>30</height>
812 <uuid>{007cedae-4a69-4555-8c57-ee7907b48b91}</uuid>
813 <visible>true</visible>
814 <midichan>0</midichan>
815 <midicc>0</midicc>
816 <label>0.230</label>
817 <alignment>right</alignment>
818 <font>Liberation Sans</font>
819 <fontsize>9</fontsize>
820 <precision>3</precision>
821 <color>
822 <r>0</r>
823 <g>0</g>
824 <b>0</b>
825 </color>
826 <bgcolor mode="nobackground">
827 <r>255</r>
828 <g>255</g>
829 <b>255</b>
830 </bgcolor>
831 <bordermode>noborder</bordermode>
832 <borderradius>1</borderradius>
833 <borderwidth>1</borderwidth>
834 </bsbObject>
835 <bsbObject version="2" type="BSBLabel">
836 <objectName/>
837 <x>8</x>
838 <y>386</y>
839 <width>220</width>
840 <height>30</height>
841 <uuid>{c16720de-0aff-42a2-bd77-7b55cfb98521}</uuid>
842 <visible>true</visible>
843 <midichan>0</midichan>
844 <midicc>0</midicc>
845 <label>Output Amplitude Scaling</label>
846 <alignment>left</alignment>
847 <font>Liberation Sans</font>
848 <fontsize>10</fontsize>
849 <precision>3</precision>
850 <color>
851 <r>0</r>
852 <g>0</g>
853 <b>0</b>
854 </color>
855 <bgcolor mode="nobackground">
856 <r>255</r>
857 <g>255</g>
858 <b>255</b>
859 </bgcolor>
860 <bordermode>noborder</bordermode>
861 <borderradius>1</borderradius>
862 <borderwidth>1</borderwidth>
863 </bsbObject>
864 <bsbObject version="2" type="BSBHSlider">
865 <objectName>Amplitude</objectName>
866 <x>8</x>
867 <y>364</y>
868 <width>500</width>
869 <height>27</height>
870 <uuid>{c27cb3ac-ab29-4cdc-9d88-6dc7c3b31f32}</uuid>
871 <visible>true</visible>
872 <midichan>0</midichan>
873 <midicc>0</midicc>
874 <minimum>0.00000000</minimum>
875 <maximum>1.00000000</maximum>
876 <value>0.69999999</value>
877 <mode>lin</mode>
878 <mouseControl act="jump">continuous</mouseControl>
879 <resolution>-1.00000000</resolution>
880 <randomizable group="0">false</randomizable>
881 </bsbObject>
882 <bsbObject version="2" type="BSBDisplay">
883 <objectName>Amplitude</objectName>
884 <x>448</x>
885 <y>386</y>
886 <width>60</width>
887 <height>30</height>
888 <uuid>{64062023-ce9a-4aaa-8a53-28f1a67ce4e2}</uuid>
889 <visible>true</visible>
890 <midichan>0</midichan>
891 <midicc>0</midicc>
892 <label>0.700</label>
893 <alignment>right</alignment>
894 <font>Liberation Sans</font>
895 <fontsize>9</fontsize>
896 <precision>3</precision>
897 <color>
898 <r>0</r>
899 <g>0</g>
900 <b>0</b>
901 </color>
902 <bgcolor mode="nobackground">
903 <r>255</r>
904 <g>255</g>
905 <b>255</b>
906 </bgcolor>
907 <bordermode>noborder</bordermode>
908 <borderradius>1</borderradius>
909 <borderwidth>1</borderwidth>
910 </bsbObject>
911 <bsbObject version="2" type="BSBLabel">
912 <objectName/>
913 <x>8</x>
914 <y>209</y>
915 <width>220</width>
916 <height>30</height>
917 <uuid>{a256f411-1ec8-4ee5-a194-facf0001e20f}</uuid>
918 <visible>true</visible>
919 <midichan>0</midichan>
920 <midicc>0</midicc>
921 <label>LPF Cutoff Frequency 1</label>
922 <alignment>left</alignment>
923 <font>Liberation Sans</font>
924 <fontsize>10</fontsize>
925 <precision>3</precision>
926 <color>
927 <r>0</r>
928 <g>0</g>
929 <b>0</b>
930 </color>
931 <bgcolor mode="nobackground">
932 <r>255</r>
933 <g>255</g>
934 <b>255</b>
935 </bgcolor>
936 <bordermode>noborder</bordermode>
937 <borderradius>1</borderradius>
938 <borderwidth>1</borderwidth>
939 </bsbObject>
940 <bsbObject version="2" type="BSBHSlider">
941 <objectName>Cutoff1</objectName>
942 <x>8</x>
943 <y>187</y>
944 <width>500</width>
945 <height>27</height>
946 <uuid>{95bdad02-3ae8-4877-be18-2ebd131fd9d0}</uuid>
947 <visible>true</visible>
948 <midichan>0</midichan>
949 <midicc>0</midicc>
950 <minimum>0.00000000</minimum>
951 <maximum>1.00000000</maximum>
952 <value>1.00000000</value>
953 <mode>lin</mode>
954 <mouseControl act="jump">continuous</mouseControl>
955 <resolution>-1.00000000</resolution>
956 <randomizable group="0">false</randomizable>
957 </bsbObject>
958 <bsbObject version="2" type="BSBDisplay">
959 <objectName>Cutoff1_Value</objectName>
960 <x>448</x>
961 <y>209</y>
962 <width>60</width>
963 <height>30</height>
964 <uuid>{7283d045-c7ee-421f-be9e-17eee7be8df9}</uuid>
965 <visible>true</visible>
966 <midichan>0</midichan>
967 <midicc>0</midicc>
968 <label>20000.010</label>
969 <alignment>right</alignment>
970 <font>Liberation Sans</font>
971 <fontsize>9</fontsize>
972 <precision>3</precision>
973 <color>
974 <r>0</r>
975 <g>0</g>
976 <b>0</b>
977 </color>
978 <bgcolor mode="nobackground">
979 <r>255</r>
980 <g>255</g>
981 <b>255</b>
982 </bgcolor>
983 <bordermode>noborder</bordermode>
984 <borderradius>1</borderradius>
985 <borderwidth>1</borderwidth>
986 </bsbObject>
987 </bsbPanel>
988 <bsbPresets>
989 </bsbPresets>
990 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>