Debian Codegraph @

src/Examples/McCurdy Collection/Modulation/RingModulationAmplitudeModulation.csd

raw
1 ;Written by Iain McCurdy, 2006
2
3
4 ; Modified for QuteCsound by René, November 2010
5 ; Tested on Ubuntu 10.04 with csound-double cvs August 2010 and QuteCsound svn rev 733
6
7 ;Notes on modifications from original csd:
8 ; Add table(s) for exp slider
9 ; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files
10
11
12 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5
13 <CsoundSynthesizer>
14 <CsOptions>
15 --env:SSDIR+=../../SourceMaterials
16 </CsOptions>
17 <CsInstruments>
18 sr = 44100 ;SAMPLE RATE
19 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
20 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
21 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
22
23
24 gisine ftgen 1,0,4097,10,1 ;A SINE WAVE
25 gitri ftgen 2,0,4097,7,0,1024,-1,2048,1,1024,0 ;A TRIANGLE WAVE
26 giExp10000 ftgen 0, 0, 129, -25, 0, 1.0, 128, 10000.0 ;TABLE FOR EXP SLIDER
27 giExp15000 ftgen 0, 0, 129, -25, 0, 1.0, 128, 15000.0 ;TABLE FOR EXP SLIDER
28
29
30 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
31 ;gives stereo output regardless your soundfile is mono or stereo
32 Sfil, kspeed, iskip, iloop xin
33 ichn filenchnls Sfil
34 if ichn == 1 then
35 aL diskin2 Sfil, kspeed, iskip, iloop
36 aR = aL
37 else
38 aL, aR diskin2 Sfil, kspeed, iskip, iloop
39 endif
40 xout aL, aR
41 endop
42
43
44 instr 10 ;GUI
45 ktrig metro 10
46 if (ktrig == 1) then
47 gkInGain invalue "Input_Gain"
48 kOscFrq invalue "Sine_Tone_Frequency"
49 gkOscFrq tablei kOscFrq, giExp10000, 1
50 outvalue "Sine_Tone_Frequency_Value", gkOscFrq
51 kModFrq invalue "Modulation_Frequency"
52 gkModFrq tablei kModFrq, giExp15000, 1
53 outvalue "Modulation_Frequency_Value", gkModFrq
54 gkDryWet invalue "Mix"
55 gkOutGain invalue "Output_Gain"
56
57 gkinput invalue "Input"
58 gkAM_RM invalue "AM_RM"
59 gkwave invalue "Wave"
60
61 Sfile_new strcpy "" ;INIT TO EMPTY STRING
62 gSfile invalue "_Browse"
63 Sfile_old strcpyk Sfile_new
64 Sfile_new strcpyk gSfile
65 gkfile strcmpk Sfile_new, Sfile_old
66 endif
67 endin
68
69 instr 1 ;GENERATES AN AUDIO STREAM
70 if gkinput=0 then ;IF MENU 1 IS SELECTED (LIVE AUDIO IN)
71 asig inch 1 ;READ AUDIO FROM INPUT CHANNEL 1 (LEFT)
72 asig = asig * gkInGain ;RESCALE LIVE AUDIO INPUT AUDIO WITH 'InGain' SLIDER
73 elseif gkinput=1 then ;IF MENU 2 IS SELECTED (SINE TONE)
74 asig oscili 0.6,gkOscFrq,gisine ;CREATE A SINE TONE OSCILLATOR
75 else ;ONLY OTHER OPTION IS IF MENU 4 IS SELECTED (AUDIO FILE)
76 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)
77 if kNew_file=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
78 reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
79 endif
80 NEW_FILE:
81 ;OUTPUTS OPCODE FILE | SPEED | INSKIP | LOOPING (0=OFF 1=ON)
82 asig, aR FilePlay2 gSfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A STEREO SOUND FILE
83 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
84 endif ;END OF CONDITIONAL BRANCHING
85
86 if gkAM_RM=0 then ;IF 'Amplitude Modulation' IS SELECTED
87 amod oscilikt 0.5,gkModFrq,gkwave+1 ;CREATE 'Amplitude Modulation' WAVEFORM
88 amod = amod + 0.5 ;OFFSET 'Amplitude Modulation' WAVEFORM
89 else ;ONLY OTHER OPTION IS IF 'Ring Modulation' IS SELECTED
90 amod oscilikt 1,gkModFrq,gkwave+1 ;CREATE RING MODULATION OSCILLATOR
91 endif ;END OF CONDITIONAL BRANCHING
92
93 aModSig = asig*amod ;MULTIPLY INPUT SIGNAL BY MODULATION SIGNAL
94 amix ntrpol asig, aModSig, gkDryWet ;CREATE DRY/WET MIXED SIGNAL
95 outs amix * gkOutGain, amix * gkOutGain ;SEND DRY/WET MIXED AUDIO SIGNAL TO OUTPUTS AND RESCALE USING 'gkOutGain' ON-SCREEN SLIDER
96 endin
97
98 </CsInstruments>
99 <CsScore>
100 ;INSTR | START | DURATION
101 i 10 0 3600 ;GUI
102 i 1 0.2 3600 ;AUDIO STREAM
103 </CsScore>
104 </CsoundSynthesizer>
105
106
107
108 <bsbPanel>
109 <label>Widgets</label>
110 <objectName/>
111 <x>274</x>
112 <y>286</y>
113 <width>1091</width>
114 <height>476</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>470</height>
128 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
129 <visible>true</visible>
130 <midichan>0</midichan>
131 <midicc>0</midicc>
132 <label>Amplitude Modulation / Ring Modulation</label>
133 <alignment>center</alignment>
134 <font>Liberation Sans</font>
135 <fontsize>18</fontsize>
136 <precision>3</precision>
137 <color>
138 <r>255</r>
139 <g>255</g>
140 <b>255</b>
141 </color>
142 <bgcolor mode="background">
143 <r>5</r>
144 <g>27</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>514</x>
154 <y>2</y>
155 <width>565</width>
156 <height>470</height>
157 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
158 <visible>true</visible>
159 <midichan>0</midichan>
160 <midicc>0</midicc>
161 <label>Amplitude Modulation / Ring Modulation</label>
162 <alignment>center</alignment>
163 <font>Liberation Sans</font>
164 <fontsize>18</fontsize>
165 <precision>3</precision>
166 <color>
167 <r>255</r>
168 <g>255</g>
169 <b>255</b>
170 </color>
171 <bgcolor mode="background">
172 <r>5</r>
173 <g>27</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>520</x>
183 <y>21</y>
184 <width>552</width>
185 <height>447</height>
186 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
187 <visible>true</visible>
188 <midichan>0</midichan>
189 <midicc>0</midicc>
190 <label>----------------------------------------------------------------------------------------------------------------------------------------
191 When the frequency of amplitude modulation of an audio signal enters the domain of audible frequecies we cease to perceive a rising and falling amplitude but instead perceive the emergence of sideband tones. The frequencies of these tones will be determined by the frequencies of the two input signals and by the waveform used for modulation. These sideband tones will be most clearly discernible when the source sound (carrier) and modulating waveforms are both sine tones. Ring modulation is a variation of amplitude modulation in which the modulating signal is bipolar as opposed to unipolar. In ring modulation the amplitude of the input signal is effectively being modulated by a rectified sine wave (the perceived modulations in amplitude therefore being twice the frequency of those from a unipolar modulating signal) - but the signal also becomes inverted when the modulating signal enters the negative domain. Ring modulation derives its name from the 'ring' formation of four diodes in its original analog implementation, not from its ability to imbue a source signal with a 'ringing' characteristic. In amplitude modulation between sine waves the frequency of the carrier wave is present at the output and just a single sideband is created equivalent to the sum of the input frequencies. In ring modulation the frequency of the carrier wave is not present at the output and two sidebands are created equivalent to the sum and difference of the input frequencies. In amplitude modulation and ring modulation synthesis and signal processing, the source signal is referred to as the 'carrier' and the modulation waveform as the 'modulator'. In this example the user can choose between an amplitude modulation effect and a ring modulation effect. The user can also choose between one of four source signals. As well as modulating the source signal with a sine wave, which is the more common practice, the user can also choose a triangle wave as the modulating waveform. Ring modulation is a classic electronic effect employed in the past by some of the giants of electronic music such as Karlheinz Stockhausen and the Daleks.</label>
192 <alignment>left</alignment>
193 <font>Liberation Sans</font>
194 <fontsize>14</fontsize>
195 <precision>3</precision>
196 <color>
197 <r>255</r>
198 <g>255</g>
199 <b>255</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="BSBLabel">
211 <objectName/>
212 <x>8</x>
213 <y>40</y>
214 <width>500</width>
215 <height>190</height>
216 <uuid>{53a95371-23f7-4d54-a6c6-63bbabdb388d}</uuid>
217 <visible>true</visible>
218 <midichan>0</midichan>
219 <midicc>0</midicc>
220 <label>Input Signal (Carrier)</label>
221 <alignment>left</alignment>
222 <font>Liberation Sans</font>
223 <fontsize>14</fontsize>
224 <precision>3</precision>
225 <color>
226 <r>255</r>
227 <g>255</g>
228 <b>255</b>
229 </color>
230 <bgcolor mode="nobackground">
231 <r>255</r>
232 <g>255</g>
233 <b>255</b>
234 </bgcolor>
235 <bordermode>border</bordermode>
236 <borderradius>1</borderradius>
237 <borderwidth>1</borderwidth>
238 </bsbObject>
239 <bsbObject version="2" type="BSBLabel">
240 <objectName/>
241 <x>13</x>
242 <y>95</y>
243 <width>180</width>
244 <height>30</height>
245 <uuid>{541ace1b-b1de-4c04-8d84-1de90288dded}</uuid>
246 <visible>true</visible>
247 <midichan>0</midichan>
248 <midicc>0</midicc>
249 <label>Input Gain</label>
250 <alignment>left</alignment>
251 <font>Liberation Sans</font>
252 <fontsize>10</fontsize>
253 <precision>3</precision>
254 <color>
255 <r>255</r>
256 <g>255</g>
257 <b>255</b>
258 </color>
259 <bgcolor mode="nobackground">
260 <r>255</r>
261 <g>255</g>
262 <b>255</b>
263 </bgcolor>
264 <bordermode>noborder</bordermode>
265 <borderradius>1</borderradius>
266 <borderwidth>1</borderwidth>
267 </bsbObject>
268 <bsbObject version="2" type="BSBHSlider">
269 <objectName>Input_Gain</objectName>
270 <x>13</x>
271 <y>72</y>
272 <width>490</width>
273 <height>27</height>
274 <uuid>{eac88081-deaa-45c0-b896-32a3ffedc74a}</uuid>
275 <visible>true</visible>
276 <midichan>0</midichan>
277 <midicc>0</midicc>
278 <minimum>0.00000000</minimum>
279 <maximum>1.00000000</maximum>
280 <value>0.20000000</value>
281 <mode>lin</mode>
282 <mouseControl act="jump">continuous</mouseControl>
283 <resolution>-1.00000000</resolution>
284 <randomizable group="0">false</randomizable>
285 </bsbObject>
286 <bsbObject version="2" type="BSBDisplay">
287 <objectName>Input_Gain</objectName>
288 <x>443</x>
289 <y>95</y>
290 <width>60</width>
291 <height>30</height>
292 <uuid>{3be43919-ad18-4aef-b554-03c4b4d991c3}</uuid>
293 <visible>true</visible>
294 <midichan>0</midichan>
295 <midicc>0</midicc>
296 <label>0.200</label>
297 <alignment>right</alignment>
298 <font>Liberation Sans</font>
299 <fontsize>9</fontsize>
300 <precision>3</precision>
301 <color>
302 <r>255</r>
303 <g>255</g>
304 <b>255</b>
305 </color>
306 <bgcolor mode="nobackground">
307 <r>255</r>
308 <g>255</g>
309 <b>255</b>
310 </bgcolor>
311 <bordermode>noborder</bordermode>
312 <borderradius>1</borderradius>
313 <borderwidth>1</borderwidth>
314 </bsbObject>
315 <bsbObject version="2" type="BSBDisplay">
316 <objectName>Sine_Tone_Frequency_Value</objectName>
317 <x>443</x>
318 <y>138</y>
319 <width>60</width>
320 <height>30</height>
321 <uuid>{11dfc416-5a1d-40f4-bbaa-6b1b2e2bb7c2}</uuid>
322 <visible>true</visible>
323 <midichan>0</midichan>
324 <midicc>0</midicc>
325 <label>476.204</label>
326 <alignment>right</alignment>
327 <font>Liberation Sans</font>
328 <fontsize>9</fontsize>
329 <precision>3</precision>
330 <color>
331 <r>255</r>
332 <g>255</g>
333 <b>255</b>
334 </color>
335 <bgcolor mode="nobackground">
336 <r>255</r>
337 <g>255</g>
338 <b>255</b>
339 </bgcolor>
340 <bordermode>noborder</bordermode>
341 <borderradius>1</borderradius>
342 <borderwidth>1</borderwidth>
343 </bsbObject>
344 <bsbObject version="2" type="BSBHSlider">
345 <objectName>Sine_Tone_Frequency</objectName>
346 <x>13</x>
347 <y>115</y>
348 <width>490</width>
349 <height>27</height>
350 <uuid>{5e37a418-576c-419e-817f-2002fc5b805b}</uuid>
351 <visible>true</visible>
352 <midichan>0</midichan>
353 <midicc>0</midicc>
354 <minimum>0.00000000</minimum>
355 <maximum>1.00000000</maximum>
356 <value>0.66938776</value>
357 <mode>lin</mode>
358 <mouseControl act="jump">continuous</mouseControl>
359 <resolution>-1.00000000</resolution>
360 <randomizable group="0">false</randomizable>
361 </bsbObject>
362 <bsbObject version="2" type="BSBLabel">
363 <objectName/>
364 <x>13</x>
365 <y>138</y>
366 <width>180</width>
367 <height>30</height>
368 <uuid>{afc5d077-588e-4d40-92cf-761ea81eb1da}</uuid>
369 <visible>true</visible>
370 <midichan>0</midichan>
371 <midicc>0</midicc>
372 <label>Sine Tone Frequency</label>
373 <alignment>left</alignment>
374 <font>Liberation Sans</font>
375 <fontsize>10</fontsize>
376 <precision>3</precision>
377 <color>
378 <r>255</r>
379 <g>255</g>
380 <b>255</b>
381 </color>
382 <bgcolor mode="nobackground">
383 <r>255</r>
384 <g>255</g>
385 <b>255</b>
386 </bgcolor>
387 <bordermode>noborder</bordermode>
388 <borderradius>1</borderradius>
389 <borderwidth>1</borderwidth>
390 </bsbObject>
391 <bsbObject version="2" type="BSBDropdown">
392 <objectName>Input</objectName>
393 <x>180</x>
394 <y>157</y>
395 <width>110</width>
396 <height>28</height>
397 <uuid>{e33bbdf6-2b76-4b63-b5b0-86b10a74777f}</uuid>
398 <visible>true</visible>
399 <midichan>0</midichan>
400 <midicc>0</midicc>
401 <bsbDropdownItemList>
402 <bsbDropdownItem>
403 <name>Live Input</name>
404 <value>0</value>
405 <stringvalue/>
406 </bsbDropdownItem>
407 <bsbDropdownItem>
408 <name>Sine Tone</name>
409 <value>1</value>
410 <stringvalue/>
411 </bsbDropdownItem>
412 <bsbDropdownItem>
413 <name>Audio File</name>
414 <value>2</value>
415 <stringvalue/>
416 </bsbDropdownItem>
417 </bsbDropdownItemList>
418 <selectedIndex>1</selectedIndex>
419 <randomizable group="0">false</randomizable>
420 </bsbObject>
421 <bsbObject version="2" type="BSBButton">
422 <objectName>_Browse</objectName>
423 <x>12</x>
424 <y>188</y>
425 <width>170</width>
426 <height>30</height>
427 <uuid>{f625e668-4993-42d8-a5dc-f840e40874de}</uuid>
428 <visible>true</visible>
429 <midichan>0</midichan>
430 <midicc>0</midicc>
431 <type>value</type>
432 <pressedValue>1.00000000</pressedValue>
433 <stringvalue>808loop.wav</stringvalue>
434 <text>Browse Stereo Audio File</text>
435 <image>/</image>
436 <eventLine>i1 0 10</eventLine>
437 <latch>false</latch>
438 <latched>false</latched>
439 </bsbObject>
440 <bsbObject version="2" type="BSBLineEdit">
441 <objectName>_Browse</objectName>
442 <x>182</x>
443 <y>189</y>
444 <width>320</width>
445 <height>28</height>
446 <uuid>{110749e3-ae06-4174-84b3-7a12000896b5}</uuid>
447 <visible>true</visible>
448 <midichan>0</midichan>
449 <midicc>0</midicc>
450 <label>808loop.wav</label>
451 <alignment>left</alignment>
452 <font>Liberation Sans</font>
453 <fontsize>10</fontsize>
454 <precision>3</precision>
455 <color>
456 <r>0</r>
457 <g>0</g>
458 <b>0</b>
459 </color>
460 <bgcolor mode="nobackground">
461 <r>206</r>
462 <g>206</g>
463 <b>206</b>
464 </bgcolor>
465 <background>nobackground</background>
466 </bsbObject>
467 <bsbObject version="2" type="BSBLabel">
468 <objectName/>
469 <x>8</x>
470 <y>232</y>
471 <width>500</width>
472 <height>110</height>
473 <uuid>{1fbf2df5-2fd3-4ca1-b2e5-8933e45cb526}</uuid>
474 <visible>true</visible>
475 <midichan>0</midichan>
476 <midicc>0</midicc>
477 <label>Modulator</label>
478 <alignment>left</alignment>
479 <font>Liberation Sans</font>
480 <fontsize>14</fontsize>
481 <precision>3</precision>
482 <color>
483 <r>255</r>
484 <g>255</g>
485 <b>255</b>
486 </color>
487 <bgcolor mode="nobackground">
488 <r>255</r>
489 <g>255</g>
490 <b>255</b>
491 </bgcolor>
492 <bordermode>border</bordermode>
493 <borderradius>1</borderradius>
494 <borderwidth>1</borderwidth>
495 </bsbObject>
496 <bsbObject version="2" type="BSBLabel">
497 <objectName/>
498 <x>13</x>
499 <y>313</y>
500 <width>180</width>
501 <height>30</height>
502 <uuid>{7e72caae-d5e3-48e8-9285-1cbd12c5347c}</uuid>
503 <visible>true</visible>
504 <midichan>0</midichan>
505 <midicc>0</midicc>
506 <label>Modulation Frequency</label>
507 <alignment>left</alignment>
508 <font>Liberation Sans</font>
509 <fontsize>10</fontsize>
510 <precision>3</precision>
511 <color>
512 <r>255</r>
513 <g>255</g>
514 <b>255</b>
515 </color>
516 <bgcolor mode="nobackground">
517 <r>255</r>
518 <g>255</g>
519 <b>255</b>
520 </bgcolor>
521 <bordermode>noborder</bordermode>
522 <borderradius>1</borderradius>
523 <borderwidth>1</borderwidth>
524 </bsbObject>
525 <bsbObject version="2" type="BSBHSlider">
526 <objectName>Modulation_Frequency</objectName>
527 <x>13</x>
528 <y>290</y>
529 <width>490</width>
530 <height>27</height>
531 <uuid>{254004da-2c79-4209-bf6e-0f8cdd5fafcc}</uuid>
532 <visible>true</visible>
533 <midichan>0</midichan>
534 <midicc>0</midicc>
535 <minimum>0.00000000</minimum>
536 <maximum>1.00000000</maximum>
537 <value>0.60816324</value>
538 <mode>lin</mode>
539 <mouseControl act="jump">continuous</mouseControl>
540 <resolution>-1.00000000</resolution>
541 <randomizable group="0">false</randomizable>
542 </bsbObject>
543 <bsbObject version="2" type="BSBDisplay">
544 <objectName>Modulation_Frequency_Value</objectName>
545 <x>443</x>
546 <y>313</y>
547 <width>60</width>
548 <height>30</height>
549 <uuid>{f6bcb14a-ad2e-4303-9aab-c49730db24d0}</uuid>
550 <visible>true</visible>
551 <midichan>0</midichan>
552 <midicc>0</midicc>
553 <label>346.659</label>
554 <alignment>right</alignment>
555 <font>Liberation Sans</font>
556 <fontsize>9</fontsize>
557 <precision>3</precision>
558 <color>
559 <r>255</r>
560 <g>255</g>
561 <b>255</b>
562 </color>
563 <bgcolor mode="nobackground">
564 <r>255</r>
565 <g>255</g>
566 <b>255</b>
567 </bgcolor>
568 <bordermode>noborder</bordermode>
569 <borderradius>1</borderradius>
570 <borderwidth>1</borderwidth>
571 </bsbObject>
572 <bsbObject version="2" type="BSBDropdown">
573 <objectName>AM_RM</objectName>
574 <x>180</x>
575 <y>249</y>
576 <width>100</width>
577 <height>28</height>
578 <uuid>{a155ab8f-ca5c-4308-834d-f563b3e9a3aa}</uuid>
579 <visible>true</visible>
580 <midichan>0</midichan>
581 <midicc>0</midicc>
582 <bsbDropdownItemList>
583 <bsbDropdownItem>
584 <name>Amp Mod</name>
585 <value>0</value>
586 <stringvalue/>
587 </bsbDropdownItem>
588 <bsbDropdownItem>
589 <name>Ring Mod</name>
590 <value>1</value>
591 <stringvalue/>
592 </bsbDropdownItem>
593 </bsbDropdownItemList>
594 <selectedIndex>0</selectedIndex>
595 <randomizable group="0">false</randomizable>
596 </bsbObject>
597 <bsbObject version="2" type="BSBDropdown">
598 <objectName>Wave</objectName>
599 <x>300</x>
600 <y>249</y>
601 <width>100</width>
602 <height>28</height>
603 <uuid>{1fceb5fa-f31b-4507-9d73-2100cf426aec}</uuid>
604 <visible>true</visible>
605 <midichan>0</midichan>
606 <midicc>0</midicc>
607 <bsbDropdownItemList>
608 <bsbDropdownItem>
609 <name>Sine</name>
610 <value>0</value>
611 <stringvalue/>
612 </bsbDropdownItem>
613 <bsbDropdownItem>
614 <name>Triangle</name>
615 <value>1</value>
616 <stringvalue/>
617 </bsbDropdownItem>
618 </bsbDropdownItemList>
619 <selectedIndex>0</selectedIndex>
620 <randomizable group="0">false</randomizable>
621 </bsbObject>
622 <bsbObject version="2" type="BSBLabel">
623 <objectName/>
624 <x>8</x>
625 <y>345</y>
626 <width>500</width>
627 <height>120</height>
628 <uuid>{b00b8612-bd44-4f23-9da5-baea23ff4648}</uuid>
629 <visible>true</visible>
630 <midichan>0</midichan>
631 <midicc>0</midicc>
632 <label>Output</label>
633 <alignment>left</alignment>
634 <font>Liberation Sans</font>
635 <fontsize>14</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>border</bordermode>
648 <borderradius>1</borderradius>
649 <borderwidth>1</borderwidth>
650 </bsbObject>
651 <bsbObject version="2" type="BSBLabel">
652 <objectName/>
653 <x>13</x>
654 <y>435</y>
655 <width>180</width>
656 <height>30</height>
657 <uuid>{ffb0a5ee-ba0c-4308-b51d-892e1d37bd87}</uuid>
658 <visible>true</visible>
659 <midichan>0</midichan>
660 <midicc>0</midicc>
661 <label>Output Gain</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>Output_Gain</objectName>
682 <x>13</x>
683 <y>412</y>
684 <width>490</width>
685 <height>27</height>
686 <uuid>{64abd1d0-ef34-49d8-bbc4-0b1103c02d8b}</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.60000002</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>Output_Gain</objectName>
700 <x>443</x>
701 <y>435</y>
702 <width>60</width>
703 <height>30</height>
704 <uuid>{da0544f6-bf20-4d77-bc1e-92be4a463d95}</uuid>
705 <visible>true</visible>
706 <midichan>0</midichan>
707 <midicc>0</midicc>
708 <label>0.600</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="BSBDisplay">
728 <objectName>Mix</objectName>
729 <x>443</x>
730 <y>392</y>
731 <width>60</width>
732 <height>30</height>
733 <uuid>{b7304e5e-85f4-43ab-85b3-76ff2664d3e4}</uuid>
734 <visible>true</visible>
735 <midichan>0</midichan>
736 <midicc>0</midicc>
737 <label>0.806</label>
738 <alignment>right</alignment>
739 <font>Liberation Sans</font>
740 <fontsize>9</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>Mix</objectName>
758 <x>13</x>
759 <y>369</y>
760 <width>490</width>
761 <height>27</height>
762 <uuid>{2f8b24c3-b597-4e5d-a3fc-0e388dc5cab4}</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>0.80612242</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="BSBLabel">
775 <objectName/>
776 <x>13</x>
777 <y>392</y>
778 <width>180</width>
779 <height>30</height>
780 <uuid>{523f1aa4-a5ac-4b2a-a389-8b68340ce13b}</uuid>
781 <visible>true</visible>
782 <midichan>0</midichan>
783 <midicc>0</midicc>
784 <label>Dry / Wet Mix</label>
785 <alignment>left</alignment>
786 <font>Liberation Sans</font>
787 <fontsize>10</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 </bsbPanel>
804 <bsbPresets>
805 <preset name="Init" number="0" >
806 <value id="{eac88081-deaa-45c0-b896-32a3ffedc74a}" mode="1" >0.20000000</value>
807 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="1" >0.20000000</value>
808 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="4" >0.200</value>
809 <value id="{11dfc416-5a1d-40f4-bbaa-6b1b2e2bb7c2}" mode="1" >476.20458984</value>
810 <value id="{11dfc416-5a1d-40f4-bbaa-6b1b2e2bb7c2}" mode="4" >476.205</value>
811 <value id="{5e37a418-576c-419e-817f-2002fc5b805b}" mode="1" >0.66938776</value>
812 <value id="{e33bbdf6-2b76-4b63-b5b0-86b10a74777f}" mode="1" >1.00000000</value>
813 <value id="{f625e668-4993-42d8-a5dc-f840e40874de}" mode="4" >808loop.wav</value>
814 <value id="{110749e3-ae06-4174-84b3-7a12000896b5}" mode="4" >808loop.wav</value>
815 <value id="{254004da-2c79-4209-bf6e-0f8cdd5fafcc}" mode="1" >0.60816324</value>
816 <value id="{f6bcb14a-ad2e-4303-9aab-c49730db24d0}" mode="1" >346.65887451</value>
817 <value id="{f6bcb14a-ad2e-4303-9aab-c49730db24d0}" mode="4" >346.659</value>
818 <value id="{a155ab8f-ca5c-4308-834d-f563b3e9a3aa}" mode="1" >0.00000000</value>
819 <value id="{1fceb5fa-f31b-4507-9d73-2100cf426aec}" mode="1" >0.00000000</value>
820 <value id="{64abd1d0-ef34-49d8-bbc4-0b1103c02d8b}" mode="1" >0.60000002</value>
821 <value id="{da0544f6-bf20-4d77-bc1e-92be4a463d95}" mode="1" >0.60000002</value>
822 <value id="{da0544f6-bf20-4d77-bc1e-92be4a463d95}" mode="4" >0.600</value>
823 <value id="{b7304e5e-85f4-43ab-85b3-76ff2664d3e4}" mode="1" >0.80599999</value>
824 <value id="{b7304e5e-85f4-43ab-85b3-76ff2664d3e4}" mode="4" >0.806</value>
825 <value id="{2f8b24c3-b597-4e5d-a3fc-0e388dc5cab4}" mode="1" >0.80612242</value>
826 </preset>
827 </bsbPresets>
828 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>