Debian Codegraph @

src/Examples/McCurdy Collection/Miscellaneous/doppler.csd

raw
1 ;Written by Iain McCurdy, 2010
2
3 ;Modified for QuteCsound by René, February 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 for exp slider
8 ; Can't change slider color, add flickering controler
9
10
11 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
12 <CsoundSynthesizer>
13 <CsOptions>
14
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 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
21
22
23 ;AMPLITUDE SCALING CURVE
24 giampcurve ftgen 0,0,131072,5,0.01,131072*0.5,1,131072*0.5,0.01
25
26 ;TABLES FOR EXP SLIDER
27 giExp1 ftgen 0, 0, 129, -25, 0, 0.1, 128, 100.0
28 giExp2 ftgen 0, 0, 129, -25, 0, 0.001, 128, 1.0
29
30
31 instr 10 ;GUI
32 ktrig metro 10
33 if (ktrig == 1) then
34 gksource invalue "Source"
35 gkmicrophone invalue "Microphone"
36 kRoomSize invalue "RoomSize"
37 gkRoomSize tablei kRoomSize, giExp1, 1
38 outvalue "RoomSize_Value", gkRoomSize
39 gkfiltercutoff invalue "FilterCutoff"
40 gkVCOoct invalue "VCOPitch"
41 gksiren invalue "Siren"
42 kspeed invalue "Speed"
43 gkspeed tablei kspeed, giExp2, 1
44 outvalue "Speed_Value", gkspeed
45 gkdepth invalue "Depth"
46 gkampscale invalue "AmpScaling"
47 endif
48 endin
49
50 instr 1
51 ;LFO(modulates source position slider)=================
52 klfo lfo gkdepth, gkspeed, 1 ;SINE WAVE
53 klfo = klfo + 0.5 ;OFFSET INTO THE POSITIVE DOMAIN
54 ;ktrig changed klfo ;UPDATING THE SLIDER EVERY K CYCLE MIGHT BE TOO FREQUENT AND MAY CAUSE PERFORMANCE ISSUE IN WHICH CASE USE A SEPARATE TRIGGER AS SHOWN BELOW
55 ktrig metro 50 ;SLIDER UPDATE RATE
56 if ktrig = 1 then
57 outvalue "Source", klfo ;UPDATE 'Source Position' SLIDER
58 endif
59 ;======================================================
60
61 kporttime linseg 0, 0.001, 0.1 ;RAMPING UP PORTAMENTO TIME VARIABLE
62 ;GENERATE A SOURCE SOUND (siren imitation)=============
63 ksiren lfo 1, 1.3, 2 ;UNIPOLAR SQUARE WAVE LFO
64 outvalue "Source_L", ksiren ;Flickering light
65 asig vco2 1, cpsoct(gkVCOoct+ksiren*(gksiren/12)) ;GENERATE SIREN AUDIO
66 asig tone asig, 1200 ;LOW PASS FILTER TO SOFTEN THE TONE
67 ;=======================================================
68
69 ;DOPPLER================================================
70 ispeedofsound init 340.29 ;SPEED OF SOUND DEFINED
71 ksource portk gksource, kporttime ;SMOOTH SOURCE POSITION MOVEMENT
72 kmicrophone portk gkmicrophone, kporttime ;SMOOTH MICROPHOPNE POSITION MOVEMENT
73 ktrig changed gkfiltercutoff ;IF I-RATE VARIABLE SLIDER IS CHANGED GENERATE A '1'
74 if ktrig=1 then ;IF TRIGGER IS '1'...
75 reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
76 endif ;END OF THIS CONDITIONAL BRANCH
77 UPDATE: ;LABEL CALLED 'UPDATE'
78 kdisp limit ksource-(kmicrophone-0.5), 0, 1 ;CALCULATE DISPLACEMENT (DISTANCE) BETWEEN SOURCE AND MICROPHONE AND LIMIT VALUE TO LIE BETWEEN ZERO AND 1
79 kamp table kdisp, giampcurve,1 ;READ AMPLITUDE SCALING VALUE FROM TABLE
80 kamp ntrpol 1, kamp, gkampscale ;CALCULATE AMOUNT OF AMPLITUDE SCALING DESIRED BY THE USER FROM THE ON SCREEN SLIDER
81 aout doppler asig*kamp, ksource*gkRoomSize, kmicrophone*gkRoomSize, ispeedofsound, i(gkfiltercutoff) ;APPLY DOPPLER EFFECT
82 rireturn ;RETURN FROM REINITIALISATION PASS
83 kpan = (gksource<gkmicrophone?0.9:0.1) ;CALCULATE PAN VALUE ACCORDING TO SOURCE AND MIC POSITION
84 kpan portk kpan, kporttime ;APPLY PORTAMENTO SMOOTHING TO PAN POSITION VALUE
85 outs aout*sqrt(kpan), aout*sqrt(1-kpan) ;SEND AUDIO TO OUTPUTSM AND APPLY PANNING
86 endin
87 </CsInstruments>
88 <CsScore>
89 i 10 0 3600 ;GUI
90 </CsScore>
91 </CsoundSynthesizer>
92 <bsbPanel>
93 <label>Widgets</label>
94 <objectName/>
95 <x>663</x>
96 <y>224</y>
97 <width>930</width>
98 <height>471</height>
99 <visible>true</visible>
100 <uuid/>
101 <bgcolor mode="background">
102 <r>241</r>
103 <g>226</g>
104 <b>185</b>
105 </bgcolor>
106 <bsbObject version="2" type="BSBLabel">
107 <objectName/>
108 <x>516</x>
109 <y>2</y>
110 <width>410</width>
111 <height>468</height>
112 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
113 <visible>true</visible>
114 <midichan>0</midichan>
115 <midicc>0</midicc>
116 <label>doppler</label>
117 <alignment>center</alignment>
118 <font>Liberation Sans</font>
119 <fontsize>18</fontsize>
120 <precision>3</precision>
121 <color>
122 <r>255</r>
123 <g>255</g>
124 <b>255</b>
125 </color>
126 <bgcolor mode="background">
127 <r>5</r>
128 <g>27</g>
129 <b>150</b>
130 </bgcolor>
131 <bordermode>border</bordermode>
132 <borderradius>5</borderradius>
133 <borderwidth>2</borderwidth>
134 </bsbObject>
135 <bsbObject version="2" type="BSBLabel">
136 <objectName/>
137 <x>523</x>
138 <y>36</y>
139 <width>396</width>
140 <height>387</height>
141 <uuid>{e41f02b8-6ad4-46dc-805c-0b2eeafbd476}</uuid>
142 <visible>true</visible>
143 <midichan>0</midichan>
144 <midicc>0</midicc>
145 <label>------------------------------------------------------------------------------------------------
146 The opcode 'doppler' approximates the pitch shifting effect that occurs when a sound source moves with respect to a point of reception such as a listener or a microphone. Moving the microphone with respect to a static sound source will also induce the doppler effect. The doppler opcode will allow the sound source and microphone locations to be moved at control rate. An internal filter smooths stepping that might occur, particularly when k-rate is low. In this implementation the locations of the sound source and the microphone can be moved manually or the movement of the sound source can be modulated by an LFO. The scale of the sliders for 'Source Position' and 'Microphone Position' is set using the 'Room Size' slider. In keeping with the classic scenario used to illustrate the doppler effect, the source sound in this demonstration is an imitation of a siren that might be heard on a fire engine. To facilitate manual modulation of the 'Source Position' slider, reduce 'LFO Depth' to zero. Separate additions in this demonstration is panning that reflects the source position with respect to the microphone position and amplitude scaling that induces amplitude reduction as the source sound becomes more distant.</label>
147 <alignment>left</alignment>
148 <font>Liberation Sans</font>
149 <fontsize>14</fontsize>
150 <precision>3</precision>
151 <color>
152 <r>255</r>
153 <g>255</g>
154 <b>255</b>
155 </color>
156 <bgcolor mode="nobackground">
157 <r>255</r>
158 <g>255</g>
159 <b>255</b>
160 </bgcolor>
161 <bordermode>noborder</bordermode>
162 <borderradius>1</borderradius>
163 <borderwidth>1</borderwidth>
164 </bsbObject>
165 <bsbObject version="2" type="BSBLabel">
166 <objectName/>
167 <x>2</x>
168 <y>2</y>
169 <width>514</width>
170 <height>468</height>
171 <uuid>{049f4dd4-ff71-4d6d-9157-43c84efad8a4}</uuid>
172 <visible>true</visible>
173 <midichan>0</midichan>
174 <midicc>0</midicc>
175 <label>doppler</label>
176 <alignment>center</alignment>
177 <font>Liberation Sans</font>
178 <fontsize>18</fontsize>
179 <precision>3</precision>
180 <color>
181 <r>255</r>
182 <g>255</g>
183 <b>255</b>
184 </color>
185 <bgcolor mode="background">
186 <r>5</r>
187 <g>27</g>
188 <b>150</b>
189 </bgcolor>
190 <bordermode>border</bordermode>
191 <borderradius>5</borderradius>
192 <borderwidth>2</borderwidth>
193 </bsbObject>
194 <bsbObject version="2" type="BSBButton">
195 <objectName/>
196 <x>10</x>
197 <y>10</y>
198 <width>100</width>
199 <height>30</height>
200 <uuid>{9d29ab85-85e6-462e-8761-1ac91e1af325}</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 1 0 -1</eventLine>
210 <latch>true</latch>
211 <latched>false</latched>
212 </bsbObject>
213 <bsbObject version="2" type="BSBLabel">
214 <objectName/>
215 <x>9</x>
216 <y>125</y>
217 <width>200</width>
218 <height>30</height>
219 <uuid>{3ebc1139-1fdb-48dc-9150-49ee8dfdbd4a}</uuid>
220 <visible>true</visible>
221 <midichan>0</midichan>
222 <midicc>0</midicc>
223 <label>Microphone</label>
224 <alignment>left</alignment>
225 <font>Liberation Sans</font>
226 <fontsize>10</fontsize>
227 <precision>3</precision>
228 <color>
229 <r>255</r>
230 <g>255</g>
231 <b>255</b>
232 </color>
233 <bgcolor mode="nobackground">
234 <r>255</r>
235 <g>255</g>
236 <b>255</b>
237 </bgcolor>
238 <bordermode>noborder</bordermode>
239 <borderradius>1</borderradius>
240 <borderwidth>1</borderwidth>
241 </bsbObject>
242 <bsbObject version="2" type="BSBHSlider">
243 <objectName>Microphone</objectName>
244 <x>9</x>
245 <y>102</y>
246 <width>500</width>
247 <height>27</height>
248 <uuid>{2cf97843-5b49-438e-8034-62a459597e86}</uuid>
249 <visible>true</visible>
250 <midichan>0</midichan>
251 <midicc>0</midicc>
252 <minimum>0.00000000</minimum>
253 <maximum>1.00000000</maximum>
254 <value>0.48000000</value>
255 <mode>lin</mode>
256 <mouseControl act="jump">continuous</mouseControl>
257 <resolution>-1.00000000</resolution>
258 <randomizable group="0">false</randomizable>
259 </bsbObject>
260 <bsbObject version="2" type="BSBDisplay">
261 <objectName>Microphone</objectName>
262 <x>449</x>
263 <y>125</y>
264 <width>60</width>
265 <height>30</height>
266 <uuid>{e54486c5-f9aa-4d0e-9a67-6506dae3c790}</uuid>
267 <visible>true</visible>
268 <midichan>0</midichan>
269 <midicc>0</midicc>
270 <label>0.480</label>
271 <alignment>right</alignment>
272 <font>Liberation Sans</font>
273 <fontsize>9</fontsize>
274 <precision>3</precision>
275 <color>
276 <r>255</r>
277 <g>255</g>
278 <b>255</b>
279 </color>
280 <bgcolor mode="nobackground">
281 <r>255</r>
282 <g>255</g>
283 <b>255</b>
284 </bgcolor>
285 <bordermode>noborder</bordermode>
286 <borderradius>1</borderradius>
287 <borderwidth>1</borderwidth>
288 </bsbObject>
289 <bsbObject version="2" type="BSBLabel">
290 <objectName/>
291 <x>9</x>
292 <y>72</y>
293 <width>200</width>
294 <height>30</height>
295 <uuid>{78a7e9cd-fb57-421c-8e1f-40b60a90dfc0}</uuid>
296 <visible>true</visible>
297 <midichan>0</midichan>
298 <midicc>0</midicc>
299 <label>Source Position</label>
300 <alignment>left</alignment>
301 <font>Liberation Sans</font>
302 <fontsize>10</fontsize>
303 <precision>3</precision>
304 <color>
305 <r>255</r>
306 <g>255</g>
307 <b>255</b>
308 </color>
309 <bgcolor mode="nobackground">
310 <r>255</r>
311 <g>255</g>
312 <b>255</b>
313 </bgcolor>
314 <bordermode>noborder</bordermode>
315 <borderradius>1</borderradius>
316 <borderwidth>1</borderwidth>
317 </bsbObject>
318 <bsbObject version="2" type="BSBDisplay">
319 <objectName>Source</objectName>
320 <x>449</x>
321 <y>72</y>
322 <width>60</width>
323 <height>30</height>
324 <uuid>{58265963-6245-459e-8071-9ed8bba850a4}</uuid>
325 <visible>true</visible>
326 <midichan>0</midichan>
327 <midicc>0</midicc>
328 <label>0.669</label>
329 <alignment>right</alignment>
330 <font>Liberation Sans</font>
331 <fontsize>9</fontsize>
332 <precision>3</precision>
333 <color>
334 <r>255</r>
335 <g>255</g>
336 <b>255</b>
337 </color>
338 <bgcolor mode="nobackground">
339 <r>255</r>
340 <g>255</g>
341 <b>255</b>
342 </bgcolor>
343 <bordermode>noborder</bordermode>
344 <borderradius>1</borderradius>
345 <borderwidth>1</borderwidth>
346 </bsbObject>
347 <bsbObject version="2" type="BSBLabel">
348 <objectName/>
349 <x>9</x>
350 <y>231</y>
351 <width>200</width>
352 <height>30</height>
353 <uuid>{1c02d7bd-4198-417f-a816-a560f4133e23}</uuid>
354 <visible>true</visible>
355 <midichan>0</midichan>
356 <midicc>0</midicc>
357 <label>Filter Cutoff</label>
358 <alignment>left</alignment>
359 <font>Liberation Sans</font>
360 <fontsize>10</fontsize>
361 <precision>3</precision>
362 <color>
363 <r>255</r>
364 <g>255</g>
365 <b>255</b>
366 </color>
367 <bgcolor mode="nobackground">
368 <r>255</r>
369 <g>255</g>
370 <b>255</b>
371 </bgcolor>
372 <bordermode>noborder</bordermode>
373 <borderradius>1</borderradius>
374 <borderwidth>1</borderwidth>
375 </bsbObject>
376 <bsbObject version="2" type="BSBHSlider">
377 <objectName>FilterCutoff</objectName>
378 <x>9</x>
379 <y>208</y>
380 <width>500</width>
381 <height>27</height>
382 <uuid>{e5fa660d-82a5-412a-a76a-500a0632ee0c}</uuid>
383 <visible>true</visible>
384 <midichan>0</midichan>
385 <midicc>0</midicc>
386 <minimum>1.00000000</minimum>
387 <maximum>20.00000000</maximum>
388 <value>6.09200000</value>
389 <mode>lin</mode>
390 <mouseControl act="jump">continuous</mouseControl>
391 <resolution>-1.00000000</resolution>
392 <randomizable group="0">false</randomizable>
393 </bsbObject>
394 <bsbObject version="2" type="BSBDisplay">
395 <objectName>FilterCutoff</objectName>
396 <x>449</x>
397 <y>231</y>
398 <width>60</width>
399 <height>30</height>
400 <uuid>{8341c14a-4acb-4d3d-824f-675147975768}</uuid>
401 <visible>true</visible>
402 <midichan>0</midichan>
403 <midicc>0</midicc>
404 <label>6.092</label>
405 <alignment>right</alignment>
406 <font>Liberation Sans</font>
407 <fontsize>9</fontsize>
408 <precision>3</precision>
409 <color>
410 <r>255</r>
411 <g>255</g>
412 <b>255</b>
413 </color>
414 <bgcolor mode="nobackground">
415 <r>255</r>
416 <g>255</g>
417 <b>255</b>
418 </bgcolor>
419 <bordermode>noborder</bordermode>
420 <borderradius>1</borderradius>
421 <borderwidth>1</borderwidth>
422 </bsbObject>
423 <bsbObject version="2" type="BSBLabel">
424 <objectName/>
425 <x>9</x>
426 <y>178</y>
427 <width>200</width>
428 <height>30</height>
429 <uuid>{fd3ea893-7f4f-4d74-a6c6-2ed00b696056}</uuid>
430 <visible>true</visible>
431 <midichan>0</midichan>
432 <midicc>0</midicc>
433 <label>Room Size (metres)</label>
434 <alignment>left</alignment>
435 <font>Liberation Sans</font>
436 <fontsize>10</fontsize>
437 <precision>3</precision>
438 <color>
439 <r>255</r>
440 <g>255</g>
441 <b>255</b>
442 </color>
443 <bgcolor mode="nobackground">
444 <r>255</r>
445 <g>255</g>
446 <b>255</b>
447 </bgcolor>
448 <bordermode>noborder</bordermode>
449 <borderradius>1</borderradius>
450 <borderwidth>1</borderwidth>
451 </bsbObject>
452 <bsbObject version="2" type="BSBHSlider">
453 <objectName>RoomSize</objectName>
454 <x>9</x>
455 <y>155</y>
456 <width>500</width>
457 <height>27</height>
458 <uuid>{3911e6c3-0337-45b0-81d8-e63c67cae1f3}</uuid>
459 <visible>true</visible>
460 <midichan>0</midichan>
461 <midicc>0</midicc>
462 <minimum>0.00000000</minimum>
463 <maximum>1.00000000</maximum>
464 <value>0.86800000</value>
465 <mode>lin</mode>
466 <mouseControl act="jump">continuous</mouseControl>
467 <resolution>-1.00000000</resolution>
468 <randomizable group="0">false</randomizable>
469 </bsbObject>
470 <bsbObject version="2" type="BSBDisplay">
471 <objectName>RoomSize_Value</objectName>
472 <x>449</x>
473 <y>178</y>
474 <width>60</width>
475 <height>30</height>
476 <uuid>{78473677-bb47-45c2-bf88-fa6930dca759}</uuid>
477 <visible>true</visible>
478 <midichan>0</midichan>
479 <midicc>0</midicc>
480 <label>40.185</label>
481 <alignment>right</alignment>
482 <font>Liberation Sans</font>
483 <fontsize>9</fontsize>
484 <precision>3</precision>
485 <color>
486 <r>255</r>
487 <g>255</g>
488 <b>255</b>
489 </color>
490 <bgcolor mode="nobackground">
491 <r>255</r>
492 <g>255</g>
493 <b>255</b>
494 </bgcolor>
495 <bordermode>noborder</bordermode>
496 <borderradius>1</borderradius>
497 <borderwidth>1</borderwidth>
498 </bsbObject>
499 <bsbObject version="2" type="BSBLabel">
500 <objectName/>
501 <x>9</x>
502 <y>284</y>
503 <width>120</width>
504 <height>30</height>
505 <uuid>{43cdabfb-6dc2-4498-9eba-8ae37ef54aa7}</uuid>
506 <visible>true</visible>
507 <midichan>0</midichan>
508 <midicc>0</midicc>
509 <label>VCO Pitch</label>
510 <alignment>left</alignment>
511 <font>Liberation Sans</font>
512 <fontsize>10</fontsize>
513 <precision>3</precision>
514 <color>
515 <r>255</r>
516 <g>255</g>
517 <b>255</b>
518 </color>
519 <bgcolor mode="nobackground">
520 <r>255</r>
521 <g>255</g>
522 <b>255</b>
523 </bgcolor>
524 <bordermode>noborder</bordermode>
525 <borderradius>1</borderradius>
526 <borderwidth>1</borderwidth>
527 </bsbObject>
528 <bsbObject version="2" type="BSBHSlider">
529 <objectName>VCOPitch</objectName>
530 <x>9</x>
531 <y>261</y>
532 <width>245</width>
533 <height>27</height>
534 <uuid>{7aeee9ba-8368-4ce3-b0ba-def825a3675e}</uuid>
535 <visible>true</visible>
536 <midichan>0</midichan>
537 <midicc>0</midicc>
538 <minimum>6.00000000</minimum>
539 <maximum>10.00000000</maximum>
540 <value>9.00408163</value>
541 <mode>lin</mode>
542 <mouseControl act="jump">continuous</mouseControl>
543 <resolution>-1.00000000</resolution>
544 <randomizable group="0">false</randomizable>
545 </bsbObject>
546 <bsbObject version="2" type="BSBDisplay">
547 <objectName>VCOPitch</objectName>
548 <x>194</x>
549 <y>284</y>
550 <width>60</width>
551 <height>30</height>
552 <uuid>{c93fd36b-2694-47f6-b36b-5788f6daa01e}</uuid>
553 <visible>true</visible>
554 <midichan>0</midichan>
555 <midicc>0</midicc>
556 <label>9.004</label>
557 <alignment>right</alignment>
558 <font>Liberation Sans</font>
559 <fontsize>9</fontsize>
560 <precision>3</precision>
561 <color>
562 <r>255</r>
563 <g>255</g>
564 <b>255</b>
565 </color>
566 <bgcolor mode="nobackground">
567 <r>255</r>
568 <g>255</g>
569 <b>255</b>
570 </bgcolor>
571 <bordermode>noborder</bordermode>
572 <borderradius>1</borderradius>
573 <borderwidth>1</borderwidth>
574 </bsbObject>
575 <bsbObject version="2" type="BSBLabel">
576 <objectName/>
577 <x>9</x>
578 <y>388</y>
579 <width>200</width>
580 <height>30</height>
581 <uuid>{d3ce4f6d-f3cb-4137-b86a-54cccadc7b94}</uuid>
582 <visible>true</visible>
583 <midichan>0</midichan>
584 <midicc>0</midicc>
585 <label>LFO Depth</label>
586 <alignment>left</alignment>
587 <font>Liberation Sans</font>
588 <fontsize>10</fontsize>
589 <precision>3</precision>
590 <color>
591 <r>255</r>
592 <g>255</g>
593 <b>255</b>
594 </color>
595 <bgcolor mode="nobackground">
596 <r>255</r>
597 <g>255</g>
598 <b>255</b>
599 </bgcolor>
600 <bordermode>noborder</bordermode>
601 <borderradius>1</borderradius>
602 <borderwidth>1</borderwidth>
603 </bsbObject>
604 <bsbObject version="2" type="BSBHSlider">
605 <objectName>Depth</objectName>
606 <x>9</x>
607 <y>365</y>
608 <width>500</width>
609 <height>27</height>
610 <uuid>{5f63317b-51a6-4599-9fe3-d5aa13fc1f68}</uuid>
611 <visible>true</visible>
612 <midichan>0</midichan>
613 <midicc>0</midicc>
614 <minimum>0.00000000</minimum>
615 <maximum>0.50000000</maximum>
616 <value>0.50000000</value>
617 <mode>lin</mode>
618 <mouseControl act="jump">continuous</mouseControl>
619 <resolution>-1.00000000</resolution>
620 <randomizable group="0">false</randomizable>
621 </bsbObject>
622 <bsbObject version="2" type="BSBDisplay">
623 <objectName>Depth</objectName>
624 <x>449</x>
625 <y>388</y>
626 <width>60</width>
627 <height>30</height>
628 <uuid>{731a06d4-e7b3-45a9-8362-be4d86e41c91}</uuid>
629 <visible>true</visible>
630 <midichan>0</midichan>
631 <midicc>0</midicc>
632 <label>0.500</label>
633 <alignment>right</alignment>
634 <font>Liberation Sans</font>
635 <fontsize>9</fontsize>
636 <precision>3</precision>
637 <color>
638 <r>255</r>
639 <g>255</g>
640 <b>255</b>
641 </color>
642 <bgcolor mode="nobackground">
643 <r>255</r>
644 <g>255</g>
645 <b>255</b>
646 </bgcolor>
647 <bordermode>noborder</bordermode>
648 <borderradius>1</borderradius>
649 <borderwidth>1</borderwidth>
650 </bsbObject>
651 <bsbObject version="2" type="BSBLabel">
652 <objectName/>
653 <x>9</x>
654 <y>335</y>
655 <width>200</width>
656 <height>30</height>
657 <uuid>{971d5005-5825-4041-82b3-337e677b3f17}</uuid>
658 <visible>true</visible>
659 <midichan>0</midichan>
660 <midicc>0</midicc>
661 <label>LFO Speed</label>
662 <alignment>left</alignment>
663 <font>Liberation Sans</font>
664 <fontsize>10</fontsize>
665 <precision>3</precision>
666 <color>
667 <r>255</r>
668 <g>255</g>
669 <b>255</b>
670 </color>
671 <bgcolor mode="nobackground">
672 <r>255</r>
673 <g>255</g>
674 <b>255</b>
675 </bgcolor>
676 <bordermode>noborder</bordermode>
677 <borderradius>1</borderradius>
678 <borderwidth>1</borderwidth>
679 </bsbObject>
680 <bsbObject version="2" type="BSBHSlider">
681 <objectName>Speed</objectName>
682 <x>9</x>
683 <y>312</y>
684 <width>500</width>
685 <height>27</height>
686 <uuid>{efb2995a-4ef2-403a-b994-9661bc9f673e}</uuid>
687 <visible>true</visible>
688 <midichan>0</midichan>
689 <midicc>0</midicc>
690 <minimum>0.00000000</minimum>
691 <maximum>1.00000000</maximum>
692 <value>0.69400000</value>
693 <mode>lin</mode>
694 <mouseControl act="jump">continuous</mouseControl>
695 <resolution>-1.00000000</resolution>
696 <randomizable group="0">false</randomizable>
697 </bsbObject>
698 <bsbObject version="2" type="BSBDisplay">
699 <objectName>Speed_Value</objectName>
700 <x>449</x>
701 <y>335</y>
702 <width>60</width>
703 <height>30</height>
704 <uuid>{bd5a62e2-69ce-4c42-84cc-52f949326806}</uuid>
705 <visible>true</visible>
706 <midichan>0</midichan>
707 <midicc>0</midicc>
708 <label>0.121</label>
709 <alignment>right</alignment>
710 <font>Liberation Sans</font>
711 <fontsize>9</fontsize>
712 <precision>3</precision>
713 <color>
714 <r>255</r>
715 <g>255</g>
716 <b>255</b>
717 </color>
718 <bgcolor mode="nobackground">
719 <r>255</r>
720 <g>255</g>
721 <b>255</b>
722 </bgcolor>
723 <bordermode>noborder</bordermode>
724 <borderradius>1</borderradius>
725 <borderwidth>1</borderwidth>
726 </bsbObject>
727 <bsbObject version="2" type="BSBLabel">
728 <objectName/>
729 <x>264</x>
730 <y>284</y>
731 <width>120</width>
732 <height>30</height>
733 <uuid>{5c402868-4830-475a-8122-9f229421172b}</uuid>
734 <visible>true</visible>
735 <midichan>0</midichan>
736 <midicc>0</midicc>
737 <label>Siren Depth</label>
738 <alignment>left</alignment>
739 <font>Liberation Sans</font>
740 <fontsize>10</fontsize>
741 <precision>3</precision>
742 <color>
743 <r>255</r>
744 <g>255</g>
745 <b>255</b>
746 </color>
747 <bgcolor mode="nobackground">
748 <r>255</r>
749 <g>255</g>
750 <b>255</b>
751 </bgcolor>
752 <bordermode>noborder</bordermode>
753 <borderradius>1</borderradius>
754 <borderwidth>1</borderwidth>
755 </bsbObject>
756 <bsbObject version="2" type="BSBHSlider">
757 <objectName>Siren</objectName>
758 <x>264</x>
759 <y>261</y>
760 <width>245</width>
761 <height>27</height>
762 <uuid>{44ca797a-9b4b-4025-8d53-cd96e1492da4}</uuid>
763 <visible>true</visible>
764 <midichan>0</midichan>
765 <midicc>0</midicc>
766 <minimum>0.00000000</minimum>
767 <maximum>1.00000000</maximum>
768 <value>1.00000000</value>
769 <mode>lin</mode>
770 <mouseControl act="jump">continuous</mouseControl>
771 <resolution>-1.00000000</resolution>
772 <randomizable group="0">false</randomizable>
773 </bsbObject>
774 <bsbObject version="2" type="BSBDisplay">
775 <objectName>Siren</objectName>
776 <x>449</x>
777 <y>284</y>
778 <width>60</width>
779 <height>30</height>
780 <uuid>{8b2ad965-fa14-418a-8426-2aeb35957625}</uuid>
781 <visible>true</visible>
782 <midichan>0</midichan>
783 <midicc>0</midicc>
784 <label>1.000</label>
785 <alignment>right</alignment>
786 <font>Liberation Sans</font>
787 <fontsize>9</fontsize>
788 <precision>3</precision>
789 <color>
790 <r>255</r>
791 <g>255</g>
792 <b>255</b>
793 </color>
794 <bgcolor mode="nobackground">
795 <r>255</r>
796 <g>255</g>
797 <b>255</b>
798 </bgcolor>
799 <bordermode>noborder</bordermode>
800 <borderradius>1</borderradius>
801 <borderwidth>1</borderwidth>
802 </bsbObject>
803 <bsbObject version="2" type="BSBLabel">
804 <objectName/>
805 <x>9</x>
806 <y>437</y>
807 <width>200</width>
808 <height>30</height>
809 <uuid>{3a180ace-ea73-4942-981b-d03c77c6a13d}</uuid>
810 <visible>true</visible>
811 <midichan>0</midichan>
812 <midicc>0</midicc>
813 <label>Amplitude Scaling</label>
814 <alignment>left</alignment>
815 <font>Liberation Sans</font>
816 <fontsize>10</fontsize>
817 <precision>3</precision>
818 <color>
819 <r>255</r>
820 <g>255</g>
821 <b>255</b>
822 </color>
823 <bgcolor mode="nobackground">
824 <r>255</r>
825 <g>255</g>
826 <b>255</b>
827 </bgcolor>
828 <bordermode>noborder</bordermode>
829 <borderradius>1</borderradius>
830 <borderwidth>1</borderwidth>
831 </bsbObject>
832 <bsbObject version="2" type="BSBHSlider">
833 <objectName>AmpScaling</objectName>
834 <x>9</x>
835 <y>414</y>
836 <width>500</width>
837 <height>27</height>
838 <uuid>{dabe59b8-3941-4bc7-9d90-e6c57c0876a5}</uuid>
839 <visible>true</visible>
840 <midichan>0</midichan>
841 <midicc>0</midicc>
842 <minimum>0.00000000</minimum>
843 <maximum>1.00000000</maximum>
844 <value>0.95200000</value>
845 <mode>lin</mode>
846 <mouseControl act="jump">continuous</mouseControl>
847 <resolution>-1.00000000</resolution>
848 <randomizable group="0">false</randomizable>
849 </bsbObject>
850 <bsbObject version="2" type="BSBDisplay">
851 <objectName>AmpScaling</objectName>
852 <x>449</x>
853 <y>437</y>
854 <width>60</width>
855 <height>30</height>
856 <uuid>{9f1ace0a-723d-43bc-ba45-1fbb66c663b8}</uuid>
857 <visible>true</visible>
858 <midichan>0</midichan>
859 <midicc>0</midicc>
860 <label>0.952</label>
861 <alignment>right</alignment>
862 <font>Liberation Sans</font>
863 <fontsize>9</fontsize>
864 <precision>3</precision>
865 <color>
866 <r>255</r>
867 <g>255</g>
868 <b>255</b>
869 </color>
870 <bgcolor mode="nobackground">
871 <r>255</r>
872 <g>255</g>
873 <b>255</b>
874 </bgcolor>
875 <bordermode>noborder</bordermode>
876 <borderradius>1</borderradius>
877 <borderwidth>1</borderwidth>
878 </bsbObject>
879 <bsbObject version="2" type="BSBController">
880 <objectName>Source</objectName>
881 <x>12</x>
882 <y>53</y>
883 <width>494</width>
884 <height>18</height>
885 <uuid>{99f1e1a1-f8ae-4268-8915-71bc2d9d1c71}</uuid>
886 <visible>true</visible>
887 <midichan>0</midichan>
888 <midicc>0</midicc>
889 <objectName2/>
890 <xMin>0.00000000</xMin>
891 <xMax>1.00000000</xMax>
892 <yMin>0.00000000</yMin>
893 <yMax>1.00000000</yMax>
894 <xValue>0.66925991</xValue>
895 <yValue>0.50000000</yValue>
896 <type>line</type>
897 <pointsize>12</pointsize>
898 <fadeSpeed>0.00000000</fadeSpeed>
899 <mouseControl act="press">jump</mouseControl>
900 <color>
901 <r>0</r>
902 <g>234</g>
903 <b>0</b>
904 </color>
905 <randomizable mode="both" group="0">false</randomizable>
906 <bgcolor>
907 <r>0</r>
908 <g>0</g>
909 <b>0</b>
910 </bgcolor>
911 </bsbObject>
912 <bsbObject version="2" type="BSBController">
913 <objectName/>
914 <x>120</x>
915 <y>18</y>
916 <width>15</width>
917 <height>15</height>
918 <uuid>{d8f69aa6-4ffe-4ec5-a4b4-1c0d952068b8}</uuid>
919 <visible>true</visible>
920 <midichan>0</midichan>
921 <midicc>0</midicc>
922 <objectName2>Source_L</objectName2>
923 <xMin>0.00000000</xMin>
924 <xMax>1.00000000</xMax>
925 <yMin>0.00000000</yMin>
926 <yMax>1.00000000</yMax>
927 <xValue>0.00000000</xValue>
928 <yValue>-1.00000000</yValue>
929 <type>fill</type>
930 <pointsize>1</pointsize>
931 <fadeSpeed>0.00000000</fadeSpeed>
932 <mouseControl act="press">jump</mouseControl>
933 <color>
934 <r>0</r>
935 <g>234</g>
936 <b>0</b>
937 </color>
938 <randomizable mode="both" group="0">false</randomizable>
939 <bgcolor>
940 <r>0</r>
941 <g>0</g>
942 <b>0</b>
943 </bgcolor>
944 </bsbObject>
945 </bsbPanel>
946 <bsbPresets>
947 </bsbPresets>
948 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>