Debian Codegraph @

src/Examples/McCurdy Collection/Filters/resony.csd

raw
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>
17 sr = 44100 ;SAMPLE RATE
18 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
19 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
20
21
22 ;TABLES FOR EXP SLIDER
23 giExp10000 ftgen 0, 0, 129, -25, 0, 0.1, 128, 10000.0
24 giExp20000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0
25
26
27 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
28 ;gives stereo output regardless your soundfile is mono or stereo
29 Sfil, kspeed, iskip, iloop xin
30 ichn filenchnls Sfil
31 if ichn == 1 then
32 aL diskin2 Sfil, kspeed, iskip, iloop
33 aR = aL
34 else
35 aL, aR diskin2 Sfil, kspeed, iskip, iloop
36 endif
37 xout aL, aR
38 endop
39
40
41 instr 1 ;GUI
42 ktrig metro 10
43 if (ktrig == 1) then
44
45 Sfile_new strcpy "" ;INIT TO EMPTY STRING
46
47 kbf invalue "Base_Frequency"
48 gkbf tablei kbf, giExp20000, 1
49 outvalue "Base_Frequency_Value", gkbf
50
51 kbw invalue "Bandwidth"
52 gkbw tablei kbw, giExp10000, 1
53 outvalue "Bandwidth_Value", gkbw
54
55 gkgain invalue "Output_Gain"
56
57 gksepmode invalue "Separation_Mode"
58 gkscl invalue "Scaling_Mode"
59 gknum invalue "Number_Filters"
60 gkskip invalue "Initialisation"
61
62 ;IF SEPARATION MODE IS 'HERTZ' THEN SEPARATION SHOULD NOT BE LESS THAT 0, THE FOLLOWING LINES OF CODE PROTECT AGAINST THIS
63 gksep invalue "Separation"
64 if gksepmode==1 then ;IF gksepmode IS 'HERTZ'...
65 gksep = abs(gksep) ;...FINAL SEPARATION VALUE IS AN ABSOLUTE VERSION OF gksep (I.E. CANNOT BE NEGATIVE)
66 endif ;END OF CONDITIONAL BRANCHING
67 outvalue "Separation_Value", gksep ;UPDATE SEPARATION DISPLAY BOX IF VALUE HAS CHANGED
68
69 gSfile invalue "_Browse"
70 Sfile_old strcpyk Sfile_new
71 Sfile_new strcpyk gSfile
72 gkfile strcmpk Sfile_new, Sfile_old
73 endif
74 endin
75
76 instr 2
77 kporttime linseg 0,0.001,0.005,1,0.005 ;CREATE A VARIABLE FUNCTION THAT RAPIDLY RAMPS UP TO A SET VALUE
78 kbf portk gkbf, kporttime ;SMOOTH MOVEMENT OF SLIDER VARIABLE
79
80
81 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)
82 if kNew_file=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
83 reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
84 endif
85 NEW_FILE:
86 ;OUTPUTS OPCODE FILE | SPEED | INSKIP | LOOPING (0=OFF 1=ON)
87 asigL, asigR FilePlay2 gSfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A STEREO SOUND FILE
88 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
89
90 kSwitch changed gkscl, gkskip, gknum, gksepmode ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
91 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
92 reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
93 endif
94 START:
95 ksep lineto gksep, 0.05 ;SMOOTH MOVEMENT OF SLIDER VARIABLE
96 aresL resony asigL, kbf, gkbw, i(gknum), ksep , i(gksepmode), i(gkscl), i(gkskip)
97 aresR resony asigR, kbf, gkbw, i(gknum), ksep , i(gksepmode), i(gkscl), i(gkskip)
98 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
99 outs aresL * gkgain, aresR * gkgain ;SEND FILTER OUTPUT TO THE AUDIO OUTPUTS AND SCALE USING THE FLTK SLIDER VARIABLE gkgain
100 endin
101 </CsInstruments>
102 <CsScore>
103 ;INSTR | START | DURATION
104 i 1 0 3600 ;GUI
105 </CsScore>
106 </CsoundSynthesizer>
107
108 <bsbPanel>
109 <label>Widgets</label>
110 <objectName/>
111 <x>314</x>
112 <y>257</y>
113 <width>1051</width>
114 <height>505</height>
115 <visible>true</visible>
116 <uuid/>
117 <bgcolor mode="background">
118 <r>241</r>
119 <g>226</g>
120 <b>185</b>
121 </bgcolor>
122 <bsbObject version="2" type="BSBLabel">
123 <objectName/>
124 <x>2</x>
125 <y>2</y>
126 <width>512</width>
127 <height>490</height>
128 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
129 <visible>true</visible>
130 <midichan>0</midichan>
131 <midicc>0</midicc>
132 <label>resony</label>
133 <alignment>center</alignment>
134 <font>Liberation Sans</font>
135 <fontsize>18</fontsize>
136 <precision>3</precision>
137 <color>
138 <r>0</r>
139 <g>0</g>
140 <b>0</b>
141 </color>
142 <bgcolor mode="background">
143 <r>106</r>
144 <g>117</g>
145 <b>150</b>
146 </bgcolor>
147 <bordermode>border</bordermode>
148 <borderradius>5</borderradius>
149 <borderwidth>2</borderwidth>
150 </bsbObject>
151 <bsbObject version="2" type="BSBLabel">
152 <objectName/>
153 <x>515</x>
154 <y>2</y>
155 <width>527</width>
156 <height>490</height>
157 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
158 <visible>true</visible>
159 <midichan>0</midichan>
160 <midicc>0</midicc>
161 <label>resony</label>
162 <alignment>center</alignment>
163 <font>Liberation Sans</font>
164 <fontsize>18</fontsize>
165 <precision>3</precision>
166 <color>
167 <r>0</r>
168 <g>0</g>
169 <b>0</b>
170 </color>
171 <bgcolor mode="background">
172 <r>106</r>
173 <g>117</g>
174 <b>150</b>
175 </bgcolor>
176 <bordermode>border</bordermode>
177 <borderradius>5</borderradius>
178 <borderwidth>2</borderwidth>
179 </bsbObject>
180 <bsbObject version="2" type="BSBLabel">
181 <objectName/>
182 <x>517</x>
183 <y>15</y>
184 <width>523</width>
185 <height>479</height>
186 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
187 <visible>true</visible>
188 <midichan>0</midichan>
189 <midicc>0</midicc>
190 <label>--------------------------------------------------------------------------------------------------------------------------------
191 Resony is an implementation of a stack of second-order band--pass filters whose centre frequencies are arithmetically related. The 'bandwidth', 'scaling mode' and 'skip initialisation' parameters are as they are in the reson opcode. 'inum' (number of filters) defines the number of filters in the stack. 'ksep' (separation) defines the separation between the lowest and highest filter in the stack in octaves. How this relates to what the actual centre frequencies of filters differs depending upon which separation mode has been selected and is explained below. 'kbf' (base frequency) defines the centre frequency of the lowest filter. In 'octave' separation mode the pitch interval between the base frequency and (base frequency + separation) is divided into equal intervals according to the number of filters that have been selected. Note that no filter is created at the frequency of (base frequency + separation). For example: if separation=1 and num.filters=2 filters will be created at the base frequency and a tritone above the base frequency (i.e. a interval of 1/2 and octave). If 'hertz' separation mode is selected behaviour is somewhat curious. A filter is never created at the base frequency, this is probably a bug but a simple workaround would be to create a filter separately using a single instance of the reson opcode. Therefore if num.filters=1 no filters are actually created! num.filters=2 creates a single filter and so on. The frequency relationship between filters in the stack always follows the harmonic series. num.filters defines how many stages up the harmonic series are created - remember the fundemental will always be absent! In 'hertz' mode, 'base frequency' and 'separation' have the same effect of moving the entire stack of filters up and down the frequency domain. Negative values for 'separation' are allowed whenever 'separation mode' is 'octaves' (if this is the case, the stack of frequencies will extend below the base frequency). Negative values for 'separation' when 'separation mode' is 'hertz' will cause filters to 'explode'. The code in this example allows negative values for 'separation' whenever 'separation mode' is 'octaves' but prevents them whenever 'separation mode' is 'hertz'.</label>
192 <alignment>left</alignment>
193 <font>Arial</font>
194 <fontsize>14</fontsize>
195 <precision>3</precision>
196 <color>
197 <r>0</r>
198 <g>0</g>
199 <b>0</b>
200 </color>
201 <bgcolor mode="nobackground">
202 <r>255</r>
203 <g>255</g>
204 <b>255</b>
205 </bgcolor>
206 <bordermode>noborder</bordermode>
207 <borderradius>1</borderradius>
208 <borderwidth>1</borderwidth>
209 </bsbObject>
210 <bsbObject version="2" type="BSBButton">
211 <objectName/>
212 <x>8</x>
213 <y>6</y>
214 <width>100</width>
215 <height>30</height>
216 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
217 <visible>true</visible>
218 <midichan>0</midichan>
219 <midicc>0</midicc>
220 <type>event</type>
221 <pressedValue>1.00000000</pressedValue>
222 <stringvalue/>
223 <text> ON / OFF</text>
224 <image>/</image>
225 <eventLine>i 2 0 -1</eventLine>
226 <latch>true</latch>
227 <latched>false</latched>
228 </bsbObject>
229 <bsbObject version="2" type="BSBDisplay">
230 <objectName>Base_Frequency_Value</objectName>
231 <x>448</x>
232 <y>63</y>
233 <width>60</width>
234 <height>30</height>
235 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
236 <visible>true</visible>
237 <midichan>0</midichan>
238 <midicc>0</midicc>
239 <label>998.129</label>
240 <alignment>right</alignment>
241 <font>Arial</font>
242 <fontsize>9</fontsize>
243 <precision>3</precision>
244 <color>
245 <r>0</r>
246 <g>0</g>
247 <b>0</b>
248 </color>
249 <bgcolor mode="nobackground">
250 <r>255</r>
251 <g>255</g>
252 <b>255</b>
253 </bgcolor>
254 <bordermode>noborder</bordermode>
255 <borderradius>1</borderradius>
256 <borderwidth>1</borderwidth>
257 </bsbObject>
258 <bsbObject version="2" type="BSBHSlider">
259 <objectName>Base_Frequency</objectName>
260 <x>8</x>
261 <y>46</y>
262 <width>500</width>
263 <height>27</height>
264 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
265 <visible>true</visible>
266 <midichan>0</midichan>
267 <midicc>0</midicc>
268 <minimum>0.00000000</minimum>
269 <maximum>1.00000000</maximum>
270 <value>0.56600000</value>
271 <mode>lin</mode>
272 <mouseControl act="jump">continuous</mouseControl>
273 <resolution>-1.00000000</resolution>
274 <randomizable group="0">false</randomizable>
275 </bsbObject>
276 <bsbObject version="2" type="BSBLabel">
277 <objectName/>
278 <x>8</x>
279 <y>63</y>
280 <width>180</width>
281 <height>30</height>
282 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
283 <visible>true</visible>
284 <midichan>0</midichan>
285 <midicc>0</midicc>
286 <label>Base Frequency</label>
287 <alignment>left</alignment>
288 <font>Arial</font>
289 <fontsize>10</fontsize>
290 <precision>3</precision>
291 <color>
292 <r>0</r>
293 <g>0</g>
294 <b>0</b>
295 </color>
296 <bgcolor mode="nobackground">
297 <r>255</r>
298 <g>255</g>
299 <b>255</b>
300 </bgcolor>
301 <bordermode>noborder</bordermode>
302 <borderradius>1</borderradius>
303 <borderwidth>1</borderwidth>
304 </bsbObject>
305 <bsbObject version="2" type="BSBHSlider">
306 <objectName>Bandwidth</objectName>
307 <x>8</x>
308 <y>84</y>
309 <width>500</width>
310 <height>27</height>
311 <uuid>{42fe25e5-e98f-4f00-872c-f791822a1b3e}</uuid>
312 <visible>true</visible>
313 <midichan>0</midichan>
314 <midicc>0</midicc>
315 <minimum>0.00000000</minimum>
316 <maximum>1.00000000</maximum>
317 <value>0.49800000</value>
318 <mode>lin</mode>
319 <mouseControl act="jump">continuous</mouseControl>
320 <resolution>-1.00000000</resolution>
321 <randomizable group="0">false</randomizable>
322 </bsbObject>
323 <bsbObject version="2" type="BSBDisplay">
324 <objectName>Bandwidth_Value</objectName>
325 <x>448</x>
326 <y>101</y>
327 <width>60</width>
328 <height>30</height>
329 <uuid>{a8f35453-f236-447d-88d9-1a0b135383b6}</uuid>
330 <visible>true</visible>
331 <midichan>0</midichan>
332 <midicc>0</midicc>
333 <label>30.926</label>
334 <alignment>right</alignment>
335 <font>Arial</font>
336 <fontsize>9</fontsize>
337 <precision>3</precision>
338 <color>
339 <r>0</r>
340 <g>0</g>
341 <b>0</b>
342 </color>
343 <bgcolor mode="nobackground">
344 <r>255</r>
345 <g>255</g>
346 <b>255</b>
347 </bgcolor>
348 <bordermode>noborder</bordermode>
349 <borderradius>1</borderradius>
350 <borderwidth>1</borderwidth>
351 </bsbObject>
352 <bsbObject version="2" type="BSBButton">
353 <objectName>Initialisation</objectName>
354 <x>380</x>
355 <y>6</y>
356 <width>130</width>
357 <height>30</height>
358 <uuid>{88395e38-ecab-4818-bef3-1a18b504f914}</uuid>
359 <visible>true</visible>
360 <midichan>0</midichan>
361 <midicc>0</midicc>
362 <type>value</type>
363 <pressedValue>1.00000000</pressedValue>
364 <stringvalue/>
365 <text> No Initialisation</text>
366 <image>/</image>
367 <eventLine/>
368 <latch>true</latch>
369 <latched>false</latched>
370 </bsbObject>
371 <bsbObject version="2" type="BSBButton">
372 <objectName>_Browse</objectName>
373 <x>7</x>
374 <y>416</y>
375 <width>170</width>
376 <height>30</height>
377 <uuid>{43341095-bc3a-4607-bd0e-01254da7bc67}</uuid>
378 <visible>true</visible>
379 <midichan>0</midichan>
380 <midicc>0</midicc>
381 <type>value</type>
382 <pressedValue>1.00000000</pressedValue>
383 <stringvalue>Seashore.wav</stringvalue>
384 <text>Browse Audio File</text>
385 <image>/</image>
386 <eventLine/>
387 <latch>false</latch>
388 <latched>false</latched>
389 </bsbObject>
390 <bsbObject version="2" type="BSBLineEdit">
391 <objectName>_Browse</objectName>
392 <x>177</x>
393 <y>417</y>
394 <width>330</width>
395 <height>28</height>
396 <uuid>{b66f3878-dfd0-4290-9b9d-73be88197222}</uuid>
397 <visible>true</visible>
398 <midichan>0</midichan>
399 <midicc>0</midicc>
400 <label>Seashore.wav</label>
401 <alignment>left</alignment>
402 <font>Arial</font>
403 <fontsize>10</fontsize>
404 <precision>3</precision>
405 <color>
406 <r>0</r>
407 <g>0</g>
408 <b>0</b>
409 </color>
410 <bgcolor mode="nobackground">
411 <r>229</r>
412 <g>229</g>
413 <b>229</b>
414 </bgcolor>
415 <background>nobackground</background>
416 </bsbObject>
417 <bsbObject version="2" type="BSBLabel">
418 <objectName/>
419 <x>8</x>
420 <y>347</y>
421 <width>160</width>
422 <height>30</height>
423 <uuid>{7e1e7af4-88dd-4046-a781-fa2dc828b980}</uuid>
424 <visible>true</visible>
425 <midichan>0</midichan>
426 <midicc>0</midicc>
427 <label>File Input</label>
428 <alignment>left</alignment>
429 <font>Arial</font>
430 <fontsize>10</fontsize>
431 <precision>3</precision>
432 <color>
433 <r>0</r>
434 <g>0</g>
435 <b>0</b>
436 </color>
437 <bgcolor mode="nobackground">
438 <r>255</r>
439 <g>255</g>
440 <b>255</b>
441 </bgcolor>
442 <bordermode>noborder</bordermode>
443 <borderradius>1</borderradius>
444 <borderwidth>1</borderwidth>
445 </bsbObject>
446 <bsbObject version="2" type="BSBDropdown">
447 <objectName>Scaling_Mode</objectName>
448 <x>184</x>
449 <y>142</y>
450 <width>250</width>
451 <height>30</height>
452 <uuid>{b8bfe659-5312-49a2-9638-79871f93a3c3}</uuid>
453 <visible>true</visible>
454 <midichan>0</midichan>
455 <midicc>0</midicc>
456 <bsbDropdownItemList>
457 <bsbDropdownItem>
458 <name>None</name>
459 <value>0</value>
460 <stringvalue/>
461 </bsbDropdownItem>
462 <bsbDropdownItem>
463 <name>Peak Response Factor = 1</name>
464 <value>1</value>
465 <stringvalue/>
466 </bsbDropdownItem>
467 <bsbDropdownItem>
468 <name>Overall RMS Response Factor = 1</name>
469 <value>2</value>
470 <stringvalue/>
471 </bsbDropdownItem>
472 </bsbDropdownItemList>
473 <selectedIndex>1</selectedIndex>
474 <randomizable group="0">false</randomizable>
475 </bsbObject>
476 <bsbObject version="2" type="BSBLabel">
477 <objectName/>
478 <x>85</x>
479 <y>142</y>
480 <width>100</width>
481 <height>30</height>
482 <uuid>{ce8e6e3a-e84e-4ef0-9084-00ec44afb9ba}</uuid>
483 <visible>true</visible>
484 <midichan>0</midichan>
485 <midicc>0</midicc>
486 <label>Scaling Mode</label>
487 <alignment>right</alignment>
488 <font>Arial</font>
489 <fontsize>10</fontsize>
490 <precision>3</precision>
491 <color>
492 <r>0</r>
493 <g>0</g>
494 <b>0</b>
495 </color>
496 <bgcolor mode="nobackground">
497 <r>255</r>
498 <g>255</g>
499 <b>255</b>
500 </bgcolor>
501 <bordermode>noborder</bordermode>
502 <borderradius>1</borderradius>
503 <borderwidth>1</borderwidth>
504 </bsbObject>
505 <bsbObject version="2" type="BSBLabel">
506 <objectName/>
507 <x>8</x>
508 <y>214</y>
509 <width>160</width>
510 <height>30</height>
511 <uuid>{84df1cbe-b2a7-4a3c-bb4c-91bd48efb2ea}</uuid>
512 <visible>true</visible>
513 <midichan>0</midichan>
514 <midicc>0</midicc>
515 <label>Output Gain</label>
516 <alignment>left</alignment>
517 <font>Arial</font>
518 <fontsize>10</fontsize>
519 <precision>3</precision>
520 <color>
521 <r>0</r>
522 <g>0</g>
523 <b>0</b>
524 </color>
525 <bgcolor mode="nobackground">
526 <r>255</r>
527 <g>255</g>
528 <b>255</b>
529 </bgcolor>
530 <bordermode>noborder</bordermode>
531 <borderradius>1</borderradius>
532 <borderwidth>1</borderwidth>
533 </bsbObject>
534 <bsbObject version="2" type="BSBHSlider">
535 <objectName>Output_Gain</objectName>
536 <x>8</x>
537 <y>197</y>
538 <width>500</width>
539 <height>27</height>
540 <uuid>{f4302743-9d62-480e-823e-48caef584b70}</uuid>
541 <visible>true</visible>
542 <midichan>0</midichan>
543 <midicc>0</midicc>
544 <minimum>0.00000000</minimum>
545 <maximum>5.00000000</maximum>
546 <value>0.99000000</value>
547 <mode>lin</mode>
548 <mouseControl act="jump">continuous</mouseControl>
549 <resolution>-1.00000000</resolution>
550 <randomizable group="0">false</randomizable>
551 </bsbObject>
552 <bsbObject version="2" type="BSBDisplay">
553 <objectName>Output_Gain</objectName>
554 <x>448</x>
555 <y>214</y>
556 <width>60</width>
557 <height>30</height>
558 <uuid>{64e46c55-ba7a-4cc6-9b81-55365860a8f1}</uuid>
559 <visible>true</visible>
560 <midichan>0</midichan>
561 <midicc>0</midicc>
562 <label>0.990</label>
563 <alignment>right</alignment>
564 <font>Arial</font>
565 <fontsize>9</fontsize>
566 <precision>3</precision>
567 <color>
568 <r>0</r>
569 <g>0</g>
570 <b>0</b>
571 </color>
572 <bgcolor mode="nobackground">
573 <r>255</r>
574 <g>255</g>
575 <b>255</b>
576 </bgcolor>
577 <bordermode>noborder</bordermode>
578 <borderradius>1</borderradius>
579 <borderwidth>1</borderwidth>
580 </bsbObject>
581 <bsbObject version="2" type="BSBLabel">
582 <objectName/>
583 <x>8</x>
584 <y>101</y>
585 <width>180</width>
586 <height>30</height>
587 <uuid>{027163fb-bbfe-488e-9351-1c1cd9a9d626}</uuid>
588 <visible>true</visible>
589 <midichan>0</midichan>
590 <midicc>0</midicc>
591 <label>Bandwidth</label>
592 <alignment>left</alignment>
593 <font>Arial</font>
594 <fontsize>10</fontsize>
595 <precision>3</precision>
596 <color>
597 <r>0</r>
598 <g>0</g>
599 <b>0</b>
600 </color>
601 <bgcolor mode="nobackground">
602 <r>255</r>
603 <g>255</g>
604 <b>255</b>
605 </bgcolor>
606 <bordermode>noborder</bordermode>
607 <borderradius>1</borderradius>
608 <borderwidth>1</borderwidth>
609 </bsbObject>
610 <bsbObject version="2" type="BSBDropdown">
611 <objectName>Separation_Mode</objectName>
612 <x>353</x>
613 <y>247</y>
614 <width>120</width>
615 <height>30</height>
616 <uuid>{edca663b-aea2-4040-a052-1423ca8e65f3}</uuid>
617 <visible>true</visible>
618 <midichan>0</midichan>
619 <midicc>0</midicc>
620 <bsbDropdownItemList>
621 <bsbDropdownItem>
622 <name>octaves</name>
623 <value>0</value>
624 <stringvalue/>
625 </bsbDropdownItem>
626 <bsbDropdownItem>
627 <name>hertz</name>
628 <value>1</value>
629 <stringvalue/>
630 </bsbDropdownItem>
631 </bsbDropdownItemList>
632 <selectedIndex>0</selectedIndex>
633 <randomizable group="0">false</randomizable>
634 </bsbObject>
635 <bsbObject version="2" type="BSBLabel">
636 <objectName/>
637 <x>233</x>
638 <y>247</y>
639 <width>120</width>
640 <height>30</height>
641 <uuid>{085c151c-ba9a-438e-9df9-6dcdd371e566}</uuid>
642 <visible>true</visible>
643 <midichan>0</midichan>
644 <midicc>0</midicc>
645 <label>Separation Mode</label>
646 <alignment>right</alignment>
647 <font>Arial</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="BSBSpinBox">
665 <objectName>Number_Filters</objectName>
666 <x>163</x>
667 <y>247</y>
668 <width>50</width>
669 <height>28</height>
670 <uuid>{4d8bed66-a9e2-4f11-8986-61bdee1b18aa}</uuid>
671 <visible>true</visible>
672 <midichan>0</midichan>
673 <midicc>0</midicc>
674 <alignment>left</alignment>
675 <font>Arial</font>
676 <fontsize>14</fontsize>
677 <color>
678 <r>0</r>
679 <g>0</g>
680 <b>0</b>
681 </color>
682 <bgcolor mode="nobackground">
683 <r>255</r>
684 <g>255</g>
685 <b>255</b>
686 </bgcolor>
687 <resolution>1.00000000</resolution>
688 <minimum>1</minimum>
689 <maximum>80</maximum>
690 <randomizable group="0">false</randomizable>
691 <value>10</value>
692 </bsbObject>
693 <bsbObject version="2" type="BSBLabel">
694 <objectName/>
695 <x>44</x>
696 <y>247</y>
697 <width>120</width>
698 <height>30</height>
699 <uuid>{5f394325-ca74-40c3-8169-7b02bcf8c0a1}</uuid>
700 <visible>true</visible>
701 <midichan>0</midichan>
702 <midicc>0</midicc>
703 <label>Number of Filters</label>
704 <alignment>right</alignment>
705 <font>Arial</font>
706 <fontsize>10</fontsize>
707 <precision>3</precision>
708 <color>
709 <r>0</r>
710 <g>0</g>
711 <b>0</b>
712 </color>
713 <bgcolor mode="nobackground">
714 <r>255</r>
715 <g>255</g>
716 <b>255</b>
717 </bgcolor>
718 <bordermode>noborder</bordermode>
719 <borderradius>1</borderradius>
720 <borderwidth>1</borderwidth>
721 </bsbObject>
722 <bsbObject version="2" type="BSBDisplay">
723 <objectName>Separation_Value</objectName>
724 <x>448</x>
725 <y>317</y>
726 <width>60</width>
727 <height>30</height>
728 <uuid>{0e422740-2e35-443f-8155-a638a91368a8}</uuid>
729 <visible>true</visible>
730 <midichan>0</midichan>
731 <midicc>0</midicc>
732 <label>2.728</label>
733 <alignment>right</alignment>
734 <font>Arial</font>
735 <fontsize>9</fontsize>
736 <precision>3</precision>
737 <color>
738 <r>0</r>
739 <g>0</g>
740 <b>0</b>
741 </color>
742 <bgcolor mode="nobackground">
743 <r>255</r>
744 <g>255</g>
745 <b>255</b>
746 </bgcolor>
747 <bordermode>noborder</bordermode>
748 <borderradius>1</borderradius>
749 <borderwidth>1</borderwidth>
750 </bsbObject>
751 <bsbObject version="2" type="BSBHSlider">
752 <objectName>Separation</objectName>
753 <x>8</x>
754 <y>300</y>
755 <width>500</width>
756 <height>27</height>
757 <uuid>{f50b9c64-0279-4a4a-8493-5a5b19c7d087}</uuid>
758 <visible>true</visible>
759 <midichan>0</midichan>
760 <midicc>0</midicc>
761 <minimum>-11.00000000</minimum>
762 <maximum>11.00000000</maximum>
763 <value>2.72800000</value>
764 <mode>lin</mode>
765 <mouseControl act="jump">continuous</mouseControl>
766 <resolution>-1.00000000</resolution>
767 <randomizable group="0">false</randomizable>
768 </bsbObject>
769 <bsbObject version="2" type="BSBLabel">
770 <objectName/>
771 <x>8</x>
772 <y>317</y>
773 <width>160</width>
774 <height>30</height>
775 <uuid>{49c5b0ff-6255-4fcd-8858-dbc13373e145}</uuid>
776 <visible>true</visible>
777 <midichan>0</midichan>
778 <midicc>0</midicc>
779 <label>Separation (octaves)</label>
780 <alignment>left</alignment>
781 <font>Arial</font>
782 <fontsize>10</fontsize>
783 <precision>3</precision>
784 <color>
785 <r>0</r>
786 <g>0</g>
787 <b>0</b>
788 </color>
789 <bgcolor mode="nobackground">
790 <r>255</r>
791 <g>255</g>
792 <b>255</b>
793 </bgcolor>
794 <bordermode>noborder</bordermode>
795 <borderradius>1</borderradius>
796 <borderwidth>1</borderwidth>
797 </bsbObject>
798 </bsbPanel>
799 <bsbPresets>
800 </bsbPresets>
801 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel>