Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2010
2
3 ;Modified for QuteCsound by René, October 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 ; Removed recording instrument (included in QuteCsound)
10 ; Instrument 1 is activated by MIDI and by the GUI, portamento added
11 ; Modified the macro CONTROLLER and now included in GUI instrument
12 ; Removed giconcave and kactive
13 ; Add init instrument 2
14
15
16 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5
17 <CsoundSynthesizer>
18 <CsOptions>
19 --env:SSDIR+=../../SourceMaterials
20 </CsOptions>
21 <CsInstruments>
22 sr = 44100 ;SAMPLE RATE
23 ksmps = 16 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
24 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
25 0dbfs = 1
26
27
28 ;TABLES FOR EXP SLIDER
29 giExp2 ftgen 0, 0, 129, -25, 0, 0.125, 128, 2.0
30 giExp5 ftgen 0, 0, 129, -25, 0, 0.01, 128, 5.0
31 giExp20 ftgen 0, 0, 129, -25, 0, 1.0, 128, 20.0
32 giExp15000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 15000.0
33
34
35 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
36 ;gives stereo output regardless your soundfile is mono or stereo
37 Sfil, kspeed, iskip, iloop xin
38 ichn filenchnls Sfil
39 if ichn == 1 then
40 aL diskin2 Sfil, kspeed, iskip, iloop
41 aR = aL
42 else
43 aL, aR diskin2 Sfil, kspeed, iskip, iloop
44 endif
45 xout aL, aR
46 endop
47
48
49 instr 10 ;GUI
50
51 Sfile_new strcpy "" ;INIT TO EMPTY STRING
52
53 ktrig metro 10
54 if (ktrig == 1) then
55 gkslope invalue "Slope"
56 gkbalance invalue "Balance"
57
58 kspeed invalue "Playback_Speed"
59 gkspeed tablei kspeed, giExp2, 1
60 outvalue "Playback_Speed_Value", gkspeed
61 khp invalue "Balance_Half_Point"
62 gkhp tablei khp, giExp20, 1
63 outvalue "Balance_Half_Point_Value", gkhp
64 gkInGain invalue "Input_Gain"
65 gkAtt invalue "Attack_Time"
66 gkRel invalue "Release"
67 gkgain invalue "Amplitude"
68 kfreq invalue "X_Frequency"
69 gkfreq tablei kfreq, giExp15000, 1
70 outvalue "X_Frequency_Value", gkfreq
71 kband invalue "Y_Bandwidth"
72 gkband tablei kband, giExp5, 1
73 outvalue "Y_Bandwidth_Value", gkband
74 gkinput invalue "Input"
75
76 gSfile invalue "_Browse"
77 Sfile_old strcpyk Sfile_new
78 Sfile_new strcpyk gSfile
79 gkfile strcmpk Sfile_new, Sfile_old
80
81 endif
82
83 ;A MACRO IS DEFINE TO PREVENT CODE REPETITION
84 #define CONTROLLER(NAME'NUMBER)
85 # ;START OF MACRO
86 k$NAME ctrl7 1,$NUMBER,0,1 ;READ MIDI CONTROLLER ON CHANNEL 1
87 ktrig$NAME changed k$NAME ;CREATE A TRIGGER PULSE IF MIDI CONTROLLER IS MOVED
88 if ktrig$NAME=1 then ;IF MIDI SLIDER HAS BEEN MOVED
89 outvalue "$NAME", k$NAME ;UPDATE LINEAR SLIDER
90 endif ;END OF THIS CONDITIONAL BRANCH
91 # ;END OF MACRO
92
93 ; NAME NUM
94 $CONTROLLER(X_Frequency' 1) ;EXPAND MACRO
95 $CONTROLLER(Y_Bandwidth' 2) ;EXPAND MACRO
96 $CONTROLLER(Playback_Speed' 3) ;EXPAND MACRO
97
98 endin
99
100 instr 1
101 if p4!=0 then ;MIDI
102 ioct = p4 ;READ OCT VALUE FROM MIDI INPUT
103
104 ;PITCH BEND===========================================================================================================================================================
105 iSemitoneBendRange = 24 ;PITCH BEND RANGE IN SEMITONES
106 imin = 0 ;EQUILIBRIUM POSITION
107 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
108 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
109 kfreq = cpsoct(ioct + kbend)
110 ;=====================================================================================================================================================================
111 else ;GUI
112 kfreq = gkfreq ;SET FUNDEMENTAL TO SLIDER X_Frequency
113 endif
114
115 kporttime linseg 0,0.001,0.05 ;CREATE A VARIABLE FUNCTION THAT RAPIDLY RAMPS UP TO A SET VALUE
116 kfreq portk kfreq, kporttime ;CUTOFF FREQ. IS A SMOOTHED VERSION OF SLIDER FOR CUTOFF FREQUENCY
117 kband portk gkband, kporttime ;SMOOTH MOVEMENT OF SLIDER VARIABLE
118 kspeed portk gkspeed, kporttime ;SMOOTH MOVEMENT OF SLIDER VARIABLE
119 kband limit kband*kfreq, 0, 10000 ;SCALE BANDWIDTH ACCORDING TO CUTOFF FREQUENCY VALUE - LIMIT VALUE TO PREVENT FILTER 'EXPLOSION'
120
121 if gkinput=0 then
122 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)
123 if kNew_file=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
124 reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
125 endif
126 NEW_FILE:
127 ;OUTPUTS OPCODE FILE | SPEED | INSKIP | LOOPING (0=OFF 1=ON)
128 asigL, asigR FilePlay2 gSfile, kspeed, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A STEREO SOUND FILE
129 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
130 else
131 asigL,asigR ins
132 asigL = asigL * gkInGain
133 asigR = asigR * gkInGain
134 endif
135
136 aresL butbp asigL, kfreq, kband, 0 ;FILTER EACH CHANNEL SEPARATELY
137 aresR butbp asigR, kfreq, kband, 0 ;FILTER EACH CHANNEL SEPARATELY
138 if gkslope=1 then ;IF SLOPE SWITCH IS ON 48dB PER OCTAVE
139 aresL butbp aresL, kfreq, kband, 0 ;FILTER EACH CHANNEL SEPARATELY
140 aresR butbp aresR, kfreq, kband, 0 ;FILTER EACH CHANNEL SEPARATELY
141 endif ;END OF THIS CONDITIONAL BRANCH
142 if gkbalance=1 then ;IF BALANCVE SWITCH IS ON
143 ktrig changed gkhp
144 if ktrig=1 then
145 reinit UPDATE
146 endif
147 UPDATE:
148 aresL balance aresL, asigL, i(gkhp) ;APPLY 'BALANCE' DYNAMICS PROCESSING
149 aresR balance aresR, asigR, i(gkhp) ;APPLY 'BALANCE' DYNAMICS PROCESSING
150 rireturn
151 endif ;END OF THIS CONDITIONAL BRANCH
152
153 aenv expsegr 0.0001,i(gkAtt),1,i(gkRel),0.0001 ;CLOUD AMPLITUDE ENVELOPE
154 aresL = aresL * gkgain * aenv ;SCALE AUDIO SIGNAL WITH FLTK GAIN SLIDER AND ENVELOPE
155 aresR = aresR * gkgain * aenv ;SCALE AUDIO SIGNAL WITH FLTK GAIN SLIDER AND ENVELOPE
156 outs aresL, aresR ;SEND AUDIO TO OUTPUTS
157 endin
158
159 instr 2 ;INIT
160 outvalue "X_Frequency", 0.5
161 outvalue "Y_Bandwidth", 0.5
162 outvalue "Playback_Speed", 0.75
163 endin
164 </CsInstruments>
165 <CsScore>
166 ;INSTR | START | DURATION
167 i 10 0 3600 ;GUI, PLAYS FOR 1 HOUR
168 i 2 0.1 0 ;INIT
169 </CsScore>
170 </CsoundSynthesizer>
171
172
173 <bsbPanel>
174 <label>Widgets</label>
175 <objectName/>
176 <x>73</x>
177 <y>116</y>
178 <width>822</width>
179 <height>646</height>
180 <visible>true</visible>
181 <uuid/>
182 <bgcolor mode="background">
183 <r>241</r>
184 <g>226</g>
185 <b>185</b>
186 </bgcolor>
187 <bsbObject version="2" type="BSBLabel">
188 <objectName/>
189 <x>2</x>
190 <y>2</y>
191 <width>512</width>
192 <height>640</height>
193 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
194 <visible>true</visible>
195 <midichan>0</midichan>
196 <midicc>0</midicc>
197 <description/>
198 <label>Bandpass</label>
199 <alignment>center</alignment>
200 <valignment>top</valignment>
201 <font>Liberation Sans</font>
202 <fontsize>18</fontsize>
203 <precision>3</precision>
204 <color>
205 <r>0</r>
206 <g>0</g>
207 <b>0</b>
208 </color>
209 <bgcolor mode="background">
210 <r>106</r>
211 <g>117</g>
212 <b>150</b>
213 </bgcolor>
214 <bordermode>border</bordermode>
215 <borderradius>5</borderradius>
216 <borderwidth>2</borderwidth>
217 </bsbObject>
218 <bsbObject version="2" type="BSBLabel">
219 <objectName/>
220 <x>516</x>
221 <y>2</y>
222 <width>306</width>
223 <height>640</height>
224 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
225 <visible>true</visible>
226 <midichan>0</midichan>
227 <midicc>0</midicc>
228 <description/>
229 <label>Bandpass</label>
230 <alignment>center</alignment>
231 <valignment>top</valignment>
232 <font>Liberation Sans</font>
233 <fontsize>18</fontsize>
234 <precision>3</precision>
235 <color>
236 <r>0</r>
237 <g>0</g>
238 <b>0</b>
239 </color>
240 <bgcolor mode="background">
241 <r>106</r>
242 <g>117</g>
243 <b>150</b>
244 </bgcolor>
245 <bordermode>border</bordermode>
246 <borderradius>5</borderradius>
247 <borderwidth>2</borderwidth>
248 </bsbObject>
249 <bsbObject version="2" type="BSBLabel">
250 <objectName/>
251 <x>520</x>
252 <y>25</y>
253 <width>296</width>
254 <height>598</height>
255 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
256 <visible>true</visible>
257 <midichan>0</midichan>
258 <midicc>0</midicc>
259 <description/>
260 <label>-------------------------------------------------------------------------------
261 This example is an implementation of a bandpass filter using Csound's butterworth bandpass filter (butterbp/butbp) but with some extra options added. Cutoff frequency and bandwidth can be controlled via the on-screen x-y panel. The actual value used for bandwidth is proportional to the current value of the cutoff frequency, this gives a slightly more musical response. The normal cutoff slope for a butterworth bandpass filter is 24 decibels per octave (dB/oct). By activating the slope switch the steepness of this slope is doubled to 48dB/oct by engaging another iteration of the butbp opcode. Activating the 'Balance' switch applies Csound's 'balance' opcode to the output of the filter, this opcode modifies the dynamics of the signal given to it to match those of the signal pre-filtering. The half-point of the smoothing of its response - effectively the response speed - can be adjusted. This is an i-rate variable so realtime adjustments causes discontinuities in the realtime audio output. Cutoff frequency, bandwidth and playback speed of the input sound file can also be modulated using MIDI controllers 1, 2 and 3 respectively. MIDI controller modulation is reflected in the on screen sliders. If the instrument is activated by MIDI notes, MIDI pitch is interpretted as cutoff frequency, in this mode the GUI and MIDI controller assignment for cutoff frequency is ignored.</label>
262 <alignment>left</alignment>
263 <valignment>top</valignment>
264 <font>Arial</font>
265 <fontsize>14</fontsize>
266 <precision>3</precision>
267 <color>
268 <r>0</r>
269 <g>0</g>
270 <b>0</b>
271 </color>
272 <bgcolor mode="nobackground">
273 <r>255</r>
274 <g>255</g>
275 <b>255</b>
276 </bgcolor>
277 <bordermode>noborder</bordermode>
278 <borderradius>1</borderradius>
279 <borderwidth>0</borderwidth>
280 </bsbObject>
281 <bsbObject version="2" type="BSBButton">
282 <objectName/>
283 <x>10</x>
284 <y>40</y>
285 <width>150</width>
286 <height>30</height>
287 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
288 <visible>true</visible>
289 <midichan>0</midichan>
290 <midicc>0</midicc>
291 <description/>
292 <type>event</type>
293 <pressedValue>1.00000000</pressedValue>
294 <stringvalue/>
295 <text> On / Off (MIDI)</text>
296 <image>/</image>
297 <eventLine>i 1 0 -1</eventLine>
298 <latch>true</latch>
299 <latched>false</latched>
300 <fontsize>10</fontsize>
301 </bsbObject>
302 <bsbObject version="2" type="BSBDisplay">
303 <objectName>Input_Gain</objectName>
304 <x>447</x>
305 <y>103</y>
306 <width>60</width>
307 <height>30</height>
308 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
309 <visible>true</visible>
310 <midichan>0</midichan>
311 <midicc>0</midicc>
312 <description/>
313 <label>0.000</label>
314 <alignment>right</alignment>
315 <valignment>top</valignment>
316 <font>Arial</font>
317 <fontsize>9</fontsize>
318 <precision>3</precision>
319 <color>
320 <r>0</r>
321 <g>0</g>
322 <b>0</b>
323 </color>
324 <bgcolor mode="nobackground">
325 <r>255</r>
326 <g>255</g>
327 <b>255</b>
328 </bgcolor>
329 <bordermode>noborder</bordermode>
330 <borderradius>1</borderradius>
331 <borderwidth>0</borderwidth>
332 </bsbObject>
333 <bsbObject version="2" type="BSBHSlider">
334 <objectName>Input_Gain</objectName>
335 <x>200</x>
336 <y>84</y>
337 <width>308</width>
338 <height>27</height>
339 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
340 <visible>true</visible>
341 <midichan>0</midichan>
342 <midicc>0</midicc>
343 <description/>
344 <minimum>0.00000000</minimum>
345 <maximum>1.00000000</maximum>
346 <value>0.00000000</value>
347 <mode>lin</mode>
348 <mouseControl act="jump">continuous</mouseControl>
349 <resolution>-1.00000000</resolution>
350 <randomizable group="0">false</randomizable>
351 </bsbObject>
352 <bsbObject version="2" type="BSBLabel">
353 <objectName/>
354 <x>200</x>
355 <y>103</y>
356 <width>180</width>
357 <height>30</height>
358 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
359 <visible>true</visible>
360 <midichan>0</midichan>
361 <midicc>0</midicc>
362 <description/>
363 <label>Live Input Gain</label>
364 <alignment>left</alignment>
365 <valignment>top</valignment>
366 <font>Arial</font>
367 <fontsize>10</fontsize>
368 <precision>3</precision>
369 <color>
370 <r>0</r>
371 <g>0</g>
372 <b>0</b>
373 </color>
374 <bgcolor mode="nobackground">
375 <r>255</r>
376 <g>255</g>
377 <b>255</b>
378 </bgcolor>
379 <bordermode>noborder</bordermode>
380 <borderradius>1</borderradius>
381 <borderwidth>0</borderwidth>
382 </bsbObject>
383 <bsbObject version="2" type="BSBButton">
384 <objectName>_Browse</objectName>
385 <x>8</x>
386 <y>140</y>
387 <width>170</width>
388 <height>30</height>
389 <uuid>{b9431a61-61f7-432b-bf6f-c47ddc7f9050}</uuid>
390 <visible>true</visible>
391 <midichan>0</midichan>
392 <midicc>0</midicc>
393 <description/>
394 <type>value</type>
395 <pressedValue>1.00000000</pressedValue>
396 <stringvalue>SynthPad.wav</stringvalue>
397 <text>Browse Audio File</text>
398 <image>/</image>
399 <eventLine/>
400 <latch>false</latch>
401 <latched>false</latched>
402 <fontsize>10</fontsize>
403 </bsbObject>
404 <bsbObject version="2" type="BSBLineEdit">
405 <objectName>_Browse</objectName>
406 <x>179</x>
407 <y>141</y>
408 <width>330</width>
409 <height>28</height>
410 <uuid>{68b5f90b-b78e-4581-b434-232db5f4c40f}</uuid>
411 <visible>true</visible>
412 <midichan>0</midichan>
413 <midicc>0</midicc>
414 <description/>
415 <label>SynthPad.wav</label>
416 <alignment>left</alignment>
417 <font>Arial</font>
418 <fontsize>10</fontsize>
419 <precision>3</precision>
420 <color>
421 <r>0</r>
422 <g>0</g>
423 <b>0</b>
424 </color>
425 <bgcolor mode="nobackground">
426 <r>239</r>
427 <g>239</g>
428 <b>239</b>
429 </bgcolor>
430 <background>nobackground</background>
431 </bsbObject>
432 <bsbObject version="2" type="BSBLabel">
433 <objectName/>
434 <x>8</x>
435 <y>119</y>
436 <width>150</width>
437 <height>30</height>
438 <uuid>{936f6eb0-5225-4bd7-a5fe-a49df1c9c5ac}</uuid>
439 <visible>true</visible>
440 <midichan>0</midichan>
441 <midicc>0</midicc>
442 <description/>
443 <label>Audio File</label>
444 <alignment>left</alignment>
445 <valignment>top</valignment>
446 <font>Arial</font>
447 <fontsize>10</fontsize>
448 <precision>3</precision>
449 <color>
450 <r>0</r>
451 <g>0</g>
452 <b>0</b>
453 </color>
454 <bgcolor mode="nobackground">
455 <r>255</r>
456 <g>255</g>
457 <b>255</b>
458 </bgcolor>
459 <bordermode>noborder</bordermode>
460 <borderradius>1</borderradius>
461 <borderwidth>0</borderwidth>
462 </bsbObject>
463 <bsbObject version="2" type="BSBLabel">
464 <objectName/>
465 <x>8</x>
466 <y>540</y>
467 <width>180</width>
468 <height>30</height>
469 <uuid>{f4029fbc-c802-493b-aacb-44a251dfd70c}</uuid>
470 <visible>true</visible>
471 <midichan>0</midichan>
472 <midicc>0</midicc>
473 <description/>
474 <label>Balance Half Point (Hz)</label>
475 <alignment>left</alignment>
476 <valignment>top</valignment>
477 <font>Arial</font>
478 <fontsize>10</fontsize>
479 <precision>3</precision>
480 <color>
481 <r>0</r>
482 <g>0</g>
483 <b>0</b>
484 </color>
485 <bgcolor mode="nobackground">
486 <r>255</r>
487 <g>255</g>
488 <b>255</b>
489 </bgcolor>
490 <bordermode>noborder</bordermode>
491 <borderradius>1</borderradius>
492 <borderwidth>0</borderwidth>
493 </bsbObject>
494 <bsbObject version="2" type="BSBHSlider">
495 <objectName>Balance_Half_Point</objectName>
496 <x>8</x>
497 <y>523</y>
498 <width>500</width>
499 <height>27</height>
500 <uuid>{b5b98b11-0602-412e-9830-0bbe82f5476b}</uuid>
501 <visible>true</visible>
502 <midichan>0</midichan>
503 <midicc>0</midicc>
504 <description/>
505 <minimum>0.00000000</minimum>
506 <maximum>1.00000000</maximum>
507 <value>0.69400000</value>
508 <mode>lin</mode>
509 <mouseControl act="jump">continuous</mouseControl>
510 <resolution>-1.00000000</resolution>
511 <randomizable group="0">false</randomizable>
512 </bsbObject>
513 <bsbObject version="2" type="BSBDisplay">
514 <objectName>Balance_Half_Point_Value</objectName>
515 <x>448</x>
516 <y>540</y>
517 <width>60</width>
518 <height>30</height>
519 <uuid>{aa9d2e59-a8e3-4b3d-a00a-04fcecc3d502}</uuid>
520 <visible>true</visible>
521 <midichan>0</midichan>
522 <midicc>0</midicc>
523 <description/>
524 <label>7.997</label>
525 <alignment>right</alignment>
526 <valignment>top</valignment>
527 <font>Arial</font>
528 <fontsize>9</fontsize>
529 <precision>3</precision>
530 <color>
531 <r>0</r>
532 <g>0</g>
533 <b>0</b>
534 </color>
535 <bgcolor mode="nobackground">
536 <r>255</r>
537 <g>255</g>
538 <b>255</b>
539 </bgcolor>
540 <bordermode>noborder</bordermode>
541 <borderradius>1</borderradius>
542 <borderwidth>0</borderwidth>
543 </bsbObject>
544 <bsbObject version="2" type="BSBButton">
545 <objectName>Slope</objectName>
546 <x>201</x>
547 <y>40</y>
548 <width>150</width>
549 <height>30</height>
550 <uuid>{d643d19c-34ce-4bcd-9ee2-135c4a051d99}</uuid>
551 <visible>true</visible>
552 <midichan>0</midichan>
553 <midicc>0</midicc>
554 <description/>
555 <type>value</type>
556 <pressedValue>1.00000000</pressedValue>
557 <stringvalue/>
558 <text> Slope: 24dB / 48dB</text>
559 <image>/</image>
560 <eventLine/>
561 <latch>true</latch>
562 <latched>false</latched>
563 <fontsize>10</fontsize>
564 </bsbObject>
565 <bsbObject version="2" type="BSBButton">
566 <objectName>Balance</objectName>
567 <x>357</x>
568 <y>40</y>
569 <width>150</width>
570 <height>30</height>
571 <uuid>{eab383a7-3552-4ad8-9017-91cb1ea03bfa}</uuid>
572 <visible>true</visible>
573 <midichan>0</midichan>
574 <midicc>0</midicc>
575 <description/>
576 <type>value</type>
577 <pressedValue>1.00000000</pressedValue>
578 <stringvalue/>
579 <text> Balance On / Off</text>
580 <image>/</image>
581 <eventLine/>
582 <latch>true</latch>
583 <latched>false</latched>
584 <fontsize>10</fontsize>
585 </bsbObject>
586 <bsbObject version="2" type="BSBDropdown">
587 <objectName>Input</objectName>
588 <x>60</x>
589 <y>90</y>
590 <width>100</width>
591 <height>30</height>
592 <uuid>{553f3292-c18a-4e4f-8f54-e701a305a278}</uuid>
593 <visible>true</visible>
594 <midichan>0</midichan>
595 <midicc>0</midicc>
596 <description/>
597 <bsbDropdownItemList>
598 <bsbDropdownItem>
599 <name>Audio File</name>
600 <value>0</value>
601 <stringvalue/>
602 </bsbDropdownItem>
603 <bsbDropdownItem>
604 <name>Live Input</name>
605 <value>1</value>
606 <stringvalue/>
607 </bsbDropdownItem>
608 </bsbDropdownItemList>
609 <selectedIndex>0</selectedIndex>
610 <randomizable group="0">false</randomizable>
611 </bsbObject>
612 <bsbObject version="2" type="BSBLabel">
613 <objectName/>
614 <x>10</x>
615 <y>90</y>
616 <width>50</width>
617 <height>30</height>
618 <uuid>{a77052fe-1711-4d82-ad04-1570e61a6c4e}</uuid>
619 <visible>true</visible>
620 <midichan>0</midichan>
621 <midicc>0</midicc>
622 <description/>
623 <label>Input</label>
624 <alignment>right</alignment>
625 <valignment>top</valignment>
626 <font>Arial</font>
627 <fontsize>10</fontsize>
628 <precision>3</precision>
629 <color>
630 <r>0</r>
631 <g>0</g>
632 <b>0</b>
633 </color>
634 <bgcolor mode="nobackground">
635 <r>255</r>
636 <g>255</g>
637 <b>255</b>
638 </bgcolor>
639 <bordermode>noborder</bordermode>
640 <borderradius>1</borderradius>
641 <borderwidth>0</borderwidth>
642 </bsbObject>
643 <bsbObject version="2" type="BSBController">
644 <objectName>X_Frequency</objectName>
645 <x>8</x>
646 <y>179</y>
647 <width>500</width>
648 <height>261</height>
649 <uuid>{dae61b8e-3fef-455e-abaf-9c75f65c8770}</uuid>
650 <visible>true</visible>
651 <midichan>0</midichan>
652 <midicc>0</midicc>
653 <description/>
654 <objectName2>Y_Bandwidth</objectName2>
655 <xMin>0.00000000</xMin>
656 <xMax>1.00000000</xMax>
657 <yMin>0.00000000</yMin>
658 <yMax>1.00000000</yMax>
659 <xValue>0.50000000</xValue>
660 <yValue>0.50000000</yValue>
661 <type>crosshair</type>
662 <pointsize>1</pointsize>
663 <fadeSpeed>0.00000000</fadeSpeed>
664 <mouseControl act="press">jump</mouseControl>
665 <bordermode>noborder</bordermode>
666 <borderColor>#00FF00</borderColor>
667 <color>
668 <r>0</r>
669 <g>234</g>
670 <b>0</b>
671 </color>
672 <randomizable mode="both" group="0">false</randomizable>
673 <bgcolor>
674 <r>0</r>
675 <g>0</g>
676 <b>0</b>
677 </bgcolor>
678 <bgcolormode>true</bgcolormode>
679 </bsbObject>
680 <bsbObject version="2" type="BSBDisplay">
681 <objectName>Playback_Speed_Value</objectName>
682 <x>448</x>
683 <y>503</y>
684 <width>60</width>
685 <height>30</height>
686 <uuid>{d0075173-7a71-436d-a925-46c4fc754d6c}</uuid>
687 <visible>true</visible>
688 <midichan>0</midichan>
689 <midicc>0</midicc>
690 <description/>
691 <label>1.000</label>
692 <alignment>right</alignment>
693 <valignment>top</valignment>
694 <font>Arial</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>0</borderwidth>
710 </bsbObject>
711 <bsbObject version="2" type="BSBHSlider">
712 <objectName>Playback_Speed</objectName>
713 <x>8</x>
714 <y>486</y>
715 <width>500</width>
716 <height>27</height>
717 <uuid>{a4423654-78c9-49e9-bd4f-bca0f58c872b}</uuid>
718 <visible>true</visible>
719 <midichan>0</midichan>
720 <midicc>0</midicc>
721 <description/>
722 <minimum>0.00000000</minimum>
723 <maximum>1.00000000</maximum>
724 <value>0.75000000</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="BSBLabel">
731 <objectName/>
732 <x>8</x>
733 <y>503</y>
734 <width>180</width>
735 <height>30</height>
736 <uuid>{27bac8a7-0227-4b0b-8225-558f992bec4b}</uuid>
737 <visible>true</visible>
738 <midichan>0</midichan>
739 <midicc>0</midicc>
740 <description/>
741 <label>Playback Speed (CC#3)</label>
742 <alignment>left</alignment>
743 <valignment>top</valignment>
744 <font>Arial</font>
745 <fontsize>10</fontsize>
746 <precision>3</precision>
747 <color>
748 <r>0</r>
749 <g>0</g>
750 <b>0</b>
751 </color>
752 <bgcolor mode="nobackground">
753 <r>255</r>
754 <g>255</g>
755 <b>255</b>
756 </bgcolor>
757 <bordermode>noborder</bordermode>
758 <borderradius>1</borderradius>
759 <borderwidth>0</borderwidth>
760 </bsbObject>
761 <bsbObject version="2" type="BSBLabel">
762 <objectName/>
763 <x>96</x>
764 <y>440</y>
765 <width>320</width>
766 <height>30</height>
767 <uuid>{9f99cd4a-fb91-4ac9-a6ba-7826fd7a3cca}</uuid>
768 <visible>true</visible>
769 <midichan>0</midichan>
770 <midicc>0</midicc>
771 <description/>
772 <label>X - Frequency (CC#1) Y - Bandwidth (CC#2)</label>
773 <alignment>center</alignment>
774 <valignment>top</valignment>
775 <font>Arial</font>
776 <fontsize>14</fontsize>
777 <precision>3</precision>
778 <color>
779 <r>0</r>
780 <g>0</g>
781 <b>0</b>
782 </color>
783 <bgcolor mode="nobackground">
784 <r>255</r>
785 <g>255</g>
786 <b>255</b>
787 </bgcolor>
788 <bordermode>noborder</bordermode>
789 <borderradius>1</borderradius>
790 <borderwidth>0</borderwidth>
791 </bsbObject>
792 <bsbObject version="2" type="BSBDisplay">
793 <objectName>Y_Bandwidth_Value</objectName>
794 <x>428</x>
795 <y>442</y>
796 <width>80</width>
797 <height>25</height>
798 <uuid>{b203f995-09c6-4fad-9c2e-d66d400c89e0}</uuid>
799 <visible>true</visible>
800 <midichan>0</midichan>
801 <midicc>0</midicc>
802 <description/>
803 <label>0.224</label>
804 <alignment>center</alignment>
805 <valignment>top</valignment>
806 <font>Arial</font>
807 <fontsize>9</fontsize>
808 <precision>3</precision>
809 <color>
810 <r>0</r>
811 <g>0</g>
812 <b>0</b>
813 </color>
814 <bgcolor mode="background">
815 <r>255</r>
816 <g>255</g>
817 <b>255</b>
818 </bgcolor>
819 <bordermode>border</bordermode>
820 <borderradius>1</borderradius>
821 <borderwidth>1</borderwidth>
822 </bsbObject>
823 <bsbObject version="2" type="BSBLabel">
824 <objectName/>
825 <x>428</x>
826 <y>464</y>
827 <width>80</width>
828 <height>30</height>
829 <uuid>{99c2ab61-04de-4979-ad6e-c3ae3f17f202}</uuid>
830 <visible>true</visible>
831 <midichan>0</midichan>
832 <midicc>0</midicc>
833 <description/>
834 <label>Bandwidth</label>
835 <alignment>center</alignment>
836 <valignment>top</valignment>
837 <font>Arial</font>
838 <fontsize>10</fontsize>
839 <precision>3</precision>
840 <color>
841 <r>0</r>
842 <g>0</g>
843 <b>0</b>
844 </color>
845 <bgcolor mode="nobackground">
846 <r>255</r>
847 <g>255</g>
848 <b>255</b>
849 </bgcolor>
850 <bordermode>noborder</bordermode>
851 <borderradius>1</borderradius>
852 <borderwidth>0</borderwidth>
853 </bsbObject>
854 <bsbObject version="2" type="BSBLabel">
855 <objectName/>
856 <x>8</x>
857 <y>464</y>
858 <width>80</width>
859 <height>30</height>
860 <uuid>{d5c5d50e-4f37-41e7-9694-710adcc4ec69}</uuid>
861 <visible>true</visible>
862 <midichan>0</midichan>
863 <midicc>0</midicc>
864 <description/>
865 <label>Frequency</label>
866 <alignment>center</alignment>
867 <valignment>top</valignment>
868 <font>Arial</font>
869 <fontsize>10</fontsize>
870 <precision>3</precision>
871 <color>
872 <r>0</r>
873 <g>0</g>
874 <b>0</b>
875 </color>
876 <bgcolor mode="nobackground">
877 <r>255</r>
878 <g>255</g>
879 <b>255</b>
880 </bgcolor>
881 <bordermode>noborder</bordermode>
882 <borderradius>1</borderradius>
883 <borderwidth>0</borderwidth>
884 </bsbObject>
885 <bsbObject version="2" type="BSBDisplay">
886 <objectName>X_Frequency_Value</objectName>
887 <x>8</x>
888 <y>442</y>
889 <width>80</width>
890 <height>25</height>
891 <uuid>{8d54c298-41f4-4e92-a222-4f994ac014a4}</uuid>
892 <visible>true</visible>
893 <midichan>0</midichan>
894 <midicc>0</midicc>
895 <description/>
896 <label>547.723</label>
897 <alignment>center</alignment>
898 <valignment>top</valignment>
899 <font>Arial</font>
900 <fontsize>9</fontsize>
901 <precision>3</precision>
902 <color>
903 <r>0</r>
904 <g>0</g>
905 <b>0</b>
906 </color>
907 <bgcolor mode="background">
908 <r>255</r>
909 <g>255</g>
910 <b>255</b>
911 </bgcolor>
912 <bordermode>border</bordermode>
913 <borderradius>1</borderradius>
914 <borderwidth>1</borderwidth>
915 </bsbObject>
916 <bsbObject version="2" type="BSBDisplay">
917 <objectName>Amplitude</objectName>
918 <x>448</x>
919 <y>616</y>
920 <width>60</width>
921 <height>30</height>
922 <uuid>{c3c1b3bc-47fc-4187-9f95-850f7fb2683c}</uuid>
923 <visible>true</visible>
924 <midichan>0</midichan>
925 <midicc>0</midicc>
926 <description/>
927 <label>1.160</label>
928 <alignment>right</alignment>
929 <valignment>top</valignment>
930 <font>Arial</font>
931 <fontsize>9</fontsize>
932 <precision>3</precision>
933 <color>
934 <r>0</r>
935 <g>0</g>
936 <b>0</b>
937 </color>
938 <bgcolor mode="nobackground">
939 <r>255</r>
940 <g>255</g>
941 <b>255</b>
942 </bgcolor>
943 <bordermode>noborder</bordermode>
944 <borderradius>1</borderradius>
945 <borderwidth>0</borderwidth>
946 </bsbObject>
947 <bsbObject version="2" type="BSBHSlider">
948 <objectName>Amplitude</objectName>
949 <x>8</x>
950 <y>599</y>
951 <width>500</width>
952 <height>27</height>
953 <uuid>{5859ebf7-c1f2-4866-9a7e-793d30329ab9}</uuid>
954 <visible>true</visible>
955 <midichan>0</midichan>
956 <midicc>0</midicc>
957 <description/>
958 <minimum>0.00000000</minimum>
959 <maximum>2.00000000</maximum>
960 <value>1.16000000</value>
961 <mode>lin</mode>
962 <mouseControl act="jump">continuous</mouseControl>
963 <resolution>-1.00000000</resolution>
964 <randomizable group="0">false</randomizable>
965 </bsbObject>
966 <bsbObject version="2" type="BSBLabel">
967 <objectName/>
968 <x>8</x>
969 <y>616</y>
970 <width>180</width>
971 <height>30</height>
972 <uuid>{0665b286-163c-4d04-a056-7a8fd1ef7d1e}</uuid>
973 <visible>true</visible>
974 <midichan>0</midichan>
975 <midicc>0</midicc>
976 <description/>
977 <label>Output Amplitude Scaling</label>
978 <alignment>left</alignment>
979 <valignment>top</valignment>
980 <font>Arial</font>
981 <fontsize>10</fontsize>
982 <precision>3</precision>
983 <color>
984 <r>0</r>
985 <g>0</g>
986 <b>0</b>
987 </color>
988 <bgcolor mode="nobackground">
989 <r>255</r>
990 <g>255</g>
991 <b>255</b>
992 </bgcolor>
993 <bordermode>noborder</bordermode>
994 <borderradius>1</borderradius>
995 <borderwidth>0</borderwidth>
996 </bsbObject>
997 <bsbObject version="2" type="BSBDisplay">
998 <objectName>Release</objectName>
999 <x>448</x>
1000 <y>578</y>
1001 <width>60</width>
1002 <height>30</height>
1003 <uuid>{65484666-a900-4555-bea6-c28d9885ebe9}</uuid>
1004 <visible>true</visible>
1005 <midichan>0</midichan>
1006 <midicc>0</midicc>
1007 <description/>
1008 <label>4.154</label>
1009 <alignment>right</alignment>
1010 <valignment>top</valignment>
1011 <font>Arial</font>
1012 <fontsize>9</fontsize>
1013 <precision>3</precision>
1014 <color>
1015 <r>0</r>
1016 <g>0</g>
1017 <b>0</b>
1018 </color>
1019 <bgcolor mode="nobackground">
1020 <r>255</r>
1021 <g>255</g>
1022 <b>255</b>
1023 </bgcolor>
1024 <bordermode>noborder</bordermode>
1025 <borderradius>1</borderradius>
1026 <borderwidth>0</borderwidth>
1027 </bsbObject>
1028 <bsbObject version="2" type="BSBHSlider">
1029 <objectName>Release</objectName>
1030 <x>268</x>
1031 <y>561</y>
1032 <width>240</width>
1033 <height>27</height>
1034 <uuid>{e83fee54-dc21-4304-81f2-b75c7a9fad16}</uuid>
1035 <visible>true</visible>
1036 <midichan>0</midichan>
1037 <midicc>0</midicc>
1038 <description/>
1039 <minimum>0.05000000</minimum>
1040 <maximum>10.00000000</maximum>
1041 <value>4.15437500</value>
1042 <mode>lin</mode>
1043 <mouseControl act="jump">continuous</mouseControl>
1044 <resolution>-1.00000000</resolution>
1045 <randomizable group="0">false</randomizable>
1046 </bsbObject>
1047 <bsbObject version="2" type="BSBLabel">
1048 <objectName/>
1049 <x>268</x>
1050 <y>578</y>
1051 <width>180</width>
1052 <height>30</height>
1053 <uuid>{de95ecce-1745-43ee-b5bd-aabc2cdb811b}</uuid>
1054 <visible>true</visible>
1055 <midichan>1</midichan>
1056 <midicc>1</midicc>
1057 <description/>
1058 <label>Release</label>
1059 <alignment>left</alignment>
1060 <valignment>top</valignment>
1061 <font>Arial</font>
1062 <fontsize>10</fontsize>
1063 <precision>3</precision>
1064 <color>
1065 <r>0</r>
1066 <g>0</g>
1067 <b>0</b>
1068 </color>
1069 <bgcolor mode="nobackground">
1070 <r>255</r>
1071 <g>255</g>
1072 <b>255</b>
1073 </bgcolor>
1074 <bordermode>noborder</bordermode>
1075 <borderradius>1</borderradius>
1076 <borderwidth>0</borderwidth>
1077 </bsbObject>
1078 <bsbObject version="2" type="BSBLabel">
1079 <objectName/>
1080 <x>8</x>
1081 <y>578</y>
1082 <width>180</width>
1083 <height>30</height>
1084 <uuid>{73be8c0f-bbd2-41d0-a889-e68922e068eb}</uuid>
1085 <visible>true</visible>
1086 <midichan>0</midichan>
1087 <midicc>0</midicc>
1088 <description/>
1089 <label>Attack Time</label>
1090 <alignment>left</alignment>
1091 <valignment>top</valignment>
1092 <font>Arial</font>
1093 <fontsize>10</fontsize>
1094 <precision>3</precision>
1095 <color>
1096 <r>0</r>
1097 <g>0</g>
1098 <b>0</b>
1099 </color>
1100 <bgcolor mode="nobackground">
1101 <r>255</r>
1102 <g>255</g>
1103 <b>255</b>
1104 </bgcolor>
1105 <bordermode>noborder</bordermode>
1106 <borderradius>1</borderradius>
1107 <borderwidth>0</borderwidth>
1108 </bsbObject>
1109 <bsbObject version="2" type="BSBHSlider">
1110 <objectName>Attack_Time</objectName>
1111 <x>8</x>
1112 <y>561</y>
1113 <width>240</width>
1114 <height>27</height>
1115 <uuid>{aee90a16-28eb-42af-a8e0-b13c92530675}</uuid>
1116 <visible>true</visible>
1117 <midichan>0</midichan>
1118 <midicc>0</midicc>
1119 <description/>
1120 <minimum>0.05000000</minimum>
1121 <maximum>10.00000000</maximum>
1122 <value>0.05000000</value>
1123 <mode>lin</mode>
1124 <mouseControl act="jump">continuous</mouseControl>
1125 <resolution>-1.00000000</resolution>
1126 <randomizable group="0">false</randomizable>
1127 </bsbObject>
1128 <bsbObject version="2" type="BSBDisplay">
1129 <objectName>Attack_Time</objectName>
1130 <x>188</x>
1131 <y>578</y>
1132 <width>60</width>
1133 <height>30</height>
1134 <uuid>{f36fac9f-cf76-481e-8041-6e6971d43023}</uuid>
1135 <visible>true</visible>
1136 <midichan>0</midichan>
1137 <midicc>0</midicc>
1138 <description/>
1139 <label>0.050</label>
1140 <alignment>right</alignment>
1141 <valignment>top</valignment>
1142 <font>Arial</font>
1143 <fontsize>9</fontsize>
1144 <precision>3</precision>
1145 <color>
1146 <r>0</r>
1147 <g>0</g>
1148 <b>0</b>
1149 </color>
1150 <bgcolor mode="nobackground">
1151 <r>255</r>
1152 <g>255</g>
1153 <b>255</b>
1154 </bgcolor>
1155 <bordermode>noborder</bordermode>
1156 <borderradius>1</borderradius>
1157 <borderwidth>0</borderwidth>
1158 </bsbObject>
1159 </bsbPanel>
1160 <bsbPresets>
1161 </bsbPresets>
1162 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel>